Commit Graph
175 Commits
Author SHA1 Message Date
Lance Release 85dcf3a3c5 Bump version: 0.42.0-beta.35 → 0.42.0-beta.36 2026-11-26 15:06:40 +00:00
Lance Release 0adfd22db1 Bump version: 0.42.0-beta.34 → 0.42.0-beta.35 2026-11-26 10:50:09 +00:00
Lance Release 9adb403656 Bump version: 0.42.0-beta.33 → 0.42.0-beta.34 2026-11-26 03:33:13 +00:00
Lance Release 7c3d68e951 Bump version: 0.42.0-beta.32 → 0.42.0-beta.33 2026-11-25 23:49:08 +00:00
Lance Release 7e1478b547 Bump version: 0.42.0-beta.31 → 0.42.0-beta.32 2026-11-25 21:41:10 +00:00
Lance Release 8441dab874 Bump version: 0.42.0-beta.30 → 0.42.0-beta.31 2026-11-25 21:32:03 +00:00
Lance Release a709c6db1e Bump version: 0.42.0-beta.29 → 0.42.0-beta.30 2026-11-25 03:11:25 +00:00
Xuanwo ef59dcfe80 fix(java): upgrade Apache HttpClient 5 to 5.6.5 (#5194)
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.
2026-11-24 21:14:09 +08:00
Lance Release 03b861f9a0 Bump version: 0.42.0-beta.28 → 0.42.0-beta.29 2026-11-24 11:46:34 +00:00
Xuanwo c45a22e73a chore(java): align Log4j test dependencies to 2.25.5 (#5191)
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
2026-11-24 19:12:13 +08:00
Lance Release abe829f4a3 Bump version: 0.42.0-beta.27 → 0.42.0-beta.28 2026-11-24 09:20:21 +00:00
Lance Release f6bb017535 Bump version: 0.42.0-beta.26 → 0.42.0-beta.27 2026-11-24 07:13:40 +00:00
Lance Release de81c35ba0 Bump version: 0.42.0-beta.25 → 0.42.0-beta.26 2026-11-23 06:14:22 +00:00
wangshun a0e65400a9 fix(java): keep Maven coordinates in sync with release tags (#5151)
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>
2026-11-23 14:12:57 +08:00
Lance Release f38d42e9db Bump version: 0.42.0-beta.23 → 0.42.0-beta.24 2026-11-22 21:22:21 +00:00
Lance Release b654cd42ae Bump version: 0.42.0-beta.22 → 0.42.0-beta.23 2026-11-22 18:55:29 +00:00
Lance Release 21f074cb02 Bump version: 0.42.0-beta.21 → 0.42.0-beta.22 2026-11-22 14:27:15 +00:00
Lance Release a98cffda4b Bump version: 0.42.0-beta.19 → 0.42.0-beta.20 2026-11-18 08:17:05 +00:00
Lance Release e3a0a29bdb Bump version: 0.42.0-beta.18 → 0.42.0-beta.19 2026-11-17 14:52:01 +00:00
Lance Release 57b20fb11d Bump version: 0.42.0-beta.17 → 0.42.0-beta.18 2026-11-17 08:56:56 +00:00
Lance Release bf4d6c8083 Bump version: 0.42.0-beta.16 → 0.42.0-beta.17 2026-11-16 19:56:16 +00:00
Lance Release d475005592 Bump version: 0.42.0-beta.15 → 0.42.0-beta.16 2026-11-16 11:40:59 +00:00
Lance Release 2ab103d775 Bump version: 0.42.0-beta.14 → 0.42.0-beta.15 2026-11-15 14:06:09 +00:00
Lance Release 530d379fc4 Bump version: 0.42.0-beta.13 → 0.42.0-beta.14 2026-11-15 02:09:01 +00:00
Lance Release 5de76bd8ed Bump version: 0.42.0-beta.12 → 0.42.0-beta.13 2026-11-14 12:33:27 +00:00
Lance Release 01e9ea44aa Bump version: 0.42.0-beta.11 → 0.42.0-beta.12 2026-11-12 08:13:04 +00:00
Lance Release 08d3f448af Bump version: 0.42.0-beta.10 → 0.42.0-beta.11 2026-11-11 15:38:36 +00:00
Lance Release 3851938b6e Bump version: 0.42.0-beta.9 → 0.42.0-beta.10 2026-11-10 08:27:20 +00:00
Lance Release 1157a0709d Bump version: 0.42.0-beta.8 → 0.42.0-beta.9 2026-11-08 16:14:57 +00:00
Lance Release bff93ff314 Bump version: 0.42.0-beta.7 → 0.42.0-beta.8 2026-11-07 02:16:16 +00:00
Lance Release 06fcd628cf Bump version: 0.42.0-beta.6 → 0.42.0-beta.7 2026-11-06 08:08:36 +00:00
Lance Release b3c1e58fe7 Bump version: 0.42.0-beta.5 → 0.42.0-beta.6 2026-11-06 02:57:37 +00:00
Lance Release 3d790e751d Bump version: 0.42.0-beta.4 → 0.42.0-beta.5 2026-11-05 14:59:38 +00:00
Lance Release 17f90f8403 Bump version: 0.42.0-beta.3 → 0.42.0-beta.4 2026-11-04 23:49:28 +00:00
Lance Release 4db3998b65 Bump version: 0.42.0-beta.2 → 0.42.0-beta.3 2026-11-04 21:42:55 +00:00
Lance Release dcda5224ee Bump version: 0.42.0-beta.1 → 0.42.0-beta.2 2026-11-04 16:04:09 +00:00
Lance Release 33c62e8f3e Bump version: 0.42.0-beta.0 → 0.42.0-beta.1 2026-11-04 02:44:56 +00:00
Lance Release 558f64c45f Bump version: 0.41.0-beta.17 → 0.42.0-beta.0 2026-11-02 06:41:10 +00:00
Will JonesandClaude Opus 5.5 4d7a64712f docs: adopt Embedded/Distributed terminology across docs and SDKs (#4713)
## Summary

Adopts the product terminology guide across the docs site pages, SDK
docstrings and error messages. "LanceDB OSS" and local mode become
**LanceDB Embedded**. "Remote" as the execution model becomes **LanceDB
Distributed**, which LanceDB Enterprise provides. Where free vs paid is
the point, pages contrast "LanceDB Embedded (open source)" with "LanceDB
Enterprise". This is a first trial of the Embedded name, so reviewers
can judge it in context.

- **Embedded vs Distributed** for where execution runs (`optimize()`,
consistency, branching, maintenance). Main pages define it once:
"LanceDB Enterprise runs LanceDB Distributed: …"
- **LanceDB Cloud** is kept only for legacy-Cloud specifics (`db://`
region, the brute-force KNN limit) and marked legacy. "Cloud and
Enterprise" becomes Enterprise or Distributed.
- **Plan executor** becomes "executor" or the fleet name.
- **Error messages** change, e.g. `optimize is not supported for remote
tables.` → `... in LanceDB Distributed.` Tests that match on them are
updated.
- **Vale rules** (`EmbeddedName`, `OSSProduct`, `RemoteExecution`,
`DistributedEnterprise`, `LegacyCloud`, `InternalNames`) enforce the
terms in prose.

Unchanged: identifiers (`availability.oss`, the `remote` module and
feature, `RemoteTable`, `db://`), heading anchors, internal code
comments, and Geneva.

## Evidence

- Rust lib tests for the changed messages and the Python tests in
`test_remote_db.py`, `test_materialized_views.py` and `test_table.py`
pass locally.
- Not run locally:
- The Node tests: `remote.test.ts` and `table.test.ts` have updated
assertions.
  - Vale.
  - The `experimental_functions`-marked materialized-view tests.
- `docs/src` API reference was hand-edited to match the docstrings
rather than regenerated.

## Merge Risk

**Door:** two-way; prose and message text only.
**Blast Radius:** `docs`, `error-messages`: callers matching on old
error strings would break.

Companion PRs: lancedb/docs (assembler labels, STYLE.md) and sophon
(Enterprise pages).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 14:04:41 -07:00
Lance Release ece54d8917 Bump version: 0.41.0-beta.16 → 0.41.0-beta.17 2026-10-28 17:31:48 +00:00
Lance Release 45f987a29b Bump version: 0.41.0-beta.15 → 0.41.0-beta.16 2026-10-28 05:01:52 +00:00
Lance Release 37b46f6b4f Bump version: 0.41.0-beta.14 → 0.41.0-beta.15 2026-10-27 01:43:00 +00:00
Lance Release de0c5edc7d Bump version: 0.41.0-beta.13 → 0.41.0-beta.14 2026-10-25 11:22:56 +00:00
Lance Release 9f0f6400bc Bump version: 0.41.0-beta.12 → 0.41.0-beta.13 2026-10-22 11:53:47 +00:00
Lance Release 1480a9ff57 Bump version: 0.41.0-beta.11 → 0.41.0-beta.12 2026-10-21 10:48:42 +00:00
Lance Release 46ccbe4e2c Bump version: 0.41.0-beta.10 → 0.41.0-beta.11 2026-10-21 08:21:13 +00:00
Lance Release 9e54c8cf27 Bump version: 0.41.0-beta.9 → 0.41.0-beta.10 2026-10-20 17:06:59 +00:00
Dan RammerandClaude Opus 5.5 92825f6f13 refactor!: rename MemWAL APIs to RTE (realtime engine) (#4598)
## What

Renames the user-facing MemWAL surface to **RTE** (realtime engine)
across Rust, Python, TypeScript, and Java, including the REST wire
format. This follows the LSM → MemWAL rename in #4075.

| Before | After |
|---|---|
| `MemWalWriteSpec` / `MemWalStats` | `RTEWriteSpec` / `RTEStats` |
| `enable_memwal` / `disable_memwal` / `get_memwal_spec` | `enable_rte`
/ `disable_rte` / `get_rte_spec` |
| `flush_memwal` / `compact_memwal` / `checkpoint_memwal` | `flush_rte`
/ `compact_rte` / `checkpoint_rte` |
| `get_memwal_stats` / `close_memwal_writers` | `get_rte_stats` /
`close_rte_writers` |
| `use_memwal` (query, merge insert) | `use_rte` |
| TS/Java `enableMemWal`, `useMemWal`, ... | `enableRTE`, `useRTE`, ...
(napi `js_name` set explicitly) |
| Java `LanceDbTableMemWal` | `LanceDbTableRTE` |
| `table/memwal_stats.rs` | `table/rte_stats.rs` |

Docs and comments now say "realtime engine (RTE)". Text about Lance's
underlying mechanism keeps "MemWAL" ("Lance's MemWAL", "MemWAL index").

**Left alone:** Lance-owned names (`MemWalIndexDetails`,
`DatasetMemWalExt`, `InitializeMemWal*`, `mem_wal` paths), internal
`Lsm*` names and modules, and the `does not support with_row_id` refusal
text that the hybrid fallback matches on.

## Compatibility

Breaking, for an experimental API. The wire format changes, so this must
roll out together with the matching sophon change (lancedb/sophon#8870):

- Routes: `/enable_memwal/` → `/enable_rte/`, `/disable_memwal/` →
`/disable_rte/`, `/get_memwal_spec/` → `/get_rte_spec/`,
`/get_memwal_stats/` → `/get_rte_stats/`, `/flush_memwal/` →
`/flush_rte/`, `/compact_memwal/` → `/compact_rte/`
- Response keys: `memwal_spec` → `rte_spec`, `memwal_stats` →
`rte_stats`
- Request field: `use_memwal` → `use_rte` on query and merge-insert
bodies

The SQL keyword becomes `ALTER TABLE ... SET RTE` server-side. The
guides under `docs/web` will be updated separately.

## Validation

- Rust: `cargo clippy --features remote --tests --examples` clean;
`cargo test --features remote -p lancedb --lib`: 1533 passed
- Java: `mvn test`: 37 passed (Spotless applied with JDK 11)
- Python: `ruff format` / `ruff check` clean; targeted tests
(`test_rte_spec`, `test_merge_insert_lsm`, `test_remote_db`,
`test_wal_hybrid`, `test_query`, `test_permutation`, `test_table`): 708
passed
- TypeScript: `pnpm build`; `table`, `query` tests: 606 passed; `biome
check` clean; `docs/src/js` regenerated with `pnpm run docs`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 11:58:57 -05:00
Lance Release 6507615a6f Bump version: 0.41.0-beta.8 → 0.41.0-beta.9 2026-10-19 21:23:24 +00:00
Lance Release c54b4027ef Bump version: 0.41.0-beta.7 → 0.41.0-beta.8 2026-10-18 18:15:51 +00:00