Releases: firebase/firebase-admin-node
Releases · firebase/firebase-admin-node
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.
Firebase Admin Node.js SDK v5.5.1
Cloud Firestore
- Upgraded the Cloud Firestore client to the latest available version, which adds input validation to several operations, and retry logic to handle network errors.
Realtime Database
- Fixed an issue in the TypeScript typings of the Realtime Database API.
Firebase Admin Node.js SDK v5.5.0
Realtime Database
app.database()
method now optionally accepts a database URL. This feature can be used to access multiple Realtime Database instances from the same app.- Upgraded the Realtime Database client to the latest available version.
Cloud Firestore
- Upgraded the Cloud Firestore client to the latest available version.
Firebase Admin Node.js SDK v5.4.3
- Fixed a regression in module loading that prevented using the Admin SDK in environments like AWS Lambda. This regression was introduced in the 5.4.0 release, which added a new dependency to Firestore and gRPC. This fix lazily loads Firestore and gRPC, thus enabling Admin SDK usage in the affected environments as long as no explicit attempts are made to use the Firestore API.