Skip to content

Latest commit

 

History

History
108 lines (75 loc) · 4 KB

CHANGELOG.md

File metadata and controls

108 lines (75 loc) · 4 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased]

[3.3.0] - 2024-06-14

Fixed

  • Fixed issue with wrong argument name for nakama.rpc_func
  • Updated several of the socket messages so that they no longer incorrectly wait for a response from the server.

[3.2.0] - 2023-12-11

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

[3.1.0] - 2022-10-27

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)

[3.0.3] - 2022-05-20

Fixed

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

[3.0.2] - 2022-05-12

Changed

  • Allows optional parameters to be nil in socket functions

[3.0.1] - 2022-04-11

Fixed

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

[3.0.0] - 2022-04-08

Please note that the Defold SDK version is not synchronised with the version of the Nakama server!

Changed

  • [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.

[2.1.2] - 2021-09-29

Fixed

  • Status follow and unfollow messages used the wrong argument name.

[2.1.1] - 2021-08-09

Fixed

  • Encoding of empty status update message.

[2.1.0] - 2021-06-01

Added

  • 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()

Changed

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

[2.0.0] - 2021-02-23

Changed

Fixed

  • 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.
  • Match create messages are encoded correctly when the message is empty.
  • Issue 14: Attempt to call global 'uri_encode' (a nil value)
  • Upgrade code generator to new Swagger format introduces with Nakama v.2.14.0
  • Do not use Lua default values for variables in create_ methods to prevent data reset on backend

[1.1.1] - 2020-06-30

Fixed

  • Fixes issues with re-authentication (by dropping an existing bearer token when calling an authentication function)

[1.1.0] - 2020-06-21

Added

  • Support for encoding of match data (json+base64) using new utility module

Fixed

  • Use of either http or https connection via config.use_ssl

[1.0.1] - 2020-05-31

Fixed

  • The default logging was not working

[1.0.0] - 2020-05-25

Added

  • First public release