Repository navigation
fix: Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries - #9116
Merged
Conversation
This reverts commit 0a750b2.
…/googleapis/google-cloud-node into node-22-upgrade-all-dependencies # Conflicts: # handwritten/bigquery/package.json
…iles" This reverts commit 8c9830e.
…/googleapis/google-cloud-node into node-22-upgrade-all-dependencies
This reverts commit 44193ad.
…/googleapis/google-cloud-node into node-22-upgrade-all-dependencies # Conflicts: # handwritten/logging/package.json
This reverts commit 2f84c2a.
…/googleapis/google-cloud-node into node-22-upgrade-all-dependencies
Contributor
There was a problem hiding this comment.
Code Review
This pull request performs a major dependency upgrade across multiple packages in the repository, updating various Google Cloud libraries (such as google-gax, @google-cloud/promisify, @google-cloud/projectify, and google-auth-library) and development tools (like gapic-tools, jsdoc-fresh, and pack-n-play). It also bumps the required Node.js engine version from >=18 to >=22 across several packages. Feedback highlights that @google-cloud/promisify was missed during the upgrade in handwritten/logging/package.json and remains pinned to 4.0.0 while other packages upgraded it to ^6.0.0.
…/googleapis/google-cloud-node into node-22-upgrade-all-dependencies
…into node-22-upgrade-all-dependencies # Conflicts: # core/generator/gapic-generator-typescript/pnpm-lock.yaml
danieljbruce
marked this pull request as ready for review
August 11, 2026 20:03
westarle
approved these changes
Aug 11, 2026
This was referenced Aug 11, 2026
Merged
shivanee-p
pushed a commit
that referenced
this pull request
Aug 12, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>pack-n-play: 5.1.0</summary> ## [5.1.0](pack-n-play-v5.0.1...pack-n-play-v5.1.0) (2026-08-12) ### Features * **ci:** Implement sharding for unit test performance ([#9021](#9021)) ([1d977b5](1d977b5)) </details> <details><summary>gapic-generator: 5.0.1</summary> ## [5.0.1](gapic-generator-v5.0.0...gapic-generator-v5.0.1) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>gapic-node-processing: 0.2.2</summary> ## [0.2.2](gapic-node-processing-v0.2.1...gapic-node-processing-v0.2.2) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>google-gax: 6.0.2</summary> ## [6.0.2](google-gax-v6.0.1...google-gax-v6.0.2) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>gaxios: 7.3.1</summary> ## [7.3.1](gaxios-v7.3.0...gaxios-v7.3.1) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>gcp-metadata: 9.0.3</summary> ## [9.0.3](gcp-metadata-v9.0.2...gcp-metadata-v9.0.3) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>google-auth-library: 11.0.2</summary> ## [11.0.2](google-auth-library-v11.0.1...google-auth-library-v11.0.2) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>googleapis-common: 9.0.3</summary> ## [9.0.3](googleapis-common-v9.0.2...googleapis-common-v9.0.3) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>proto3-json-serializer: 4.0.2</summary> ## [4.0.2](proto3-json-serializer-v4.0.1...proto3-json-serializer-v4.0.2) (2026-08-12) ### Bug Fixes * **docs:** Add correct homepage URL in /core/packages/proto3-json-serializer-nodejs ([#9131](#9131)) ([b57db40](b57db40)) </details> <details><summary>bigquery: 9.0.2</summary> ## [9.0.2](bigquery-v9.0.1...bigquery-v9.0.2) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>bigquery-storage: 6.0.1</summary> ## [6.0.1](bigquery-storage-v6.0.0...bigquery-storage-v6.0.1) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>bigtable: 7.2.0</summary> ## [7.2.0](bigtable-v7.1.0...bigtable-v7.2.0) (2026-08-12) ### Features * **ci:** Implement sharding for unit test performance ([#9021](#9021)) ([1d977b5](1d977b5)) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>cloud-profiler: 8.0.1</summary> ## [8.0.1](cloud-profiler-v8.0.0...cloud-profiler-v8.0.1) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>datastore: 11.0.1</summary> ## [11.0.1](datastore-v11.0.0...datastore-v11.0.1) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>error-reporting: 4.0.1</summary> ## [4.0.1](error-reporting-v4.0.0...error-reporting-v4.0.1) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>dns: 6.0.1</summary> ## [6.0.1](dns-v6.0.0...dns-v6.0.1) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>logging: 12.0.1</summary> ## [12.0.1](logging-v12.0.0...logging-v12.0.1) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>logging-bunyan: 6.0.1</summary> ## [6.0.1](logging-bunyan-v6.0.0...logging-bunyan-v6.0.1) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>logging-winston: 7.0.1</summary> ## [7.0.1](logging-winston-v7.0.0...logging-winston-v7.0.1) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) </details> <details><summary>pubsub: 6.0.1</summary> ## [6.0.1](pubsub-v6.0.0...pubsub-v6.0.1) (2026-08-12) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) * **pubsub:** Upgrade @opentelemetry/core to ^2.8.0 to resolve CVE-2026-54285 ([#8792](#8792)) ([#9092](#9092)) ([004850f](004850f)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
renovate Bot
added a commit
to cigaleapp/cigale
that referenced
this pull request
Aug 31, 2026
##### [v11.0.2](https://github.com/googleapis/google-cloud-node/blob/HEAD/core/packages/google-auth-library-nodejs/CHANGELOG.md#1102-2026-08-12) ##### Bug Fixes - Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](googleapis/google-cloud-node#9116)) ([fad57ff](googleapis/google-cloud-node@fad57ff)) ##### [v11.0.1](https://github.com/googleapis/google-cloud-node/blob/HEAD/core/packages/google-auth-library-nodejs/CHANGELOG.md#1101-2026-08-10) ##### Bug Fixes - Upgrade all node core library dependencies to their latest node 22 version ([#9084](googleapis/google-cloud-node#9084)) ([af8074c](googleapis/google-cloud-node@af8074c)) ##### [v11.0.0](https://github.com/googleapis/google-cloud-node/blob/HEAD/core/packages/google-auth-library-nodejs/CHANGELOG.md#1100-2026-07-29) ##### ⚠ BREAKING CHANGES - Update google-auth-library-nodejs to minimum Node version of 22. ([#8995](googleapis/google-cloud-node#8995)) ##### Features - Update google-auth-library-nodejs to minimum Node version of 22. ([#8995](googleapis/google-cloud-node#8995)) ([152f686](googleapis/google-cloud-node@152f686)), refs [#8985](googleapis/google-cloud-node#8985)
gwennlbh
pushed a commit
to cigaleapp/cigale
that referenced
this pull request
Aug 31, 2026
##### [v11.0.2](https://github.com/googleapis/google-cloud-node/blob/HEAD/core/packages/google-auth-library-nodejs/CHANGELOG.md#1102-2026-08-12) ##### Bug Fixes - Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](googleapis/google-cloud-node#9116)) ([fad57ff](googleapis/google-cloud-node@fad57ff)) ##### [v11.0.1](https://github.com/googleapis/google-cloud-node/blob/HEAD/core/packages/google-auth-library-nodejs/CHANGELOG.md#1101-2026-08-10) ##### Bug Fixes - Upgrade all node core library dependencies to their latest node 22 version ([#9084](googleapis/google-cloud-node#9084)) ([af8074c](googleapis/google-cloud-node@af8074c)) ##### [v11.0.0](https://github.com/googleapis/google-cloud-node/blob/HEAD/core/packages/google-auth-library-nodejs/CHANGELOG.md#1100-2026-07-29) ##### ⚠ BREAKING CHANGES - Update google-auth-library-nodejs to minimum Node version of 22. ([#8995](googleapis/google-cloud-node#8995)) ##### Features - Update google-auth-library-nodejs to minimum Node version of 22. ([#8995](googleapis/google-cloud-node#8995)) ([152f686](googleapis/google-cloud-node@152f686)), refs [#8985](googleapis/google-cloud-node#8985) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
danieljbruce
pushed a commit
that referenced
this pull request
Sep 1, 2026
🤖 I have created a release *beep* *boop* --- ## [9.0.1](firestore-v9.0.0...firestore-v9.0.1) (2026-09-01) ### Bug Fixes * Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries ([#9116](#9116)) ([fad57ff](fad57ff)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request upgrades some of the Node engine values to 22 for nested package.json files that were missed and upgrades dependencies to match the new Node 22 version of the core, generated and handwritten packages.
here is the script that was used to upgrade the dependencies.
Note for the generator that the package-lock.json file and pnpm.lock file were changed as well to get the baseline tests to pass. Also, most of the files changed in this pull request are to baseline files.
This pull request now ignores the packages/** directory. We will address changes in that directory in a separate pull request.
An additional update to the package.json file is applied for a few handwritten libraries to upgrade mocha to resolve a test failure with yargs.
A Bigtable test for fetching the client side metrics version is skipped. Some pubsub tests don't have a reference to the LogSeverity object anymore so the tests compare against strings instead.
Prompt for generating the changes:
Do you see the change in https://github.com/googleapis/google-cloud-node/pull/9084/changes? I want you to expand on this change. The end goal is to do the following:
Write a script that accomplishes the above tasks, check in the script, revert the commit and then run the script and check in the changes that get made by running the script.
Impact
Ensures all dependencies will receive new patches released thereby improving the health of our client libraries.