Repository navigation
v0.4.0
- Clarify table cache success and structured error return values, including
background warming failures, saturation, missing entries, and invalidation. - Document pipeable query builders, explicit expression literals, reusable index
definitions, blob column discovery, and batch construction and inspection. - Return structured
LanceDB.Errorvalues fromBatch.schema/1on JSON decoding
failures, retaining the decoder reason and emitting a completed operation span. - Correct cursor close and native batch-pull typespecs to match their synchronous
return values and asynchronous acknowledgements. - Reject snapshot mutations before planning or execution, and consistently report
native write validation versus execution boundaries, including index, tag,
branch, maintenance, clone and table deletion failures. - Enforce cursor ownership before returning cached terminal results. Let blob
cursor inspection proceed without read admission, and check closed empty blob
handles during lazy stream enumeration. - Run native dispatch on normal schedulers while keeping synchronous JSON and
bulk term decoding on dirty CPU schedulers. Verify the new native operation
contracts in source builds and against every packaged candidate binary. - Distinguish malformed Arrow descriptions from unsupported conversions, and
report returned conversion errors as completed operation spans. - Validate connection and backfill arguments inside operation spans, raising
ArgumentErrorconsistently for invalid inputs. - Preserve structured database failures during backfills, source consumption
and cleanup without replacing primary errors or confirmed write progress. - Preserve stream error operation labels during cursor opening, batch pulling,
and row conversion. - Expose
TableCache.connection/2for shared connection access, including empty
databases. Share supervised setup with fetch/warming requests and bound waiting
callers through existing request limits without consuming table capacity. - Add
Maintenance.optimize/1for the standard SDK compaction, seven-day cleanup,
and index optimization sequence. Return compaction and cleanup statistics under
one native write-admission permit. - Add reusable FTS query preparation using explicit or saved index analyzers.
Preserve original spellings alongside distinct analyzed terms, build exact
and fuzzy alternatives per term, and support length-based typo distances,
exact numeric terms, scoring boosts, and input limits. Initially supports
plain text with the simple tokenizer. Existing string-based matches retain
their behavior. - Validate imported Arrow batches at the shared writer boundary, covering finite
floats, temporal ranges, decimal precision, nullability, vector elements,
map keys, blob inputs and JSONB payloads. Compile checks once per writer and
inspect only reachable values without row conversion. Guard JSONB row decoding
through the same traversal. - Isolate fresh consumer verification from inherited Mix environment, target,
project, build and dependency paths so custom maintainer settings cannot
redirect the temporary project's compilation or release. - Gate FTS preparation and standard optimization checks on native
support. Run Arrow value-validation regressions in source builds and explicitly
include them for every packaged candidate native binary. - Initialize the shared native runtime with Rust's standard
LazyLock, removing
the native crate's directlazy_staticdependency. - Remove redundant table-name and source-schema normalization, unused formatter
and package-ignore entries, and obsoletemerge_insertadvice in write errors.
Error messages now point toTable.upsertandTable.merge.
Breaking changes
- Native Arrow batch writes reject values that violate the logical schema,
including inputs previously accepted by some write paths. Invalid values are
rejected before the batch reaches the SDK; earlier confirmedcommit: :batch
commits remain. Review external Arrow producers against the schema's value
constraints before upgrading. - JSONB row conversion rejects malformed payloads before invoking the SDK
decoder, returning an invalid-data error instead of passing corrupt data to it.