From 5c1b79f5704775ea04b603148e463b0beea97dfc Mon Sep 17 00:00:00 2001 From: William Stein Date: Fri, 9 Oct 2026 23:38:23 +0000 Subject: [PATCH] release: 0.13.0 --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d48c65f..7882652 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ Patchflow does not directly handle editors, persistence or communication. - SyncDB/JSONL tables: [src/db-document-immutable.ts](./src/db-document-immutable.ts) (immutable.js) and [src/db-document-immer.ts](./src/db-document-immer.ts) (immer) with indexed queries and string columns that use diff-match-patch for compact history. - Adapters: in-memory patch store, file store, presence adapter; easy to plug your own transport. - Examples: interactive TCP/file demo in [examples/tcp-session.ts](./examples/tcp-session.ts) and a syncdb demo in [examples/db-immer-session.ts](./examples/db-immer-session.ts). -- Tests: Jest coverage for patch graph, session, string docs, db docs (both backends), file queueing, presence, cursors, and working copies. +- Tests: Vitest coverage for patch graph, session, string docs, db docs (both backends), file queueing, presence, cursors, and working copies. - Deterministic PatchIds: each patch has an opaque id `time` of the form `_`, where `time36` is a monotone millisecond timestamp (base36, fixed width) and `client` is a per-session random id (base64url). This avoids logical-time collisions even when the same `userId` commits concurrently from multiple devices/tabs; you no longer need to allocate unique user slots in a fixed 1024-user window. For a hard guarantee, pass an explicit unique `clientId` when constructing each `Session`. ## Why the DbDocument backends (immutable/immer)? diff --git a/package.json b/package.json index 4730dd4..09752ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "patchflow", - "version": "0.12.0", + "version": "0.13.0", "private": false, "description": "Lightweight patch-based directed acyclic graph realtime sync core", "license": "MIT",