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 v4 #22

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 18, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
firebase-functions 3.15.7 -> 4.9.0 age adoption passing confidence

Release Notes

firebase/firebase-functions (firebase-functions)

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.

v3.24.1

Compare Source

  • Fix reference docs for performance monitoring.
  • Fix bug where function configuration wil null values couldn't be deployed. (#​1246)

v3.24.0

Compare Source

  • Add performance monitoring triggers to v2 alerts (#​1223).

v3.23.0

Compare Source

  • Fixes a bug that disallowed setting customClaims and/or sessionClaims in blocking functions (#​1199).
  • Add v2 Schedule Triggers (#​1177).

v3.22.0

Compare Source

  • Adds RTDB Triggers for v2 functions (#​1127)
  • Adds support for Firebase Admin SDK v11 (#​1151)
  • Fixes bug where emulated task queue function required auth header (#​1154)

v3.21.2

Compare Source

  • Fixes bug where toJSON was not defined in UserRecord (#​1125).

v3.21.1

Compare Source

  • Add debug feature to enable cors option for v2 onRequest and onCall handlers. (#​1099)

v3.21.0

Compare Source

  • Adds CPU option and enhances internal data structures (#​1077)
  • Add auth blocking handlers (#​1080)
  • Add support for secrets in v2 (#​1079)
  • Update types for AlertPayloads (#​1087)
  • Update AppDistribution [@type] (#​1088)
  • Update CloudEvent types (#​1089)
  • Generate documentation with api-extractor (#​1071)
  • Change type info to be inheritance friendly. (#​1091)
  • Changes the memory options from MB to MiB and GB to GiB for greater clarity (#​1090)

v3.20.1

Compare Source

  • Improve authorization for tasks. (#​1073)

v3.20.0

Compare Source

  • Changes internal structure to be more flexible (#​1070).

v3.19.0

Compare Source

  • Add support for more regions and memory for v2 functions (#​1037).
  • Fixes bug where some RTDB instance names were incorrectly parsed (#​1056).

v3.18.1

Compare Source

  • Expose stack YAML via __/functions.yaml endpoint instead (#​1036).

v3.18.0

Compare Source

  • Add new runtime option for setting secrets.

v3.17.2

Compare Source

  • Fix issue where v2 TS users couldn't compile their code because of unexported types. (#​1033)

v3.17.1

Compare Source

  • Fix issue where TS users couldn't compile their code because of unexported types. (#​1032)

v3.17.0

Compare Source

  • Parallelizes network calls that occur when validating authorization for onCall handlers.
  • Adds new regions to V2 API
  • Fixes bug where the emulator crashed when given app without an options property.
  • Adds new alerting providers

v3.16.0

Compare Source

  • GCS Enhancement
  • Add option to allow callable functions to ignore invalid App Check tokens
  • Add firebase-admin v10 as an allowed peer dependency
  • Fix bug where onCall handler failed to encode returned value with functions

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 force-pushed the renovate/firebase-functions-4.x branch from b284b9f to f750ead Compare April 17, 2023 10:17
@renovate renovate bot force-pushed the renovate/firebase-functions-4.x branch from f750ead to ab313ee Compare May 28, 2023 12:03
@renovate renovate bot force-pushed the renovate/firebase-functions-4.x branch from ab313ee to c8062e9 Compare June 12, 2023 22:35
@renovate renovate bot force-pushed the renovate/firebase-functions-4.x branch from c8062e9 to 61bff87 Compare November 2, 2023 22:02
@renovate renovate bot force-pushed the renovate/firebase-functions-4.x branch from 61bff87 to 889a7de Compare January 4, 2024 01:27
@renovate renovate bot force-pushed the renovate/firebase-functions-4.x branch from 889a7de to 852d80f Compare February 7, 2024 16:27
@renovate renovate bot force-pushed the renovate/firebase-functions-4.x branch from 852d80f to 69c1a7e Compare March 8, 2024 01:32
@renovate renovate bot force-pushed the renovate/firebase-functions-4.x branch from 69c1a7e to 459c3bd Compare March 19, 2024 18:44
@renovate renovate bot force-pushed the renovate/firebase-functions-4.x branch from 459c3bd to e380203 Compare March 29, 2024 15:40
@renovate renovate bot force-pushed the renovate/firebase-functions-4.x branch from e380203 to 624148a Compare April 4, 2024 20:39
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.

0 participants