Supersedes #5185.
## Summary
Upgrades `org.apache.httpcomponents.client5:httpclient5` from `5.2.1` to
`5.6.5` in `java/lancedb-core/pom.xml`, and updates the inline
dependency comment to reflect how the transport is used and resolved.
## Why 5.6.5
- [CVE-2026-64607](https://www.cve.org/CVERecord?id=CVE-2026-64607)
affects the Apache HttpClient 5 classic transport and is fixed in
`5.6.3`.
- At `5.6.3`, the same exported
`org.apache.httpcomponents.client5:httpclient5` Maven artifact remains
affected by
[CVE-2026-71290](https://www.cve.org/CVERecord?id=CVE-2026-71290), an
async TLS hostname verification issue fixed in `5.6.4` (classic
transport is unaffected).
- `5.6.5` includes both fixes.
## Scope and Transport Resolution
Only `java/lancedb-core/pom.xml` is modified:
- `LanceDbRestClient` (constructed via
`LanceDbNamespaceClientBuilder.buildRestClient()`) uses Apache
HttpClient 5's classic transport directly.
- `LanceDbNamespaceClientBuilder.build()` uses the JNI-backed
`org.lance.namespace.RestNamespace` from `lance-core`, not the Apache
HttpClient namespace transport.
- Separately, the transitive `lance-namespace-apache-client` dependency
(exposing `NamespaceApi` over Apache HttpClient 5's classic transport)
declares `httpclient5` `5.2.1`. Declaring `5.6.5` directly on
`lancedb-core` lets Maven's nearest-wins mediation select `5.6.5` over
that transitive declaration for both `LanceDbRestClient` and
`lance-namespace-apache-client`.
## Verification
- **Dependency resolution (4 Maven trees: `lancedb-core` and standalone
consumer, runtime and test scopes):** only `httpclient5` (`5.2.1` →
`5.6.5`), `httpcore5` (`5.2` → `5.4.4`), and `httpcore5-h2` (`5.2` →
`5.4.4`) changed; SLF4J and `commons-codec` versions were unchanged.
- **Loopback HTTP tests (normal and gzip):** passed on both module and
standalone consumer classpaths on Java 8, 11, and 17 for
`LanceDbNamespaceClientBuilder.buildRestClient()` (classic POST) and
`lance-namespace-apache-client` `NamespaceApi` (classic GET).
`LanceDbNamespaceClientBuilder.build()` (JNI `RestNamespace`) GET was
verified on Java 11 and 17.
- **Bytecode compatibility:** the upgraded Apache HttpComponents JARs
and packaged `lancedb-core` JAR remain Java 8 bytecode (classfile major
version 52); the existing baseline `lance-core` dependency uses
classfile major version 55, which limits JNI execution on Java 8.
- **Build, test, and style:** all 37 CI-command tests passed on Java 11
and Java 17; Java 8 release-style `-DskipTests` packaging compiled both
main and test sources; Checkstyle exited successfully with 34 existing
non-blocking diagnostics.
Supersedes #5178 and #5184.
Update `log4j-api`, `log4j-core`, and `log4j-slf4j2-impl` in
`java/lancedb-core/pom.xml` together from `2.25.3` to `2.25.5` via a
module-local `log4j.version` property, avoiding the mixed Log4j versions
from the two partial updates proposed in #5178 and #5184.
All three dependencies remain in `test` scope. The Maven runtime
dependency tree for `lancedb-core` is unchanged, and a downstream
consumer does not inherit Log4j.
Validation:
- Maven `dependency:tree`: runtime tree unchanged; test tree aligned on
`2.25.5`; downstream consumer does not inherit Log4j
- Java 11 and Java 17 clean install: 37 tests passed on each
- Java 8 release-style package with tests skipped: compiled cleanly
Fixes#4937
## Summary
The `v0.42.0-beta.21` release commit retained `0.42.0-beta.20` in both
Java POMs, so its Maven build produced coordinates for the previous
beta. The release bump used a Maven version hook whose final shell
commands could return success after Maven failed, allowing the tag to be
created with stale coordinates. [Issue
#4937](https://github.com/lancedb/lancedb/issues/4937)
Declare both Maven version fields in the shared version-bump
configuration and align the checked-in POMs with the current release
version. Preview and stable release bumps now apply the same version to
the parent POM and the core module's parent reference before tagging.
Package names, dependencies, and publication destinations are preserved.
## Verification
Tests: `/bin/sh -c 'PATH=/tmp/osscout-release-venv/bin:$PATH bash
ci/tests/test_bump_version.sh'`.
Result: PATH=/tmp/osscout-release-venv/bin:$PATH bash
ci/tests/test_bump_version.sh — base exit 1 with the tag/POM mismatch,
patched exit 0 with both preview and stable cases passing.
Result: python -m unittest discover -s ci/tests -v — base, 35 passed.
Result: /tmp/osscout-release-venv/bin/python -m unittest discover -s
ci/tests -v — patched, 35 passed.
Result: bash ci/tests/test_cli_installer.sh — passed.
Result: cd java && ./mvnw --batch-mode test -pl lancedb-core — base, 37
passed on JDK 25.
Result: cd java && JAVA_HOME=/usr/lib/jvm/temurin-17-jdk-amd64 ./mvnw
--batch-mode -Dspotless.skip=true clean test -pl lancedb-core — patched,
37 passed. Surefire XML reports are in
java/lancedb-core/target/surefire-reports/.
Result: osscout_base_work=$(mktemp -d) && git archive HEAD java | tar
-xf - -C "$osscout_base_work" && cd "$osscout_base_work/java" &&
JAVA_HOME=/tmp/osscout-jdk8 ./mvnw --batch-mode -DskipTests
-Dspotless.skip=true clean deploy -pl lancedb-core -am -P deploy-to-fury
-DaltDeploymentRepository=fury::file:///tmp/osscout-fury-base — base
build succeeded and emitted stale 0.42.0-beta.20 artifacts for the
0.42.0-beta.21 release sources.
Result: cd java && JAVA_HOME=/tmp/osscout-jdk8 ./mvnw --batch-mode
-DskipTests -Dspotless.skip=true clean deploy -pl lancedb-core -am -P
deploy-to-fury
-DaltDeploymentRepository=fury::file:///tmp/osscout-fury-deploy —
patched build succeeded and emitted both 0.42.0-beta.21 POMs and the
main, sources and Javadoc JARs.
Regression coverage: `ci/tests/test_bump_version.sh`.
<!-- oss-scout-job:job-d5fa2e08-6a6f-46ca-821c-d3a65d054055 -->
Signed-off-by: wangshun <96341168+xixi-box@users.noreply.github.com>
## Summary
The Java SDK pinned `jackson-databind` 2.17.1, and `jackson-core` and
the other Jackson modules came in transitively via `arrow-vector` and
`lance-namespace-apache-client` at 2.16.x–2.17.x, all affected by known
CVEs.
This imports `jackson-bom` 2.18.11 in the parent POM, and declares
`jackson-core`, `jackson-annotations`, `jackson-datatype-jsr310`, and
`jackson-jaxrs-json-provider` as direct (BOM-managed) dependencies of
`lancedb-core`. The direct declarations are needed because the parent's
dependency management doesn't apply to a consumer's transitive
resolution; without them, Maven's nearest-wins mediation still hands
downstream apps the older versions from `arrow-vector`.
## Evidence
`mvn dependency:list` in a separate consumer project depending only on
`lancedb-core`:
| Artifact | Before | After |
|---|---|---|
| jackson-core | 2.16.0 | 2.18.11 |
| jackson-annotations | 2.16.0 | 2.18.11 |
| jackson-databind | 2.17.1 | 2.18.11 |
| jackson-datatype-jsr310 | 2.16.0 | 2.18.11 |
| jackson-jaxrs-base / json-provider | 2.17.1 | 2.18.11 |
| jackson-module-jaxb-annotations | 2.17.1 | 2.18.11 |
## Merge Risk
**Door:** Two-way. Dependency versions only, and they stay within
Jackson 2.x.
**Blast Radius:** `java` dependencies. Downstream users of
`lancedb-core` now get Jackson 2.18.11 transitively.
Fixes OSS-2360, OSS-2337
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>