cloudflare/partykit y-partyserver@2.1.4
cloudflare/partykit
Captured source
source ↗published Mar 28, 2026seen Jun 26captured 4whttp 200method plain
y-partyserver@2.1.4
Repository: cloudflare/partykit
Tag: y-partyserver@2.1.4
Published: 2026-03-28T16:22:25Z
Prerelease: no
Release notes:
Patch Changes
- #368 `c0da6f4` Thanks @threepointone! - Fix params() not being re-evaluated on WebSocket reconnect
When params was passed as a function to YProvider, it was only evaluated on the initial connection. On automatic reconnects (e.g. after a network drop), the params function was not called again, causing dynamic values like auth tokens to go stale.
The reconnection path now goes through an overridable _reconnectWS() method that YProvider uses to re-resolve params before re-establishing the WebSocket.