Releases: heroiclabs/nakama-common
Releases · heroiclabs/nakama-common
v1.31.0
Notable changes
Added
- Add Fleet Manager API to power session-based multiplayer adapters. See the documentation for more details.
- Add CRON next and previous functions to Go runtime.
- Add CRON previous function to Lua runtime.
- Add CRON previous function to TypeScript/JavaScript runtime.
- Add support for storage deletes in runtime multi-update functions.
v1.30.1
v1.30.0
Notable changes
Added
- Add optional client IP address passthrough to runtime Satori client.
- Add Lua runtime function to clear all localcache data.
- Add JavaScript runtime function to clear all localcache data.
- Add support for per-key TTL in Lua runtime localcache.
- Add support for per-key TTL in JavaScript runtime localcache.
- Add IAP purchase validation support for Facebook Instant Games.
v1.29.0
Notable changes
Added
- Runtime functions to build a leaderboard record list cursor to start listing from a given rank.
- Runtime storage list operations now accept a caller user identifier.
Fixed
- Fix linter-found test issue.
- Fix storage index listing results sometimes being returned with incorrect order.
Changed
- Add create_time and update_time to returned storage engine writes acks.
- Add storage index create flag to read only from the index.
v1.28.1
v1.28.0
Notable changes
Added
- Add storage object indexing support and related runtime functions.
- Add missing TypeScript validated subscription fields.
- Add TypeScript error code mappings to HTTP status codes.
- Add rank count parameter to leaderboard score listings.
- Add rank count parameter to tournament score listings.
Changed
- Remove incorrect category start and category end parameters from runtime leaderboard list functions.
- Update to Protobuf v1.31.0 dependency.
v1.27.0
Notable changes
Added
- Add local cache functions to JavaScript server framework.
- Add "tournamentRecordDelete" function to server frameworks.
- New "insecure" flag to "httpRequest" TypeScript function.
- Satori API available to Nakama server in all server frameworks.
- New "MatchmakerOverride" hook to provide custom matching behaviour.
Changed
- User ID is now returned in ValidatedSubscription, and ValidatedPurchases types.
- ValidatedSubscription types are visible to the Go server framework.
- Add "refundTime" field to TypeScript ValidatedSubscription type.
- Loosened TypeScript definitions to allow for no identifier to be passed to Unlink operations.
Fixed
- Various small TypeScript definitions fixes.
v1.26.0
Notable changes
Added
- Add party hook messages to JavaScript runtime.
- Add In-App Purchase notification callback functions to the server runtimes.
- Add "DeleteAccount" before and after hook functions to the server runtimes.
Changed
- Accept the leaderboard operator types in their expanded string name.
Fixed
- Update Type definition for "authenticateTokenGenerate" to support the optional params allowed by the server.
- Make public the "ChannelMessageRemove" function to the server Go runtime.
- Allow DELETE method to be used in HTTP requests.
v1.25.0
Notable changes
Added
- New GroupsGetRandom function added to the runtimes.
- New NotificationsDelete function added to the runtimes.
- The server version is now visible to server framework code within the context object.
Changed
- JavaScript runtime Base64 encode accepts string or ArrayBuffer input.
- JavaScript runtime Base64 URL encode accepts string or ArrayBuffer input.
- JavaScript runtime Base16 encode accepts string or ArrayBuffer input.
- JavaScript runtime Base64 decode returns ArrayBuffer output.
- JavaScript runtime Base64 URL decode returns ArrayBuffer output.
- JavaScript runtime Base16 decode returns ArrayBuffer output.
- The groupUpdate function argument for a user ID is now optional in the type definition.
- Update to Protobuf v1.28.1 dependency.
Fixed
- Add user ID to JS runtime wallet operations returned results.
- Type definition for field name used in MatchMessage type is correct in TypeScript.
v1.24.0
Notable changes
Added
- New subscription validation functions for Apple and Google in the runtimes.
- Add "NotificationsDelete" function to the runtimes.
- Add const field for easier access to system user ID in TypeScript definition.
Changed
- Return a cursor with "leaderboardRecordsHaystack" function.
- Use ArrayBuffer type instead of Uint8Array in JavaScript runtime. Thanks @formatCvt.
- Expose optional "recorded" param to "accountDeleteId" in TypeScript definition.
Fixed
- Fix function signature of "leaderboardRecordsHaystack" in TypeScript definition.
- Fix signature of "authenticateGameCenter" in TypeScript definition.
- Update field name used in Friend type in TypeScript definition.