Skip to content

deps: bump google-cloud-bigtable to 2.81.0 - #4626

Merged
gcf-merge-on-green[bot] merged 5 commits into
googleapis:mainfrom
mutianf:bump-bigtable-2.81.0
Aug 14, 2026
Merged

deps: bump google-cloud-bigtable to 2.81.0#4626
gcf-merge-on-green[bot] merged 5 commits into
googleapis:mainfrom
mutianf:bump-bigtable-2.81.0

Conversation

@mutianf

@mutianf mutianf commented Aug 13, 2026

Copy link
Copy Markdown
Contributor
  • Bump bigtable.version 2.77.0 -> 2.81.0 and emulator 0.214.0 -> 0.218.0
  • Pin slf4j-api to 2.0.16 (veneer needs 2.0.x, hbase ships 1.7.x) so RequireUpperBoundDeps is satisfied; add slf4j-api to hbase-targeted verify-mirror-deps ignore lists
  • Bump maven-shade-plugin to 3.6.0 (ASM 9 handles the Java 17 multi-release classes jackson-core 2.18.x now pulls in transitively)
  • Exclude dead-weight jackson multi-release FastDoubleParser classes (META-INF/versions/*/com/fasterxml/**) from the 1.x/2.x shaded jars
  • Bump conscrypt to 2.6.0 in the shaded modules to match the veneer deps-bom

- Bump bigtable.version 2.77.0 -> 2.81.0 and emulator 0.214.0 -> 0.218.0
- Pin slf4j-api to 2.0.16 (veneer needs 2.0.x, hbase ships 1.7.x) so
  RequireUpperBoundDeps is satisfied; add slf4j-api to hbase-targeted
  verify-mirror-deps ignore lists
- Bump maven-shade-plugin to 3.6.0 (ASM 9 handles the Java 17 multi-release
  classes jackson-core 2.18.x now pulls in transitively)
- Exclude dead-weight jackson multi-release FastDoubleParser classes
  (META-INF/versions/*/com/fasterxml/**) from the 1.x/2.x shaded jars
- Bump conscrypt to 2.6.0 in the shaded modules to match the veneer deps-bom

Change-Id: I68c2a7fb2585babe601e0ad71bdb1eb8fb04a44d
@mutianf
mutianf requested a review from a team as a code owner August 13, 2026 20:10
@product-auto-label product-auto-label Bot added size: m Pull request size is medium. api: bigtable Issues related to the googleapis/java-bigtable-hbase API. labels Aug 13, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Bigtable dependency version to 2.81.0, the emulator to 0.218.0, and the maven-shade-plugin to 3.6.0, while adding exclusions for multi-release jackson-core classes and ignoring slf4j-api mismatches across submodules. The reviewer's feedback recommends defining central Maven properties for the slf4j and conscrypt versions in the root POM rather than hardcoding them in submodules, which would improve maintainability and prevent version drift.

Comment thread pom.xml
Comment thread pom.xml Outdated
Comment thread bigtable-hbase-1.x-parent/bigtable-hbase-1.x-shaded/pom.xml
Comment thread bigtable-hbase-2.x-parent/bigtable-hbase-2.x-shaded/pom.xml
Address review feedback: define slf4j.version and conscrypt.version in the
root pom properties and reference them from dependencyManagement and the
shaded module poms instead of hardcoding.

Change-Id: I3954193069ad1ae794f5ba65708f6a3dedffb276
Change-Id: I6ce876f481d0e959eda3c0fa7cd032155f66b094
@mutianf mutianf added automerge Merge the pull request once unit tests and other checks pass. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Aug 13, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 13, 2026
- exclude jspecify from the bigtable-hbase test classpath: gax 2.83.0's
  @NullMarked (@target ElementType.MODULE) breaks Mockito on Java 8; use
  withoutAnnotations() for the Credentials mocks (TYPE_USE @nullable)
- record ReadRows first-response latency regardless of OperationType, which
  is now Unary for bounded single-row reads

Change-Id: Iac53d9d8aa9a5a0482f58604064f2de40ff6b94b
The Java 8 Mockito failure (ArrayStoreException from gax 2.83.0's
@NullMarked) was previously fixed by excluding org.jspecify:jspecify
from google-cloud-bigtable and the test deps. That stripped jspecify
from the compile classpath, which cascaded to downstream modules
(bigtable-hbase-1.x/2.x and the *-shaded modules lost it at compile
scope) and broke their verify-mirror-deps check against
google-cloud-bigtable (expected 1.0.0, got null).

Keep jspecify on the compile classpath and drop it only from the core
module's test runtime via maven-surefire-plugin classpathDependencyExcludes.
Same runtime effect for the mocks, zero blast radius on downstream
modules or shaded jars, no ignoredDependencies needed.

Change-Id: If613073c3dcbde530a6bd76405e0d35a16123acc
@mutianf mutianf added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 14, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 14, 2026
@gcf-merge-on-green
gcf-merge-on-green Bot merged commit 5ead10a into googleapis:main Aug 14, 2026
17 of 19 checks passed
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Aug 14, 2026
@mutianf
mutianf deleted the bump-bigtable-2.81.0 branch August 14, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the googleapis/java-bigtable-hbase API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants