ecomplus / application-starter

Serverless boilerplate for E-Com Plus apps (integrations) with Firebase Cloud Functions and GitHub Actions
MIT License
2 stars 3 forks source link

fix(deps): update dependency firebase-functions to v4 #171

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
firebase-functions ^3.24.1 -> ^4.0.2 age adoption passing confidence

Release Notes

firebase/firebase-functions ### [`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. ##### 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.