UPDATElancedb v0.42.0
LanceDB v0.42.0 blocks merge inserts on version-pinned tables
LanceDB v0.42.0 backports the 0.42 line's correctness fixes: merge inserts on a pinned handle now return InvalidInput, and hybrid search keeps tied keyword hits at full weight. Audit jobs on branch or time-travel tables should fix their call order first.
What changed in this release
24 checkpoints in 5 groups, organized by task from the official notes. Checkpoints do not count separate features or commits.
Write safety and version handles
- merge_insert returns InvalidInput on a pinned handle
- writes resume after checkout_latest()
- Rust opens a retained version with open_at_version
- remote tag checkouts validate branch and version
Hybrid search scores
- fully tied keyword scores count at 1.0
- both score and rank normalize modes covered
- RRF and MRR results unchanged
Server-side Function SDK
- get_function keeps the primary package index URL
- omitted gpu_count stops serializing 1
- omitted and explicit 1 differ in runtime digest
- pairing guidance on FORMAT or LIMIT rejection
- 0.42 Function description protocol kept
SQL description contracts (candidate builds)
- view and materialized view descriptions request JSON
- function, secret and storage integration descriptions too
SDK, embeddings and remote reads (candidate builds)
- Node select() accepts Expr
- Node opens source-bearing blob descriptors
- presigned Blob V2 reads
- blob snapshot identity after credential refresh
- two-phase shuffled reads in the dataloader
- CLI binaries as lancedb-tools wheels
- Bedrock image embeddings, Cohere v2
- OpenAI embeddings skip requests without valid text
- scalar index plugins created by name
- Permutation.map()
On this page
ContextBackground: a pinned handle reads at a version and could still write to the latest one
Teams pin a table to a version to compare runs: one branch keeps old parameters, another tries new ones, or an engineer reproduces a shipped issue.
v0.42.0 closes the gap: local merge inserts skipped the mutability check, so a pinned handle could commit onto the branch's latest version.
The release carries 24 entries in 5 groups. The stable notes list one backport (#5298, 8 commits), covering write safety, hybrid scores and the Function SDK: 12 entries.
The other 12, under SQL descriptions and SDK plus remote reads, come from candidate builds beta.30, .31, .37 and .38 of the same version. The figure below splits the 24 by group; the sections after it walk through all five.
Write safety: merge inserts on a pinned handle now fail, so reads and writes take two steps
- Pinned writes fail: local merge_insert now returns InvalidInput on a handle opened at a version.
- Split the call: checkout_latest() before a merge write, keep the pinned handle for reads.
- No format change: the Lance dependency and data format stay, so existing table files and write paths work as before.
Hybrid search: tied keyword scores are no longer treated as a missing match
- No zeroed ties: when all keyword hits score the same, that leg counts at the top weight of 1.0.
- Fully tied queries only, in both normalize modes; RRF and MRR rank by list position.
- Order inside a tie still comes from _rank; this moves the weight, not the tie-break.
Server-side Functions: omitted GPU counts register, and errors name the version mismatch
- Omitted stays omitted: @function(gpu=True) no longer sends gpus_per_worker: 1, so single-GPU catalogs accept it.
- Digests shift: the omitted form and an explicit gpu_count=1 differ in runtime digest; re-read them.
- Errors name the mismatch: an older catalog rejecting FORMAT or LIMIT adds SDK pairing guidance, keeping the SQL error and request ID.
SQL descriptions take JSON from candidate build beta.37, so hand-built queries need new parsing
- Five types change: view, materialized view, function, secret and storage integration now request JSON, a breaking change from candidate build beta.37.
- Search your SQL: hand-built description statements and text parsers need a JSON path, and test assertions need to change too.
- Only description callers: services that never read descriptions need no work here.
SDK and remote reads: candidate builds land first, with Node expressions and direct remote Blob reads
- Node: select() takes Expr values (candidate build beta.38), and blob descriptors carrying a source open directly (candidate build beta.37).
- Remote reads: presigned Blob V2 goes direct, credential refresh keeps blob snapshot identity, two-phase shuffled reads land (candidate build beta.31).
- Packaging: CLI binaries ship as lancedb-tools wheels, and registered scalar index plugins can be created by name (candidate builds beta.30, beta.31).
Horizontal view: fusion and history reading take a different step at each vendor
Fusion splits three ways: Qdrant leads with rrf and dbsf, Milvus lists RRFRanker and WeightedRanker, LanceDB keeps the linear combination and only changes tied scores.
Qdrant v1.20.2 calls an alpha linear combination without normalization unreliable and fuses with rrf or dbsf; Milvus v3.0.7 lists RRFRanker and WeightedRanker. For history both restore snapshots, while LanceDB opens a read-only table at a version.
Rows run fusion, merge writes and past versions. Bottom line: to open an old version for an audit, pick LanceDB (station view, not tested); a whole-collection rollback is already covered by snapshots.
| Update | LanceDB v0.42.0 | Qdrant v1.20.2 | Milvus v3.0.7 |
|---|---|---|---|
| Fusion and normalization | linear combination with min-max normalization; tied keyword scores at 1.0 | rrf and dbsf; an unnormalized alpha combination called unreliable | RRFRanker and WeightedRanker |
| Merge writes by key | merge_insert on local tables; a pinned handle returns InvalidInput | upsert inserts or updates by default, plus insert_only and update_only | upsert inserts or updates by primary key |
| Reading a past version | open_at_version returns a read-only pinned handle | snapshot is a tar archive for archiving or replication | snapshot is a point-in-time image for rollbacks and testing |
Version view: from v0.41.0 through the candidate build to v0.42.0
v0.41.0 shipped on 2026-10-29; candidate build v0.42.0-beta.38 followed on 2026-11-27 with the pinned merge rejection and the tie fix; v0.42.0 landed on 2026-11-30.
The left column is what v0.41.0 did; the right is the step this stable build adds. Numbers are pull requests.
The three steps sit at different layers: writes and scoring change a boundary check, while reading a past version changes the entry point.
| Feature | v0.41.0 | v0.42.0 |
|---|---|---|
| Merge writes on a pinned handle | remote restores need a checkout first; local merge inserts have no mutability check | writes resume after checkout_latest(); the pinned handle stays read-only (#4851) |
| Score normalization in hybrid search | normalize="rank" and "score"; RRF and MRR keep keyword scores | tied scores count at 1.0 in both modes (#4858) |
| Reading a retained version | optimize keeps tagged versions; reading one means opening the latest and checking out | open_at_version opens the retained version directly as a read-only handle (#5218) |
Release analysisSummary: fix pinned-handle writes first, and schedule hybrid search and Functions after that
Most affected are teams writing into branch or pinned tables: merge inserts fail until the call returns to the latest version. Read-only services can upgrade on the usual schedule, and old-version repros get a simpler path with open_at_version.
Qdrant routes fusion through rrf and dbsf and calls an unnormalized linear combination unreliable; Milvus lists RRFRanker and WeightedRanker. LanceDB keeps the linear combination and moved tied scores from 0 to 1.0; for history the others restore a snapshot, while LanceDB opens one read-only table.
Station view, not tested: confirm InvalidInput on a pinned handle before scheduling.
Order of work: write-path regression, tied-query samples, Function registration, SQL parsing. Roll out after the regression passes; when something breaks, restore the call order rather than downgrading.
AIGenLab views
Not independently testedRunning one write path on a pinned handle and confirming InvalidInput before scheduling is cheaper than reading release notes.
Station view derived from the error condition in #4851, not independently tested.
The tie fix only touches hybrid queries where every keyword hit ties, so check how often that appears in logs before upgrading this week.
Station view based on the scope section of #4858, not independently tested.
The Function and SQL description groups can wait until the next change to the code that registers functions or builds description queries.
Station view on impact tiers, not independently tested.
Questions
What happens to merge writes that ran on a pinned table?
Will the tie fix change my current ranking?
Do hand-built SQL description queries need changes?
Does this backport touch the data format?
Official sources and scope
- LanceDB v0.42.0 release Version, release date and the only entry in this release
- fix: backport SDK correctness fixes for 0.42 Backport scope, the eight commits, and the unchanged Lance dependency and data format
- fix: reject merge inserts on version-pinned tables Pinned-handle writes return InvalidInput and checkout_latest() restores writes
- fix(python): give tied FTS scores full weight in hybrid normalization Tied scores at 1.0, both normalize modes, and unchanged RRF/MRR results
- feat(rust): open a native table at a retained version open_at_version parameters and read-only pinned semantics
- fix(python): preserve the requested package index on Function inspection get_function keeping the explicit primary package index URL
- fix(python): preserve omitted Function GPU counts Omitted gpu_count no longer serializes 1, and the digest difference
- fix: explain Function catalog SDK compatibility errors Pairing guidance on FORMAT/LIMIT rejection while keeping the original error
- LanceDB v0.42.0-beta.30 release Scalar index plugins, Bedrock image embeddings, Cohere v2, OpenAI skipping empty text, Permutation.map
- LanceDB v0.42.0-beta.31 release Presigned Blob V2, blob snapshot identity, two-phase shuffled reads, lancedb-tools wheels
- LanceDB v0.42.0-beta.37 release The breaking JSON description change for five types, and Node blob descriptors
- LanceDB v0.42.0-beta.38 release Node select() accepting Expr, pinned merge rejection, and where the tie fix first appears
- LanceDB v0.41.0 release The previous stable release date, plus the hybrid search, checkout and tagged-version entries already in v0.41.0
- Qdrant v1.20.2 release The version and date used in the comparison column header
- Qdrant hybrid queries rrf and dbsf fusion and the warning about unnormalized linear combinations
- Qdrant points and upsert Default upsert semantics and insert_only/update_only modes
- Qdrant snapshots Snapshots are tar archives used to archive data or replicate a deployment
- Milvus v3.0.7 release The version and date used in the comparison column header
- Milvus multi-vector hybrid search RRFRanker and WeightedRanker reranking strategies
- Milvus upsert entities Upsert inserts or updates depending on the primary key
- Milvus snapshots Snapshots are point-in-time images used for rollbacks, versioning and testing
Dates beside sources indicate when we consulted them, not when the vendor released the update. Procedures are editorial guidance, not independently tested.