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 v5 #122

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 6, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

firebase/firebase-functions (firebase-functions)

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 6am and before 10am on monday" (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.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label May 6, 2024
Copy link
Contributor Author

renovate bot commented May 6, 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
/opt/containerbase/tools/npm/10.7.0/14.21.3/node_modules/npm/lib/cli/validate-engines.js:31
    throw err
    ^

TypeError: args.at is not a function
    at process.<anonymous> (/opt/containerbase/tools/npm/10.7.0/14.21.3/node_modules/npm/lib/utils/display.js:91:21)
    at process.emit (events.js:412:35)
    at Object.verbose (/opt/containerbase/tools/npm/10.7.0/14.21.3/node_modules/npm/node_modules/proc-log/lib/index.js:68:22)
    at module.exports (/opt/containerbase/tools/npm/10.7.0/14.21.3/node_modules/npm/lib/cli/entry.js:25:7)
    at module.exports (/opt/containerbase/tools/npm/10.7.0/14.21.3/node_modules/npm/lib/cli/validate-engines.js:39:10)
    at module.exports (/opt/containerbase/tools/npm/10.7.0/14.21.3/node_modules/npm/lib/cli.js:4:31)
    at Object.<anonymous> (/opt/containerbase/tools/npm/10.7.0/14.21.3/node_modules/npm/bin/npm-cli.js:2:25)
    at Module._compile (internal/modules/cjs/loader.js:1114:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
    at Module.load (internal/modules/cjs/loader.js:979:32)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants