@graphql-yoga/nestjs
5.1.0 · 12 Nov 2026MIT67.5k / weekRepositoryHomepagenpmAtom feed
4.0.4 is the newest release of 4.x.
In short
1 breaking4 internal
- Breaking
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/nestjs of a note shared by several packages.
@graphql-yoga/nestjs@4.0.0
Major Changes
- Breaking
#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.
Patch Changes
#4589
c08efde
Thanks @egoodwinx! - dependencies updates:Updated dependency
@nestjs/common@^12.0.0↗︎ (from^11.0.0, inpeerDependencies)Updated dependency
@nestjs/core@^12.0.0↗︎ (from^11.0.0, inpeerDependencies)Updated dependency
@nestjs/graphql@^14.0.1↗︎ (from^13.0.0, inpeerDependencies)
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.