v5.2.2
Vector search (HNSW) — correctness and scaling fixes
Removed two terms from vector search that scaled linearly with corpus size (#2069), along with a series of follow-on fixes: graph-size is now resolved from node IDs instead of RocksDB's key estimate (previously wrong under certain deletion patterns), and the limit-derived ef ceiling is now bounded correctly so an explicit ef stays authoritative and limit-widening no longer re-resolves graph size per query. Filtered vector queries with a selective filter now return distances correctly (#2133).
SQL engine — TOP / LIMIT / OFFSET
SELECT TOP n and fractional LIMIT/OFFSET are now honored correctly; TOP PERCENT and out-of-range LIMIT/OFFSET values are properly deferred to the legacy query path instead of being mishandled (#2124).
Config reload and override inheritance
Config reloads could diverge from the live config tree: reload comparisons were key-order-sensitive and non-total, setProperty overrides could leak or fail to propagate to worker threads, and an HDB_ROOT install-time property could be silently dropped by canonical keying. The live config tree is now uniquely identifiable, reload comparisons are total and key-order-insensitive, and overrides propagate correctly across the main/worker boundary.
Deployment payload ingest — durability under load
Deploy payload ingest could race with deployment-progress flushes and run with an insufficient transaction budget. Ingest writes now run in their own isolated transaction with a dedicated, sticky timeout budget, and deployment recorder writes are serialized against progress updates.
Data integrity: bodyless records and migration verification
Audit entries no longer advertise a record body that was never actually captured (a source-applied put with no content is now correctly skipped rather than reconstructed). Database migration's verification pass no longer leaks a rawDbi handle when a partial open fails.
Also in this release
Dependency bump (argon2 → 0.45.1, #2132); test coverage, documentation, and formatting chores.
Full Changelog: v5.2.1...v5.2.2