graphql-ws
6.4.1 · 15 Oct 2026MIT10.6M / weekRepositoryHomepagenpmAtom feed
6.4.1 is the newest release of 6.x.
In short
2 new1 fixed
Release note
Minor Changes
Add
onPingandonPongserver callbacks toServerOptions, similar toonConnectandonDisconnect. The callbacks receive the connectionContextas the first argument and the ping/pongpayloadas the second, allowing apps to log or react to subprotocol-level pings with access to connection state. The automatic pong reply is preserved when using the server-levelonPingcallback; the low-level websocketonPinglistener still disables the automatic reply for full manual control.
Patch Changes
Fix the client leaking memory per operation on long-living connections
Allow operation IDs that match properties inherited from
Object.prototype.