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

[Snyk] Upgrade firebase-functions from 3.24.1 to 4.0.1 #8

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

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Nov 8, 2022

Snyk has created this PR to upgrade firebase-functions from 3.24.1 to 4.0.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 3 versions ahead of your current version.
  • The recommended version was released 21 days ago, on 2022-10-18.
Release notes
Package name: firebase-functions
  • 4.0.1 - 2022-10-18

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

  • 4.0.0 - 2022-10-17

    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 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.
  • 4.0.0-rc.0 - 2022-10-14
  • 3.24.1 - 2022-09-30
    • Fix reference docs for performance monitoring.
    • Fix bug where function configuration wil null values couldn't be deployed. (#1246)
from firebase-functions GitHub release notes
Commit messages
Package name: firebase-functions
  • ab8c33e 4.0.1
  • 7dbda7d Fix params API to match agreed spec (#1268)
  • 879c5c2 [firebase-release] Removed change log and reset repo after 4.0.0 release
  • 8ea3943 4.0.0
  • 7ed2dbb Update release script to support making release candidates (#1261)
  • a8b3cc4 Adding minor text edits to preserveExternalChanges description. (#1262)
  • ffa3a57 Functions SDK v4 (#1161)
  • b096107 [firebase-release] Removed change log and reset repo after 3.24.1 release

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant