Releases: firebase/firebase-admin-node
Releases · firebase/firebase-admin-node
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.
Firebase Admin Node.js SDK v7.0.0
- Updated the Google Cloud Firestore client to v1.0.1. This contains breaking changes. Refer to the Cloud Firestore release notes for more details and migration instructions.
- Updated the Google Cloud Storage client to v2.3.0. This contains breaking changes. Refer to the Cloud Storage release notes for more details and migration instructions.
Authentication
- The
verifyIdToken()
andverifySessionCookie()
methods now returnauth/id-token-expired
andauth/session-cookie-expired
error codes for expired JWTs. - Credentials-related errors are now reported with additional helpful details.
Firebase Admin Node.js SDK v6.5.1
- Implemented a Node.js environment check that is executed at package import time.
- Setting the
GOOGLE_APPLICATION_CREDENTIALS
environment variable to a refresh token file instead of a service account is now supported.
Firebase Admin Node.js SDK v6.5.0
- A new
shaCertificate()
method for creating instances ofadmin.projectManagement.ShaCertificate
.
Authentication
- Fixed how the SDK parses the error codes sent by auth backend servers.
- Correctly marked optional fields in the
UserRecord
type.
Firebase Admin Node.js SDK v6.4.0
- [added]
messaging.Aps
type now supports configuring a critical sound. A newmessaging.CriticalSound
type has been introduced for this purpose. - [added]
messaging.AndroidNotification
type now supportschannel_id
. - [added]
AppOptions
now accepts an optionalhttp.Agent
object. Thehttp.Agent
specified via this API is used when the SDK makes backend HTTP calls. This can be used when it is required to deploy the Admin SDK behind a proxy. - [added]
admin.credential.cert()
,admin.credential.applicationDefault()
, andadmin.credential.refreshToken()
methods now accept anhttp.Agent
as an optional argument. If specified, thehttp.Agent
will be used when calling Google backend servers to fetch OAuth2 access tokens.