Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/fix-initialization-race-conditions.md

This file was deleted.

2 changes: 1 addition & 1 deletion fixtures/chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/globe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/hono/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/tiptap-yjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion fixtures/tldraw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion fixtures/todo-sync/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions packages/partyserver/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/partyserver/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "partyserver",
"version": "0.1.4",
"version": "0.1.5",
"repository": {
"type": "git",
"url": "git://github.com/cloudflare/partykit.git"
Expand Down