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

Update Firebase (major) #126

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

Update Firebase (major) #126

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update Pending
@types/supertest (source) ^2.0.12 -> ^6.0.0 age adoption passing confidence devDependencies major
concurrently ^8.0.0 -> ^9.0.0 age adoption passing confidence devDependencies major
firebase-admin (source) ^11.4.0 -> ^13.0.0 age adoption passing confidence dependencies major
firebase-functions ^4.1.1 -> ^6.0.0 age adoption passing confidence dependencies major 6.3.0
node (source) 18 -> 22 age adoption passing confidence engines major
supertest ^6.3.3 -> ^7.0.0 age adoption passing confidence devDependencies major

Release Notes

open-cli-tools/concurrently (concurrently)

v9.1.2

Compare Source

What's Changed

New Contributors

Full Changelog: open-cli-tools/concurrently@v9.1.1...v9.1.2

v9.1.1

Compare Source

What's Changed

Full Changelog: open-cli-tools/concurrently@v9.1.0...v9.1.1

v9.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: open-cli-tools/concurrently@v9.0.1...v9.1.0

v9.0.1

Compare Source

What's Changed

Full Changelog: open-cli-tools/concurrently@v9.0.0...v9.0.1

v9.0.0

Compare Source

firebase/firebase-admin-node (firebase-admin)

v13.0.2: Firebase Admin Node.js SDK v13.0.2

Compare Source

Bug Fixes
  • fix(auth): Fix credentials issue in createToken() when using ADC (#​2801)
Miscellaneous

v13.0.1: Firebase Admin Node.js SDK v13.0.1

Compare Source

Bug Fixes
  • fix: Fix the property names when initializing the SDK with ServiceAccount type (#​2779)
Miscellaneous

v13.0.0: Firebase Admin Node.js SDK v13.0.0

Compare Source

Breaking Changes
  • change(rc): Update Remote Config condition evaluation hashing (#​2760)
  • change(fcm): Remove deprecated FCM APIs (#​2759)
  • change: Update Node support to 18 (#​2756)
  • change: Migrate credentials to use google-auth-library (#​2466)
New Features
  • feat(fcm): Add directBootOk field to AndroidConfig (#​2745)
Bug Fixes
  • fix: Set the Quota Project ID only for ADC human accounts (#​2761)
Miscellaneous
  • [chore] Release 13.0.0 (#​2764)
  • build(deps): bump uuid from 11.0.2 to 11.0.3 (#​2767)
  • build(deps-dev): bump nock from 13.5.5 to 13.5.6 (#​2766)
  • chore: Add X-Goog-Api-Client metric header to outgoing authorized http requests (#​2763)
  • chore: Upgrade dependencies (#​2757)
  • Request timeout const name correction (#​2743)
  • build(deps-dev): bump @​firebase/app-compat from 0.2.43 to 0.2.45 (#​2746)

v12.7.0: Firebase Admin Node.js SDK v12.7.0

Compare Source

New Features
  • feat(auth): Add recaptcha and sms toll fraud support for phone auth (#​2625)
Bug Fixes
  • fix: Pin @firebase/database-compat to v1.0.8 (#​2739)
Miscellaneous

v12.6.0: Firebase Admin Node.js SDK v12.6.0

Compare Source

New Features
Bug Fixes
  • fix(auth): Add missing Math.floor() when setting validDuration in createSessionCookie() (#​2712)
Miscellaneous

v12.5.0: Firebase Admin Node.js SDK v12.5.0

Compare Source

New Features
Bug Fixes
  • fix: updating comments with VibrateTimingsMillis and defaultVibrateTimings instead of vibrate_timings and default_vibrate_timings (#​2598)
  • fix: support httpAgent in JwksFetcher (#​2689)
Miscellaneous
  • [chore] Release 12.5.0 Take 2 (#​2703)
  • [chore] Release 12.5.0 (#​2702)
  • chore: Upgrade actions/upload-artifact@v4 (#​2700)
  • build(deps): bump actions/download-artifact in /.github/workflows (#​2694)
  • Create CHANGELOG.md (#​2626)

v12.4.0: Firebase Admin Node.js SDK v12.4.0

Compare Source

Miscellaneous

v12.3.1: Firebase Admin Node.js SDK v12.3.1

Compare Source

Bug Fixes
  • fix: getToken() returns existing promise to a token if one exists instead of a new token. (#​2648)
Miscellaneous

v12.3.0: Firebase Admin Node.js SDK v12.3.0

Compare Source

New Features
  • feat(fcm): Add HTTP2 support for sendEach() and sendEachForMulticast() (#​2550)
Miscellaneous

v12.2.0: Firebase Admin Node.js SDK v12.2.0

Compare Source

Breaking Changes
  • change: Deprecate Node.js 16 support (#​2574)
Bug Fixes
  • fix: Replace farmhash with farmhash-modern (#​2603)
  • fix: Make ADC + human account work with firebase-admin (#​2553)
  • fix: Use optional chaining in FirebaseError (#​2581)
Miscellaneous

v12.1.1: Firebase Admin Node.js SDK v12.1.1

Compare Source

Bug Fixes
Miscellaneous

v12.1.0: Firebase Admin Node.js SDK v12.1.0

Compare Source

New Features
  • feat(rc): Add server side Remote Config support (#​2529)
Miscellaneous

v12.0.0: Firebase Admin Node.js SDK v12.0.0

Compare Source

  • Breaking change: Upgraded the @google-cloud/firestore package to v7. This is a breaking change. Refer to the Cloud Firestore release notes for more details.

  • Breaking change: Upgraded the @google-cloud/storage package to v7. This is a breaking change. Refer to the Cloud Storage release notes for more details.

  • Breaking change: Upgraded TypeScript to v5.1.6.

  • Deprecated support for Node.js 14. Instead use Node.js 16 or higher when deploying the Admin SDK. Node.js 14 support will be dropped in the next major version.

  • Upgraded the google-cloud/firestore dependency to v7.1.0 to support sum() and `average() aggregation functions.

  • Upgraded the @firebase/database-compat package to v1.

  • Dropped AutoML model support (#​1974)

Bug Fixes
  • fix(firestore): Export new aggregate types (#​2396)
Miscellaneous
firebase/firebase-functions (firebase-functions)

v6.2.0

Compare Source

  • Add an authPolicy callback to CallableOptions for reusable auth middleware as well as helper auth policies (#​1650)
  • Handle ESM functions codebases containing top-level awaits, which would break in node 22.12+ (#​1651)
  • Multiple breaking changes to the not-yet-announced streaming feature for Callable Functions (#​1652)

v6.1.2

Compare Source

  • Update callable function to better support long running requests (#​1635)

v6.1.1

Compare Source

  • Fix bug where wrapInit wasn't called on v2 callable functions. (#​1634)
  • Add support for callable function to return streaming response (#​1629)
  • Add support for firebase-admin@13 (#​1641)

v6.1.0

Compare Source

  • Bump express version to 4.19.2 (#​1624)
  • Add support for beforeSmsSent auth blocking triggers. (#​1589)

v6.0.1

Compare Source

  • Fix bug where v1 functions can't be emulated (#​1615)

v6.0.0

Compare Source

  • Breaking: Change default entrypoint of the firebase-functions package to v2 instead of v1 (#​1594)
  • Add @​deprecated annotation on functions.config() API (#​1604)

v5.1.1

Compare Source

  • Fix retry in event triggered functions. (#​1463)
  • Expose retry configuration in v2 RTDB trigger (#​1588)
  • Fix CORS options for v2 callable functions (#​1564)
  • Remove invalid enforceAppCheck option for v2 onRequest trigger (#​1477)

v5.1.0

Compare Source

v5.0.1

Compare Source

  • Fix App fetching for named firestore instances (#​1562).

v5.0.0

Compare Source

  • Add option to get named firestore instance for v2 firestore functions (#​1550).
  • Remove firebase-admin v10 dependency for Firestore triggers multi-DB support (#​1555).

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)
nodejs/node (node)

v22.13.1

Compare Source

v22.13.0

Compare Source

v22.12.0

Compare Source

v22.11.0

Compare Source

v22.10.0: 2024-10-16, Version 22.10.0 (Current), @​aduh95

Compare Source

Notable Changes
New "module-sync" exports condition

This release introduces a "module-sync" exports condition that's enabled when
require(esm) is enabled, so packages can supply a synchronous ES module to the
Node.js module loader, no matter if it's being required or imported. This is
similar to the "module" condition that bundlers have been using to support
require(esm) in Node.js, and allows dual-package authors to opt into ESM-first
only on newer versions of Node.js that supports require(esm) to avoid the
dual-package hazard.

{
  "type": "module",
  "exports": {
    "node": {
      // On new version of Node.js, both require() and import get
      // the ESM version
      "module-sync": "./index.js",
      // On older version of Node.js, where "module-sync" and require(esm) are
      // not supported, use the CJS version to avoid dual-package hazard.
      // When package authors think it's time to drop support for older versions of
      // Node.js, they can remove the exports conditions and just use "main": "index.js".
      "default": "./dist/index.cjs"
    },
    // On any other environment, use the ESM version.
    "default": "./index.js"
  }
}

Or if the package is only meant to be run on Node.js and wants to fallback to
CJS on older versions that don't have require(esm):

{
  "type": "module",
  "exports": {
    // On new version of Node.js, both require() and import get the ESM version
    "module-sync": "./index.js",
    // On older version of Node.js, where "module-sync" and require(esm) are
    // not supported, use the CJS version to avoid dual-package hazard.
    // When package authors think it's time to drop support for older versions of
    // Node.js, they can remove the exports conditions and just use "main": "index.js".
    "default": "./dist/index.cjs"
  }
}

For package authors: this only serves as a feature-detection mechanism for
packages that wish to support both CJS and ESM users during the period when some
active Node.js LTS versions support require(esm) while some older ones don't.
When all active Node.js LTS lines support require(esm), packages can simplify
their distributions by bumping the major version, dropping their CJS exports,
and removing the module-sync exports condition (with only main or default
targetting the ESM exports). If the package needs to support both bundlers and
being run unbundled on Node.js during the transition period, use both
module-sync and module and point them to the same ESM file. If the package
already doesn't want to support older versions of Node.js that doesn't support
require(esm), don't use this export condition.

For bundlers/tools: they should avoid implementing this stop-gap condition.
Most existing bundlers implement the de-facto bundler standard
module
exports condition, and that should be enough to support users who want to bundle
ESM from CJS consumers. Users who want both bundlers and Node.js to recognize
the ESM exports can use both module/module-sync conditions during the
transition period, and can drop module-sync+module when they no longer need
to support older versions of Node.js. If tools do want to support this
condition, it's recommended to make the resolution rules in the graph pointed by
this condition match the Node.js native ESM rules to avoid divergence.

We ended up implementing a condition with a different name instead of reusing
"module", because existing code in the ecosystem using the "module"
condition sometimes also expect the module resolution for these ESM files to
work in CJS style, which is supported by bundlers, but the native Node.js loader
has intentionally made ESM resolution different from CJS resolution (e.g.
forbidding import './noext' or import './directory'), so it would be
breaking to implement a "module" condition without implementing the forbidden
ESM resolution rules. For now, this just implements a new condition as
semver-minor so it can be backported to older LTS.

Contributed by Joyee Cheung in #​54648.

node --run is now stable

This CLI flag runs a specified command from a package.json's


Configuration

📅 Schedule: Branch creation - "* 0-3 1 * *" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Jun 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
highlights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 15, 2024 5:07pm

@renovate renovate bot force-pushed the renovate/major-firebase branch from c497298 to 1c03851 Compare November 15, 2024 17:06
Copy link
Contributor Author

renovate bot commented Nov 15, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: firebase/functions/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @sawyerh/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/firebase-admin
npm ERR!   firebase-admin@"^13.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer firebase-admin@"^11.10.0 || ^12.0.0" from [email protected]
npm ERR! node_modules/firebase-functions
npm ERR!   firebase-functions@"^6.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-11-15T17_06_27_711Z-debug-0.log

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