Packages

graphql-ws

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

Your version

6.2.2

16 Sep 2026Where it was published

6.4.1 is the newest release of 6.x.

In short

1 new1 fixed

Release note

Patch Changes

  • Support crossws 0.4 by selecting the GraphQL WebSocket subprotocol during the upgrade handshake. Preserve automatic protocol negotiation in the legacy crossws 0.3 Node and uWebSockets adapters.

  • Fix the CrossWS adapter ignoring socket closes issued from server.opened

    makeHooks only registered the peer in the clients map after server.opened returned, while send/close no-op'd unless the peer was already in that map. A protocol-mismatch close (and any other close from inside opened) was therefore dropped, the WebSocket stayed open, and no ConnectionAck was ever sent because the message handler was never installed.