graphql-yoga breaking changes
graphql-yoga 6.0.0 (October 22, 2026) is its newest release with breaking changes, 26 of them. The first: Drops support for GraphQL 14 and 15 in graphql-yoga 6.0.0. Every breaking API change we have recorded in graphql-yoga on npm: 54 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.1.1. Source repository
Its 5.0.0 release drops Node.js 16. Node.js end of life dates.
- From 5.0.0 to 6.0.0: 26 breaking changes in 1 version.
- From 4.0.0 to 6.0.0: 29 breaking changes in 2 versions.
graphql-yoga 6.0.0 breaking changes
- Removed
Upgrade to GraphQL 16 or 17 before upgrading this package. github.com - Removed
Upgrade to Node 22 or later before upgrading this package. github.com - Removed
@graphql-yoga.logger
The package is gone. Import Logger from @graphql-hive/logger, or from graphql-yoga, instead. github.com - Removed
createGraphQLError
createGraphQLError was removed in graphql-yoga 6.0.0 npmjs.com - Removed
createLogger
Create loggers with new Logger(options) instead of createLogger. github.com - Removed
DisposableSymbols
DisposableSymbols was removed in graphql-yoga 6.0.0 npmjs.com - Removed
GraphiQLPluginConfig.logger
GraphiQLPluginConfig.logger was removed in graphql-yoga 6.0.0 npmjs.com - Removed
isPromise
isPromise was removed in graphql-yoga 6.0.0 npmjs.com - Removed
mapAsyncIterator
mapAsyncIterator was removed in graphql-yoga 6.0.0 npmjs.com - Removed
mapMaybePromise
mapMaybePromise was removed in graphql-yoga 6.0.0 npmjs.com - Removed
mergeSchemas
mergeSchemas was removed in graphql-yoga 6.0.0 npmjs.com - Removed
useGraphiQL.logger
The option is gone; the plugin now logs through the request's logger. github.com - Removed
useHealthCheck.logger
The option is gone; the plugin now logs through the request's logger. github.com - Removed
YogaLogger
Use the Logger type from @graphql-hive/logger instead. github.com - Removed
YogaServer.logger
YogaServer.logger was removed in graphql-yoga 6.0.0 npmjs.com - Renamed
yoga.logger
Use yoga.log wherever yoga.logger was used. github.com - Behavior changed
yoga.fetch
Await yoga.fetch() and response body parsing instead of relying on synchronous results. github.com - Default changed
maxRequestBodySize
Set maxRequestBodySize: false to disable the limit, but only if a request body limit is enforced elsewhere. github.com - Configuration changed
Install @graphql-hive/logger as a peer dependency for the listed @envelop plugins. github.com - Signature changed
MaskError
Was type MaskError = (error: unknown, message: string, isDev?: boolean) => Error; now type MaskError = (error: unknown, message: string, isDev?: boolean, context?: Partial<YogaInitialContext> & YogaConfigContext) => Error. npmjs.com - Signature changed
Plugin
Was type Plugin<PluginContext extends Record<string, any> = {}, TServerContext extends Record<string, any> = {}, TUserContext = {}> = EnvelopPlugin<YogaInitialContext & PluginContext> & ServerAdapterPlugin<TServerContext> & {onExecute?... npmjs.com - Signature changed
YogaInitialContext
Was interface YogaInitialContext extends ServerAdapterInitialContext; now interface YogaInitialContext extends ServerAdapterInitialContext, YogaConfigContext. npmjs.com - Signature changed
YogaServer.getResultForParams
Was getResultForParams: ({params, request}: {params: GraphQLParams; request: Request;}, context: TServerContext) => PromiseOrValue<ExecutionResult | AsyncIterable<ExecutionResult> | undefined>; now getResultForParams: ({params, request}... npmjs.com - Signature changed
YogaServer.parseRequest
Was parseRequest: (request: Request, serverContext: TServerContext & ServerAdapterInitialContext) => MaybePromise<{requestParserResult: GraphQLParams<Record<string, any>, Record<string, any>> | GraphQLParams<Record<string, any>... npmjs.com - Signature changed
YogaServerOptions
Was type YogaServerOptions<TServerContext, TUserContext> = Omit<ServerAdapterOptions<TServerContext>, 'plugins'> & {logging?: boolean | YogaLogger | LogLevel | undefined; maskedErrors?: boolean | Partial<YogaMaskedErrorOpts> | undefined... npmjs.com - Signature changed
YogaServerOptions.logging
The logging option now takes boolean, a Logger from @graphql-hive/logger, or a LogLevel. Replace createLogger results with new Logger. npmjs.com
graphql-yoga 5.0.0 breaking changes
- Removed
Node.js 16 is no longer supported; upgrade Node.js before using this release. github.com - Behavior changed
The same context object is now shared through the whole pipeline; code relying on separate context objects may behave differently. github.com - Signature changed
YogaServer.getResultForParams
Was getResultForParams({params, request}: {params: GraphQLParams; request: Request;}, ...args: {} extends TServerContext ? [serverContext?: TServerContext | undefined] : [serverContext: TServerContext])... npmjs.com
graphql-yoga 4.0.0 breaking changes
- Removed
The package now requires Node.js 16 or later; upgrade Node.js before installing this version. github.com - Removed
GraphiQLOptions.defaultVariableEditorOpen
This graphiql option was removed because it was unused; delete it from your configuration. npmjs.com - Removed
GraphiQLOptions.headerEditorEnabled
This graphiql option was removed because it was unused; delete it from your configuration. npmjs.com - Removed
YogaServerOptions.legacySse
YogaServerOptions.legacySse was removed in graphql-yoga 4.0.0 npmjs.com - Removed
YogaServerOptions.parserCache
YogaServerOptions.parserCache was removed in graphql-yoga 4.0.0 npmjs.com - Removed
YogaServerOptions.validationCache
YogaServerOptions.validationCache was removed in graphql-yoga 4.0.0 npmjs.com - Behavior changed
event payload
Events with no payload now always have null as the payload rather than undefined; adjust code that checks for undefined. github.com - Configuration changed
parserAndValidationCache
The parse and validation cache options are now under a single parserAndValidationCache option; update your configuration. github.com - Signature changed
GraphiQLOptions
Was type GraphiQLOptions = {defaultQuery?: string; defaultVariableEditorOpen?: boolean; headers?: string; credentials?: RequestCredentials; headerEditorEnabled?: boolean; title?: string; subscriptionsProtocol?: 'SSE' | 'GRAPHQL_SSE' | 'WS'... npmjs.com - Signature changed
YogaServerOptions
Was type YogaServerOptions<TServerContext, TUserContext> = {logging?: boolean | YogaLogger | LogLevel; maskedErrors?: boolean | Partial<YogaMaskedErrorOpts>; context?: ((initialContext: YogaInitialContext & TServerContext) =>... npmjs.com
And 15 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.