Skip to content

Releases: firebase/firebase-admin-node

Firebase Admin Node.js SDK v8.0.0

23 May 17:37
9e86633
Compare
Choose a tag to compare
  • The Admin SDK no longer supports Node 6. Developers must use Node 8.13.0 or higher when deploying the Admin SDK.

Cloud Firestore

  • Upgraded the Cloud Firestore client dependency to v2.0.0. This upgrade comes with a pure JS gRPC client implementation that is much smaller on disk.

Cloud Storage

  • Upgraded the Cloud Storage client dependency to v2.5.0.

Firebase Admin Node.js SDK v7.4.0

21 May 18:08
cbcc607
Compare
Choose a tag to compare
  • Support for Node 6 is now deprecated. Developers are recommended to use Node 8 or higher when deploying the Admin SDK. An upcoming release will completely drop Node 6 support.

Cloud Firestore

  • Upgraded the Cloud Firestore client dependency to v1.3.0. This upgrade comes with a new API for executing collection group queries.

Realtime Database

  • Updated typings of the admin.database.ThenableReference type to extend from the built-in Promise type.

Firebase Admin Node.js SDK v7.3.0

17 Apr 17:19
31af105
Compare
Choose a tag to compare

Firebase Auth

  • [feature] Added the provider config management APIs for managing OIDC and SAML provider configurations (CRUD) via auth.listProviderConfigs(), auth.getProviderConfig(), auth.deleteProviderConfig(), auth.updateProviderConfig() and auth.createProviderConfig().

Firebase Admin Node.js SDK v7.2.0

28 Mar 20:02
d0ccf8f
Compare
Choose a tag to compare

Cloud Firestore

  • Upgraded the Cloud Firestore client dependency to v1.2.0. This upgrade exposes the v1beta and v1 clients, which provide direct access to the underlying Firestore and Firestore Admin RPCs. Please note that you must provide your Firebase credentials directly to these clients.

Firebase Admin Node.js SDK v7.1.1

20 Mar 17:46
bcdefd4
Compare
Choose a tag to compare

Firebase Cloud Messaging

  • Fixed a bug in the FCM batch APIs that prevented them from correctly handling some message parameters like AndroidConfig.ttl.

Firebase Admin Node.js SDK v7.1.0

14 Mar 20:28
69262ad
Compare
Choose a tag to compare

Firebase Cloud Messaging

Firebase Auth

  • Improved typings of the auth.UpdateRequest interface to clearly specify the nullable fields.

Cloud Firestore

  • Upgraded the Cloud Firestore client dependency to v1.1.0.

Firebase Admin Node.js SDK v7.0.0

31 Jan 21:52
84d8a4f
Compare
Choose a tag to compare
  • Updated the Google Cloud Firestore client to v1.0.1. This contains breaking changes. Refer to the Cloud Firestore release notes for more details and migration instructions.
  • Updated the Google Cloud Storage client to v2.3.0. This contains breaking changes. Refer to the Cloud Storage release notes for more details and migration instructions.

Authentication

  • The verifyIdToken() and verifySessionCookie() methods now return auth/id-token-expired and auth/session-cookie-expired error codes for expired JWTs.
  • Credentials-related errors are now reported with additional helpful details.

Firebase Admin Node.js SDK v6.5.1

23 Jan 21:35
2952450
Compare
Choose a tag to compare
  • Implemented a Node.js environment check that is executed at package import time.
  • Setting the GOOGLE_APPLICATION_CREDENTIALS environment variable to a refresh token file instead of a service account is now supported.

Firebase Admin Node.js SDK v6.5.0

09 Jan 21:44
0fdc901
Compare
Choose a tag to compare

Authentication

  • Fixed how the SDK parses the error codes sent by auth backend servers.
  • Correctly marked optional fields in the UserRecord type.

Firebase Admin Node.js SDK v6.4.0

12 Dec 21:34
e19fc51
Compare
Choose a tag to compare
  • [added] messaging.Aps type now supports configuring a critical sound. A new messaging.CriticalSound type has been introduced for this purpose.
  • [added] messaging.AndroidNotification type now supports channel_id.
  • [added] AppOptions now accepts an optional http.Agent object. The http.Agent specified via this API is used when the SDK makes backend HTTP calls. This can be used when it is required to deploy the Admin SDK behind a proxy.
  • [added] admin.credential.cert(), admin.credential.applicationDefault(), and admin.credential.refreshToken() methods now accept an http.Agent as an optional argument. If specified, the http.Agent will be used when calling Google backend servers to fetch OAuth2 access tokens.