From 40bbbdf0730bf31be4e3efef620f4a2d04a14f36 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 23 Sep 2026 04:01:42 +0000 Subject: [PATCH] chore: release 0.3.4 Publishes the insert_workflow numeric link-ID fix from #245, which merged to main without a version bump and so never shipped. Version and changelog only, following the label-gated release automation from #234/#244. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01UqyourCBfi97xzpBx2W7oY --- CHANGELOG.md | 17 +++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 20 insertions(+), 3 deletions(-) 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",