@syncular/server 0.15.29 → 0.15.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -236,6 +236,14 @@ exclusive `afterRowId`, and has a required limit from 1 through 1,000. All
236
236
  shipped adapters implement it; transaction reads see staged writes and deletes.
237
237
  It requires a materialized table.
238
238
 
239
+ `values` is always a complete, order-sensitive index tuple. A compound index
240
+ on `(workspace_id, state, id)` therefore requires exactly three values; passing
241
+ only `[workspaceId]` is rejected with
242
+ `sync.storage.index_value_count_mismatch` and is never interpreted as a
243
+ leading-prefix scan. Declare a separate `(workspace_id)` index when the command
244
+ must enumerate every row in one Workspace. Syncular does not currently expose
245
+ trusted prefix or range scans.
246
+
239
247
  This is a trusted `@syncular/server` storage capability, not SSP2: it creates no
240
248
  scope variable, named-query obligation, subscription descriptor, or client
241
249
  authority. Never expose table/index/value selection through a client-controlled
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncular/server",
3
- "version": "0.15.29",
3
+ "version": "0.15.31",
4
4
  "description": "Syncular server: handleSyncRequest + storage/auth interfaces for the sync protocol",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Benjamin Kniffler",
@@ -53,7 +53,7 @@
53
53
  "!dist/**/*.test.d.ts"
54
54
  ],
55
55
  "dependencies": {
56
- "@syncular/core": "0.15.29"
56
+ "@syncular/core": "0.15.31"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@electric-sql/pglite": "^0.5.4"