Correct the function BooleanExpression#then to BooleanExpression#thenElse (#1268)
v4.0.0
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.
v3.24.1
Fix reference docs for performance monitoring.
Fix bug where function configuration wil null values couldn't be deployed. (#1246)
v3.24.0
Add performance monitoring triggers to v2 alerts (#1223).
v3.23.0
Fixes a bug that disallowed setting customClaims and/or sessionClaims in blocking functions (#1199).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps firebase-functions from 3.12.0 to 4.0.1.
Release notes
Sourced from firebase-functions's releases.
... (truncated)
Commits
ab8c33e
4.0.17dbda7d
Fix params API to match agreed spec (#1268)879c5c2
[firebase-release] Removed change log and reset repo after 4.0.0 release8ea3943
4.0.07ed2dbb
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 releasee4bda7d
3.24.13c5392d
Hide documentation for in-app feedback (#1245)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)