graphql-yoga
6.1.0 · 12 Nov 2026MIT3.3M / weekRepositoryHomepagenpmAtom feed
5.24.6 is the newest release of 5.x.
In short
1 removed
- Removed
Remove the built-in
subscriptionsdriver option and itsgraphql-ws/subscriptions-transport-wswiring (previously implemented via@nestjs/graphql'sGqlSubscriptionService).
Release note
The section about graphql-yoga of a note shared by several packages.
graphql-yoga@5.24.2
Patch Changes
#4589
c08efde
Thanks @egoodwinx! - Remove the built-insubscriptionsdriver
option and itsgraphql-ws/subscriptions-transport-wswiring (previously implemented via@nestjs/graphql'sGqlSubscriptionService).Fix open handle leak in multipart tests.
@nestjs/graphqlv14 (required for NestJS 12 support) dropped server-side support forsubscriptions-transport-ws, and the driver-levelgraphql-wsintegration held a socket open
after shutdown. Rather than keep a partial, driver-managed subscriptions setup,YogaDriverandYogaFederationDriverno longer accept asubscriptionsoption. Wire up subscriptions yourself
using GraphQL Yoga's own subscription support (e.g. thegraphql-wspackage, or@graphql-yoga/plugin-graphql-sse) the same way you would for a standalonegraphql-yogaserver.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.