feat(Spanner)!: Update cloud-spanner to minimum Node version of 22 - #9291
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request upgrades OpenTelemetry dependencies to v2, bumps the Node engine requirement to >=22, removes the deprecated @google-cloud/opentelemetry-resource-util package in favor of @opentelemetry/resource-detector-gcp and a local MonitoredResource interface, and updates metric view configurations and resource instantiations. The reviewer pointed out that in OpenTelemetry JS SDK v2, View and Aggregation are still classes rather than plain objects/options, and suggested reverting the plain object view configurations back to using new View and Aggregation.ExplicitBucketHistogram to prevent TypeScript compilation and runtime errors.
alkatrivedi
force-pushed
the
node-version-upgrade-22
branch
5 times, most recently
from
September 17, 2026 06:32
bc904b5 to
ac440ca
Compare
olavloite
reviewed
Sep 18, 2026
alkatrivedi
force-pushed
the
node-version-upgrade-22
branch
2 times, most recently
from
September 18, 2026 08:15
46d5ed2 to
817f389
Compare
alkatrivedi
force-pushed
the
node-version-upgrade-22
branch
2 times, most recently
from
September 18, 2026 08:28
fd8b54c to
85444ba
Compare
alkatrivedi
force-pushed
the
node-version-upgrade-22
branch
from
September 18, 2026 09:42
85444ba to
0ae6482
Compare
olavloite
approved these changes
Sep 18, 2026
alkatrivedi
pushed a commit
that referenced
this pull request
Sep 18, 2026
🤖 I have created a release *beep* *boop* --- ## [9.0.0](spanner-v8.13.0...spanner-v9.0.0) (2026-09-18) ### ⚠ BREAKING CHANGES * **Spanner:** Update cloud-spanner to minimum Node version of 22 ([#9291](#9291)) * **Spanner:** upgrade OpenTelemetry to v2 ([#9329](#9329)) ### Features * **Spanner:** Update cloud-spanner to minimum Node version of 22 ([#9291](#9291)) ([ecd5bfd](ecd5bfd)) * **Spanner:** Upgrade OpenTelemetry to v2 ([#9329](#9329)) ([ed3a44e](ed3a44e)) ### Performance Improvements * **spanner:** Bypass gRPC message interception in metrics interceptor ([#9306](#9306)) ([a44180d](a44180d)) * **spanner:** Disable gRPC channelz by default ([#9320](#9320)) ([11c257b](11c257b)) * **spanner:** Optimize codec.getType and reuse type singletons ([#9366](#9366)) ([1b1b411](1b1b411)) * **spanner:** Remove rest-parameter allocations in wrappedRequestFn ([#9365](#9365)) ([7085e03](7085e03)) * **spanner:** Synchronous multiplexed session hand-off for non-stream callers ([#9362](#9362)) ([dbbc55c](dbbc55c)) --- 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.
Upgrade the Node version from 18 to 22.
#8985