Skip to content

Conversation

@snyk-bot
Copy link

Snyk has created this PR to upgrade firebase-functions from 0.9.0 to 3.7.0.

ℹ️ 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 30 versions ahead of your current version.
  • The recommended version was released a month ago, on 2020-06-09.
Release notes
Package name: firebase-functions
  • 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
    • Adds support for writing scheduled functions under handler namespace.
  • 3.3.0 - 2019-10-10
    • Add a helper function for the Firebase Emulator suite.
  • 3.2.0 - 2019-07-24
    • Adds support for Test Lab triggered functions with functions.testLab.
    • Upgrade lodash dependency to resolve security vulnerability CVE-2019-10744.
  • 3.1.0 - 2019-07-08
    • Adds region support for us-east4.
  • 3.0.2 - 2019-06-25
    • bug where auth.UserRecord.metadata was undefined.
  • 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
  • 2.0.5 - 2018-08-14
  • 2.0.4 - 2018-08-09
  • 2.0.3 - 2018-08-09
  • 2.0.2 - 2018-07-26
  • 2.0.1 - 2018-07-25
  • 2.0.0 - 2018-07-24
  • 1.1.0 - 2018-06-20
  • 1.0.4 - 2018-06-05
  • 1.0.3 - 2018-05-21
  • 1.0.2 - 2018-04-24
  • 1.0.1 - 2018-04-06
  • 1.0.0 - 2018-04-03
  • 0.9.1 - 2018-03-22
  • 0.9.0 - 2018-03-20
from firebase-functions GitHub release notes
Commit messages
Package name: firebase-functions

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