Skip to content

Releases: firebase/firebase-admin-node

Firebase Admin Node.js SDK v6.3.0

28 Nov 22:29
245f31c
Compare
Choose a tag to compare
  • A new admin.projectManagement() API for managing apps in a Firebase project.
  • New listAndroidApps() and listIosApps() methods for listing the existing apps in a project.
  • New createAndroidApp() and createIosApp() methods for creating new apps in a project.
  • New AndroidApp and IosApp APIs for updating individual apps.

Cloud Messaging

Firebase Admin Node.js SDK v6.2.0

19 Nov 19:17
a69424b
Compare
Choose a tag to compare

Authentication

  • Added the email action link generation APIs for creating links for password reset, email verification and email link sign-in via auth.generatePasswordResetLink(), auth.generateEmailVerificationLink() and auth.generateSignInWithEmailLink().

Cloud Firestore

  • Upgraded Cloud Firestore client to v0.19.0.
  • Exposed the Transaction type from the admin.firestore namespace.

Cloud Messaging

  • Improved error handling in FCM. The SDK now checks the key type.googleapis.com/google.firebase.fcm.v1.FcmError to set error code. Thanks chemidy for the contribution.

Firebase Admin Node.js SDK v6.1.0

23 Oct 21:08
2bc7a90
Compare
Choose a tag to compare
  • Upgraded Cloud Firestore client to v0.18.0.
  • Exposed the CollectionReference, WriteBatch, WriteResult and
    QueryDocumentSnapshot types from the admin.firestore namespace.

Firebase Admin Node.js SDK v6.0.0

09 Aug 20:15
2ad53f7
Compare
Choose a tag to compare
  • The Admin SDK no longer supports Node.js 4. Developers must use Node.js 6 or higher to deploy the Admin SDK.
  • The Admin SDK now installs Cloud Firestore and Cloud Storage libraries as optional dependencies. SDK installation no longer fails when encountering errors from Cloud Firestore, Cloud Storage or gRPC dependencies.
  • Upgraded the Cloud Firestore client from 0.15.4 to 0.16.0. This version contains a new array-contains query operator and FieldValue.arrayUnion() and FieldValue.arrayRemove() APIs.

Firebase Admin Node.js SDK v5.13.1

23 Jul 21:53
f1423e3
Compare
Choose a tag to compare
  • Upgraded Cloud Firestore client to v0.15.4.
  • Exposed the Firestore Timestamp type from the admin.firestore namespace.

Firebase Admin Node.js SDK v5.13.0

17 Jul 20:10
fe3a0fd
Compare
Choose a tag to compare
  • The Admin SDK can now read the Firebase/Google Cloud Platform project ID from both GCLOUD_PROJECT and GOOGLE_CLOUD_PROJECT environment variables.
  • Upgraded the Cloud Firestore client from 0.14.0 to 0.15.2. This version of the Firestore client changes how date values are handled.

Authentication

  • The Admin SDK can now create custom tokens without being initialized with service account credentials.
  • The SDK accepts a new serviceAccountId app option, which can be used to specify just the client email of a service account.
  • When deployed in an environment managed by Google (e.g. Google Cloud Functions), the SDK can auto discover a service account ID without any explicit configuration.

Database

  • Updated typings of the admin.database.Query.once() method to return a more specific type.

Cloud Messaging

  • Updated typings of the admin.messaging.WebpushNotification type to include all supported notification fields.

Firebase Admin Node.js SDK v5.12.1

15 May 20:30
af6f04a
Compare
Choose a tag to compare
  • Admin SDK now lazy loads all child namespaces and certain heavy dependencies for faster load times. This change also ensures that only the sources for namespaces that are actually used get loaded into the Node.js process.
  • Upgraded Cloud Firestore client to v0.14.0.

Firebase Admin Node.js SDK v5.12.0

05 Apr 17:50
9fe20f0
Compare
Choose a tag to compare

Authentication

Cloud Messaging

  • Added the mutableContent optional 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 messaging.Aps type.

Firebase Admin Node.js SDK v5.11.0

15 Mar 20:51
8d3925a
Compare
Choose a tag to compare

Firebase Auth

Firebase Admin Node.js SDK v5.10.0

09 Mar 00:13
6c1dfb0
Compare
Choose a tag to compare
  • Upgraded Realtime Database client to v0.2.0. With this upgrade developers can call the admin.database().ref() method with another Reference instance as the argument.
  • Upgraded Cloud Firestore client to v0.13.0.