graphql-ws
6.4.1 · 15 Oct 2026MIT10.6M / weekRepositoryHomepagenpmAtom feed
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.openedmakeHooksonly registered the peer in the clients map afterserver.openedreturned, whilesend/closeno-op'd unless the peer was already in that map. A protocol-mismatch close (and any other close from insideopened) was therefore dropped, the WebSocket stayed open, and noConnectionAckwas ever sent because the message handler was never installed.