@syncular/server 0.15.39 → 0.15.42
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.
- package/README.md +10 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -217,6 +217,16 @@ unknown command outcome, reuse the original idempotency key because changing it
|
|
|
217
217
|
can execute the operation twice. The full inspection and recovery recipe is in
|
|
218
218
|
the public [server guide](https://syncular.dev/guide-server/#seeding-data).
|
|
219
219
|
|
|
220
|
+
One extra rule applies when the seed actor changes. A Syncular `clientId` is
|
|
221
|
+
bound to its first actor inside a partition. Keep the client ID stable for seed
|
|
222
|
+
revisions under that actor, but allocate both a new purpose-specific `clientId`
|
|
223
|
+
and a new `commitId` when moving a seed to another actor. Changing only the
|
|
224
|
+
commit ID correctly fails with `sync.invalid_client_id`; do not erase the
|
|
225
|
+
database to bypass that identity evidence. For example, move
|
|
226
|
+
`catalog-import/seed-user/catalog-v1` to
|
|
227
|
+
`catalog-import/server-authority/catalog-v2`, not merely to
|
|
228
|
+
`catalog-import/seed-user/catalog-v2`.
|
|
229
|
+
|
|
220
230
|
The task-oriented [concurrency and conflict-correction guide](https://syncular.dev/guide-concurrency-correction/)
|
|
221
231
|
shows version projection, aggregate rollback, corrected replacement commits,
|
|
222
232
|
explicit acknowledgement, and restart-safe recovery UI together.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncular/server",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.42",
|
|
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.
|
|
56
|
+
"@syncular/core": "0.15.42"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@electric-sql/pglite": "^0.5.4"
|