Releases: firebase/firebase-admin-node
Releases · firebase/firebase-admin-node
Firebase Admin Node.js SDK v8.9.1
Authentication
- [Fixed] Fixed the inability to discover the project ID when running on GCP managed environments.
Firebase Admin Node.js SDK v8.9.0
- Fixed a bug in the
admin.instanceId().deleteInstanceId()API that caused errors even when the operation completed successfully in the backend. - Upgraded the
@google-cloud/firestoredependency to v3.0.0. See Firestore release notes for more details.
Cloud Messaging
- The
sendMulticast()API now correctly copies thefcmOptionswhen sending a message to multiple recipients.
Realtime Database
- Upgraded the
@firebase/databasedependency to v0.5.17.
Firebase Admin Node.js SDK v8.8.0
Cloud Firestore
- [Feature] Upgraded
@google-cloud/firestoredependency version to 2.6.0.
Thanks arjunyel for the contribution.
Cloud Storage
- [Changed] Upgraded
@google-cloud/storagedependency version to 4.1.2. This version contains some minor breaking changes. Check the release notes of the dependency for more information. Thanks arjunyel for the contribution.
Authentication
- [Fixed] The
verifyIdToken()method now correctly uses thehttp.Agentconfigured during SDK initialization.
Cloud Messaging
- [Fixed] Batch messaging APIs
sendAll()andsendMulticast()now support sending up to 500 messages in a single call.
Firebase Admin Node.js SDK v8.7.0
Cloud Messaging
- Added a series of new parameters to the
AndroidNotificationclass
that allow further customization of notifications that target Android devices.
Firebase Admin Node.js SDK v8.6.1
Authentication
- [Fixed]
UserRecordno longer exposes password hashes that are redacted due to lack of permissions in the service account credentials. - [Fixed] Updated the typings of the
setCustomUserClaims()API to acceptnull.
Firebase Admin Node.js SDK v8.6.0
- [Feature] Added a new
admin.securityRules()API for managing Firebase security rules applied on services like Cloud Firestore and Cloud Storage. - [Feature] Added
getFirestoreRuleset()andgetStorageRuleset()methods for retrieving rulesets that are currently in effect. - [Feature] Added
releaseFirestoreRuleset()andreleaseStorageRuleset()methods for creating new rulesets and applying them to Firestore and Storage. - [Feature] Added
getRuleset(),createRuleset()anddeleteRuleset()methods for managing the lifecycle of a ruleset.
Cloud Messaging
- [Feature] Added new APIs for specifying an image URL in notifications.
Firebase Admin Node.js SDK v8.5.0
Authentication
- [Feature] Added multi-tenancy support to the authentication service (Google Cloud Identity Platform project required). Tenant related APIs are exposed via
tenantManager()on theadmin.authinterface. - [Feature] Added tenant management APIs
authForTenant(),getTenant(),listTenants(),deleteTenant(),createTenant()andupdateTenant()to the newly definedTenantManager. - [Feature] Defined
TenantAwareAuthinterface retrieved viaTenantManager#authForTenant()for managing users, configuring SAML/OIDC providers, generating email links for password reset, email verification, etc for specific tenants.
Realtime Database
- [Fixed] Upgraded
@firebase/databasedependency version to 0.5.1. This helps avoid some peer dependency warnings that were observed during package installation.
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/apppackage to a dev dependency.
Authentication
- Implemented additional argument validation in the
admin.auth().importUsers()API.
Cloud Storage
- Upgraded the
@google-cloud/storagedependency to v3.0.0. This new major version drops support for Node.js versions older than v8. Sincefirebase-adminalready 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
v1endpoint. This makes it possible to use the SDK in Google Kubernetes Engine again.
Realtime Database
- Upgraded the
@firebase/databasedependency to v0.4.4.
Cloud Messaging
- Gracefully handling array-like objects in
messaging.sendAll()andmessaging.sendMulticast()APIs.