Skip to content

Latest commit

 

History

History
145 lines (110 loc) · 5.17 KB

CHANGELOG.md

File metadata and controls

145 lines (110 loc) · 5.17 KB

Change Log

All notable changes to this project are documented below.

The format is based on keep a changelog and this project uses semantic versioning.

[Unreleased]

Added

  • Add GroupUsersBan function to the runtimes.
  • Add LeaderboardRecordsHaystack function to the runtimes.

[1.21.0] - 2021-12-16

Added

  • Add ctx field to access http request headers in the Lua and JavaScript runtimes.
  • New JavaScript runtime stringToBinary and binaryToString functions.

Changed

  • JavaScript runtime match data changed to use Uint8Array type.

[1.20.0] - 2021-10-29

Added

  • Allow creation of relayed matches with a name. Names are still mapped to match identifiers.

Changed

  • Expose Nakama errors to the server runtime.

[1.19.0] - 2021-10-15

Added

  • Match signal handler as part of the match handler definition.
  • Add match signal function to server framework.
  • Add a prev cursor to the PurchaseList message.

[1.18.0] - 2021-09-28

Changed

  • Use named return parameters in leaderboard and tournament listings.
  • Add authoritative parameter on tournament create. Same as in leaderboard create.

[1.17.0] - 2021-09-09

Added

  • Add ChannelMessageUpdate function to server framework.

Fixed

  • Improve ValidatedPurchase TS definitions.
  • Show "rank" field in leaderboard record TS definition.

[1.16.0] - 2021-08-10

Added

  • Add TypeScript "nkruntime.Error" custom error type that supports a custom message and grpc status code which can be returned in server responses.
  • Add function to retrieve a random set of users to server framework.
  • Add ChannelMessageSend function to server framework.
  • Add BuildChannelId function to server framework.

Changed

  • Return already seen receipts with a 'seen_before' flag set to true instead of returning an error if one is detected.

Fixed

  • Fix TypeScript "nkruntime.Context" value types.
  • Add missing groupId argument from groupUpdate TypeScript definition.

[1.15.0] - 2021-07-08

Added

  • New functions to create custom metrics gauges, counters, and timers with Go.
  • Allow Apple IAP validation to provide an override shared secret in the runtime.
  • Use a context key name for fetching the lang set on a socket in the runtime.
  • Add groups list, get leaderboard, and list leaderboards functions.

Fixed

  • Various updates to the TypeScript definitions.

[1.14.0] - 2021-05-17

Added

  • Tournament and leaderboards functions can now submit scores with the score operator.
  • Tournament and leaderboards functions can now use a decrement score operator.

Changed

  • Remove the older Go Protobuf dependency.
  • The user ID can now be passed into group management functions. If the user ID is empty it will default to the system user as before.

Fixed

  • Small updates to the TypeScript definitions.

[1.13.1] - 2021-04-19

Changed

  • Update to Protobuf v1.5.2 release.

[1.13.0] - 2021-04-14

Added

  • New API to logout and intercept logouts with session and refresh tokens.
  • Add a leave reason to presence events to handle transient disconnects more easily.
  • New API for IAP validation with Apple App Store, Google Play Store, and Huawei AppGallery.

Changed

  • Update account wallet, storage, and session refresh in the TypeScript type definitions.

[1.12.1] - 2021-02-15

Changed

  • Various updates to the TypeScript definitions.

Fixed

  • GetUsers in the server framework now matches more closely how the client API works.

[1.12.0] - 2021-02-04

Added

  • New APIs for Steam friends to be imported to the social graph.

Changed

  • Improvements to the Type definitions for the runtime.
  • Add an error type for negative wallet balances in wallet updates.

[1.11.0] - 2021-01-16

This version synchronizes with the major version of Nakama server. The code is fully backwards compatible.

Added

  • New realtime messages for Realtime Parties.
  • New API messages for refreshing session tokens.
  • Type Definitions for the new JavaScript runtime framework in the server.

Changed

  • Matchmaker API messages now have support for parties.

[1.10.0] - 2020-11-28

Added

  • Add group management functions to the server runtime. Thanks @4726.
  • Add a cacheable cursor to channel message listings.

[1.9.0] - 2020-11-02

Added

  • Runtime nakama module interfaces for TournamentRecordsList and FriendsList functions.

Changed

  • Update protobuf to 1.4.3 release.

Fixed

  • Add missing cursor in return values for nakama module GroupUsersList and UserGroupsList interfaces.

[1.8.0] - 2020-09-28

Added

  • Use a "tool dependency" to specify the protoc-gen-go required version. See here.

Changed

  • Update to Protobuf 1.4.2. This enables us to take advantage of the new Protobuf runtime. See here.
  • Rename example runtime file.
  • Replace shell script with Go generate commands to run protoc toolchain.
  • Eliminate test dependency on GRPC runtime.
  • Update protocol definitions to remove warnings from stricter Go package import paths. See here.