Releases: firebase/firebase-admin-node
Releases · firebase/firebase-admin-node
Firebase Admin Node.js SDK v5.13.0
- The Admin SDK can now read the Firebase/Google Cloud Platform project ID from both 
GCLOUD_PROJECTandGOOGLE_CLOUD_PROJECTenvironment 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 
serviceAccountIdapp 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.WebpushNotificationtype to include all supported notification fields. 
Firebase Admin Node.js SDK v5.12.1
- 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
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 
mutableContentoptional field to themessaging.Apstype. This can be used to set themutable-contentproperty when sending FCM messages to APNS targets. - Added support for specifying arbitrary key-value fields in the 
messaging.Apstype. 
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 anotherReferenceinstance 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 acredentialoption. 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 sendingmessagingmessages. 
Firebase Admin Node.js SDK v5.8.2
- [changed] Exposed 
admin.firestore.DocumentReferenceandadmin.firestore.DocumentSnapshottypes 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 otherAppOptionsloaded from theFIREBASE_CONFIGenvironment variable. 
Authentication
- Upgraded the 
jsonwebtokenlibrary to 8.1.0.