This release uses Lance 14.0.2.
Python embedding configuration migration
This release changes SentenceTransformerEmbeddings.trust_remote_code to default to False and requires process-level approval before restoring remote-code models or custom endpoints from table metadata. Applications that reopen tables using these settings should explicitly approve the trusted model/revision or endpoint before computing embeddings:
from lancedb.embeddings import get_registry
registry = get_registry()
registry.allow_remote_code("your-trusted-model", revision="your-reviewed-commit")
registry.allow_endpoint("https://your-trusted-endpoint.example")Only approve models and endpoints that your application trusts. Unapproved restored configurations raise UntrustedEmbeddingConfigError when used; operations that do not compute embeddings remain available. See the security fix and migration details.
Local SQL computed columns and materialized views remain experimental and require the experimental-functions build feature. The published Python and Node packages leave this feature disabled. Remote client operations remain available.
🛠 Breaking Changes
- feat!: list_databases returns an iterator by @cmccabe in #4442
- refactor: always fully refresh materialized views by @jackye1995 in #4373
- refactor!: implement lazy iterators for several APIs by @cmccabe in #4459
- feat(sql): bind query parameters over Flight DoExchange by @jackye1995 in #4345
- fix(remote): unify unsupported operation errors and warnings by @lancedb-gatefixer[bot] in #4414
- fix(python): route async remote blob reads through server by @lancedb-gatefixer[bot] in #4306
- fix: align table listing pagination across backends by @lancedb-gatefixer[bot] in #4412
- fix!: centralize entity name validation for remote APIs by @cmccabe in #4490
- fix: preserve adaptive IVF probe defaults by @jackye1995 in #4168
- feat(search): expose search effort by @BubbleCal in #4520
- feat: add an authorization API by @cmccabe in #4363
- fix: omit unfetchable list blobs from column discovery by @lancedb-gatefixer[bot] in #4312
- fix(remote): bound concurrent blob reads across handles by @lancedb-gatefixer[bot] in #4311
- refactor!: rename LSM APIs to MemWAL and align SSTable/table shard naming by @hamersaw in #4075
- fix(python)!: don't trust embedding settings from table metadata by @wjones127 in #4550
- fix!: normalize blob layouts and support external byte ranges by @lancedb-gatefixer[bot] in #4589
- refactor!: rename MemWAL APIs to RTE (realtime engine) by @hamersaw in #4598
- feat: configure automatic refresh when declaring computed columns by @jackye1995 in #4607
- feat(python): expose materialized view auto-refresh creation options by @jackye1995 in #4621
- feat!: return lazy iterators for table and namespace listings by @cmccabe in #4599
- feat: infer lazy blob reader Function inputs by @jackye1995 in #4663
- fix: execute remote materialized view creation through SQL by @jackye1995 in #4665
- fix(python)!: align RemoteDBConnection.create_table parameter order by @joaquinhuigomez in #4608
- fix(python)!: put OpenCLIP models in eval mode before embedding by @devjoinedthechat in #4536
- fix: inherit Lance defaults for IVF RQ quantization by @lancedb-gatefixer[bot] in #4585
- fix(python)!: align synchronous table method signatures by @karthiksenv in #4498
- fix!: reject unsupported remote connection and table options by @karthiksenv in #4486
- fix: preserve null blob descriptor fields in SQL by @lancedb-gatefixer[bot] in #4571
- fix: gate experimental local functions behind an opt-in feature by @Xuanwo in #4688
- fix(python)!: raise on bool(Expr) instead of silently dropping predicates by @avanish-garg in #4682
- fix: correct remote materialized view refresh results and options by @lancedb-gatefixer[bot] in #4672
- fix(python)!: reject tuple fields with mixed element types in pydantic models by @JayPokale in #4679
- fix(python)!: support compat-only imports by @dawid0309 in #3973
- fix!: restore blob SQL inserts with explicit adapter schemas by @lancedb-gatefixer[bot] in #4687
- fix: use SQL for all remote materialized view APIs by @jackye1995 in #4673
🎉 New Features
- feat(node): accept ArrayBuffer, Blob/File, and URL as blob column inputs by @wjones127 in #4313
- feat!: list_databases returns an iterator by @cmccabe in #4442
- feat: let CountPushdown see through MetadataEraserExec by @wkalt in #4458
- feat: allow Function columns to read computed columns by @wkalt in #4460
- feat: add delete rows to table stats by @yuvalif in #3783
- feat(sql): bind query parameters over Flight DoExchange by @jackye1995 in #4345
- feat: support FTS indexes on JSON fields by @Xuanwo in #4219
- feat!: carry a FunctionVersion's creation time as epoch millis by @jmhsieh in #4482
- feat(search): expose search effort by @BubbleCal in #4520
- feat: maintain memtable index kinds from a table's registry by @xuanyu-z in #4477
- feat(datafusion): let BaseTableAdapter set the MemWAL read routing by @hamersaw in #4488
- feat(python,rust): allow lancedb.blob() to set blob tier thresholds by @SIDDARTHAREDDY8 in #4323
- feat: add an authorization API by @cmccabe in #4363
- feat(python): add blob_mode to to_arrow and to_list by @geruh in #4529
- feat(remote): support set_unenforced_primary_key by @hamersaw in #4158
- feat(node): add blobMode to return blob bytes from queries by @BilalAtique in #4353
- feat(python): accept large_binary in Function signatures by @wkalt in #4577
- feat: document all OAuthFlowType entries in authentication.mdx by @cmccabe in #4565
- feat: configure automatic refresh when declaring computed columns by @jackye1995 in #4607
- feat: add Bootstrap split strategy for sampling with replacement by @jackye1995 in #4597
- feat(python): expose materialized view auto-refresh creation options by @jackye1995 in #4621
- feat!: return lazy iterators for table and namespace listings by @cmccabe in #4599
- feat: infer lazy blob reader Function inputs by @jackye1995 in #4663
- feat(sql): follow adaptive streaming and polling responses by @jackye1995 in #4664
- feat(python): open lazy blob files from SQL descriptors by @jackye1995 in #4668
- feat: add a cascade option to drop_database by @wkalt in #4697
🐛 Bug Fixes
- fix(python): use exact integer math for list_versions timestamps by @aviralsaxena16 in #4426
- fix: add reverie banner to readme by @ccmao1130 in #4346
- fix: add UTM to reverie link, remove cloud in banner by @ccmao1130 in #4446
- fix: read back the maintained-index selection a table was given by @xuanyu-z in #4447
- fix: accept updated_rows in remote update responses by @lancedb-gatefixer[bot] in #4444
- fix: require checkout before restoring remote tables by @lancedb-gatefixer[bot] in #4406
- fix(remote): validate schema for create_table with exist_ok by @lancedb-gatefixer[bot] in #4407
- fix(python): preserve embedding functions in sync remote table creation by @lancedb-gatefixer[bot] in #4408
- fix: reject non-finite query vectors without panicking by @lancedb-gatefixer[bot] in #4410
- fix(python): infer vector columns for sync remote search by @lancedb-gatefixer[bot] in #4409
- fix: refuse direct writes to materialized views by @wkalt in #4471
- fix: check docs web test license headers by @brendanclement in #4474
- fix(python): accept automatic fuzziness in MatchQuery by @lancedb-gatefixer[bot] in #4467
- fix: serialize remote merge expression filters by @lancedb-gatefixer[bot] in #4441
- fix(remote): unify unsupported operation errors and warnings by @lancedb-gatefixer[bot] in #4414
- fix(python): align remote and local search query objects by @lancedb-gatefixer[bot] in #4413
- fix(python): preserve code tokenizer filter defaults by @lancedb-gatefixer[bot] in #4370
- fix(python): route async remote blob reads through server by @lancedb-gatefixer[bot] in #4306
- fix: align table listing pagination across backends by @lancedb-gatefixer[bot] in #4412
- fix(node): reject unsupported FTS languages without panicking by @lancedb-gatefixer[bot] in #4369
- fix(node): accept code as a base tokenizer by @lancedb-gatefixer[bot] in #4368
- fix!: centralize entity name validation for remote APIs by @cmccabe in #4490
- fix: preserve adaptive IVF probe defaults by @jackye1995 in #4168
- fix(python): preserve Decimal precision in table updates by @KevinAndrewDong in #4431
- fix: use aws-lc-rs instead of ring for remote HTTP and gRPC TLS by @wjones127 in #4504
- fix: bump vulnerable Rust deps and drop legacy rustls 0.21 by @wjones127 in #4502
- fix(java): upgrade Jackson to 2.18.11 to address CVEs by @wjones127 in #4500
- fix(python): materialize nested blob bytes in pandas by @lancedb-gatefixer[bot] in #4305
- fix(python): normalize blob row ID inputs and errors by @lancedb-gatefixer[bot] in #4293
- fix(python): preserve blob v2 columns on table overwrite by @lancedb-gatefixer[bot] in #4289
- fix: coerce blob items in list columns on add by @lancedb-gatefixer[bot] in #4302
- fix: omit unfetchable list blobs from column discovery by @lancedb-gatefixer[bot] in #4312
- fix: preserve remote projection column order by @lancedb-gatefixer[bot] in #4292
- fix(remote): bound concurrent blob reads across handles by @lancedb-gatefixer[bot] in #4311
- fix(python): align BlobFile seek and read behavior by @lancedb-gatefixer[bot] in #4290
- fix(python): coerce URI strings for blob v2 writes by @lancedb-gatefixer[bot] in #4294
- fix(python): support default blob conversion in pandas query results by @lancedb-gatefixer[bot] in #4308
- fix(python): resolve the single vector column despite a query dimension mismatch by @jackye1995 in #4526
- fix: require a primary key to enable MemWAL by @xuanyu-z in #4561
- fix: refuse a materialized view whose sources lead back to itself by @wkalt in #4494
- fix: support remote blob range reads by @lancedb-gatefixer[bot] in #4553
- fix(python): reject blob ranges unsupported by storage schemas by @lancedb-gatefixer[bot] in #4566
- fix(python): bound StreamingDataset's raw_batches queue against io_queue_depth by @westonpace in #4530
- fix(python)!: don't trust embedding settings from table metadata by @wjones127 in #4550
- fix!: normalize blob layouts and support external byte ranges by @lancedb-gatefixer[bot] in #4589
- fix: don't panic building permutations over tables with schema metadata by @eddyxu in #4602
- fix: update trust-store pins for the eMudhra CA compromise by @esteban in #4624
- fix(index): preserve registered scalar plugin type names by @Xuanwo in #4627
- fix(node): reject musl binaries with unresolved AVX-512 symbol by @lancedb-gatefixer[bot] in #3791
- fix(python): verify Lance-created IVF_RQ compatibility by @lancedb-gatefixer[bot] in #3793
- fix(python): preserve nested fields in filtered scans by @lancedb-gatefixer[bot] in #3816
- fix(python): avoid deadlock for query-backed iterators by @lancedb-gatefixer[bot] in #3820
- fix: preserve unbounded plain queries in namespace pushdown by @AntiO2 in #3927
- fix(python): refresh zero-lifetime OAuth tokens by @primorLee in #3971
- fix(python): accept tuple and Arrow vector queries by @tandede in #3972
- fix(python): preserve valid embeddings when an OpenAI batch is rejected by @VathareVinayak in #4005
- fix(python): don't crash inferring schema for an all-null vector column by @winklemad in #4034
- fix(python): accept pathlib.Path in get_uri_scheme and get_uri_location by @Tyagiquamar in #4132
- fix(python): correct the voyageai reranker env var docstring by @simpleqt in #4201
- fix(python): add missing space in the hybrid search error message by @simpleqt in #4202
- fix: table_names should not list loose .lance files as tables by @joaquinhuigomez in #4203
- fix: gate remote job error construction behind the remote feature by @SIDDARTHAREDDY8 in #4233
- fix(python): clarify unavailable CUDA index acceleration by @lancedb-gatefixer[bot] in #4249
- fix: preserve sliced child validity during struct merge by @lancedb-gatefixer[bot] in #4261
- fix(python): preserve Arrow schema when merging reranker scores by @LindseyZ1205 in #4332
- fix(nodejs): reject listNamespaces limit above i32::MAX instead of wrapping by @princejain756 in #4584
- fix(python): expect oidc credential-type header on refreshed tokens by @Xuanwo in #4632
- fix(python): return original scores from hybrid search with normalize="rank" by @MohammadHijjawi97 in #4343
- fix(python): keep embedding functions registered without an alias readable by @MohammadHijjawi97 in #4356
- fix(python): write plain Enum fields of a LanceModel as their values by @MohammadHijjawi97 in #4357
- fix: wait for the submitted remote index job by @adenzhou1350 in #4428
- fix: return errors for unsupported remote alteration types by @adenzhou1350 in #4430
- fix(node): accept exist_ok in createTable by @canyang25 in #4432
- fix(python): return the session supplied to LanceDBConnection by @canyang25 in #4433
- fix(python): parse decimal exponent literals exactly by @LeonSGP43 in #4449
- fix(python): preserve integer Vector and MultiVector values by @LeonSGP43 in #4450
- fix(python): preserve metadata during vector schema inference by @LeonSGP43 in #4451
- fix: validate Python read consistency intervals by @adenzhou1350 in #4454
- fix: return a Python error when querying a closed table by @adenzhou1350 in #4455
- fix(remote): preserve request IDs in multipart response errors by @adenzhou1350 in #4456
- fix(node): respect transformers tokenizer option by @adenzhou1350 in #4457
- fix(python): preserve logical rows from Hugging Face datasets by @LeonSGP43 in #4461
- fix(python): prevent embedding aliases from replacing registered functions by @LeonSGP43 in #4462
- fix(python): preserve custom embedding field metadata by @LeonSGP43 in #4463
- fix(python): convert tuple and NumPy datetime update values by @LeonSGP43 in #4464
- fix(python): omit excluded model fields from persistence by @LeonSGP43 in #4465
- fix(node): preserve options when namespace is omitted by @adenzhou1350 in #4479
- fix(node): preserve caller-owned storage options by @adenzhou1350 in #4480
- fix(python): honor namespace table storage options by @adenzhou1350 in #4483
- fix(node): prevent table listing limits from wrapping by @adenzhou1350 in #4492
- fix(python): propagate invalid index wait_timeout errors by @adenzhou1350 in #4495
- fix(rust): finish query streams after a zero-duration timeout by @adenzhou1350 in #4506
- fix(rust): explain client-side model files when remote tokenize fails by @aviralsaxena16 in #4519
- fix(python): stop retrying a missing API key or provider package by @chrikrah in #4521
- fix(python): handle empty batch iterables with a schema by @adenzhou1350 in #4538
- fix(python): stop retrying permanent embedding errors and cap the backoff delay by @avanish-garg in #4542
- fix: keep tagged versions when pruning in optimize by @avanish-garg in #4544
- fix(python): honor explicit Cohere and VoyageAI reranker API keys by @devYRPauli in #4546
- fix(python): give each JinaEmbeddings instance its own session by @devYRPauli in #4547
- fix(python): keep OpenaiReranker scores on the rows they rate by @devYRPauli in #4549
- fix(python): accept VoyageAI text batch containers by @po-et in #4558
- fix(python): align vector parent indices after flattening null lists by @arcusbuilds in #4572
- fix(python): normalize VoyageAI image modes before JPEG encoding by @po-et in #4576
- fix(python): apply pyarrow expression filters in PyarrowDatasetAdapter by @RaphaelFakhri in #4592
- fix(python): accept NumPy text arrays in Ollama embeddings by @po-et in #4605
- fix(node): support nested blobs with blobMode 'bytes' by @Ishita-Singh-12 in #4610
- fix(node): materialize nested struct blobs in bytes mode by @lancedb-gatefixer[bot] in #4611
- fix(python): keep a renamed Permutation column in its position by @chrikrah in #4626
- fix: cap the remote job poll interval at one second by @wkalt in #4629
- fix(python): align pylance extra and preview install indexes by @karthiksenv in #4556
- fix: bump tokio to address RUSTSEC-2026-0386 by @Xuanwo in #4642
- fix(python): preserve Arrow map scalars in updates by @LeonSGP43 in #4448
- fix(python): accept with_row_id in take_offsets/take_row_ids on every Table implementation by @joaquinhuigomez in #4374
- fix(python): support custom blob thresholds without pylance by @lancedb-gatefixer[bot] in #4634
- fix(python): replace the retired gpt-4-turbo-preview default in OpenaiReranker by @pcbeingused333 in #4613
- fix(python): honor explicit OpenAI reranker API keys by @WitBlue6 in #4515
- fix(python): align sync remote methods with async behavior by @lancedb-gatefixer[bot] in #4411
- fix: support remote tables in storage root by @lancedb-gatefixer[bot] in #3881
- fix(rust): accept usize::MAX as a local query limit by @rominparekh in #4567
- fix: validate cached remote tables on open by @Ganesh1729-ui in #4557
- fix: keep FTS indexes in list_indices when their files are missing by @Nitish-1303 in #4251
- fix(rust): compile jobs without remote feature by @Risto0211 in #4103
- fix: execute remote materialized view creation through SQL by @jackye1995 in #4665
- fix: honor downstream Lance dependency overrides by @jackye1995 in #4671
- fix: support system columns in DataFusion table adapters by @lancedb-gatefixer[bot] in #4667
- fix(python)!: align RemoteDBConnection.create_table parameter order by @joaquinhuigomez in #4608
- fix(python): honor bad-vector policies for pandas NaNs by @lancedb-gatefixer[bot] in #4503
- fix(python)!: put OpenCLIP models in eval mode before embedding by @devjoinedthechat in #4536
- fix: inherit Lance defaults for IVF RQ quantization by @lancedb-gatefixer[bot] in #4585
- fix(python)!: align synchronous table method signatures by @karthiksenv in #4498
- fix(python): restore sync remote connection and table API parity by @karthiksenv in #4473
- fix!: reject unsupported remote connection and table options by @karthiksenv in #4486
- fix(python): cover FP16 GPU index queries by @lancedb-gatefixer[bot] in #3819
- fix(ci): acknowledge Arrow-pinned zstd advisories by @Xuanwo in #4683
- fix(python): expose optimize compaction options by @lancedb-gatefixer[bot] in #3870
- fix: return cosine-scaled ANN distances by @lancedb-gatefixer[bot] in #3852
- fix(rust): prevent oversized SQ remap panics by @lancedb-gatefixer[bot] in #3861
- fix: refuse Function-bound writes by column instead of by table by @wkalt in #4686
- fix: preserve null blob descriptor fields in SQL by @lancedb-gatefixer[bot] in #4571
- fix: gate experimental local functions behind an opt-in feature by @Xuanwo in #4688
- fix(python)!: raise on bool(Expr) instead of silently dropping predicates by @avanish-garg in #4682
- fix(python): allow phrase queries without a column by @lancedb-gatefixer[bot] in #4653
- fix(python): preserve async query search options during serialization by @lancedb-gatefixer[bot] in #4659
- fix(remote): make HTTP timeout errors actionable by @lancedb-gatefixer[bot] in #4650
- fix: read legacy blob columns through blob APIs by @lancedb-gatefixer[bot] in #4649
- fix: correct remote materialized view refresh results and options by @lancedb-gatefixer[bot] in #4672
- fix(python): accept tuples and pyarrow arrays as hybrid search vectors by @simpleqt in #4662
- fix(python)!: reject tuple fields with mixed element types in pydantic models by @JayPokale in #4679
- fix(python)!: support compat-only imports by @dawid0309 in #3973
- fix!: restore blob SQL inserts with explicit adapter schemas by @lancedb-gatefixer[bot] in #4687
- fix(python): support native blob conversion in pandas and batches by @lancedb-gatefixer[bot] in #4647
- fix(python): keep FTS scores in RRF and MRR rerankers with return_score="all" by @JayPokale in #4677
- fix: use SQL for all remote materialized view APIs by @jackye1995 in #4673
📚 Documentation
- docs: bring the open-source documentation into this repository by @jackye1995 in #4122
- docs: fix SDK docs working directory instructions by @original4422 in #4525
- docs: revise getting started and concepts by @brendanclement in #4491
- docs: complete ingestion, search and integration examples by @brendanclement in #4533
- docs: correct data workflows, SQL and operations by @brendanclement in #4534
- docs: clean up prose flagged by the shared Vale rules by @brendanclement in #4596
- docs: explain managed blob ingestion, functions, and cleanup by @Xuanwo in #4604
- docs: add realtime engine (RTE) getting-started guide by @hamersaw in #4548
- docs(python): rework PyTorch page around StreamingDataset by @eddyxu in #4606
- docs: fix TypeScript file paths in AGENTS.md by @Aaditya1273 in #4612
- docs: add Enterprise distributed search reference page by @LuQQiu in #4625
- docs: document Blob V2 in the multimodal guide by @geruh in #4623
- docs: remove logical-column from docs by @dantasse in #4693
🔧 Build and CI
- ci: add critical fixes section to release notes by @wjones127 in #4361
- ci: pin protoc v36.2 with checksums across wheel builds by @wjones127 in #4535
- ci: ignore rustls 0.23.45 advisories until 0.23.46 clears the release age policy by @LuQQiu in #4551
- ci: ignore yanked zip, update rustls, remove unneeded deny rules by @westonpace in #4560
- ci: add an advisory Vale check for documentation prose by @brendanclement in #4581
- ci: refresh apt lists before installing protobuf in docs build by @Xuanwo in #4636
- ci: run aarch64 Windows tests on main only by @Xuanwo in #4637