Skip to content

Recern Vector 0.5.0

Choose a tag to compare

@madeburo madeburo released this 06 Nov 12:18

Recern Vector 0.5.0 adds incremental persistence and a validated page directory.

New databases use snapshot format 3. Format-2 files retain their layout until an explicit upgrade; the upgrade creates a standalone format-2 backup. Readers retain formats 1/2, WAL 1, HTTP/profile v1 and migration v1.

  • Encode changed records and HNSW neighbors instead of a full database image.
  • Reuse free pages and update per-page checksums and the checksum-tree root.
  • Schedule checkpoints at 64 MiB of WAL or 1,000 commits, with per-handle/server configuration and observable maintenance errors.
  • Expose upgrade, format and persistence-work APIs in Rust, Python and Node.
  • Publish @recern/vector with exact-version native packages selected by OS/CPU/libc.
  • Verify native builds, installed Python wheels/sdist, Rust packages, npm tarballs, old readers, Qdrant and cross-language migration.

Compatibility: Workspace 1.0.0 uses the Vector 0.2.0 reader and cannot open format 3. Keep its files at format 2 until a Workspace reader update.

Performance evidence: 54 release-build persistence cases and full SIFT1M/GloVe f32/int8 sweeps were measured on the retained 0.5.0-dev.1 engine. Raw versions/source hashes are preserved. Full-image peak RSS reached 15.21 GiB; automatic scheduling was disabled in timed saves. Int8 reduces vector payload but is not a query-speed or whole-process memory guarantee.

Install:
pip install recern-vector==0.5.0
cargo add recern-vector@0.5.0
npm install @recern/vector@0.5.0

Release docs: https://recern.net/vector/docs/release
Persistence: https://recern.net/vector/docs/persistence-0.5
Benchmarks: https://recern.net/vector/benchmarks