Skip to content

Firebase Admin Go SDK v4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Jun 18:12
· 101 commits to master since this release
cef91ac

API Changes

  • Admin SDK has opted into Go modules. The package name now has the major version appended to it. Developers should use the new package name firebase.google.com/go/v4 when installing and importing the SDK.
  • The messaging.WebpushFcmOptions type has been renamed to messaging.WebpushFCMOptions.

Features

  • feat: Added a new errorutils package that provides functions for checking for platform-level error codes.
  • feat(fcm): Added new service-level error checking functions IsThirdPartyAuthError(), IsQuotaExceeded(), IsSenderIDMismatch(), IsUnregistered() and IsUnavailable().
  • feat(auth): Added new service-level error checking functions IsIDTokenInvalid(), IsIDTokenExpired(), IsSessionCookieInvalid(), IsSessionCookieExpired() and IsCertificateFetchFailed(). These functions can be used in conjunction with the existing JWT verification APIs provided by the SDK.

Bug Fixes

  • fix: Removed import path comments (#380)
  • fix(fcm): Add ability to override default FCM endpoint via ClientOptions (#373)

Miscellaneous

  • [chore] Release 4.0.0 - take 2 (#384)
  • [chore] Release 4.0.0 (#383)
  • chore: Adding a CI job to build in non-module (gopath) mode (#381)
  • chore: Merging v4 branch into dev (#370)
  • Snippets for bulk get/delete function (#328)