Skip to content

feat: update gapic-common for generated libraries to 1.4 - #1358

Merged
torreypayne merged 1 commit into
mainfrom
gapic-common-1.4
Sep 24, 2026
Merged

torreypayne merged 1 commit into
mainfrom
gapic-common-1.4

Conversation

@torreypayne

@torreypayne torreypayne commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

gapic-common 1.4.0 requires grpc >= 1.83, the first grpc release that negotiates the X25519MLKEM768 post-quantum key exchange by default (googleapis/ruby-core-libraries#73).

Generated clients currently declare gapic-common "~> 1.3". That permits 1.4.0 but does not require it: a resolver can backtrack to 1.3.0 and its grpc "~> 1.66" constraint, silently landing on a classical-only transport. Raising the emitted floor to "~> 1.4" guarantees that every client version released from now on runs on a PQC-capable grpc.

Scope: this does not make PQC a hard requirement for applications. Bundler can still backtrack the client gem itself to an older release that allows a classical-only grpc. A hard guarantee is only possible at the application level, e.g. by requiring grpc ">= 1.83" in the app's own Gemfile.

Changes

  • gem_presenter.rb: default gapic-common dependency ~> 1.3 → ~> 1.4.
  • 13 goldens regenerated with toys gen; one line each.

Not changed: compute_small and compute_small_wrapper pin gapic-common: ">= 1.1|< 2.a" in their configs, which overrides the default by design. Production libraries that set ruby-cloud-extra-dependencies=gapic-common=… behave the same way and will need their own update.

Follows the precedent set by #1223 (feat: update gapic-common for generated libraries to 1.2).

gapic-common 1.4.0 requires grpc >= 1.83, the first grpc release that
negotiates the X25519MLKEM768 post-quantum key exchange by default
(googleapis/ruby-core-libraries#73).

Generated clients previously declared gapic-common "~> 1.3", which
permits 1.4.0 but also lets a resolver backtrack to 1.3.0 and its
grpc "~> 1.66" constraint. Raising the emitted floor to "~> 1.4" makes
a PQC-capable grpc a hard requirement of every regenerated client.

Goldens regenerated with `toys gen`.
@torreypayne
torreypayne requested a review from a team as a code owner September 24, 2026 17:24
@torreypayne
torreypayne merged commit 67f5b50 into main Sep 24, 2026
15 checks passed
@torreypayne
torreypayne deleted the gapic-common-1.4 branch September 24, 2026 21:45
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.

2 participants