firebase/firebase-functions (firebase-functions)
### [`v4.9.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.9.0)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.8.2...v4.9.0)
- Add new 2nd gen Firestore auth context triggers. ([#1519](https://togithub.com/firebase/firebase-functions/issues/1519))
### [`v4.8.2`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.8.2)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.8.1...v4.8.2)
Fix bug with CORS options for an array of one string ([#1544](https://togithub.com/firebase/firebase-functions/issues/1544))
### [`v4.8.1`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.8.1)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.8.0...v4.8.1)
Fix bug where 1st gen functions eventually fail with stack too deep ([#1540](https://togithub.com/firebase/firebase-functions/issues/1540))
Make simple CORS options static for improved debugability ([#1536](https://togithub.com/firebase/firebase-functions/issues/1536))
### [`v4.8.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.8.0)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.7.0...v4.8.0)
Add onInit callback function for global variable initialization ([#1531](https://togithub.com/firebase/firebase-functions/issues/1531))
### [`v4.7.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.7.0)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.6.0...v4.7.0)
- Fixes access on deeply nested, nonexistent property. ([#1432](https://togithub.com/firebase/firebase-functions/issues/1432))
- Add IteratedDataSnapshot interface to match with firebase admin v12 ([#1517](https://togithub.com/firebase/firebase-functions/issues/1517)).
- Make bucket parameterizeable in storage functions ([#1518](https://togithub.com/firebase/firebase-functions/issues/1518))
- Introduce helper library for select and multi-select input ([#1518](https://togithub.com/firebase/firebase-functions/issues/1518))
### [`v4.6.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.6.0)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.5.0...v4.6.0)
- Wrap 2nd gen onCall functions with trace context. ([#1491](https://togithub.com/firebase/firebase-functions/issues/1491))
- Bump peer depdencies for firebase-admin to support 12.0.0. ([#1509](https://togithub.com/firebase/firebase-functions/issues/1509))
### [`v4.5.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.5.0)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.4.1...v4.5.0)
- Remove HTTP server shutdown message. ([#1457](https://togithub.com/firebase/firebase-functions/issues/1457))
- Add features to task queue functions. ([#1423](https://togithub.com/firebase/firebase-functions/issues/1423))
- Add traces to V2 Firestore trigger logs. ([#1440](https://togithub.com/firebase/firebase-functions/issues/1440))
- Fix incorrectly parsed timestamps in auth blocking functions. ([#1472](https://togithub.com/firebase/firebase-functions/issues/1472))
- Add recaptcha verdict support for auth blocking functions ([#1458](https://togithub.com/firebase/firebase-functions/issues/1458))
### [`v4.4.1`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.4.1)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.4.0...v4.4.1)
- Update list of supported regions for 2nd Gen Functions. ([#1402](https://togithub.com/firebase/firebase-functions/issues/1402))
- Fix bug where log message on structured log was being overwritten ([#1416](https://togithub.com/firebase/firebase-functions/issues/1416))
- Fix bug where exists() should return true for falsy values like 0, "" ([#1410](https://togithub.com/firebase/firebase-functions/issues/1410))
### [`v4.4.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.4.0)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.3.1...v4.4.0)
- Fix typo on alert event type. ([#1384](https://togithub.com/firebase/firebase-functions/issues/1384))
- Add `consumeAppCheckToken` option for callable functions ([#1374](https://togithub.com/firebase/firebase-functions/issues/1374))
### [`v4.3.1`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.3.1)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.3.0...v4.3.1)
- Export Change interface from the v2 firestore path ([#1379](https://togithub.com/firebase/firebase-functions/issues/1379)).
### [`v4.3.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.3.0)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.2.1...v4.3.0)
- Enhance firstore triggers ([#1358](https://togithub.com/firebase/firebase-functions/issues/1358)).
- Allow parametrized string type in ServiceAccount fields in Functions and trigger configs ([#1309](https://togithub.com/firebase/firebase-functions/issues/1309))
- Adds support for region params ([#1353](https://togithub.com/firebase/firebase-functions/issues/1353)).
### [`v4.2.1`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.2.1)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.2.0...v4.2.1)
- Fixes an emulator issue where snapshot.ref could not point to multiple databases ([#1339](https://togithub.com/firebase/firebase-functions/issues/1339)).
- Fixes emulated v1 callable functions that use a monorepo setup ([#1345](https://togithub.com/firebase/firebase-functions/issues/1345)).
### [`v4.2.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.2.0)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.1.1...v4.2.0)
- Allow Functions to specify vpcConnector as a string parameter ([#1329](https://togithub.com/firebase/firebase-functions/issues/1329))
- Upgrade jsonwebtoken to version 9 ([#1336](https://togithub.com/firebase/firebase-functions/issues/1336))
- Adds 'eventarcpublishing' as required API to custom event function
- Hide type information of defineFloat in params module - it's not supported yet ([#1341](https://togithub.com/firebase/firebase-functions/issues/1341))
### [`v4.1.1`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.1.1)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.1.0...v4.1.1)
- Fix bug where some FireAlerts v2 functions didn't correctly return values back to Functions Framework. ([#1324](https://togithub.com/firebase/firebase-functions/issues/1324))
### [`v4.1.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.1.0)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.0.2...v4.1.0)
- Deprecate typoed function name lessThanorEqualTo ([#1284](https://togithub.com/firebase/firebase-functions/issues/1284))
- Fix a bug where supplying preserveExternalChanges to scheduled functions would cause deployment failure ([#1305](https://togithub.com/firebase/firebase-functions/issues/1305)).
- Adds omit option to skip function deploys ([#1298](https://togithub.com/firebase/firebase-functions/issues/1298)).
### [`v4.0.2`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.0.2)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.0.1...v4.0.2)
- Fix bug where [secret parameters](https://firebase.google.com/docs/functions/config-env#secret_parameters), defined using `defineSecret()`, were missing a `.value()` method ([#1281](https://togithub.com/firebase/firebase-functions/issues/1281))
- Fix bug where v1/https was not exported ([#1267](https://togithub.com/firebase/firebase-functions/issues/1267))
- Fix incorrect typeVersion export paths ([#1287](https://togithub.com/firebase/firebase-functions/issues/1287))
- Revert removal of `\_\_trigger` ([#1274](https://togithub.com/firebase/firebase-functions/issues/1274))
### [`v4.0.1`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.0.1)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.0.0...v4.0.1)
Correct the function BooleanExpression#then to BooleanExpression#thenElse ([#1268](https://togithub.com/firebase/firebase-functions/issues/1268))
### [`v4.0.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.0.0)
[Compare Source](https://togithub.com/firebase/firebase-functions/compare/v3.24.1...v4.0.0)
##### Breaking Changes
- Deprecated `allowInvalidAppCheckToken` option. Instead use
`enforceAppCheck`.
> App Check enforcement on callable functions is disabled by default in v4.
> Requests containing invalid App Check tokens won't be denied unless you
> explicitly enable App Check enforcement using the new `enforceAppCheck` option.
> Furthermore, when enforcement is enabled, callable functions will deny
> all requests without App Check tokens.
- Dropped support for Node.js versions 8, 10, and 12.
- Dropped support for Admin SDK versions 8 and 9.
- Removed the `functions.handler` namespace.
- `DataSnapshot` passed to the Firebase Realtime Database trigger now
matches the `DataSnapshot` returned by the Admin SDK, with null values
removed.
- Removed `__trigger` object on function handlers.
- Reorganized source code location. This affects only apps that directly import files instead of using the recommend entry points specified in the
- Reworked the `apps` library and removed `lodash` as a runtime dependency.
- Change default behavior of function deploy to clear configurations not specified in the source code (e.g. change memory configuration in Google Cloud Console). Use `preserveExternalChanges` to keep existing behavior. See [docs](https://firebase.google.com/docs/functions/manage-functions#set_runtime_options) for more info.
##### Enhancements
- Logs created with the `functions.logger` package in v2 functions
are now annotated with each request's trace ID, making it easy to correlate
log entries with the incoming request. Trace IDs are especially useful for
cases where 2nd gen's concurrency feature permits a function
to handle multiple requests at any given time. See
[Correlate log entries](https://cloud.google.com/logging/docs/view/correlate-logs) to learn more.
- `functions.logger.error` now always outputs an error object and is included in Google Cloud Error Reporting.
- The logging severity of Auth/App Check token validation has changed from `info` to `debug` level.
- Event parameters for 2nd generation functions are now strongly typed, permitting stronger TypeScript types for matched parameters.
Configuration
š Schedule: Branch creation - "after 7am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
š¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^3.24.1
->^4.9.0
Release Notes
firebase/firebase-functions (firebase-functions)
### [`v4.9.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.9.0) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.8.2...v4.9.0) - Add new 2nd gen Firestore auth context triggers. ([#1519](https://togithub.com/firebase/firebase-functions/issues/1519)) ### [`v4.8.2`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.8.2) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.8.1...v4.8.2) Fix bug with CORS options for an array of one string ([#1544](https://togithub.com/firebase/firebase-functions/issues/1544)) ### [`v4.8.1`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.8.1) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.8.0...v4.8.1) Fix bug where 1st gen functions eventually fail with stack too deep ([#1540](https://togithub.com/firebase/firebase-functions/issues/1540)) Make simple CORS options static for improved debugability ([#1536](https://togithub.com/firebase/firebase-functions/issues/1536)) ### [`v4.8.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.8.0) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.7.0...v4.8.0) Add onInit callback function for global variable initialization ([#1531](https://togithub.com/firebase/firebase-functions/issues/1531)) ### [`v4.7.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.7.0) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.6.0...v4.7.0) - Fixes access on deeply nested, nonexistent property. ([#1432](https://togithub.com/firebase/firebase-functions/issues/1432)) - Add IteratedDataSnapshot interface to match with firebase admin v12 ([#1517](https://togithub.com/firebase/firebase-functions/issues/1517)). - Make bucket parameterizeable in storage functions ([#1518](https://togithub.com/firebase/firebase-functions/issues/1518)) - Introduce helper library for select and multi-select input ([#1518](https://togithub.com/firebase/firebase-functions/issues/1518)) ### [`v4.6.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.6.0) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.5.0...v4.6.0) - Wrap 2nd gen onCall functions with trace context. ([#1491](https://togithub.com/firebase/firebase-functions/issues/1491)) - Bump peer depdencies for firebase-admin to support 12.0.0. ([#1509](https://togithub.com/firebase/firebase-functions/issues/1509)) ### [`v4.5.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.5.0) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.4.1...v4.5.0) - Remove HTTP server shutdown message. ([#1457](https://togithub.com/firebase/firebase-functions/issues/1457)) - Add features to task queue functions. ([#1423](https://togithub.com/firebase/firebase-functions/issues/1423)) - Add traces to V2 Firestore trigger logs. ([#1440](https://togithub.com/firebase/firebase-functions/issues/1440)) - Fix incorrectly parsed timestamps in auth blocking functions. ([#1472](https://togithub.com/firebase/firebase-functions/issues/1472)) - Add recaptcha verdict support for auth blocking functions ([#1458](https://togithub.com/firebase/firebase-functions/issues/1458)) ### [`v4.4.1`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.4.1) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.4.0...v4.4.1) - Update list of supported regions for 2nd Gen Functions. ([#1402](https://togithub.com/firebase/firebase-functions/issues/1402)) - Fix bug where log message on structured log was being overwritten ([#1416](https://togithub.com/firebase/firebase-functions/issues/1416)) - Fix bug where exists() should return true for falsy values like 0, "" ([#1410](https://togithub.com/firebase/firebase-functions/issues/1410)) ### [`v4.4.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.4.0) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.3.1...v4.4.0) - Fix typo on alert event type. ([#1384](https://togithub.com/firebase/firebase-functions/issues/1384)) - Add `consumeAppCheckToken` option for callable functions ([#1374](https://togithub.com/firebase/firebase-functions/issues/1374)) ### [`v4.3.1`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.3.1) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.3.0...v4.3.1) - Export Change interface from the v2 firestore path ([#1379](https://togithub.com/firebase/firebase-functions/issues/1379)). ### [`v4.3.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.3.0) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.2.1...v4.3.0) - Enhance firstore triggers ([#1358](https://togithub.com/firebase/firebase-functions/issues/1358)). - Allow parametrized string type in ServiceAccount fields in Functions and trigger configs ([#1309](https://togithub.com/firebase/firebase-functions/issues/1309)) - Adds support for region params ([#1353](https://togithub.com/firebase/firebase-functions/issues/1353)). ### [`v4.2.1`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.2.1) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.2.0...v4.2.1) - Fixes an emulator issue where snapshot.ref could not point to multiple databases ([#1339](https://togithub.com/firebase/firebase-functions/issues/1339)). - Fixes emulated v1 callable functions that use a monorepo setup ([#1345](https://togithub.com/firebase/firebase-functions/issues/1345)). ### [`v4.2.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.2.0) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.1.1...v4.2.0) - Allow Functions to specify vpcConnector as a string parameter ([#1329](https://togithub.com/firebase/firebase-functions/issues/1329)) - Upgrade jsonwebtoken to version 9 ([#1336](https://togithub.com/firebase/firebase-functions/issues/1336)) - Adds 'eventarcpublishing' as required API to custom event function - Hide type information of defineFloat in params module - it's not supported yet ([#1341](https://togithub.com/firebase/firebase-functions/issues/1341)) ### [`v4.1.1`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.1.1) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.1.0...v4.1.1) - Fix bug where some FireAlerts v2 functions didn't correctly return values back to Functions Framework. ([#1324](https://togithub.com/firebase/firebase-functions/issues/1324)) ### [`v4.1.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.1.0) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.0.2...v4.1.0) - Deprecate typoed function name lessThanorEqualTo ([#1284](https://togithub.com/firebase/firebase-functions/issues/1284)) - Fix a bug where supplying preserveExternalChanges to scheduled functions would cause deployment failure ([#1305](https://togithub.com/firebase/firebase-functions/issues/1305)). - Adds omit option to skip function deploys ([#1298](https://togithub.com/firebase/firebase-functions/issues/1298)). ### [`v4.0.2`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.0.2) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.0.1...v4.0.2) - Fix bug where [secret parameters](https://firebase.google.com/docs/functions/config-env#secret_parameters), defined using `defineSecret()`, were missing a `.value()` method ([#1281](https://togithub.com/firebase/firebase-functions/issues/1281)) - Fix bug where v1/https was not exported ([#1267](https://togithub.com/firebase/firebase-functions/issues/1267)) - Fix incorrect typeVersion export paths ([#1287](https://togithub.com/firebase/firebase-functions/issues/1287)) - Revert removal of `\_\_trigger` ([#1274](https://togithub.com/firebase/firebase-functions/issues/1274)) ### [`v4.0.1`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.0.1) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v4.0.0...v4.0.1) Correct the function BooleanExpression#then to BooleanExpression#thenElse ([#1268](https://togithub.com/firebase/firebase-functions/issues/1268)) ### [`v4.0.0`](https://togithub.com/firebase/firebase-functions/releases/tag/v4.0.0) [Compare Source](https://togithub.com/firebase/firebase-functions/compare/v3.24.1...v4.0.0) ##### Breaking Changes - Deprecated `allowInvalidAppCheckToken` option. Instead use `enforceAppCheck`. > App Check enforcement on callable functions is disabled by default in v4. > Requests containing invalid App Check tokens won't be denied unless you > explicitly enable App Check enforcement using the new `enforceAppCheck` option. > Furthermore, when enforcement is enabled, callable functions will deny > all requests without App Check tokens. - Dropped support for Node.js versions 8, 10, and 12. - Dropped support for Admin SDK versions 8 and 9. - Removed the `functions.handler` namespace. - `DataSnapshot` passed to the Firebase Realtime Database trigger now matches the `DataSnapshot` returned by the Admin SDK, with null values removed. - Removed `__trigger` object on function handlers. - Reorganized source code location. This affects only apps that directly import files instead of using the recommend entry points specified in the - Reworked the `apps` library and removed `lodash` as a runtime dependency. - Change default behavior of function deploy to clear configurations not specified in the source code (e.g. change memory configuration in Google Cloud Console). Use `preserveExternalChanges` to keep existing behavior. See [docs](https://firebase.google.com/docs/functions/manage-functions#set_runtime_options) for more info. ##### Enhancements - Logs created with the `functions.logger` package in v2 functions are now annotated with each request's trace ID, making it easy to correlate log entries with the incoming request. Trace IDs are especially useful for cases where 2nd gen's concurrency feature permits a function to handle multiple requests at any given time. See [Correlate log entries](https://cloud.google.com/logging/docs/view/correlate-logs) to learn more. - `functions.logger.error` now always outputs an error object and is included in Google Cloud Error Reporting. - The logging severity of Auth/App Check token validation has changed from `info` to `debug` level. - Event parameters for 2nd generation functions are now strongly typed, permitting stronger TypeScript types for matched parameters.Configuration
š Schedule: Branch creation - "after 7am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
š¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.