Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Update dependency firebase-functions to v3#15

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/firebase-functions-3.x
Open

Update dependency firebase-functions to v3#15
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/firebase-functions-3.x

Conversation

@renovate

@renovate renovate Bot commented Jul 27, 2020

Copy link
Copy Markdown

This PR contains the following updates:

Package Type Update Change
firebase-functions dependencies major 2.3.1 -> 3.11.0

Release Notes

firebase/firebase-functions

v3.11.0

Compare Source

  • 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)

v3.10.0

Compare Source

  • Adds support for functions failure policies (#​482)

v3.9.1

Compare Source

  • 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.

v3.9.0

Compare Source

  • 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).

v3.8.0

Compare Source

  • 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)

v3.7.0

Compare Source

  • 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.

v3.6.2

Compare Source

  • 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.

v3.6.1

Compare Source

  • Update TypeScript dependency to v.3.8 to fix build issues (Issue #​667)

v3.6.0

Compare Source

  • Adds support for europe-west3 region (e.g. functions.region("europe-west3")).
  • Adds support for async HTTP functions (Issue #​606).

v3.5.0

Compare Source

  • 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).

v3.4.0

Compare Source

  • Adds support for writing scheduled functions under handler namespace.

v3.3.0

Compare Source

  • Add a helper function for the Firebase Emulator suite.

v3.2.0

Compare Source

  • Adds support for Test Lab triggered functions with functions.testLab.
  • Upgrade lodash dependency to resolve security vulnerability CVE-2019-10744.

v3.1.0

Compare Source

  • Adds region support for us-east4.

v3.0.2

Compare Source

  • bug where auth.UserRecord.metadata was undefined.

v3.0.1

Compare Source

  • Includes required types for functions SDK.

v3.0.0

Compare Source

  • [breaking change] The Firebase Functions SDK no longer supports Node 6. Developers must use Node 8.13.0 or higher.
  • [breaking change] The Firebase Functions SDK no longer supports Firebase Tools SDK below version 6.8.0.
  • [breaking change] FIREBASE_PROJECT environment variable is no longer supported and has been supplanted by FIREBASE_CONFIG.
  • Fixed bug in Node 10 where events from Node 10 were not parsed properly resulting in undefined.
  • Set GCLOUD_PROJECT from FIREBASE_CONFIG when missing.

Renovate configuration

📅 Schedule: 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 WhiteSource Renovate. View repository job log here.

@renovate renovate Bot force-pushed the renovate/firebase-functions-3.x branch 2 times, most recently from 723c476 to 98bb7e8 Compare August 1, 2020 00:08
@renovate renovate Bot force-pushed the renovate/firebase-functions-3.x branch from 98bb7e8 to f393a7d Compare August 12, 2020 20:22
@renovate renovate Bot force-pushed the renovate/firebase-functions-3.x branch from f393a7d to 10e1798 Compare August 20, 2020 16:35
@renovate renovate Bot force-pushed the renovate/firebase-functions-3.x branch from 10e1798 to 063e4fa Compare August 21, 2020 16:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant