Packages

@graphql-yoga/nestjs

5.1.0 · 12 Nov 2026MIT67.5k / weekRepositoryHomepagenpmAtom feed

Your version

4.0.0

major5 Oct 2026Where it was published

4.0.4 is the newest release of 4.x.

In short

1 breaking4 internal

  • Breaking

    Remove the built-in subscriptions driver option and its graphql-ws / subscriptions-transport-ws wiring (previously implemented via @nestjs/graphql's GqlSubscriptionService).

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-in subscriptions driver
    option and its graphql-ws / subscriptions-transport-ws wiring (previously implemented via
    @nestjs/graphql's GqlSubscriptionService).

    Fix open handle leak in multipart tests.

    @nestjs/graphql v14 (required for NestJS 12 support) dropped server-side support for
    subscriptions-transport-ws, and the driver-level graphql-ws integration held a socket open
    after shutdown. Rather than keep a partial, driver-managed subscriptions setup, YogaDriver and
    YogaFederationDriver no longer accept a subscriptions option. Wire up subscriptions yourself
    using GraphQL Yoga's own subscription support (e.g. the graphql-ws package, or
    @graphql-yoga/plugin-graphql-sse) the same way you would for a standalone graphql-yoga server.

Patch Changes

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.