Releases: firebase/firebase-admin-node
Releases · firebase/firebase-admin-node
Firebase Admin Node.js SDK v5.12.0
Authentication
- A new
auth.createSessionCookie()
method for creating a session cookie from a Firebase ID token. - A new
auth.verifySessionCookie()
method for validating a given session cookie string.
Cloud Messaging
- Added the
mutableContent
optional field to themessaging.Aps
type. This can be used to set themutable-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
Firebase Auth
- A new
auth.importUsers()
method for importing users to Firebase Auth in bulk.
Firebase Admin Node.js SDK v5.10.0
- Upgraded Realtime Database client to v0.2.0. With this upgrade developers can call the
admin.database().ref()
method with anotherReference
instance as the argument. - Upgraded Cloud Firestore client to v0.13.0.
Firebase Admin Node.js SDK v5.9.1
- The
admin.initializeApp()
method can now be invoked without acredential
option. This prompts the SDK to use Google Application Default Credentials. - Upgraded the Cloud Firestore client from 0.11.1 to 0.12.0.
- Upgraded the Cloud Storage client from 1.2.1 to 1.6.0.
- Upgraded the Firebase Database client from 0.1.3 to 0.1.11.
Firebase Admin Node.js SDK v5.9.0
Firebase Cloud Messaging
- A new
messaging.send()
method for sendingmessaging
messages.
Firebase Admin Node.js SDK v5.8.2
- [changed] Exposed
admin.firestore.DocumentReference
andadmin.firestore.DocumentSnapshot
types from the Admin SDK typings. - [changed] Upgraded Firestore dependency version to 0.11.2.
Firebase Admin Node.js SDK v5.8.1
- This release upgrades the Cloud Firestore dependency version from 0.10.0 to 0.11.1, which includes several bug fixes in Cloud Firestore.
Firebase Admin Node.js SDK v5.8.0
Initialization
- The
admin.initializeApp()
method can now be invoked without any arguments. This will initialize an app using Google Application Default Credentials, and otherAppOptions
loaded from theFIREBASE_CONFIG
environment variable.
Authentication
- Upgraded the
jsonwebtoken
library to 8.1.0.
Firebase Admin Node.js SDK v5.7.0
Authentication
- A new
revokeRefreshTokens()
method for revoking refresh tokens issued to a user. - The
verifyIdToken()
method now accepts an optionalcheckRevoked
argument, which can be used to check if a given ID token has been revoked.
Firebase Admin Node.js SDK v5.6.0
- A new
admin.instanceId()
API that facilitates deleting instance IDs and associated user data from Firebase projects. - Updated the TypeScript typings for
admin.AppOptions
to reflect the introduction of theprojectId
option. - Removed some unused third party dependencies.
- Updated
@google-cloud/firestore
dependency to latest.