npm / @graphql-yoga/plugin-defer-stream
@graphql-yoga/plugin-defer-stream
What changed in @graphql-yoga/plugin-defer-stream 3 to 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-13.
9 breaking1 behavior and defaults1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@graphql-yoga/plugin-defer-stream 44 changes
Breaking changes 3
Plugins added with addPlugin are inserted in place, so their hooks execute immediately after the plugin that added them rather than last.
The migration instructions say to install the new NPM package graphql-yoga.
Node.js v16 is no longer supported.
Behavior and default changes 1
Yoga maps the GraphQL HTTP Accept header to the executor's incrementalSpec. v0.2 uses its payload format and is echoed on Content-Type; v0.1 remains the default for deferSpec=20220824 or bare multipart/mixed, and unsupported specs yield 406.
@graphql-yoga/plugin-defer-stream 37 changes
Breaking changes 6
This graphiql option is removed completely because it was not used.
This graphiql option is removed completely because it was not used.
Subscriptions now implement GraphQL over SSE “distinct connections mode” instead of Yoga’s previous custom SSE transport.
Install the new NPM package for Yoga.
Subscriptions no longer support multipart/mixed as a transport method; only text/event-stream is supported.
A single option now configures the parse and validation cache, replacing two separate envelop plugins.
Fixes and other changes 1
The notes recommend using graphql-sse on the client side for subscriptions.