Packages

graphql-ws

6.4.1 · 15 Oct 2026MIT10.6M / weekRepositoryHomepagenpmAtom feed

Your version

6.3.0

24 Sep 2026Where it was published

6.4.1 is the newest release of 6.x.

In short

2 new1 fixed

Release note

Minor Changes

  • Add onPing and onPong server callbacks to ServerOptions, similar to onConnect and onDisconnect. The callbacks receive the connection Context as the first argument and the ping/pong payload as 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-level onPing callback; the low-level websocket onPing listener 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.