Răsfoiți Sursa

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 lună în urmă
părinte
comite
0cd228553a
3 a modificat fișierele cu 10 adăugiri și 9 ștergeri
  1. 0 0
      CLAUDE.md
  2. 7 6
      docs/ROADMAP.md
  3. 3 3
      docs/integration-guide.md

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
CLAUDE.md


+ 7 - 6
docs/ROADMAP.md

@@ -1,6 +1,6 @@
 # Smartbotic Database - Status and Roadmap
 # 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,
 > 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.
 > `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
 ## 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.
 detail and the failure modes.
 
 
 - JSON document store: collections, version history, field-level encryption, TTL
 - 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);
   a seal, `encryption-verify`, comparisons on ciphertext refused (2.17.0);
   verify without the global history lock, a streamed history rewrite, an
   verify without the global history lock, a streamed history rewrite, an
   atomic compaction swap, `info` showing the enforced rule and versioning,
   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
 - Optional per-collection JSON Schema (enforce/audit, existing rows checked
   first, suggested from data) (2.16.0)
   first, suggested from data) (2.16.0)
 - Independent client and server releases: `GetServerInfo` capability
 - 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)
   before the upgrade (backups, `pre-upgrade-*`, nightly backup archives)
   still hold the plaintext.
   still hold the plaintext.
 - ~~**Prune under the global lock**~~ and ~~**reseal compaction cost**~~ - FIXED
 - ~~**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
   the prune streams in two passes outside MemoryStore's locks; a reseal is
   requested only when an online upgrade rewrote plaintext, and compacts only
   requested only when an online upgrade rewrote plaintext, and compacts only
   that project.
   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
   accepts, searches and exports vectors. Since 2.17.0 every such insert had
   been refused.
   been refused.
 - Collection schemas cannot be declared in a migration file yet (the
 - 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
    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
    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
    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).
 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**:
 3. **Its name matches a built-in pattern, at ANY depth, top level included**:
    `password`, `secret`, `token`, `api_key`, `apiKey`, `credentials` (exact name,
    `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
 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
 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
 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
 actually rewritten, and compacts only that collection's project. Later
 restarts are ordinary.
 restarts are ordinary.
 
 
@@ -1309,7 +1309,7 @@ Semantics:
 **Trimming history that already exists (2.17.1+).** `createCollection(name, ...,
 **Trimming history that already exists (2.17.1+).** `createCollection(name, ...,
 maxVersions=N)` on an EXISTING collection with a cap lower than before (or any
 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
 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
 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
 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
 collection's operations waited: on 2.17.1 run it at a quiet moment, one

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff