Prechádzať zdrojové kódy

release: 2.17.2 - per-file history locks, targeted reseal, vectors in encrypted collections

Released at the owner's request (held back earlier the same day). ctest
26/26, e2e 23/23, compat.sh green against 2.17.1 and 2.16.0.
fszontagh 1 mesiac pred
rodič
commit
6ae4ee73f5
3 zmenil súbory, kde vykonal 10 pridanie a 9 odobranie
  1. 0 0
      CLAUDE.md
  2. 7 6
      docs/ROADMAP.md
  3. 3 3
      docs/integration-guide.md

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
CLAUDE.md


+ 7 - 6
docs/ROADMAP.md

@@ -1,6 +1,6 @@
 # Smartbotic Database - Status and Roadmap
 
-**Released version: 2.17.1** (see `VERSION`). Last reviewed: 2026-10-12.
+**Released version: 2.17.2** (see `VERSION`). Last reviewed: 2026-10-12.
 
 > 2.11.5 was prepared but never released on its own: its work (event actors,
 > `removeAs()`) ships inside 2.12.0. There is no 2.11.5 package.
@@ -56,7 +56,7 @@ Consequences of that substitution, which trip up readers:
 
 ## Shipped
 
-Every item below is in the installed product as of 2.17.1. `CLAUDE.md` has the
+Every item below is in the installed product as of 2.17.2. `CLAUDE.md` has the
 detail and the failure modes.
 
 - JSON document store: collections, version history, field-level encryption, TTL
@@ -67,7 +67,9 @@ detail and the failure modes.
   a seal, `encryption-verify`, comparisons on ciphertext refused (2.17.0);
   verify without the global history lock, a streamed history rewrite, an
   atomic compaction swap, `info` showing the enforced rule and versioning,
-  `project:_name` refused, history pruned when `maxVersions` is lowered (2.17.1)
+  `project:_name` refused, history pruned when `maxVersions` is lowered (2.17.1);
+  per-file history locks, a reseal only where something was rewritten,
+  vectors accepted in encrypted collections (2.17.2)
 - Optional per-collection JSON Schema (enforce/audit, existing rows checked
   first, suggested from data) (2.16.0)
 - Independent client and server releases: `GetServerInfo` capability
@@ -373,12 +375,11 @@ joins; see 5c), which does not fit in 10 s. Run the container with
   before the upgrade (backups, `pre-upgrade-*`, nightly backup archives)
   still hold the plaintext.
 - ~~**Prune under the global lock**~~ and ~~**reseal compaction cost**~~ - FIXED
-  on main for 2.17.2 (not released): history locks are per collection file and
+  in 2.17.2: history locks are per collection file and
   the prune streams in two passes outside MemoryStore's locks; a reseal is
   requested only when an online upgrade rewrote plaintext, and compacts only
   that project.
-- ~~**Encrypted collection with vectors**~~ - FIXED on main for 2.17.2 (not
-  released): `_vector` is exempt from encryption, so an encrypted collection
+- ~~**Encrypted collection with vectors**~~ - FIXED in 2.17.2: `_vector` is exempt from encryption, so an encrypted collection
   accepts, searches and exports vectors. Since 2.17.0 every such insert had
   been refused.
 - Collection schemas cannot be declared in a migration file yet (the

+ 3 - 3
docs/integration-guide.md

@@ -986,7 +986,7 @@ encrypted (AES-256-GCM, random IV) when ANY of these applies:
    that an embedding can reveal something about its source text. In 2.17.0
    and 2.17.1 the vector WAS encrypted, so every insert carrying a vector into
    an encrypted collection was refused ("type must be number, but is
-   string"); fixed in 2.17.2 (on main, not yet released).
+   string"); fixed in 2.17.2.
 2. **Its path is in the collection's `sensitive_fields`** (or lies under one).
 3. **Its name matches a built-in pattern, at ANY depth, top level included**:
    `password`, `secret`, `token`, `api_key`, `apiKey`, `credentials` (exact name,
@@ -1043,7 +1043,7 @@ restart: `encryption-verify` reports `sealed: NO` until then. **That next
 restart compacts again** (about the time to copy the `data.mdb` involved), so
 plan it as a window, not as an ordinary 15-second restart. In 2.17.1 it
 compacts EVERY project, and is requested whenever the flag changes; since
-2.17.2 (on main, not yet released) it is requested only when plaintext was
+2.17.2 it is requested only when plaintext was
 actually rewritten, and compacts only that collection's project. Later
 restarts are ordinary.
 
@@ -1309,7 +1309,7 @@ Semantics:
 **Trimming history that already exists (2.17.1+).** `createCollection(name, ...,
 maxVersions=N)` on an EXISTING collection with a cap lower than before (or any
 cap over unlimited) rewrites its history file keeping the newest N versions per
-document. It runs inside the call. Since 2.17.2 (on main, not yet released)
+document. It runs inside the call. Since 2.17.2
 it holds only that collection's history lock: only writes that record history
 in THAT collection wait. In 2.17.1 it held the store's global lock, so every
 collection's operations waited: on 2.17.1 run it at a quiet moment, one

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov