Releases: firebase/firebase-admin-node
Releases · firebase/firebase-admin-node
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.
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.ThenableReferencetype to extend from the built-inPromisetype.
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
v1betaandv1clients, 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.