Skip to content

Releases: heroiclabs/nakama-dotnet

v3.14.0

20 Oct 10:21
Compare
Choose a tag to compare

Notable changes

Added

  • Satori: New "IClient" event called "ReceivedSessionUpdated" when session expires and is refreshed.

Changed

  • Satori: The new session returned by "IdentifyAsync" is merged into the input "Session" type.

v3.13.0

10 Jul 15:10
bddf930
Compare
Choose a tag to compare

Added

  • Satori: Added ImageUrl and Title to IApiMessage.

v3.12.1

30 May 17:53
c277826
Compare
Choose a tag to compare
  • Nakama: Fixed an issue where notifications from other users could appear as if they were sent by the recipient user.
  • Nakama: Fixed a potential NullReferenceException that could occur when passing a null username to IClient.UpdateAccountAsync.

3.12.0

08 Apr 14:53
f01478c
Compare
Choose a tag to compare

Added

  • Satori: Added IApiLiveEvent.Id for accessing live event identifiers.
  • Satori: Added support for new Satori Messages API: IClient.GetMessageListAsync, IClient.UpdateMessageAsync and IClient.DeleteMessageAsync.

v3.11.0

08 Mar 14:07
9a5d17f
Compare
Choose a tag to compare

Added

  • Nakama: New IClient event called ReceivedSessionUpdated when session expires and is refreshed.
  • Nakama: New Session.Update method to allow for in-place updates to the session object.

Changed

  • Nakama: IsConnected and IsConnecting will now read directly from the underlying .NET socket status. This will allow application code to more quickly and easily detect connectivity loss arising from a lack of internet access.
  • Nakama: Default socket adapter changed from WebSocketAdapter to WebSocketStdlibAdapter. This was done to utilize the native .NET Websocket library for improved stability and maintenance.

Fixed

  • Nakama: Trying to connect a socket that is already connecting now results in a no-op instead of an error.

v3.10.0

21 Nov 19:31
9d7d414
Compare
Choose a tag to compare

Notable changes

Added

  • Nakama: Rank count is now returned with tournament record listings.
  • Nakama: Added ability to delete tournament records with DeleteTournamentRecordAsync.
  • Nakama: Hostnames passed to the client now preserve their hardcoded paths.
  • Nakama: Create and update times are now returned with notifications.
  • Nakama: Added Facebook Instant Games purchase validation.

Changed

  • Nakama: Mark socket as connected before event handler is called.
  • Nakama: Limited scope of retry logic to very specific 500-level codes from the server.

v3.9.0

11 Aug 18:17
f4b177a
Compare
Choose a tag to compare

Added

  • Satori: Added recompute option to UpdatePropertiesAsync which allows audiences to be recalculated on property update.

Changed

  • Satori: Decreased size of JSON payloads.

Fixed

  • Satori: DeleteIdentityAsync no longer accepts an explicit ID.

v3.8.0

09 Jun 19:55
fc73bea
Compare
Choose a tag to compare

Added

  • Nakama: Added Authoritative flag to tournaments returned from the server.
  • Nakama: Added RefundTime and UserId to purchases and subscriptions returned from the server.
  • Nakama: Added raw subscription provider information.
  • Nakama: Added DeleteAccountAsync for deleting user accounts.
  • Satori: Added DeleteIdentityAsync for deleting user identities.

Changed

  • Nakama: Used session.Username wherever outdated state might be returned.

Fixed

  • Nakama: Fixed issue where outgoing payloads could include unnecessary JSON.

v3.7.0

10 Mar 15:51
e99fa8a
Compare
Choose a tag to compare

Added

  • Nakama: Added an UpdatePresences utility to IMatch and IParty. Use this method as a helper to update the local tracking of your presences in your matches and parties when an IMatchPresenceEvent or IPartyPresenceEvent is dispatched.
  • Satori: Added optional default and custom properties that can be attached to authentication requests.

Changed

  • Satori: GetFlagDefault and GetFlagsDefault now use the apiKey passed to the client constructor rather than accepting it as a unique parameter.

v3.6.0

07 Feb 13:44
7ea2158
Compare
Choose a tag to compare

Added

  • Satori: Adds the Satori .NET SDK. Satori is our liveops server for game studios. Read more about it in the documentation.
  • Nakama: Adds support for calling RPCs with a HTTP key via POST when a payload is provided.
  • Nakama: Expose the Logger object on IClient.
  • Nakama: Adds support for POST RPC requests when using HTTP key with a payload

Fixed

  • Nakama: Prevent race condition when Close is called while receive loop has an incomplete read buffer.
  • Nakama: Fixed an issue where 500 errors could cause parsing issues on the client.
  • Nakama: Added ability to specify path parameter to client urls.

Changed

  • Nakama: Fixed an issue where our websocket would throw an exception on CloseAsync() in certain situations.