Skip to content

Version Packages#342

Merged
threepointone merged 1 commit intomainfrom
changeset-release/main
Feb 24, 2026
Merged

Version Packages#342
threepointone merged 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 24, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

y-partyserver@2.1.0

Minor Changes

  • #341 e7f4b51 Thanks @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
    • On onStart, send sync step 1 to all existing connections so clients re-sync the server's document after hibernation wake-up
    • Simplify send() — no longer forcibly closes connections on failure
    • Remove closeConn() helper; awareness cleanup now happens in onClose via persisted connection state
    • Widen onLoad() return type to Promise<YDoc | void> 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)
    • Clear stale awareness meta for remote clients on WebSocket close so reconnecting clients' awareness updates are accepted
    • Bump awareness clock on reconnect to ensure remote peers accept the update
    • Fix bug where host.slice(0, -1) result was not assigned, so trailing slashes were never stripped

Patch Changes

hono-party@2.0.2

Patch Changes

partyserver@0.3.1

Patch Changes

partysocket@1.1.16

Patch Changes

partysub@2.0.1

Patch Changes

partysync@2.0.1

Patch Changes

partywhen@0.1.2

Patch Changes

@github-actions github-actions bot force-pushed the changeset-release/main branch from d20fff6 to 793f6ef Compare February 24, 2026 11:35
@github-actions github-actions bot force-pushed the changeset-release/main branch from 793f6ef to ea7f44c Compare February 24, 2026 12:01
@threepointone threepointone merged commit ff4bd90 into main Feb 24, 2026
3 checks passed
@threepointone threepointone deleted the changeset-release/main branch February 24, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant