Skip to content

Releases: heroiclabs/nakama-godot

3.4.0

19 Mar 20:03
14b7f70
Compare
Choose a tag to compare

Added

  • Satori: Adds the Satori Godot SDK for Godot 4. Satori is our liveops server for game studios. Read more about it in the documentation.

Fixed

  • Nakama: Fixed code which causes Godot 3 to report memory leaks.
  • Nakama: Fixed links to Nakama server documentation.
  • Nakama: Fixed naming of HttpRequest to match Godot's new naming.
  • Nakama: Fixed number of arguments passed to HttpRequest.Request.
  • Nakama: Fixed JSON json_error typo in NakamaHTTPAdapter.
  • Nakama: Removed some leftover Godot 3 code from master.

Changed

  • Nakama: Godot 4 support is now on master. Godot 3 support can now be found on the godot-3 branch.
  • Nakama: Changed return type from int to TransferMode in _get_packet_mode of the NakamaMultiplayerPeer.

3.3.1

17 Apr 22:01
e177edb
Compare
Choose a tag to compare

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

Notable changes

Fixed

  • Fix arguments for HTTPRequest.request() for beta17
  • Fix typehints for enums in Godot 4.0-rc1
  • Fix type check and typehint for Godot 4.0-rc3
  • Fix null byte array error in GodotHttpAdapter for C#

3.3.0

30 Jan 21:46
0acdfbd
Compare
Choose a tag to compare

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

This release includes an experimental version for Godot 4, with all the same features as the Godot 3 version! It has been tested with Godot 4.0-beta16.

Notable changes

Added

  • Add support for subscription validation APIs that were added in Nakama v3.13.0
  • Add support for sending events
  • Allow disabling threads for making HTTP requests
  • Add support for delete_account_sync() and other API changes that were added in Nakama v3.15.0

3.2.0

30 Aug 23:16
6d99ba3
Compare
Choose a tag to compare

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

Notable changes

Fixed

  • Fix NakamaSocket.add_matchmaker_party_async() and the tests for it
  • Fix MatchData.op_code type in schema to TYPE_INT
  • Fix circular reference in Nakama singleton to itself

Added

  • Add support for receiving binary data in "NakamaRTAPI.MatchState"
  • Add support for sending and receiving binary data in "NakamaRTAPI.PartyData"
  • Add NakamaMultiplayerBridge to integrate with Godot's High-Level Multiplayer API

3.1.0

29 Apr 13:58
ece3194
Compare
Choose a tag to compare

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

Notable changes

Added

  • Expose the "seen_before" property on "NakamaAPI.ApiValidatedPurchase"
  • Add support for creating match by name
  • Add support for "count_multple" on "NakamaSocket.add_matchmaker_async()" and "NakamaSocket.add_matchmaker_party_async()"
  • Add C# support classes to better integrate the .NET client with the Mono version of Godot, allowing HTML5 exports to work

Fixed

  • Fix receiving "NakamaRTAPI.PartyClose" message
  • Fix sending and receiving of PartyData

3.0.0

28 Mar 17:29
0e6eade
Compare
Choose a tag to compare

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.

2.1.0 - August ☀️

01 Aug 09:30
Compare
Choose a tag to compare

Notable changes

Added

  • Add an optional log level parameter to "Nakama.create_client".

Changed

  • Update variable definitions to new gdscript variable controls.

Fixed

  • Fix "add_friends_async" should have its "id" field input as optional.
  • Fix "add_matchmaker_async" and "MatchmakerAdd" parameter assignment.
  • Fix missing "presence" property in NakamaRTAPI.MatchData.
  • Fix NakamaSocket not emitting "received_error" correctly.
  • Fix "DEFAULT_LOG_LEVEL" in Nakama.gd not doing anything.

2.0.0 - April release

02 Apr 11:50
Compare
Choose a tag to compare

[2.0.0] - 2020-04-02

Added

  • Decode base64 data in MatchData. (breaks compat)
  • Add FacebookInstantGame endpoints (link/unlink/authenticate).
  • GDScript-style comments (removing all XML tags).
  • Add list_storage_objects_async p_user_id parameter to allow listing user(s) objects.

Fixed

  • Fix encoding of op_code in MatchDataSend and marshalling of NakamaSocket.send_match_state_[raw_]async.
  • Fix parsing of MatchmakerMatched messages when no token is specified.
  • Disable HTTPRequest.use_threads in HTML5 exports.
  • NakamaSession.is_expired returned reversed result.
  • Fix NakamaClient.update_account_async to allow updating account without username change.
  • Fix NakamaClient.update_group_async to allow updating group without name change.
  • Fix HTTPAdapter._send_async error catching for some edge cases.
  • Fix NakamaClient.send_rpc_async with empty payload (will send empty string now).
  • Fix NakamaRTAPI.Status parsing.
  • Fix NakamaClient list_leaderboard_records_around_owner_async and list_leaderboard_records_async parameter order. (breaks compat)
  • Rename NakamaClient.JoinTournamentAsync to join_tournament_async for consistent naming.
  • Update all p_limit parameters default in NakamaClient to 10.
  • Fix NakamaRTAPI.Stream parsing.

See full changelog here: CHANGELOG,md

1.0.0 - Initial public release

28 Jan 14:39
Compare
Choose a tag to compare
  • Client API implementation.
  • Realtime Socket implementation.
  • Helper singleton.
  • Setup instructions.

Instructions:

  • Download the nakama-1.0.0.zip file below.
  • Extract the addons folder into your Godot project folder.
  • Add the Nakama.gd singleton.
  • Create a client via the Nakama.create_client() function.

See the README.md for more info

0.2.0 alpha

24 Dec 12:40
Compare
Choose a tag to compare
0.2.0 alpha Pre-release
Pre-release

Instructions:

  • Download the source code below.
  • Extract the addons folder into your Godot project folder.
  • Add the Nakama.gd singleton
  • Create a client via the Nakama.create_client() function.

See the README.md for more info