Skip to content

3.0.0

Compare
Choose a tag to compare
@dsnopek dsnopek released this 28 Mar 17:29
· 69 commits to master since this release
0e6eade

NOTE: The Godot Nakama client version is not aligned with the Nakama server version.

Notable changes

Added

  • Add realtime party support.
  • Add purchase validation functions.
  • Add Apple authentication functions.
  • Add "demote_group_users_async" function.
  • A session can be refreshed on demand with "session_refresh_async" method.
  • Session and/or refresh tokens can now be invalidated with a client logout.
  • The client now supports session auto-refresh using refresh tokens. This is enabled by default.
  • The client now supports auto-retrying failed request due to network error. This is enabled by defulut.
  • The client now support cancelling requests in-flight via "client.cancel_request".

Fixed

  • Fix Dictionary serialization (e.g. "NakamaSocket.add_matchmaker_async" "p_string_props" and "p_numeric_props").
  • Pass join metadata onwards into match join message.
  • Don't stop processing messages when the game is paused.
  • Fix "rpc_async", "rpc_async_with_key". Now uses GET request only if no payload is passed.
  • Fix client errors parsing in Nakama 3.x
  • Make it possible to omit the label and query on NakamaClient.list_matches_async().

Backwards incompatible changes

  • The "received_error" signal on "NakamaSocket" is now emited with an "NakamaRTAPI.Error" object received from the server.
    Previously, it was emitted with an integer error code when the socket failed to connect.
    If you have old code using the "received_error" signal, you can switch to the new "connection_error" signal, which was added to replace it.