Releases: firebase/firebase-admin-node
Releases · firebase/firebase-admin-node
Firebase Admin Node.js SDK v8.4.0
Cloud Messaging
- [Feature] Added support for specifying the analytics label for notifications. Thanks chemidy for the contribution.
Firebase Admin Node.js SDK v8.3.0
Realtime Database
- Added an
admin.database().getRules()
method to retrieve the currently applied Realtime Database rules text. - Added an
admin.database().getRulesJSON()
method to retrieve the currently applied Realtime Database rules as a
parsed JSON object. - Added an
admin.database().setRules()
method to update Realtime Database rules. - Downgraded the dependency on the
@firebase/app
package to a dev dependency.
Authentication
- Implemented additional argument validation in the
admin.auth().importUsers()
API.
Cloud Storage
- Upgraded the
@google-cloud/storage
dependency to v3.0.0. This new major version drops support for Node.js versions older than v8. Sincefirebase-admin
already supports only Node.js v8 and above, this does not have a noticeable impact on users of the Admin SDK.
Firebase Admin Node.js SDK v8.2.0
- Updated the metadata server URL (used by the application default credentials) to the
v1
endpoint. This makes it possible to use the SDK in Google Kubernetes Engine again.
Realtime Database
- Upgraded the
@firebase/database
dependency to v0.4.4.
Cloud Messaging
- Gracefully handling array-like objects in
messaging.sendAll()
andmessaging.sendMulticast()
APIs.
Firebase Admin Node.js SDK v8.1.0
- The SDK now automatically retries HTTP calls failing due to 503 errors.
Project Management
- Added a new
projectManagement.listAppMetadata()
API to list the summarized details of up to 100 apps in a Firebase project. - Added a new
projectManagement.setDisplayName()
API to update the display name of a Firebase project.
Firebase Admin Node.js SDK v8.0.0
- The Admin SDK no longer supports Node 6. Developers must use Node 8.13.0 or higher when deploying the Admin SDK.
Cloud Firestore
- Upgraded the Cloud Firestore client dependency to v2.0.0. This upgrade comes with a pure JS gRPC client implementation that is much smaller on disk.
Cloud Storage
- Upgraded the Cloud Storage client dependency to v2.5.0.
Firebase Admin Node.js SDK v7.4.0
- Support for Node 6 is now deprecated. Developers are recommended to use Node 8 or higher when deploying the Admin SDK. An upcoming release will completely drop Node 6 support.
Cloud Firestore
- Upgraded the Cloud Firestore client dependency to v1.3.0. This upgrade comes with a new API for executing collection group queries.
Realtime Database
- Updated typings of the
admin.database.ThenableReference
type to extend from the built-inPromise
type.
Firebase Admin Node.js SDK v7.3.0
Firebase Auth
- [feature] Added the provider config management APIs for managing OIDC and SAML provider configurations (CRUD) via
auth.listProviderConfigs()
,auth.getProviderConfig()
,auth.deleteProviderConfig()
,auth.updateProviderConfig()
andauth.createProviderConfig()
.
Firebase Admin Node.js SDK v7.2.0
Cloud Firestore
- Upgraded the Cloud Firestore client dependency to v1.2.0. This upgrade exposes the
v1beta
andv1
clients, which provide direct access to the underlying Firestore and Firestore Admin RPCs. Please note that you must provide your Firebase credentials directly to these clients.
Firebase Admin Node.js SDK v7.1.1
Firebase Cloud Messaging
- Fixed a bug in the FCM batch APIs that prevented them from correctly handling some message parameters like
AndroidConfig.ttl
.
Firebase Admin Node.js SDK v7.1.0
Firebase Cloud Messaging
- A new
messaging.sendMulticast()
API for sending a message to a list of device registration tokens. - A new
messaging.sendAll()
API for sending a list of messages as a single batch.
Firebase Auth
- Improved typings of the
auth.UpdateRequest
interface to clearly specify the nullable fields.
Cloud Firestore
- Upgraded the Cloud Firestore client dependency to v1.1.0.