From d31cf641deffdbe30d3a0c357a47d6d0f1bb7359 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 25 Feb 2026 00:39:52 +0000 Subject: [PATCH] Version Packages --- .changeset/y-partyserver-with-yjs-mixin.md | 5 ----- fixtures/tiptap-yjs/package.json | 2 +- package-lock.json | 4 ++-- packages/y-partyserver/CHANGELOG.md | 10 ++++++++++ packages/y-partyserver/package.json | 2 +- 5 files changed, 14 insertions(+), 9 deletions(-) delete mode 100644 .changeset/y-partyserver-with-yjs-mixin.md diff --git a/.changeset/y-partyserver-with-yjs-mixin.md b/.changeset/y-partyserver-with-yjs-mixin.md deleted file mode 100644 index ea5199ff..00000000 --- a/.changeset/y-partyserver-with-yjs-mixin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"y-partyserver": patch ---- - -Extract Yjs functionality into a `withYjs` mixin that can be applied to any Server subclass. `YServer` is now `withYjs(Server)`. diff --git a/fixtures/tiptap-yjs/package.json b/fixtures/tiptap-yjs/package.json index 5665f4c7..c35d796d 100644 --- a/fixtures/tiptap-yjs/package.json +++ b/fixtures/tiptap-yjs/package.json @@ -15,7 +15,7 @@ "react": "^19.2.4", "react-dom": "^19.2.4", "tailwindcss": "^4.2.1", - "y-partyserver": "^2.1.0" + "y-partyserver": "^2.1.1" }, "devDependencies": { "@types/react": "^19.2.14", diff --git a/package-lock.json b/package-lock.json index 807748cf..2b9f4686 100644 --- a/package-lock.json +++ b/package-lock.json @@ -187,7 +187,7 @@ "react": "^19.2.4", "react-dom": "^19.2.4", "tailwindcss": "^4.2.1", - "y-partyserver": "^2.1.0" + "y-partyserver": "^2.1.1" }, "devDependencies": { "@types/react": "^19.2.14", @@ -12688,7 +12688,7 @@ } }, "packages/y-partyserver": { - "version": "2.1.0", + "version": "2.1.1", "license": "ISC", "dependencies": { "lib0": "^0.2.117", diff --git a/packages/y-partyserver/CHANGELOG.md b/packages/y-partyserver/CHANGELOG.md index 50979dd7..25356c40 100644 --- a/packages/y-partyserver/CHANGELOG.md +++ b/packages/y-partyserver/CHANGELOG.md @@ -1,5 +1,11 @@ # y-partyserver +## 2.1.1 + +### Patch Changes + +- [#348](https://github.com/cloudflare/partykit/pull/348) [`37ca0cd`](https://github.com/cloudflare/partykit/commit/37ca0cde8c8e6e43cf2dea6e2dab4b39c0532bec) Thanks [@threepointone](https://github.com/threepointone)! - Extract Yjs functionality into a `withYjs` mixin that can be applied to any Server subclass. `YServer` is now `withYjs(Server)`. + ## 2.1.0 ### Minor Changes @@ -7,6 +13,7 @@ - [#341](https://github.com/cloudflare/partykit/pull/341) [`e7f4b51`](https://github.com/cloudflare/partykit/commit/e7f4b51198904273befb1d39478840c628f6e2b1) Thanks [@threepointone](https://github.com/threepointone)! - Fix Yjs hibernation support and awareness propagation **Server:** + - Replace in-memory `WSSharedDoc.conns` Map with `connection.setState()` and `getConnections()` so connection tracking survives Durable Object hibernation - Move event handler registration from `WSSharedDoc` constructor into `onStart()` to use `getConnections()` for broadcasting - Disable awareness protocol's built-in `_checkInterval` in `WSSharedDoc` constructor to prevent timers from defeating hibernation @@ -16,6 +23,7 @@ - Widen `onLoad()` return type to `Promise` to allow seeding the document from a returned YDoc **Provider:** + - Switch awareness event listener from `"update"` to `"change"` so clock-only heartbeat renewals do not produce network traffic (allows DO hibernation during idle sessions) - Disable awareness protocol's built-in `_checkInterval` on the client to stop 15-second clock renewals and 30-second peer timeout removal - Remove provider's own `_checkInterval` liveness timer (was coupled to the awareness heartbeat) @@ -350,12 +358,14 @@ ### Patch Changes - [`528adea`](https://github.com/threepointone/partyserver/commit/528adeaced6dce6e888d2f54cc75c3569bf2c277) Thanks [@threepointone](https://github.com/threepointone)! - some fixes and tweaks + - getServerByName was throwing on all requests - `Env` is now an optional arg when defining `Server` - `y-partyserver/provider` can now take an optional `prefix` arg to use a custom url to connect - `routePartyKitRequest`/`getServerByName` now accepts `jurisdiction` bonus: + - added a bunch of fixtures - added stubs for docs diff --git a/packages/y-partyserver/package.json b/packages/y-partyserver/package.json index 00b92ec5..1e7cd132 100644 --- a/packages/y-partyserver/package.json +++ b/packages/y-partyserver/package.json @@ -1,6 +1,6 @@ { "name": "y-partyserver", - "version": "2.1.0", + "version": "2.1.1", "description": "", "keywords": [ "collaboration",