Skip to content

v2.3.0

Choose a tag to compare

@github-actions github-actions released this 18 Jun 21:39
· 4 commits to main since this release

Release v2.3.0

Release type: stable
Release line: 2.3.x
Branch: release/2.3.x

[2.3.0] - 2026-06-18

Added

  • Introduced support for BM25 scoring method in TF-IDF searches, offering improved keyword relevance with scoring: 'bm25'.
  • Added negativeQuery option to search, allowing documents to be penalized based on similarity to anti-queries.
  • Implemented snapshot functionality to export and import TF-IDF index state, enhancing cold start performance.
  • New worker-safe entry point vectoriadb/worker for environments without Node.js built-ins or ML/runtime dependencies.

Changed

  • Refactored IDF computation to store document frequency and support BM25 IDF calculation.

Fixed

  • Ensured validation on snapshot import to prevent malformed data from causing index corruption.
  • Addressed potential issues with prototype pollution by sanitizing metadata in snapshots.

Installation

npm install vectoriadb@2.3.0