diff --git a/CHANGELOG.md b/CHANGELOG.md index 91aa72e..8321690 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,23 @@ this package uses semantic versioning. ## Unreleased +## 0.3.4 - 2026-09-23 + +### Fixed + +- Mint genuine numeric link IDs for `insert_workflow` instead of folding them + into strings. Link IDs are now derived purely from immutable operation + content (`op_id`, graph scope, and raw link ID) via SHA-256 folded into the + full JavaScript safe-integer range, matching the branded-number `LinkId` + type ComfyUI_frontend expects and removing the reproducible collisions the + prior 32-bit string-folding workaround produced (ADR-033). + +### Changed + +- `insert_workflow` link-ID derivation no longer reads document state or + retries against already-present IDs, so replicas applying colliding + operations in different arrival orders still assign the same ID. + ## 0.3.3 - 2026-09-22 ### Fixed diff --git a/package-lock.json b/package-lock.json index 7c539c5..ed6bce8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@comfyorg/comfy-multi-player", - "version": "0.3.3", + "version": "0.3.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@comfyorg/comfy-multi-player", - "version": "0.3.3", + "version": "0.3.4", "license": "GPL-3.0-only", "dependencies": { "yjs": "^13.6.27" diff --git a/package.json b/package.json index f90e418..58ff118 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@comfyorg/comfy-multi-player", - "version": "0.3.3", + "version": "0.3.4", "license": "GPL-3.0-only", "description": "Shared workflow-document package: CRDT op applier + JSON projection used identically by the browser and the server doc host.", "type": "module",