Releases: heroiclabs/nakama-unity
Releases · heroiclabs/nakama-unity
v3.12.0
v3.11.0
Changed
- Default socket adapter changed from
WebSocketAdapter
toWebSocketStdlibAdapter
. This is done to utilize the native .NET Websocket library for improved stability and maintenance. - Updated to use the Nakama and Satori .NET 3.11.0 release.
v3.10.1
Changed
- Retry functionality restored for
UnityWebRequest.Result.ConnectionError
.
v3.10.0
Changed
- Updated to use the Nakama and Satori .NET 3.10.0 release.
- Restricted retry attempts to more specific 500-level error codes from the server.
v3.9.0
Changed
- Updated to use the Nakama and Satori .NET 3.9.0 release.
v3.8.0
Changed
- Updated to use the Nakama and Satori .NET 3.8.0 release.
v3.7.0
Changed
- Updated to use the Nakama and Satori .NET 3.7.0 release.
Fixed
- Fixed an issue where the OnClose event would not fire in Unity WebGL.
v3.6.0
Added
- Satori: Adds the Satori .NET SDK. Satori is our liveops server for game studios. Please read more about it on the Heroic Labs website.
- Nakama: Adds support for calling RPCs with a HTTP key via POST when a payload is provided.
- Nakama: Expose the
Logger
object onIClient
. - 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. - Fixed multiple race conditions that could occur when Unity web requests were cancelled.
Changed
- Nakama: Fixed an issue where our websocket would throw an exception on
CloseAsync()
in certain situations.
v3.5.0
Added
- Ability to
persist
Apple, Huawei, and Google purchase receipts in the Nakama database. This is
set totrue
by default in order to allow the server to detect replay attacks. - Added a
SeenBefore
property toIApiValidatedPurchase
. - Added
ListSubscriptionsAsync
which returns a list of the user's subscriptions. - Added
ValidateSubscriptionAppleAsync
which returns details about a user's Apple subscription. - Added
ValidateSubscriptionGoogleAsync
which returns details about a user's Google subscription. - Added
GetSubscriptionAsync
which returns a subscription for the provided product id. - Added support for
countMultiple
inAddMatchmakerAsync
andAddMatchmakerPartyAsync
.
Changed
ValidatedPurchaseEnvironment
has been renamed toApiStoreEnvironment
.ValidatedPurchaseStore
has been renamed toApiStoreProvider
.- Removed obsolete client methods that accept a
CancellationTokenSource
. These have been replaced in favor
of methods that accept aCancellationToken
that were added in v3.3.
Fixed
- Fixed an issue with
SocketClosed
event taking a significant length of time or not firing at all when internet connection is lost. - Fixed an issue that would occur when sending messages over the socket from multiple threads.
- Fixed automatic retry seeding to be random across devices.
- Fixed an issue when parsing unquoted numbers as strings in TinyJson.
- Don't parse response messages on 500 responses from the server.