Releases: firebase/firebase-admin-node
Releases · firebase/firebase-admin-node
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.
Firebase Admin Node.js SDK v5.4.2
- Upgraded the Cloud Firestore client dependency to 0.8.2, which resolves an issue with saving objects with nested document references.
Firebase Admin Node.js SDK v5.4.1
- Upgraded the Firestore client dependency to 0.8.1, which resolves the installation issues reported in the Yarn environment.
Firebase Admin Node.js SDK v5.4.0
- A new
admin.firestore()
API that facilitates accessing Google Cloud Firestore databases using the@google-cloud/firestore
library. See Set Up Your Node.js App for Cloud Firestore to get started.
Firebase Admin Node.js SDK v5.3.0
- SDK now retries outbound HTTP calls on all low-level I/O errors.
Authentication
- A new
setCustomUserClaims()
method for setting custom claims on user accounts. Custom claims set via this method become available on the ID tokens of the corresponding users when they sign in. To learn how to use this API for controlling access to Firebase resources, see Control Access with Custom Claims and Security Rules. - A new
listUsers()
method for listing all the users in a Firebase project in batches.
Storage
- Declared a more concrete TypeScript return type (
Bucket
) for thebucket()
method in the {{storage}} API.