Skip to content

Commit fbb8e7c

Browse files
github-actions[bot]threepointone
authored andcommitted
Version Packages
1 parent ca6f28f commit fbb8e7c

5 files changed

Lines changed: 14 additions & 9 deletions

File tree

.changeset/y-partyserver-with-yjs-mixin.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

fixtures/tiptap-yjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"react": "^19.2.4",
1616
"react-dom": "^19.2.4",
1717
"tailwindcss": "^4.2.1",
18-
"y-partyserver": "^2.1.0"
18+
"y-partyserver": "^2.1.1"
1919
},
2020
"devDependencies": {
2121
"@types/react": "^19.2.14",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/y-partyserver/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
# y-partyserver
22

3+
## 2.1.1
4+
5+
### Patch Changes
6+
7+
- [#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)`.
8+
39
## 2.1.0
410

511
### Minor Changes
612

713
- [#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
814

915
**Server:**
16+
1017
- Replace in-memory `WSSharedDoc.conns` Map with `connection.setState()` and `getConnections()` so connection tracking survives Durable Object hibernation
1118
- Move event handler registration from `WSSharedDoc` constructor into `onStart()` to use `getConnections()` for broadcasting
1219
- Disable awareness protocol's built-in `_checkInterval` in `WSSharedDoc` constructor to prevent timers from defeating hibernation
@@ -16,6 +23,7 @@
1623
- Widen `onLoad()` return type to `Promise<YDoc | void>` to allow seeding the document from a returned YDoc
1724

1825
**Provider:**
26+
1927
- Switch awareness event listener from `"update"` to `"change"` so clock-only heartbeat renewals do not produce network traffic (allows DO hibernation during idle sessions)
2028
- Disable awareness protocol's built-in `_checkInterval` on the client to stop 15-second clock renewals and 30-second peer timeout removal
2129
- Remove provider's own `_checkInterval` liveness timer (was coupled to the awareness heartbeat)
@@ -350,12 +358,14 @@
350358
### Patch Changes
351359

352360
- [`528adea`](https://github.com/threepointone/partyserver/commit/528adeaced6dce6e888d2f54cc75c3569bf2c277) Thanks [@threepointone](https://github.com/threepointone)! - some fixes and tweaks
361+
353362
- getServerByName was throwing on all requests
354363
- `Env` is now an optional arg when defining `Server`
355364
- `y-partyserver/provider` can now take an optional `prefix` arg to use a custom url to connect
356365
- `routePartyKitRequest`/`getServerByName` now accepts `jurisdiction`
357366

358367
bonus:
368+
359369
- added a bunch of fixtures
360370
- added stubs for docs
361371

packages/y-partyserver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "y-partyserver",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "",
55
"keywords": [
66
"collaboration",

0 commit comments

Comments
 (0)