Added 7
- Add Hiro Streaks support to the console, with its own ACL resource and audit logging.
- Add Go runtime IAP providers, validated with the ValidatePurchase client API and PurchaseValidate function.
- Add subscription validation through IAP providers with the ValidateSubscription client API and SubscriptionValidate function, and the RegisterBeforeValidateSubscription and RegisterAfterValidateSubscription hooks.
- Add a notification endpoint for each IAP provider at /v2/console/<Name>/notifications/<NotificationEndpointId>, or /v2/console/<Name>/notifications when the provider returns no NotificationEndpointId.
- Add the RegisterIAPPurchaseNotification and RegisterIAPSubscriptionNotification hooks for purchase refunds and subscription changes reported by IAP providers.
- Add a provider filter to the console purchase and subscription lists, taking an IAP provider name or a built-in store.
- Log a startup warning when a Lua runtime before or after request hook is registered for an unknown API name.
Changed 10
- Directory listings on the console port now return an HTTP 404 Not Found error.
- Change the Fleet Manager Init interface to receive the namespace of the instance being registered.
- Fleet Manager registration by name is now case-insensitive.
- Change AuthenticateApple to optionally opt-out from importing the email address from the provider.
- Change AuthenticateFacebook to optionally opt-out from importing the email address from the provider.
- Change AuthenticateGoogle to optionally opt-out from importing the email address from the provider.
- Change LinkApple to optionally opt-out from importing the email address from the provider.
- Change LinkFacebook to optionally opt-out from importing the email address from the provider.
- Change LinkGoogle to optionally opt-out from importing the email address from the provider.
- Build with Go 1.27.3.
Fixed 11
- Only apply Google Authentication token aud/azp validation if explicitly configured via google_auth.client_ids.
- Fix JavaScript runtime not finding InitModule or match handlers declared after another variable in the same declaration.
- Fix leaderboard reset and tournament end and reset hooks sometimes being skipped by the scheduler.
- Fix tournament end and reset hooks sometimes not firing for the first active period when the start time is in the future.
- Fix Huawei purchase validation failing on a malformed verification URL.
- Return the user ID on unpersisted Samsung and Huawei purchase validations.
- Fix a data race when leaderboard and tournament reset schedules are evaluated concurrently, which could produce wrong reset times or a panic.
- Fix JavaScript runtime match registration failing when handler keys are quoted.
- Add missing Lua runtime functions to register Apple and Google In-App Purchase and Subscription notification hooks.
- Fix Lua runtime shutdown hooks never running.
- Fix some Go, Lua and JavaScript runtime request hooks never running, and Lua and JavaScript Google subscription validation after hooks running on Apple validations instead.
From Nakama
Notable changes
Added
- Add Hiro Streaks support to the console, with its own ACL resource and audit logging.
- Add Go runtime IAP providers, validated with the
ValidatePurchaseclient API andPurchaseValidatefunction. - Add subscription validation through IAP providers with the
ValidateSubscriptionclient API andSubscriptionValidatefunction, and theRegisterBeforeValidateSubscriptionandRegisterAfterValidateSubscriptionhooks. - Add a notification endpoint for each IAP provider at
/v2/console/<Name>/notifications/<NotificationEndpointId>, or/v2/console/<Name>/notificationswhen the provider returns noNotificationEndpointId. - Add the
RegisterIAPPurchaseNotificationandRegisterIAPSubscriptionNotificationhooks for purchase refunds and subscription changes reported by IAP providers. - Add a provider filter to the console purchase and subscription lists, taking an IAP provider name or a built-in store.
- Log a startup warning when a Lua runtime before or after request hook is registered for an unknown API name.
Changed
- Directory listings on the console port now return an HTTP 404 Not Found error.
- Change the Fleet Manager Init interface to receive the namespace of the instance being registered.
- Fleet Manager registration by name is now case-insensitive.
- Change AuthenticateApple to optionally opt-out from importing the email address from the provider.
- Change AuthenticateFacebook to optionally opt-out from importing the email address from the provider.
- Change AuthenticateGoogle to optionally opt-out from importing the email address from the provider.
- Change LinkApple to optionally opt-out from importing the email address from the provider.
- Change LinkFacebook to optionally opt-out from importing the email address from the provider.
- Change LinkGoogle to optionally opt-out from importing the email address from the provider.
- Build with Go 1.27.3.
Fixed
- Only apply Google Authentication token aud/azp validation if explicitly configured via
google_auth.client_ids. - Fix JavaScript runtime not finding
InitModuleor match handlers declared after another variable in the same declaration. - Fix leaderboard reset and tournament end and reset hooks sometimes being skipped by the scheduler.
- Fix tournament end and reset hooks sometimes not firing for the first active period when the start time is in the future.
- Fix Huawei purchase validation failing on a malformed verification URL.
- Return the user ID on unpersisted Samsung and Huawei purchase validations.
- Fix a data race when leaderboard and tournament reset schedules are evaluated concurrently, which could produce wrong reset times or a panic.
- Fix JavaScript runtime match registration failing when handler keys are quoted.
- Add missing Lua runtime functions to register Apple and Google In-App Purchase and Subscription notification hooks.
- Fix Lua runtime shutdown hooks never running.
- Fix some Go, Lua and JavaScript runtime request hooks never running, and Lua and JavaScript Google subscription validation after hooks running on Apple validations instead.
NOTE: For developers who use the Go server runtime support. The nakama-common package at v1.49.0 must be used with this release.
env GO111MODULE=on go get "github.com/heroiclabs/nakama-common/runtime@v1.49.0"