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 2.1.0 to 3.11.0 #379

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

Conversation

snyk-bot
Copy link
Contributor

Snyk has created this PR to upgrade firebase-functions from 2.1.0 to 3.11.0.

merge advice

✨ Snyk has automatically assigned this pull request, set who gets assigned.
ℹ️ 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 21 versions ahead of your current version.
  • The recommended version was released a month ago, on 2020-08-21.
Release notes
Package name: firebase-functions
  • 3.11.0 - 2020-08-21
    • Adds support for vpcConnector and vpcConnectorEgressSettings fields in functions.runWith(). Must be used in conjunction with firebase-tools v8.9.0 or higher. Thanks @pcboy! (#752)
  • 3.10.0 - 2020-08-20
    • Adds support for functions failure policies (#482)
  • 3.9.1 - 2020-08-12
    • Updates firebase-admin dependency to support ^9.0.0 in addition to ^8.0.0. Note that firebase-admin no longer supports Node.js 8.x as of 9.0.0.
    • Fixes logging of unexpected errors in https.onCall() functions.
  • 3.9.0 - 2020-07-31
    • Updates HTTP callable functions to use structured logging for Node 10+ environments.
    • Adds type hints for new Cloud Functions regions asia-northeast3, asia-south1, and asia-southeast2.
    • Updates type definition of https.onRequest to allow for promises (async functions).
  • 3.8.0 - 2020-07-14
    • Fixes error when last argument to logger methods is null. (#716)
    • Adds eight new available regions:
      • us-west2
      • us-west3
      • us-west4
      • europe-west6
      • asia-northeast2
      • northamerica-northeast1
      • southamerica-east1
      • australia-southeast1
    • No longer throw errors for unrecognized regions (deploy will error instead).
    • Fixes error where snap.ref in database functions did not work when using the Emulator Suite (#726)
  • 3.7.0 - 2020-06-09
    • Adds functions.logger SDK to enable structured logging in the Node.js 10 runtime. For example:

      const functions = require('firebase-functions');
      

      functions.logger.debug('example log with structured data', {
      uid: user.uid,
      authorized: true,
      });

    • Adds a special require that mimics Node.js 8 runtime logging in Node.js 10 and later runtimes:

      require('firebase-functions/lib/logger/compat');

      In newer runtimes, requiring this will emit text logs with multi-line support and appropriate severity. In the Node.js 8 runtime, the compat module has no effect.

    • Fixes https.onRequest type signature to allow Promises for async functions.

  • 3.6.2 - 2020-05-28
    • Pin @types/express version to 4.17.3 to fix type definition issue (Issue #685).
    • Firestore onCreate, onUpdate, and onDelete now receive a QueryDocumentSnapshot instead of DocumentSnapshot, which guarantees that data is not undefined (Issue #659).
    • Modify return type of DataSnapshot.forEach to boolean | void match firebase-admin SDK.
  • 3.6.1 - 2020-04-24
    • Update TypeScript dependency to v.3.8 to fix build issues (Issue #667)
  • 3.6.0 - 2020-03-31
    • Adds support for europe-west3 region (e.g. functions.region("europe-west3")).
    • Adds support for async HTTP functions (Issue #606).
  • 3.5.0 - 2020-03-20
    • Adds support for defining max number of instances for a function. Example:

      functions.runWith({
        maxInstances: 10
      }).https.onRequest(...);
      

      Learn more about max instances in the Google Cloud documentation.

    • Fixes TypeScript build error when package-lock.json is present by updating dependencies (Issue #637).

  • 3.4.0 - 2020-03-19
  • 3.3.0 - 2019-10-10
  • 3.2.0 - 2019-07-24
  • 3.1.0 - 2019-07-08
  • 3.0.2 - 2019-06-25
  • 3.0.1 - 2019-06-12
  • 3.0.0 - 2019-06-12
  • 2.3.1 - 2019-05-09
  • 2.3.0 - 2019-04-18
  • 2.2.1 - 2019-03-20
  • 2.2.0 - 2019-01-31
  • 2.1.0 - 2018-10-25
from firebase-functions GitHub release notes
Commit messages
Package name: firebase-functions
  • f9d71aa 3.11.0
  • f4faaad Update CHANGELOG.md for 3.11.0 (#764)
  • 6b15ff7 Add support for VPC connectors in `functions.runWith` (#752)
  • bc9d8ca [firebase-release] Removed change log and reset repo after 3.10.0 release
  • 7bd795e 3.10.0
  • 5e28728 Restore failurePolicy (#760)
  • b751429 [firebase-release] Removed change log and reset repo after 3.9.1 release
  • ae9e856 3.9.1
  • 84433df Fixes logging of unhandled exceptions in callable functions. (#759)
  • d1432c5 Updates firebase-admin peerDependency (#756)
  • c69c974 Update reference docs for EventContext.EventType (#743)
  • 02f61cf [firebase-release] Removed change log and reset repo after 3.9.0 release
  • e91d16a 3.9.0
  • 78fb92f Update CHANGELOG.md (#751)
  • 0ae7c3c Fix onRequest handler return type to allow promises (async) (#705)
  • e4f2eba Adds support for three new regions. (#750)
  • 8bc84dd Updates logging in https callable functions. (#745)
  • a07d6ef [firebase-release] Removed change log and reset repo after 3.8.0 release
  • 1e4de88 3.8.0
  • b424fd3 Adds four new regions launched July 10. (#733)
  • 858cb9b Eg pubsub fixes (#729)
  • ad144e4 Update ref docs for handler SDK to include scheduled functions. (#731)
  • ab3ae2a Fix issues with .ref in Database functions (#727)
  • b6e611b Adds newly available GCF regions. (#722)

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

👩‍💻 Set who automatically gets assigned

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@sonarcloud
Copy link

sonarcloud bot commented Sep 16, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

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

Successfully merging this pull request may close these issues.

None yet

1 participant