deps: bump google-cloud-bigtable to 2.81.0 - #4626
Merged
gcf-merge-on-green[bot] merged 5 commits intoAug 14, 2026
Merged
Conversation
mutianf
commented
Aug 13, 2026
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
nimf
approved these changes
Aug 13, 2026
Contributor
There was a problem hiding this comment.
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.
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
- 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
gcf-merge-on-green
Bot
merged commit Aug 14, 2026
5ead10a
into
googleapis:main
17 of 19 checks passed
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.