Skip to content

Firebase Admin Node.js SDK v5.13.0

Compare
Choose a tag to compare
@hiranya911 hiranya911 released this 17 Jul 20:10
· 1076 commits to master since this release
fe3a0fd
  • 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.