github.com/apollographql/apollo-ios breaking changes
Updated December 4, 2026
On this page
Latest version 2.6.0, released December 1, 2026. Source repository
- From 0.51.0 to 2.0.0: 53 breaking changes in 8 versions.
- From 0.6.0 to 2.0.0: 142 breaking changes in 47 versions.
github.com/apollographql/apollo-ios 2.0.0 breaking changes
- Removed
Apollo iOS 2.0 requires iOS 15.0+, macOS 12.0+, tvOS 15.0+, watchOS 8.0+ and visionOS 1.0+. Apps targeting older versions must raise their deployment target or stay on 1.x. apollographql.com - Removed
CocoaPods is no longer supported, and code generation for CocoaPods modules is removed. Use Swift Package Manager or XCFrameworks instead. apollographql.com - Removed
Web sockets are not supported in 2.0 and will return in a later release. Apps that need web sockets should stay on 1.x until then. apollographql.com - Removed
ApolloErrorInterceptor
Errors are intercepted by GraphQLInterceptors using mapErrors on the InterceptorResultStream. apollographql.com - Removed
ApolloInterceptor
Custom interceptors must be refactored to GraphQLInterceptor, HTTPInterceptor, CacheInterceptor or ResponseParsingInterceptor. apollographql.com - Removed
GraphQLResponse
The old GraphQLResponse used for manual parsing is removed. Use JSONResponseParser instead. apollographql.com - Removed
NetworkFetchInterceptor
Network fetching is handled by ApolloURLSession, so NetworkFetchInterceptor is no longer used. apollographql.com - Removed
OutputOptions.cocoapodsCompatibleImportStatements
This codegen option is removed, so configurations that set it must delete it. apollographql.com - Removed
RequestChain.retry
Interceptors no longer access the RequestChain. To retry, throw a RequestChain.Retry error. apollographql.com - Removed
RequestContext
Dependency injection moves to Swift @TaskLocal values, so RequestContext usage must be replaced. github.com - Removed
SchemaTypesFileOutput.ModuleType.swiftPackageManager
Use .swiftPackage(apolloSDKDependency: .default) instead. apollographql.com - Removed
URLSessionClient
The legacy network session is replaced by the ApolloURLSession protocol, so custom session code must change. github.com - Renamed
GraphQLResult
The type is renamed and has new generic typing over operations, so references to GraphQLResult must be updated. github.com - Renamed
OutputOptions.apqs
The legacy APQConfig is replaced by operationDocumentFormat. Use OperationDocumentFormat.operationId instead of APQConfig.persistedOperationsOnly. apollographql.com - Renamed
URLSessionClient
URLSession conforms to ApolloURLSession, so you can pass your own URLSession to RequestChainNetworkTransport. apollographql.com - Behavior changed
Internal and unsafe APIs now require importing the relevant SPI, such as @_spi(Execution) or @_spi(Internal). apollographql.com - Behavior changed
ApolloStore
Cache reads on ApolloStore and in ReadTransactions return Optional results. Update cache transaction code to handle nil. apollographql.com - Behavior changed
CustomScalarType
Custom scalar files must import @_spi(Execution) and @_spi(Internal) from ApolloAPI. Existing files are not regenerated. apollographql.com - Behavior changed
DefaultInterceptorProvider
Subclassing DefaultInterceptorProvider is no longer possible. Access it inside your own InterceptorProvider instead. apollographql.com - Behavior changed
OutputOptions.markOperationDefinitionsAsFinal
Generated operation and local cache mutation classes are final in 2.0, so subclassing them is no longer allowed. apollographql.com - Configuration changed
Minimum deployment targets rise to iOS 15, macOS 12, tvOS 15 and watchOS 8, so older OS versions are no longer supported. github.com - Signature changed
Input values for GraphQL Int arguments and input object fields are Int32 now. Convert values before passing them. Response fields still use Int. apollographql.com
github.com/apollographql/apollo-ios 2.0.0-beta-1 breaking changes
- Removed
Apollo iOS 2.0 no longer supports CocoaPods, so projects must install it another way. github.com - Default changed
Generated model integers stay Int, while only input variables use Int32, so code relying on Int32 model fields must change. github.com
github.com/apollographql/apollo-ios 2.0.0-alpha-1 breaking changes
- Removed
ApolloErrorInterceptor
Error handling moves into any GraphQLInterceptor via mapErrors(), so dedicated error interceptors must be changed. github.com - Removed
ApolloInterceptor
The single ApolloInterceptor is replaced by four discrete interceptor types, so custom interceptors must be rewritten. github.com - Removed
NetworkFetchInterceptor
Network fetching is handled by ApolloURLSession instead of this interceptor. github.com - Removed
RequestChain.retry
Interceptors no longer receive the RequestChain, so retries must be started by throwing a RequestChain.Retry error. github.com - Behavior changed
Subclassing types such as RequestChainNetworkTransport and InterceptorProvider is no longer possible; wrap them instead. github.com - Behavior changed
WebSocketNetworkTransport
Web socket support is not included in this preview, so WebSocketNetworkTransport throws. Subscriptions work over HTTP via RequestChainNetworkTransport. github.com - Signature changed
ApolloClient
Callback result handlers are replaced by async single-response and AsyncThrowingStream APIs, so call sites must be updated. github.com - Signature changed
ApolloStore
Custom ApolloStore implementations must be updated to use async/await instead of resultHandler closures. github.com - Signature changed
CachePolicy
Each cache policy now selects its own function with a fixed return signature, so existing policy usage must be updated. github.com - Signature changed
GraphQLResponse
GraphQLResponse and HTTPResponse are now separate types, so code reading raw HTTP data from GraphQLResponse must change. github.com
And 2 more in this version. Sign up to see every change
github.com/apollographql/apollo-ios 1.0.0-rc.1 breaking changes
- Renamed
AnyHashableConvertible.asAnyHashable
AnyHashableConvertible.asAnyHashable is renamed to AnyHashableConvertible._asAnyHashable. Code that reads this member must switch to the new name. github.com - Renamed
GraphQLOperation.variables
GraphQLOperation.variables is renamed to GraphQLOperation._variables. Code that reads this member must switch to the new name. github.com - Renamed
JSONDecodable.init
JSONDecodable.init(jsonValue:) is renamed to JSONDecodable.init(_jsonValue:). Code that calls this initializer must switch to the new label. github.com - Renamed
JSONEncodable.jsonValue
JSONEncodable.jsonValue is renamed to JSONEncodable._jsonValue. Code that reads this member must switch to the new name. github.com - Renamed
LocalCacheMutation.variables
LocalCacheMutation.variables is renamed to LocalCacheMutation._variables. Code that reads this member must switch to the new name. github.com - Renamed
OutputTypeConvertible.asOutputType
OutputTypeConvertible.asOutputType is renamed to OutputTypeConvertible._asOutputType. Code that reads this member must switch to the new name. github.com - Renamed
SelectionSet.schema
SelectionSet.schema is renamed to SelectionSet.__schema. Code that reads this member must switch to the new name. github.com - Renamed
SelectionSet.selection
SelectionSet.selection is renamed to SelectionSet.__selection. Code that reads this member must switch to the new name. github.com
github.com/apollographql/apollo-ios 1.0.0-beta.4 breaking changes
- Behavior changed
conversionStrategies.enumCases
Enum case names are now camel-cased by default, so call sites must be updated; this can be disabled with conversionStrategies.enumCases. github.com - Default changed
pruneGeneratedFiles
Generated files no longer needed are deleted automatically; this can be disabled with pruneGeneratedFiles. github.com - Configuration changed
Generated files have a new extension; old generated files must be deleted manually before running codegen. github.com
github.com/apollographql/apollo-ios 1.0.0-beta.3 breaking changes
- Configuration changed
Cache key resolution logic must move into SchemaConfiguration.swift and old generated schema files must be deleted. github.com
Older versions
42 older versions, each with its first changes. Sign up to see every change
Show 42 older versions
github.com/apollographql/apollo-ios 1.0.0-beta.2 breaking changes
- Removed
ApolloCodegenConfiguration.validation
The validation method was removed; code calling it must be deleted. github.com - Configuration changed
cocoapodsCompatibleImportStatements
Projects using Apollo via CocoaPods must set cocoapodsCompatibleImportStatements to true in ApolloCodegenConfiguration. github.com
And 2 more in this version.
github.com/apollographql/apollo-ios 1.0.0-alpha.3 breaking changes
- Renamed
TypeCase
Generated TypeCase types are now called InlineFragment; update code that references the old name. github.com
github.com/apollographql/apollo-ios 0.51.0 breaking changes
- Behavior changed
Cache keys no longer break on periods in query arguments, so a persisted cache can see misses and refetch data after upgrading. github.com - Signature changed
WebSocket
The WebSocket initializers now require you to specify which protocol to use, so existing calls must be updated to pass one. github.com
github.com/apollographql/apollo-ios 0.50.0 breaking changes
- Removed
The minimum Swift version for processing the SPM manifest is now Swift 5.3, so a minimum of Xcode 12 is required for Swift Package Manager support. github.com - Signature changed
CachePolicy.default
The default cache policy is now a stored property that can be set on an ApolloClient instance, instead of being overridden in a subclass. github.com
github.com/apollographql/apollo-ios 0.49.0 breaking changes
- Removed
Schema downloading no longer uses the TypeScript-based Apollo CLI. Users who relied on the CLI for downloading schemas must switch to the Swift-based ApolloSchemaDownloader, which outputs GraphQL SDL by default. github.com - Signature changed
ApolloSchemaDownloader
Some signatures in the Swift-based schema downloader changed, so code calling it must be updated to the new signatures in the API documentation. github.com
github.com/apollographql/apollo-ios 0.47.0 breaking changes
- Removed
Starscream is no longer pulled in through CocoaPods or Swift Package Manager; WebSockets are now maintained inside the ApolloWebSockets target. Code that relied on Starscream arriving transitively must add it directly. github.com - Renamed
DefaultWebSocket
The DefaultWebSocket implementation was replaced by WebSocket. Code referring to DefaultWebSocket must switch to WebSocket. github.com
And 1 more in this version.
github.com/apollographql/apollo-ios 0.46.0 breaking changes
- Removed
The experimental Swift code generation is removed from main and moves to the release/1.0-alpha-incubating branch until a 1.0 release. github.com
github.com/apollographql/apollo-ios 0.45.0 breaking changes
- Removed
ApolloWebSocketClient
The ApolloWebSocketClient protocol was removed; code conforming to or referencing it must switch to WebSocketClient. github.com - Renamed
ApolloWebSocket
The default WebSocketClient implementation ApolloWebSocket is now DefaultWebSocket; update references to use the new name. github.com
And 8 more in this version.
github.com/apollographql/apollo-ios 0.44.0 breaking changes
- Removed
ApolloCore
ApolloCore is replaced by two libraries. Import ApolloUtils in most places where ApolloCore was imported, and for Carthage remove the old ApolloCore xcframework and add ApolloAPI and ApolloUtils. github.com
github.com/apollographql/apollo-ios 0.43.0 breaking changes
- Removed
The test libraries are no longer declared in Package.swift, so code that used them directly will no longer have them available. github.com
github.com/apollographql/apollo-ios 0.42.0 breaking changes
- Removed
The Starscream dependency moved to 4.0.x, which dropped SOCKS proxy support, so that support was removed too. Code relying on SOCKS proxies must change. github.com - Removed
CoadableParsingInterceptor
CoadableParsingInterceptor and related code for the unfinished new codegen were removed. Code using them must stop referencing them. github.com
And 1 more in this version.
github.com/apollographql/apollo-ios 0.41.0 breaking changes
- Behavior changed
GET requests no longer include a Content-Type header. Code or servers that relied on that header being sent on GET requests may need to change. github.com - Signature changed
RequestChainNetworkTransport
UploadRequests now receive the transport's additionalHeaders. If you subclassed RequestChainNetworkTransport, update your overrides to accept the added parameter. github.com
github.com/apollographql/apollo-ios 0.40.0 breaking changes
- Removed
The release no longer supports older Apple platform versions. Apps targeting those versions must raise their deployment target. github.com - Removed
A couple of public functions that were workarounds for the dropped lower OS versions were removed. Code calling them will no longer compile. github.com
And 1 more in this version.
github.com/apollographql/apollo-ios 0.39.0 breaking changes
- Behavior changed
Passing a singleFile URL that is not a .swift file, or a multipleFiles URL that is not a folder, is now rejected. Callers passing other URLs must change them. github.com - Configuration changed
The package now declares Swift tools version 5.3, with a fallback Package.swift for 5.2. Users on older Swift toolchains may need to update their toolchain. github.com
And 1 more in this version.
github.com/apollographql/apollo-ios 0.38.0 breaking changes
- Removed
Atomic.value
The setter for Atomic's value is no longer public. Use the mutate method instead to keep thread locking correct. github.com - Removed
ReadTransaction.loadRecords
The loadRecords(forKeys:) method on ReadTransaction was removed. Use read or readObject with the transaction instead. github.com
And 2 more in this version.
github.com/apollographql/apollo-ios 0.36.0 breaking changes
- Signature changed
ApolloClient
The default parameters for the ApolloStore were removed from ApolloClient to stop developers accidentally creating objects with different caches. Pass the store explicitly when creating the client. github.com - Signature changed
LegacyInterceptorProvider
The default parameters for the ApolloStore were removed from LegacyInterceptorProvider to stop developers accidentally creating objects with different caches. Pass the store explicitly when creating the provider. github.com
github.com/apollographql/apollo-ios 0.35.0 breaking changes
- Removed
GraphQLHTTPResponseError
The GraphQLHTTPResponseError type is no longer part of the SDK. Users who relied on it must copy it out of v0.34.1. github.com - Signature changed
RequestBodyCreator
Default parameters were removed from the default implementation, so calls relying on them must pass the parameters explicitly. github.com
github.com/apollographql/apollo-ios 0.34.0 breaking changes
- Behavior changed
The networking stack for HTTP requests was rewritten; users must follow the updated client creation and authentication docs to adapt their code. github.com - Configuration changed
Carthage builds with Xcode 12 require the workaround script described in the 0.33.0 release notes. github.com
github.com/apollographql/apollo-ios 0.34.0-rc.2 breaking changes
- Renamed
RequestCreator
Replace RequestCreator with RequestBodyCreator and update renamed properties and parameters. github.com - Behavior changed
RequestChainNetworkTransport
Two methods are now open for subclassing; this is additive and should not break existing code. github.com
github.com/apollographql/apollo-ios 0.34.0-rc.1 breaking changes
- Behavior changed
InterceptorProvider
Implementers of InterceptorProvider get a new method for an error interceptor that returns nil by default. github.com - Default changed
ApolloStore
ApolloStore takes a default cache of InMemoryNormalizedCache; code relying on a required cache argument should be reviewed. github.com
And 1 more in this version.
github.com/apollographql/apollo-ios 0.34.0-beta2 breaking changes
- Behavior changed
The networking stack was rewritten in this beta line; existing HTTP request code may need updating for the new stack. github.com
github.com/apollographql/apollo-ios 0.33.0-beta1 breaking changes
- Behavior changed
The networking stack for HTTP requests was completely rewritten in this beta. Code that customizes networking or client creation must be updated, following the linked advanced client creation docs. github.com
github.com/apollographql/apollo-ios 0.30.0 breaking changes
- Removed
The Cartfile is gone because dependencies are now managed with SPM. Users who need a dependency fork or an older Carthage version may have issues and must adjust their setup. github.com - Behavior changed
Storing untyped JSON dictionaries now behaves differently, and a new built-in dictionary creation from JSONValue may conflict with custom implementations users already wrote. github.com
And 1 more in this version.
github.com/apollographql/apollo-ios 0.29.0 breaking changes
- Behavior changed
All extensions now use the apollo.extensionMethod syntax introduced in 0.28.0, so code calling the older extension form may need to change. github.com - Configuration changed
Several items moved into the new ApolloCore library. CocoaPods and SPM pick it up automatically, but Carthage users must add the ApolloCore library to their project manually. github.com
github.com/apollographql/apollo-ios 0.28.0 breaking changes
- Renamed
ApolloCodegen
Some ApolloCodegen extension methods now use object.apollo.extensionMethod instead of object.apollo_extensionMethod. Update Swift scripts that call them, especially FileManager APIs. github.com - Signature changed
NormalizedCache
NormalizedCache gained a method for clearing the cache synchronously. Custom implementations must add an implementation of it. github.com
github.com/apollographql/apollo-ios 0.27.0 breaking changes
- Behavior changed
URLSessionClient
Subclass URLSessionClient to override URLSessionDelegate methods if you need delegate handling, since only one delegate can be set and it must be declared at session creation. github.com - Signature changed
HTTPNetworkTransport
Custom URLSession setups must create a URLSessionClient with a URLSessionConfiguration and pass it to HTTPNetworkTransport using the client parameter instead of session. github.com
github.com/apollographql/apollo-ios 0.26.0 breaking changes
- Behavior changed
The retry delegate now lets callers choose which error is returned when an operation fails during retrying. Code implementing the retry delegate may need updating. github.com - Behavior changed
The bundled typescript CLI moved to 2.27.2 and the download script now pulls from a CDN instead of CircleCI images. Users may need to check their codegen setup still works. github.com
github.com/apollographql/apollo-ios 0.25.0 breaking changes
- Behavior changed
No test framework changes were found, but the upgrade could theoretically change code generation behavior. github.com - Configuration changed
The swift-tools version is now 5.2, so users must update their Package.swift syntax and name the Apollo library manually. github.com
github.com/apollographql/apollo-ios 0.24.0 breaking changes
- Removed
GraphQL
Initializers accepting an input stream were removed; pass raw Data or a file URL instead. github.com - Behavior changed
GraphQLResponse
GraphQLResponse takes the response type as its generic parameter rather than the operation type, so code relying on the old generic parameter must be updated. github.com
And 1 more in this version.
github.com/apollographql/apollo-ios 0.22.0 breaking changes
- Behavior changed
The CLI update marks generated files with @generated and adds type annotations and documentation to generated code, which the release labels as breaking. Regenerate code and check existing generated output. github.com - Signature changed
HTTPNetworkTransport
The delegate is no longer passed to the HTTPNetworkTransport initializer and is now a weak var. Code that passes a delegate in the initializer must set it afterward instead. github.com
github.com/apollographql/apollo-ios 0.21.0 breaking changes
- Signature changed
NetworkTransport.clientName
Custom NetworkTransport implementations no longer need to set clientName, because a default implementation is now provided. github.com - Signature changed
NetworkTransport.clientVersion
Custom NetworkTransport implementations no longer need to set clientVersion, because a default implementation is now provided. github.com
github.com/apollographql/apollo-ios 0.20.0 breaking changes
- Configuration changed
The package declaration now requires Swift tools version 5.1, so projects on older Swift toolchains may need to upgrade before building. github.com
github.com/apollographql/apollo-ios 0.19.0 breaking changes
- Removed
unzip
The public unzip method for arrays of arrays was removed. Code calling it must be updated or removed. github.com - Behavior changed
NetworkTransport
The NetworkTransport protocol is now class-bound. Custom implementations built as a struct must be changed to a class. github.com
github.com/apollographql/apollo-ios 0.18.0 breaking changes
- Behavior changed
The Apollo CLI is now downloaded when needed instead of being bundled. Builds need an internet connection until the correct CLI version has downloaded. github.com - Behavior changed
ApolloClient
Fixing weak references in closures may expose code that did not keep a strong reference to ApolloClient, which can now be deallocated. Hold a strong reference to the client where needed. github.com
github.com/apollographql/apollo-ios 0.17.0 breaking changes
- Removed
Old script files that were deprecated have been removed. Users still relying on them must switch to the run-bundled-codegen build step setup. github.com
github.com/apollographql/apollo-ios 0.16.0 breaking changes
- Removed
Promise
All public references to the internal Promise implementation were removed, so code referencing it must be updated. github.com - Configuration changed
The CLI is now set up without NPM, so existing build scripts need to be updated to follow the new instructions. The old build script keeps working until the next minor release. github.com
github.com/apollographql/apollo-ios 0.15.0 breaking changes
- Signature changed
HTTPNetworkTransport
The initializer for HTTPNetworkTransport no longer accepts a URLSessionConfiguration. Create a URLSession from the configuration first and pass that session into the initializer. github.com - Signature changed
Upload
Upload handling was updated to follow the GraphQL Upload Spec more closely, which changes how uploads behave for existing code. github.com
github.com/apollographql/apollo-ios 0.14.0 breaking changes
- Behavior changed
Code generation now adds CaseIterable to enums for all known cases. If you added CaseIterable to generated enums yourself, remove your conformance to avoid a duplicate. github.com
github.com/apollographql/apollo-ios 0.13.0 breaking changes
- Renamed
--queries
Use --includes=./*.graphql instead of passing an array of GraphQL files with --queries. github.com - Renamed
--schema
Use --localSchemaFile="schema.json" (quotes required) instead of --schema=schema.json. github.com
And 1 more in this version.
github.com/apollographql/apollo-ios 0.12.0 breaking changes
- Removed
Result
The SDK's internal Result type was removed; use Swift's built-in Result type instead, without the Swift.Result prefix inside Apollo code. github.com - Configuration changed
Starscream and SQLite.swift now use strict dependency versions to avoid Swift version conflicts, which may affect projects pinning other versions of these dependencies. github.com
And 1 more in this version.
github.com/apollographql/apollo-ios 0.11.0 breaking changes
- Behavior changed
The library and its dependencies were updated to Swift 5 and the Podfile declares it, so projects must build with a Swift 5 toolchain. github.com - Configuration changed
The CocoaPods podspec no longer embeds build scripts in the framework, so projects must follow the updated embedding instructions. github.com
github.com/apollographql/apollo-ios 0.6.0 breaking changes
- Behavior changed
A property set to null is now treated differently from a property that is not present, so code relying on the old handling may behave differently. github.com - Behavior changed
fragments
Fragment fields are now merged into the parent result, so code only needs to go through `fragments` to pass a fragment explicitly. github.com
Related packages
- Apollo on CocoaPods
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.