Skip to content

Releases: firebase/firebase-admin-go

Firebase Admin Go SDK v4.0.0

16 Jun 18:12
cef91ac
Compare
Choose a tag to compare

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)

Firebase Admin Go SDK v3.13.0

21 May 18:49
54b8114
Compare
Choose a tag to compare

New Features

  • feat(auth): Exposing CustomToken() on auth.TenantClient (#371)

Miscellaneous

  • Deletes users slowly during the integration tests. (#375)
  • [chore] Release 3.13.0 (#374)
  • Add bulk get/delete methods (#325)
  • chore: Pointing CI badge to the dev branch (#369)
  • chore: Added go1.14 to the build matrix (#368)
  • chore: Automating the release publish step (#366)

Firebase Admin Go SDK v3.12.1

23 Apr 18:48
4343fa8
Compare
Choose a tag to compare

Bug Fixes

  • Updated the remote endpoint used by the topic management operations.

Other

  • [chore] Release 3.12.1 (#364)
  • Setting up a CI pipeline based on GitHub Actions (#321)

Firebase Admin Go SDK v3.12.0

15 Jan 19:05
e088f55
Compare
Choose a tag to compare

Cloud Messaging

Authentication

  • [Fixed] Fixed a bug in the TenantIterator type which was preventing it from listing all the tenants correctly.

Firebase Admin Go SDK v3.11.1

23 Dec 21:01
32728b0
Compare
Choose a tag to compare

Authentication

  • [Fixed] Minor improvements to the implementation to fix the API reference output generated by godoc.

Firebase Admin Go SDK v3.11.0

18 Dec 22:49
945b1b1
Compare
Choose a tag to compare
  • Dropped support for Go 1.9 and 1.10. The Admin SDK for Go now requires Go 1.11 or higher. Thanks shogo82148 for the contribution.

Firebase Auth

  • Added a new IsInvalidEmail() error checking function. Thanks shogo82148 for the contribution.
  • Added auth.TenantManager API for creating, updating, retrieving, and deleting authentication tenants.
  • Added auth.TenantClient API for managing users, configuring SAML/OIDC providers, and generating email action links for specific tenants.

Firebase Cloud Messaging

  • Batch messaging APIs SendAll() and SendMulticast() now support sending up to 500 messages in a single call.

Firebase Admin Go SDK v3.10.0

30 Oct 21:59
25e7c82
Compare
Choose a tag to compare

Firebase Auth

  • Fixed auth.ExportedUserRecord no longer exposes password hashes that are redacted due to lack of permissions in the service account credentials.
  • Added auth.OIDCProviderConfig type and the related functions to create, retrieve, update and delete OIDC auth provider configurations.
  • Added auth.SAMLProviderConfig type and the related functions to create, retrieve, update and delete SAML auth provider configurations.

Firebase Cloud Messaging

  • Added support for sending an image URL with notifications. Thanks chemidy for the contribution.

Firebase Admin Go SDK v3.9.0

07 Aug 20:12
79d5dcd
Compare
Choose a tag to compare

Cloud Messaging

  • Added the SendAll() API for sending multiple notifications as a batch.
  • Added MulticastMessage and SendMulticast() APIs for sending notifications to multiple recipients.
  • Added support for specifying the analytics label for notifications via AndroidFCMOptions, APNSFCMOptions and FCMOptions types. Thanks chemidy for the contribution.

Firebase Admin Go SDK v3.8.1

11 Jun 19:54
be821cd
Compare
Choose a tag to compare
  • Fixed some unit tests that were failing in environments without Google Application Default credentials.

Firebase Admin Go SDK v3.8.0

30 May 20:26
8e14899
Compare
Choose a tag to compare

Firebase Auth

  • Added the email action link generation APIs for creating links for password reset, email verification and email link sign-in via auth.PasswordResetLink(), auth.EmailVerificationLink() and auth.EmailSignInLink(). Refer documentation for more details and code samples.
  • All APIs in the auth package now automatically retry RPC calls failing due to I/O or HTTP errors.