Skip to content

Releases: firebase/firebase-admin-go

Firebase Admin Go SDK v3.0.0

08 May 17:29
8bf0710
Compare
Choose a tag to compare

Authentication

  • CustomToken(), CustomTokenWithClaims() and VerifyIDToken()
    functions now take a Context as the first argument.

Firebase Admin Go SDK v2.7.0

17 Apr 20:37
7f0a0da
Compare
Choose a tag to compare
  • The auth and messaging packages now provide a set of new functions for checking various error conditions (e.g. auth.IsIDTokenRevoked(), messaging.IsInvalidArgument() etc).

Cloud Messaging

  • Added the MutableContent field to the messaging.Aps type. This can be used to set the mutable-content property when sending FCM messages to APNs targets.
  • Added support for specifying arbitrary key-value fields in the Aps type.
  • Improved error handling in the messaging API. The returned errors now contain additional details.

Firebase Admin Go SDK v2.6.1

15 Mar 20:35
Compare
Choose a tag to compare

Version support

  • [added] Added support for Go 1.6.

FCM

Auth

  • [changed] Improved the error message returned by GetUser(),
    GetUserByEmail() and GetUserByPhoneNumber() APIs in auth package.

Firebase Admin Go SDK v2.6.0

28 Feb 21:45
357ed71
Compare
Choose a tag to compare
  • A new db package that facilitates basic data manipulation operations (create, read, update and delete), conditional updates (transactions) and advanced queries. Currently, this API does not support realtime event listeners.
  • Updated all packages to import the standard context package available in golang1.7 and above.

Firebase Admin Go SDK v2.5.0

14 Feb 21:51
f1f98c4
Compare
Choose a tag to compare

Firebase Cloud Messaging

  • A new messaging package for sending messaging messages and managing topic subscriptions.
  • A new Send() function for sending messaging messages.
  • A new SubscribeToTopic() function for subscribing a list of device registration tokens to a messaging topic.
  • A new UnubscribeFromTopic() function for unsubscribing a list of device registration tokens from a messaging topic.

Firebase Auth

Firebase Admin Go SDK v2.4.0

11 Jan 22:15
Compare
Choose a tag to compare

Initialization

  • The firebase.NewApp() method can now be invoked without any arguments. This will initialize an app using Google Application Default Credentials, and firebase.Config loaded from the FIREBASE_CONFIG environment variable.

Authentication

  • The user management operations in the auth package now uses the identitytoolkit/v3 library.
  • The ProviderID field on auth.UserRecord type is now set to the constant value firebase.

Firebase Admin Go SDK v2.3.0

21 Dec 20:30
9b51e14
Compare
Choose a tag to compare
  • A new InstanceID API that facilitates deleting instance IDs and associated user data from Firebase projects.

Firebase Admin Go SDK v2.2.1

13 Dec 18:56
Compare
Choose a tag to compare
  • Adding the X-Client-Version to the headers in the API calls for tracking API usage.

Firebase Admin Go SDK v2.2.0

08 Dec 19:11
Compare
Choose a tag to compare
  • A new user management API that supports querying and updating
    user accounts associated with a Firebase project. This adds GetUser(),
    GetUserByEmail(), GetUserByPhoneNumber(), CreateUser(), UpdateUser(),
    DeleteUser(), Users() and SetCustomUserClaims() functions to the
    auth.Client API.

Firebase Admin Go SDK v2.1.0

07 Nov 21:45
edbe442
Compare
Choose a tag to compare