---
title: "github.com/graphqlswift/graphql 4.0.0 Breaking Changes"
description: "What each github.com/graphqlswift/graphql release removed, renamed or changed: 31 breaking changes in 3 versions on Swift Package Index, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/graphqlswift/graphql
last_updated: 2026-12-04
---

# 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

Latest version `4.4.0`, released November 15, 2026. [Source repository](https://github.com/GraphQLSwift/GraphQL)

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 18 breaking changes in 1 version.
- From [2.0.0](#v-2-0-0) to [4.0.0](#v-4-0-0): 29 breaking changes in 2 versions.

## github.com/graphqlswift/graphql 4.0.0 breaking changes

github.com/graphqlswift/graphql 4.0.0, released August 11, 2025: 18 breaking changes.

- **Removed** `EventLoopFuture`  

Resolvers that returned EventLoopFuture must become async functions. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/main/MIGRATION.md)
- **Removed** `EventLoopGroup`  

Remove the eventLoopGroup arguments from execute, subscribe and resolver calls. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/main/MIGRATION.md)
- **Removed** `EventStream`  

The stream returned by graphqlSubscribe is now an AsyncThrowingStream, so code relying on EventStream must change. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/main/MIGRATION.md)
- **Removed** `instrumentation`  

Remove instrumentation arguments from graphql and graphqlSubscribe calls. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/main/MIGRATION.md)
- **Removed** `Instrumentation`  

Tracing is expected to come through swift-distributed-tracing; remove Instrumentation usage. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/main/MIGRATION.md)
- **Removed** `mutationStrategy`  

Mutations now run serially as the spec requires; remove the argument from calls. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/main/MIGRATION.md)
- **Removed** `Node.set`  

Change calls like node.set(value: node, key: string) to node.set(.node(node), string). [github.com](https://github.com/GraphQLSwift/GraphQL/blob/main/MIGRATION.md)
- **Removed** `queryStrategy`  

Queries and subscriptions now run in parallel; remove the argument from calls. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/main/MIGRATION.md)
- **Removed** `SubscriptionResult`  

graphqlSubscribe now returns a Result wrapping an AsyncThrowingStream instead. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/main/MIGRATION.md)
- **Removed** `subscriptionStrategy`  

Queries and subscriptions now run in parallel; remove the argument from calls. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/main/MIGRATION.md)
- **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](https://github.com/GraphQLSwift/GraphQL/releases/tag/4.0.0)
- **Behavior changed**  

Types used across async boundaries must conform to Sendable, which can cause new compile errors. [github.com](https://github.com/GraphQLSwift/GraphQL/commit/bc807e3bff1edceaa4bbb9b8ad2d6c6cc42aee69)
- **Behavior changed**  

Execution validates the schema, so invalid schemas that previously ran may now be rejected. [github.com](https://github.com/GraphQLSwift/GraphQL/commit/dfa0a607ce30a308e2111c6426f88cc9543f288b)
- **Default changed**  

Validation now applies the specified rules by default, which can change which requests are rejected. [github.com](https://github.com/GraphQLSwift/GraphQL/commit/4f01de22fbb0aae988d4c2a2e3fa10c41721aeab)
- **Signature changed**  

Resolver closures must drop the eventLoopGroup argument and async-convert any that returned EventLoopFuture. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/main/MIGRATION.md)
- **Signature changed** `graphql`  

Remove the eventLoopGroup argument and use await with graphql calls. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/main/MIGRATION.md)
- **Signature changed** `graphqlSubscribe`  

Remove the eventLoopGroup argument and use await with graphqlSubscribe calls. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/main/MIGRATION.md)
- **Signature changed** `validationRules`  

Positional calls that pass validationRules first must be reordered to put it last. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/main/MIGRATION.md)

## github.com/graphqlswift/graphql 3.0.0 breaking changes

github.com/graphqlswift/graphql 3.0.0, released October 28, 2024: 11 breaking changes.

- **Removed** `GraphQLTypeReference`  

GraphQLTypeReference was deleted; reference the type instance directly instead. [github.com](https://github.com/GraphQLSwift/GraphQL/commit/42591cb0a34a98e6f9b81f49acd25122df78f024)
- **Behavior changed**  

Many type definitions are no longer codable; conform them in your own package if you depend on codability. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/5e098b3b1789169dded5116c171f716d584225ea/MIGRATION.md)
- **Behavior changed** `GraphQLDirective`  

GraphQLDirective changed from a struct to a class and its description is now optional. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/5e098b3b1789169dded5116c171f716d584225ea/MIGRATION.md)
- **Behavior changed** `GraphQLDirective.description`  

The directive description is now nullable, so code expecting a non-optional value must handle nil. [github.com](https://github.com/GraphQLSwift/GraphQL/commit/31585581fb5d74a3467ef29e18a8217f58cb4d55)
- **Signature changed** `GraphQLInputObjectType.fields`  

Use getFields() to get the array version of the fields. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/5e098b3b1789169dded5116c171f716d584225ea/MIGRATION.md)
- **Signature changed** `GraphQLInterfaceType.fields`  

Use getFields() to get the array version of the fields. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/5e098b3b1789169dded5116c171f716d584225ea/MIGRATION.md)
- **Signature changed** `GraphQLInterfaceType.interfaces`  

Interfaces are now a closure; use the get-style function for the array version. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/5e098b3b1789169dded5116c171f716d584225ea/MIGRATION.md)
- **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](https://github.com/GraphQLSwift/GraphQL/commit/0168729e633b0c1e502a426db9cd59ed4e1a84a3)
- **Signature changed** `GraphQLObjectType.interfaces`  

Interfaces are now a closure; use the get-style function for the array version. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/5e098b3b1789169dded5116c171f716d584225ea/MIGRATION.md)
- **Signature changed** `GraphQLUnionType.types`  

Use the get-style function to get the array version of the types. [github.com](https://github.com/GraphQLSwift/GraphQL/blob/5e098b3b1789169dded5116c171f716d584225ea/MIGRATION.md)

And 1 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## github.com/graphqlswift/graphql 2.0.0 breaking changes

github.com/graphqlswift/graphql 2.0.0: 2 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](https://github.com/GraphQLSwift/GraphQL/releases/tag/2.0.0)
- **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](https://github.com/GraphQLSwift/GraphQL/releases/tag/2.0.0)

## Related packages

- [github.com/graphqlswift/graphiti](https://since.dev/packages/swift/github.com/graphqlswift/graphiti.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
