graphql-ws
6.4.1 · 15 Oct 2026MIT10.6M / weekRepositoryHomepagenpmAtom feed
Upgrading graphql-ws from 6.3.0 to 6.4.1
2 releases in betweenevery note read
Release by release
- fixed
Use the
jsonMessageReplacerwhen automatically responding to a ping with a pong, on both the client and the server
- fixed
- new
Add an
isProdoption to thews,uWebSockets.jsand@fastify/websocketuse-server helpers, matching the existingcrosswsoption. It controls whether internal error messages are masked withInternal server errorbefore reaching the client, defaulting to theNODE_ENV === 'production'check as before. This lets apps running in production keep reportingonConnecterror messages to the client by opting out, or mask eagerly in non-production environments. - fixed
Fix the client closing an in-use socket when many subscriptions complete at once and a new one subscribes within the
lazyCloseTimeout - fixed
Avoid an unhandled rejection when a subscription is disposed before the connection is acknowledged and the socket closes before the subscription releases its connection lock (for example, when the client is disposed while connecting and the WebSocket implementation delivers the close event on a microtask).
- new