Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency firebase-functions to v6 #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 1, 2024

This PR contains the following updates:

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

Release Notes

firebase/firebase-functions (firebase-functions)

v6.1.2

Compare Source

v6.1.1

Compare Source

  • Fix bug where wrapInit wasn't called on v2 callable functions. (#​1634)
  • Add support for callable function to return streaming response (#​1629)
  • Add support for firebase-admin@13 (#​1641)

v6.1.0

Compare Source

  • Bump express version to 4.19.2 (#​1624)
  • Add support for beforeSmsSent auth blocking triggers. (#​1589)

v6.0.1

Compare Source

  • Fix bug where v1 functions can't be emulated (#​1615)

v6.0.0

Compare Source

  • Breaking: Change default entrypoint of the firebase-functions package to v2 instead of v1 (#​1594)
  • Add @​deprecated annotation on functions.config() API (#​1604)

v5.1.1

Compare Source

  • Fix retry in event triggered functions. (#​1463)
  • Expose retry configuration in v2 RTDB trigger (#​1588)
  • Fix CORS options for v2 callable functions (#​1564)
  • Remove invalid enforceAppCheck option for v2 onRequest trigger (#​1477)

v5.1.0

Compare Source

v5.0.1

Compare Source

  • Fix App fetching for named firestore instances (#​1562).

v5.0.0

Compare Source

  • Add option to get named firestore instance for v2 firestore functions (#​1550).
  • Remove firebase-admin v10 dependency for Firestore triggers multi-DB support (#​1555).

v4.9.0

Compare Source

  • Add new 2nd gen Firestore auth context triggers. (#​1519)

v4.8.2

Compare Source

Fix bug with CORS options for an array of one string (#​1544)

v4.8.1

Compare Source

Fix bug where 1st gen functions eventually fail with stack too deep (#​1540)
Make simple CORS options static for improved debugability (#​1536)

v4.8.0

Compare Source

Add onInit callback function for global variable initialization (#​1531)

v4.7.0

Compare Source

  • Fixes access on deeply nested, nonexistent property. (#​1432)
  • Add IteratedDataSnapshot interface to match with firebase admin v12 (#​1517).
  • Make bucket parameterizeable in storage functions (#​1518)
  • Introduce helper library for select and multi-select input (#​1518)

v4.6.0

Compare Source

  • Wrap 2nd gen onCall functions with trace context. (#​1491)
  • Bump peer depdencies for firebase-admin to support 12.0.0. (#​1509)

v4.5.0

Compare Source

  • Remove HTTP server shutdown message. (#​1457)
  • Add features to task queue functions. (#​1423)
  • Add traces to V2 Firestore trigger logs. (#​1440)
  • Fix incorrectly parsed timestamps in auth blocking functions. (#​1472)
  • Add recaptcha verdict support for auth blocking functions (#​1458)

v4.4.1

Compare Source

  • Update list of supported regions for 2nd Gen Functions. (#​1402)
  • Fix bug where log message on structured log was being overwritten (#​1416)
  • Fix bug where exists() should return true for falsy values like 0, "" (#​1410)

v4.4.0

Compare Source

  • Fix typo on alert event type. (#​1384)
  • Add consumeAppCheckToken option for callable functions (#​1374)

v4.3.1

Compare Source

  • Export Change interface from the v2 firestore path (#​1379).

v4.3.0

Compare Source

  • Enhance firstore triggers (#​1358).
  • Allow parametrized string type in ServiceAccount fields in Functions and trigger configs (#​1309)
  • Adds support for region params (#​1353).

v4.2.1

Compare Source

  • Fixes an emulator issue where snapshot.ref could not point to multiple databases (#​1339).
  • Fixes emulated v1 callable functions that use a monorepo setup (#​1345).

v4.2.0

Compare Source

  • Allow Functions to specify vpcConnector as a string parameter (#​1329)
  • Upgrade jsonwebtoken to version 9 (#​1336)
  • Adds 'eventarcpublishing' as required API to custom event function
  • Hide type information of defineFloat in params module - it's not supported yet (#​1341)

v4.1.1

Compare Source

  • Fix bug where some FireAlerts v2 functions didn't correctly return values back to Functions Framework. (#​1324)

v4.1.0

Compare Source

  • Deprecate typoed function name lessThanorEqualTo (#​1284)
  • Fix a bug where supplying preserveExternalChanges to scheduled functions would cause deployment failure (#​1305).
  • Adds omit option to skip function deploys (#​1298).

v4.0.2

Compare Source

  • Fix bug where secret parameters, defined using defineSecret(), were missing a .value() method (#​1281)
  • Fix bug where v1/https was not exported (#​1267)
  • Fix incorrect typeVersion export paths (#​1287)
  • Revert removal of \_\_trigger (#​1274)

v4.0.1

Compare Source

Correct the function BooleanExpression#then to BooleanExpression#thenElse (#​1268)

v4.0.0

Compare Source

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 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 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 was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Oct 1, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: functions/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: functions@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/firebase-admin
npm ERR!   firebase-admin@"^10.3.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer firebase-admin@"^11.10.0 || ^12.0.0 || ^13.0.0" from [email protected]
npm ERR! node_modules/firebase-functions
npm ERR!   firebase-functions@"^6.1.2" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-12-09T20_55_46_052Z-debug-0.log

@renovate renovate bot added the dependencies label Oct 1, 2024
@renovate renovate bot force-pushed the renovate/firebase-functions-6.x branch from 4cac120 to dc3c27c Compare October 22, 2024 21:01
@renovate renovate bot force-pushed the renovate/firebase-functions-6.x branch from dc3c27c to da17f3b Compare November 22, 2024 00:10
@renovate renovate bot force-pushed the renovate/firebase-functions-6.x branch from da17f3b to 037f68e Compare December 9, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants