Releases: heroiclabs/nakama-defold
Releases · heroiclabs/nakama-defold
v3.4.0
v3.3.0
v3.2.0
v3.1.0
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_*
andsocket.ERROR_*
constants - Added updated Rest API definitions (in-app subscriptions)
v3.0.3
v3.0.2
v3.0.1
Nakama Defold Client 3.0.0
- [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, ...)
andclient.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
FIX: Status follow and unfollow messages used the wrong argument name (#33)
Fix encoding of empty status update message
FIX: Encoding of empty status update message (thanks @uncleNight)