v2.3.0
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
negativeQueryoption tosearch, 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/workerfor 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