Skip to content

Releases: heroiclabs/nakama-defold

v3.2.0

12 Dec 09:16
6dfec40
Compare
Choose a tag to compare

Changed

  • Use native Defold json encode and decode functions
  • Updated gRPC API bindings to version 3.19.0
  • Updated Real-Time API bindings to verison 1.30.0

Added

  • Added optional native b64 encode and decode using extension-crypt if it exists

v3.1.0

07 Nov 15:41
e69cf56
Compare
Choose a tag to compare

Added

  • Added utility functions to store and restore tokens
  • Added a refresh token to the session table and functions to detect expired or soon to be expired tokens
  • Added global and per-request retries of failed requests
  • Added cancellation token for Rest API requests
  • Added on_party_leader() socket event
  • Added socket.CHANNELTYPE_* and socket.ERROR_* constants
  • Added updated Rest API definitions (in-app subscriptions)

v3.0.3

20 May 14:14
02d8ec1
Compare
Choose a tag to compare

Fixed

  • Fixed issue with incorrect match data property being used in socket_send function.

v3.0.2

12 May 13:49
d71685a
Compare
Choose a tag to compare

Changed

  • Allows optional parameters to be nil in socket functions

v3.0.1

12 May 11:38
63edf4f
Compare
Choose a tag to compare

Fixed

  • Runtime error when an unhandled socket message is received (#43)

Nakama Defold Client 3.0.0

11 Apr 06:52
0d4ad56
Compare
Choose a tag to compare
  • [BREAKING] Major overhaul of the generated code and how it interacts with the Nakama APIs.
  • Socket creation and socket events have been moved to nakama/socket.lua. This includes sending events and adding socket event listeners.
  • Removed message creation functions in favor of including all message arguments in the functions sending the messages.
  • Added message functions to the client and socket instances. Compare nakama.do_foo(client, ...) and client.do_foo(...). The old approach of passing the client or socket instance as the first argument still exists to help with backwards compatibility.

Fixed status follow and unfollow messages

29 Sep 13:55
Compare
Choose a tag to compare

FIX: Status follow and unfollow messages used the wrong argument name (#33)

Fix encoding of empty status update message

09 Aug 04:54
33653b4
Compare
Choose a tag to compare

FIX: Encoding of empty status update message (thanks @uncleNight)

Generated new version of API

01 Jun 21:43
2d21307
Compare
Choose a tag to compare

NEW: Generated new version of the API. New API functions:

  • nakama.validate_purchase_apple()

  • nakama.validate_purchase_google()

  • nakama.validate_purchase_huawei()

  • nakama.session_logout()

  • nakama.write_tournament_record2()

  • nakama.import_steam_friends()

CHANGE: Signatures for a few functions operating on user groups and friends.

WebSocket update and improved error handling

23 Feb 19:29
816b704
Compare
Choose a tag to compare

BREAKING CHANGE: Updated to the new native WebSocket extension for Defold (https://github.com/defold/extension-websocket). To use Nakama with Defold you now only need to add a dependency to the WebSocket extension.
FIX: HTTP requests handle HTTP status codes outside of the 200-299 range as errors. The general error handling based on the response from Nakama has also been improved.
FIX: Match create messages are encoded correctly when the message is empty