Release notes
*Sourced from [firebase-admin's releases](https://github.com/firebase/firebase-admin-node/releases).*
> ## Firebase Admin Node.js SDK v7.2.0
> ### Cloud Firestore
>
> - Upgraded the Cloud Firestore client dependency to [v1.2.0](https://github.com/googleapis/nodejs-firestore/releases/tag/v1.2.0). This upgrade exposes the `v1beta` and `v1` 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()`](https://firebase.google.com/docs/reference/admin/node/admin.messaging.Messaging#sendMulticast) API for sending a message to a list of device registration tokens.
> - A new [`messaging.sendAll()`](https://firebase.google.com/docs/reference/admin/node/admin.messaging.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](https://github.com/googleapis/nodejs-firestore/releases/tag/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](https://github.com/googleapis/nodejs-firestore/releases/tag/v0.20.0) 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](https://github.com/googleapis/nodejs-storage/releases/tag/v2.0.0) for more details and migration instructions.
>
> ### Authentication
>
> - The `verifyIdToken()` and `verifySessionCookie()` methods now return `auth/id-token-expired` and `auth/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 of [`admin.projectManagement.ShaCertificate`](https://firebase.google.com/docs/reference/admin/node/admin.projectManagement.ShaCertificate).
>
> ### Authentication
>
> - Fixed how the SDK parses the error codes sent by auth backend servers.
> - Correctly marked optional fields in the [`UserRecord`](https://firebase.google.com/docs/reference/admin/node/admin.auth.UserRecord) type.
>
> ## Firebase Admin Node.js SDK v6.4.0
> - [added] `messaging.Aps` type now supports configuring a critical sound. A new `messaging.CriticalSound` type has been introduced for this purpose.
> - [added] `messaging.AndroidNotification` type now supports `channel_id`.
> - [added] `AppOptions` now accepts an optional `http.Agent` object. The `http.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()`, and `admin.credential.refreshToken()` methods now accept an `http.Agent` as an optional argument. If specified, the `http.Agent` will be used when calling Google backend servers to fetch OAuth2 access tokens.
> ... (truncated)
Changelog
*Sourced from [firebase-admin's changelog](https://github.com/firebase/firebase-admin-node/blob/master/CHANGELOG.md).*
> # v7.2.0
>
> - [changed] Updated the Google Cloud Firestore client to v1.2.0. This update
> exposes the `v1beta` and `v1` clients and provides direct access to the
> underlying Firestore and Firestore Admin RPCs. Please note that you will have
> to provide your Firebase credentials directly to these clients.
>
> # v7.1.1
>
> - [fixed] Fixed a bug in the FCM batch APIs that prevented them from correctly
> handling some message parameters like `AndroidConfig.ttl`.
>
> # v7.1.0
>
> - [added] A new `messaging.sendAll()` API for sending multiple messages as a
> single batch.
> - [added] A new `messaging.sendMulticast()` API for sending a message to
> multiple device registration tokens.
> - [fixed] Upgraded Cloud Firestore client version to 1.1.0.
> - [fixed] Improved typings of `UpdateRequest` interface to support deletion of
> properties.
>
> # v7.0.0
>
> - [changed] Updated the Google Cloud Firestore client to v1.0.1. This contains
> breaking changes. Refer to Cloud Firestore
> [release notes](https://github.com/googleapis/nodejs-firestore/releases/tag/v0.20.0)
> for more details and migration instructions.
> - [changed] Updated the Google Cloud Storage client to v2.3.0. This contains
> breaking changes. Refer to Cloud Storage
> [release notes](https://github.com/googleapis/nodejs-storage/releases/tag/v2.0.0)
> for more details and migration instructions.
> - [changed] `verifyIdToken()` and `verifySessionCookie()` methods now return
> `auth/id-token-expired` and `auth/session-cookie-expired` error codes for
> expired JWTs.
> - [fixed] Including additional helpful details in the errors thrown due to
> credentials-related problems.
>
> # v6.5.1
>
> - [fixed] Implemented a Node.js environment check that will be executed at
> package import time.
> - [fixed] Setting the `GOOGLE_APPLICATION_CREDENTIALS` environment variable
> to a refresh token instead of a service account is now supported.
>
> # v6.5.0
>
> - [fixed] Correctly parses error codes sent by Firebase Auth backend servers.
> - [fixed] Correctly marked the optional fields in `UserRecord` types.
> - [added] `admin.projectManagement().shaCertificate()` method to create an
> ... (truncated)
Commits
- [`d0ccf8f`](https://github.com/firebase/firebase-admin-node/commit/d0ccf8fcb168e773a3ea7f1869abb003a90c5105) Bumped version to 7.2.0 ([#490](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/490))
- [`776d01d`](https://github.com/firebase/firebase-admin-node/commit/776d01d221aac7f997c7c6bd7d79556a8419e59b) Bumped version to 7.1.1 ([#485](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/485))
- [`3b33bb2`](https://github.com/firebase/firebase-admin-node/commit/3b33bb2f5b24ddf0183529f1adfad626b4f4227b) Adding X-Firebase-Client header to FCM API calls ([#488](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/488))
- [`7e2bb7f`](https://github.com/firebase/firebase-admin-node/commit/7e2bb7f12354e3d125cadaaafe19ec42ba1ecd44) Expose Firestore v1 and v1beta1 namespaces ([#487](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/487))
- [`bcdefd4`](https://github.com/firebase/firebase-admin-node/commit/bcdefd45e89f34374a58cdc0f26f77224a522628) Using the correct message copies in sendAll() API ([#480](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/480))
- [`69262ad`](https://github.com/firebase/firebase-admin-node/commit/69262adede544b951a1961ce5032fba6a3c292a3) Bumped version to 7.1.0 ([#476](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/476))
- [`b5f9bf8`](https://github.com/firebase/firebase-admin-node/commit/b5f9bf8fb4733886d05fe0b295848dba1a24bd72) Implementing FCM sendAll() API ([#453](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/453))
- [`1e8b553`](https://github.com/firebase/firebase-admin-node/commit/1e8b553272e6a497ab17dc8655d0f1ae585ceafe) Upgraded Firestore to v1.1.0 ([#475](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/475))
- [`55dd221`](https://github.com/firebase/firebase-admin-node/commit/55dd22155d9ab465c103c41dbf3b709a11bad402) Use only named exports of [@google](https://github.com/google)-cloud/firestore ([#471](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/471))
- [`5e71ed3`](https://github.com/firebase/firebase-admin-node/commit/5e71ed3876f6209c809820b275d397ba4f442756) Ability to install package from GitHub ([#468](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/468))
- Additional commits viewable in [compare view](https://github.com/firebase/firebase-admin-node/compare/v5.13.1...v7.2.0)
Maintainer changes
This version was pushed to npm by [google-wombot](https://www.npmjs.com/~google-wombot), a new releaser for firebase-admin since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps firebase-admin from 5.13.1 to 7.2.0.
Release notes
*Sourced from [firebase-admin's releases](https://github.com/firebase/firebase-admin-node/releases).* > ## Firebase Admin Node.js SDK v7.2.0 > ### Cloud Firestore > > - Upgraded the Cloud Firestore client dependency to [v1.2.0](https://github.com/googleapis/nodejs-firestore/releases/tag/v1.2.0). This upgrade exposes the `v1beta` and `v1` 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()`](https://firebase.google.com/docs/reference/admin/node/admin.messaging.Messaging#sendMulticast) API for sending a message to a list of device registration tokens. > - A new [`messaging.sendAll()`](https://firebase.google.com/docs/reference/admin/node/admin.messaging.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](https://github.com/googleapis/nodejs-firestore/releases/tag/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](https://github.com/googleapis/nodejs-firestore/releases/tag/v0.20.0) 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](https://github.com/googleapis/nodejs-storage/releases/tag/v2.0.0) for more details and migration instructions. > > ### Authentication > > - The `verifyIdToken()` and `verifySessionCookie()` methods now return `auth/id-token-expired` and `auth/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 of [`admin.projectManagement.ShaCertificate`](https://firebase.google.com/docs/reference/admin/node/admin.projectManagement.ShaCertificate). > > ### Authentication > > - Fixed how the SDK parses the error codes sent by auth backend servers. > - Correctly marked optional fields in the [`UserRecord`](https://firebase.google.com/docs/reference/admin/node/admin.auth.UserRecord) type. > > ## Firebase Admin Node.js SDK v6.4.0 > - [added] `messaging.Aps` type now supports configuring a critical sound. A new `messaging.CriticalSound` type has been introduced for this purpose. > - [added] `messaging.AndroidNotification` type now supports `channel_id`. > - [added] `AppOptions` now accepts an optional `http.Agent` object. The `http.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()`, and `admin.credential.refreshToken()` methods now accept an `http.Agent` as an optional argument. If specified, the `http.Agent` will be used when calling Google backend servers to fetch OAuth2 access tokens. > ... (truncated)Changelog
*Sourced from [firebase-admin's changelog](https://github.com/firebase/firebase-admin-node/blob/master/CHANGELOG.md).* > # v7.2.0 > > - [changed] Updated the Google Cloud Firestore client to v1.2.0. This update > exposes the `v1beta` and `v1` clients and provides direct access to the > underlying Firestore and Firestore Admin RPCs. Please note that you will have > to provide your Firebase credentials directly to these clients. > > # v7.1.1 > > - [fixed] Fixed a bug in the FCM batch APIs that prevented them from correctly > handling some message parameters like `AndroidConfig.ttl`. > > # v7.1.0 > > - [added] A new `messaging.sendAll()` API for sending multiple messages as a > single batch. > - [added] A new `messaging.sendMulticast()` API for sending a message to > multiple device registration tokens. > - [fixed] Upgraded Cloud Firestore client version to 1.1.0. > - [fixed] Improved typings of `UpdateRequest` interface to support deletion of > properties. > > # v7.0.0 > > - [changed] Updated the Google Cloud Firestore client to v1.0.1. This contains > breaking changes. Refer to Cloud Firestore > [release notes](https://github.com/googleapis/nodejs-firestore/releases/tag/v0.20.0) > for more details and migration instructions. > - [changed] Updated the Google Cloud Storage client to v2.3.0. This contains > breaking changes. Refer to Cloud Storage > [release notes](https://github.com/googleapis/nodejs-storage/releases/tag/v2.0.0) > for more details and migration instructions. > - [changed] `verifyIdToken()` and `verifySessionCookie()` methods now return > `auth/id-token-expired` and `auth/session-cookie-expired` error codes for > expired JWTs. > - [fixed] Including additional helpful details in the errors thrown due to > credentials-related problems. > > # v6.5.1 > > - [fixed] Implemented a Node.js environment check that will be executed at > package import time. > - [fixed] Setting the `GOOGLE_APPLICATION_CREDENTIALS` environment variable > to a refresh token instead of a service account is now supported. > > # v6.5.0 > > - [fixed] Correctly parses error codes sent by Firebase Auth backend servers. > - [fixed] Correctly marked the optional fields in `UserRecord` types. > - [added] `admin.projectManagement().shaCertificate()` method to create an > ... (truncated)Commits
- [`d0ccf8f`](https://github.com/firebase/firebase-admin-node/commit/d0ccf8fcb168e773a3ea7f1869abb003a90c5105) Bumped version to 7.2.0 ([#490](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/490)) - [`776d01d`](https://github.com/firebase/firebase-admin-node/commit/776d01d221aac7f997c7c6bd7d79556a8419e59b) Bumped version to 7.1.1 ([#485](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/485)) - [`3b33bb2`](https://github.com/firebase/firebase-admin-node/commit/3b33bb2f5b24ddf0183529f1adfad626b4f4227b) Adding X-Firebase-Client header to FCM API calls ([#488](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/488)) - [`7e2bb7f`](https://github.com/firebase/firebase-admin-node/commit/7e2bb7f12354e3d125cadaaafe19ec42ba1ecd44) Expose Firestore v1 and v1beta1 namespaces ([#487](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/487)) - [`bcdefd4`](https://github.com/firebase/firebase-admin-node/commit/bcdefd45e89f34374a58cdc0f26f77224a522628) Using the correct message copies in sendAll() API ([#480](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/480)) - [`69262ad`](https://github.com/firebase/firebase-admin-node/commit/69262adede544b951a1961ce5032fba6a3c292a3) Bumped version to 7.1.0 ([#476](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/476)) - [`b5f9bf8`](https://github.com/firebase/firebase-admin-node/commit/b5f9bf8fb4733886d05fe0b295848dba1a24bd72) Implementing FCM sendAll() API ([#453](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/453)) - [`1e8b553`](https://github.com/firebase/firebase-admin-node/commit/1e8b553272e6a497ab17dc8655d0f1ae585ceafe) Upgraded Firestore to v1.1.0 ([#475](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/475)) - [`55dd221`](https://github.com/firebase/firebase-admin-node/commit/55dd22155d9ab465c103c41dbf3b709a11bad402) Use only named exports of [@google](https://github.com/google)-cloud/firestore ([#471](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/471)) - [`5e71ed3`](https://github.com/firebase/firebase-admin-node/commit/5e71ed3876f6209c809820b275d397ba4f442756) Ability to install package from GitHub ([#468](https://github-redirect.dependabot.com/firebase/firebase-admin-node/issues/468)) - Additional commits viewable in [compare view](https://github.com/firebase/firebase-admin-node/compare/v5.13.1...v7.2.0)Maintainer changes
This version was pushed to npm by [google-wombot](https://www.npmjs.com/~google-wombot), a new releaser for firebase-admin since your current version.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.