github.com/graphqlswift/graphql breaking changes
github.com/graphqlswift/graphql 4.0.0 (August 11, 2025) is its newest release with breaking changes, 18 of them. The first: Removed EventLoopFuture. Every breaking API change we have recorded in github.com/graphqlswift/graphql on Swift Package Index: 31 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 4.4.0, released November 15, 2026. Source repository
- From 3.0.0 to 4.0.0: 18 breaking changes in 1 version.
- From 2.0.0 to 4.0.0: 29 breaking changes in 2 versions.
github.com/graphqlswift/graphql 4.0.0 breaking changes
- Removed
EventLoopFuture
Resolvers that returned EventLoopFuture must become async functions. github.com - Removed
EventLoopGroup
Remove the eventLoopGroup arguments from execute, subscribe and resolver calls. github.com - Removed
EventStream
The stream returned by graphqlSubscribe is now an AsyncThrowingStream, so code relying on EventStream must change. github.com - Removed
instrumentation
Remove instrumentation arguments from graphql and graphqlSubscribe calls. github.com - Removed
Instrumentation
Tracing is expected to come through swift-distributed-tracing; remove Instrumentation usage. github.com - Removed
mutationStrategy
Mutations now run serially as the spec requires; remove the argument from calls. github.com - Removed
Node.set
Change calls like node.set(value: node, key: string) to node.set(.node(node), string). github.com - Removed
queryStrategy
Queries and subscriptions now run in parallel; remove the argument from calls. github.com - Removed
SubscriptionResult
graphqlSubscribe now returns a Result wrapping an AsyncThrowingStream instead. github.com - Removed
subscriptionStrategy
Queries and subscriptions now run in parallel; remove the argument from calls. github.com - Behavior changed
The package moved to Swift Concurrency and dropped NIO, so code using its NIO-based APIs must be migrated to async APIs. github.com - Behavior changed
Types used across async boundaries must conform to Sendable, which can cause new compile errors. github.com - Behavior changed
Execution validates the schema, so invalid schemas that previously ran may now be rejected. github.com - Default changed
Validation now applies the specified rules by default, which can change which requests are rejected. github.com - Signature changed
Resolver closures must drop the eventLoopGroup argument and async-convert any that returned EventLoopFuture. github.com - Signature changed
graphql
Remove the eventLoopGroup argument and use await with graphql calls. github.com - Signature changed
graphqlSubscribe
Remove the eventLoopGroup argument and use await with graphqlSubscribe calls. github.com - Signature changed
validationRules
Positional calls that pass validationRules first must be reordered to put it last. github.com
github.com/graphqlswift/graphql 3.0.0 breaking changes
- Removed
GraphQLTypeReference
GraphQLTypeReference was deleted; reference the type instance directly instead. github.com - Behavior changed
Many type definitions are no longer codable; conform them in your own package if you depend on codability. github.com - Behavior changed
GraphQLDirective
GraphQLDirective changed from a struct to a class and its description is now optional. github.com - Behavior changed
GraphQLDirective.description
The directive description is now nullable, so code expecting a non-optional value must handle nil. github.com - Signature changed
GraphQLInputObjectType.fields
Use getFields() to get the array version of the fields. github.com - Signature changed
GraphQLInterfaceType.fields
Use getFields() to get the array version of the fields. github.com - Signature changed
GraphQLInterfaceType.interfaces
Interfaces are now a closure; use the get-style function for the array version. github.com - Signature changed
GraphQLObjectType.fields
Fields are now stored as closures rather than arrays; use the get-style function to get the array version. Affected GraphQL types are no longer Codable. github.com - Signature changed
GraphQLObjectType.interfaces
Interfaces are now a closure; use the get-style function for the array version. github.com - Signature changed
GraphQLUnionType.types
Use the get-style function to get the array version of the types. github.com
And 1 more in this version. Sign up to see every change
github.com/graphqlswift/graphql 2.0.0 breaking changes
- Signature changed
executeFields
The return type of the public executeFields method changed to OrderedDictionary, so code expecting a Dictionary must be updated. github.com - Signature changed
Map
The public Map enum now holds an OrderedDictionary rather than a Dictionary, so code using its dictionary payload must be updated. github.com
Related packages
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.