Skip to content

v0.5.1

Choose a tag to compare

@preciz preciz released this 16 Oct 19:18
· 49 commits to main since this release

Hex package · Documentation

  • Update the native dependency lock to Rustls 0.23.46 and Quinn 0.11.19,
    incorporating their published security fixes without changing LanceDB 0.40.0
    or Lance 13.0.0. Replace yanked ChaCha20 0.10.1 with 0.10.2. Rebuild all
    supported native targets with these dependencies.
  • Check RustSec advisories in source CI and before native artifact builds or
    verification, and check Hex dependency advisories in source CI. Known
    vulnerabilities and yanked crates fail these checks; upstream maintenance
    notices remain visible.

This release includes the features prepared for 0.5.0. The 0.5.0 candidate
was tagged but was not published to Hex; its tag remains unchanged.

  • Add list-element full-text indexes and match/phrase queries with public nested
    field paths. Preserve _doc_index through projections, streams and schema
    inspection, propagate granularity through prepared queries, support saved
    analyzer lookup beneath lists, and reject element hits in hybrid fusion.
  • Add SQL computed-column declarations, explicit refresh and typed refresh jobs.
    Use writable-only input schemas for row and Arrow ingestion, merges and upserts;
    expose Table.write_schema/1, preserve declaration and freshness metadata, and
    guard SDK overwrite and nested-metadata cases that would invalidate declarations
    or later refreshes. Index jobs retain their existing result contract.
  • Add the boolean :disable_scoring_autoprojection query option to omit automatic
    distance, full-text, and hybrid relevance scores while preserving explicitly
    selected scores, internal reranker inputs, row IDs, and batch query indexes.
  • Add Table.set_unenforced_primary_key/2 for persisted single-column key
    declarations, using SDK type, nullability, immutability and concurrent-commit
    checks. Preserve installed key markers when replacing user field metadata.
  • Add explicit :bloom_filter scalar indexes for equality, membership, and null
    filters, with per-filter row counts, false-positive targets, and the existing
    synchronous, asynchronous, and maintenance APIs.
  • Add explicit :ngram indexes for substring, LIKE, and supported regular-expression
    filters on string and large-string columns, with the existing index lifecycle
    and asynchronous creation APIs. Preserve matches for untokenizable Unicode,
    punctuation, and computed substring patterns despite the pinned SDK's index
    fallback bug.
  • Add explicit :zonemap scalar indexes with synchronous and asynchronous
    creation, reusable definitions, and empty-index creation via train: false.

The LanceDB SDK remains at 0.40.0 and Lance at 13.0.0. This release selects new
verified native binaries for Linux x86_64, Linux ARM64, and Apple Silicon macOS
containing these features. Normal installation downloads the selected binary
without compiling Rust.

Breaking changes

  • Reserve _doc_index as a computed projection alias for list-element FTS
    metadata. Rename any existing select: alias using this name.

Source