From 2e9fc809744960157fbc3e705f72a3c2e35e7448 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 9 Feb 2026 11:21:56 +0000 Subject: [PATCH] Version Packages --- .changeset/fix-initialization-race-conditions.md | 11 ----------- fixtures/chat/package.json | 2 +- fixtures/globe/package.json | 2 +- fixtures/hono/package.json | 2 +- fixtures/tiptap-yjs/package.json | 2 +- fixtures/tldraw/package.json | 2 +- fixtures/todo-sync/package.json | 2 +- package-lock.json | 14 +++++++------- packages/partyserver/CHANGELOG.md | 11 +++++++++++ packages/partyserver/package.json | 2 +- 10 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 .changeset/fix-initialization-race-conditions.md diff --git a/.changeset/fix-initialization-race-conditions.md b/.changeset/fix-initialization-race-conditions.md deleted file mode 100644 index ec5f42c..0000000 --- a/.changeset/fix-initialization-race-conditions.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"partyserver": patch ---- - -Fix initialization race conditions and improve error resilience. - -- `getServerByName` now propagates errors from the internal `set-name` request instead of silently swallowing them. -- `onStart` failures no longer permanently brick the Durable Object. Errors are caught inside `blockConcurrencyWhile` (preserving the input gate) and the status is reset, allowing subsequent requests to retry initialization. -- `fetch()` now retries initialization when a previous `onStart` attempt failed, instead of skipping it because the name was already set. -- Errors in `fetch()` (including `onStart` failures and malformed props) are now caught and returned as proper 500 responses instead of crashing as unhandled exceptions. -- WebSocket handlers (`webSocketMessage`, `webSocketClose`, `webSocketError`) are now wrapped in try/catch so that transient `onStart` failures don't kill the connection — the next message will retry. diff --git a/fixtures/chat/package.json b/fixtures/chat/package.json index 9b42282..dc89a4d 100644 --- a/fixtures/chat/package.json +++ b/fixtures/chat/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "nanoid": "^5.1.6", - "partyserver": "^0.1.4", + "partyserver": "^0.1.5", "partysocket": "^1.1.13", "react": "^19.2.3", "react-dom": "^19.2.3" diff --git a/fixtures/globe/package.json b/fixtures/globe/package.json index f7b0b46..97a4867 100644 --- a/fixtures/globe/package.json +++ b/fixtures/globe/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "cobe": "^0.6.5", - "partyserver": "^0.1.4", + "partyserver": "^0.1.5", "partysocket": "^1.1.13", "react": "^19.2.3", "react-dom": "^19.2.3" diff --git a/fixtures/hono/package.json b/fixtures/hono/package.json index eb6ca46..48c35c4 100644 --- a/fixtures/hono/package.json +++ b/fixtures/hono/package.json @@ -10,7 +10,7 @@ "dependencies": { "hono": "^4.11.1", "hono-party": "^1.0.0", - "partyserver": "^0.1.4", + "partyserver": "^0.1.5", "partysocket": "^1.1.13", "react": "^19.2.3", "react-dom": "^19.2.3" diff --git a/fixtures/tiptap-yjs/package.json b/fixtures/tiptap-yjs/package.json index 4268e56..34a75d8 100644 --- a/fixtures/tiptap-yjs/package.json +++ b/fixtures/tiptap-yjs/package.json @@ -11,7 +11,7 @@ "@tiptap/extension-collaboration": "^3.14.0", "@tiptap/react": "^3.14.0", "@tiptap/starter-kit": "^3.14.0", - "partyserver": "^0.1.4", + "partyserver": "^0.1.5", "react": "^19.2.3", "react-dom": "^19.2.3", "tailwindcss": "^4.1.18", diff --git a/fixtures/tldraw/package.json b/fixtures/tldraw/package.json index b185683..cc97b33 100644 --- a/fixtures/tldraw/package.json +++ b/fixtures/tldraw/package.json @@ -7,7 +7,7 @@ "start": "vite dev" }, "dependencies": { - "partyserver": "^0.1.4", + "partyserver": "^0.1.5", "partysocket": "^1.1.13", "react": "^19.2.3", "react-dom": "^19.2.3", diff --git a/fixtures/todo-sync/package.json b/fixtures/todo-sync/package.json index 42c3aa8..cedd6c5 100644 --- a/fixtures/todo-sync/package.json +++ b/fixtures/todo-sync/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "nanoid": "^5.1.6", - "partyserver": "^0.1.4", + "partyserver": "^0.1.5", "partysocket": "^1.1.13", "react": "^19.2.3", "react-dom": "^19.2.3", diff --git a/package-lock.json b/package-lock.json index 9594718..b2ded74 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ "version": "0.0.11", "dependencies": { "nanoid": "^5.1.6", - "partyserver": "^0.1.4", + "partyserver": "^0.1.5", "partysocket": "^1.1.13", "react": "^19.2.3", "react-dom": "^19.2.3" @@ -60,7 +60,7 @@ "version": "0.0.11", "dependencies": { "cobe": "^0.6.5", - "partyserver": "^0.1.4", + "partyserver": "^0.1.5", "partysocket": "^1.1.13", "react": "^19.2.3", "react-dom": "^19.2.3" @@ -77,7 +77,7 @@ "dependencies": { "hono": "^4.11.1", "hono-party": "^1.0.0", - "partyserver": "^0.1.4", + "partyserver": "^0.1.5", "partysocket": "^1.1.13", "react": "^19.2.3", "react-dom": "^19.2.3" @@ -148,7 +148,7 @@ "@tiptap/extension-collaboration": "^3.14.0", "@tiptap/react": "^3.14.0", "@tiptap/starter-kit": "^3.14.0", - "partyserver": "^0.1.4", + "partyserver": "^0.1.5", "react": "^19.2.3", "react-dom": "^19.2.3", "tailwindcss": "^4.1.18", @@ -163,7 +163,7 @@ "name": "@partyserver/fixture-tldraw", "version": "0.0.11", "dependencies": { - "partyserver": "^0.1.4", + "partyserver": "^0.1.5", "partysocket": "^1.1.13", "react": "^19.2.3", "react-dom": "^19.2.3", @@ -179,7 +179,7 @@ "version": "0.0.11", "dependencies": { "nanoid": "^5.1.6", - "partyserver": "^0.1.4", + "partyserver": "^0.1.5", "partysocket": "^1.1.13", "react": "^19.2.3", "react-dom": "^19.2.3", @@ -12268,7 +12268,7 @@ "license": "ISC" }, "packages/partyserver": { - "version": "0.1.4", + "version": "0.1.5", "license": "ISC", "dependencies": { "nanoid": "^5.1.6" diff --git a/packages/partyserver/CHANGELOG.md b/packages/partyserver/CHANGELOG.md index 524e5e2..bbed8db 100644 --- a/packages/partyserver/CHANGELOG.md +++ b/packages/partyserver/CHANGELOG.md @@ -1,5 +1,16 @@ # partyflare +## 0.1.5 + +### Patch Changes + +- [#323](https://github.com/cloudflare/partykit/pull/323) [`353da20`](https://github.com/cloudflare/partykit/commit/353da207f8d31ef406374159ee345292616ec1ca) Thanks [@threepointone](https://github.com/threepointone)! - Fix initialization race conditions and improve error resilience. + - `getServerByName` now propagates errors from the internal `set-name` request instead of silently swallowing them. + - `onStart` failures no longer permanently brick the Durable Object. Errors are caught inside `blockConcurrencyWhile` (preserving the input gate) and the status is reset, allowing subsequent requests to retry initialization. + - `fetch()` now retries initialization when a previous `onStart` attempt failed, instead of skipping it because the name was already set. + - Errors in `fetch()` (including `onStart` failures and malformed props) are now caught and returned as proper 500 responses instead of crashing as unhandled exceptions. + - WebSocket handlers (`webSocketMessage`, `webSocketClose`, `webSocketError`) are now wrapped in try/catch so that transient `onStart` failures don't kill the connection — the next message will retry. + ## 0.1.4 ### Patch Changes diff --git a/packages/partyserver/package.json b/packages/partyserver/package.json index c2bcb02..4ba5612 100644 --- a/packages/partyserver/package.json +++ b/packages/partyserver/package.json @@ -1,6 +1,6 @@ { "name": "partyserver", - "version": "0.1.4", + "version": "0.1.5", "repository": { "type": "git", "url": "git://github.com/cloudflare/partykit.git"