New Support @fieldPolicy key paths through a list of input objects (#1097): A keyArgs path can now pass through one list level of input objects, such as keyArgs: "inputs.id" on heroes(inputs: [HeroInput!]!): [Hero!]!, and produces one cache key per input object (Hero:1, Hero:2,…
Apollo iOS
npx @buildinternet/releases get apollo-iosNew Expose DatabaseRow properties for SQLiteDatabase extensibility (#1067): DatabaseRow is surfaced through the public SQLiteDatabase protocol, but its stored properties were not publicly accessible, preventing wrapper implementations (encryption, compression, logging) from…
Improved Expose DatabaseRow stored properties for SQLiteDatabase extensibility (#1056): DatabaseRow's stored properties (cacheKey and storedInfo) are now public, complementing the public initializer added in #664. This lets adopters build wrapper or decorator implementations of…
New Add opt-in additionalCapitalizationRules to codegen (#1037): Adds a new opt-in additionalCapitalizationRules codegen option and public CapitalizationRule API (a Term of .string/.regex and a CaseStrategy of .upper/.lower) so acronyms can be fully capitalized (e.g. userId →…
Fixed Xcode 27 (Swift 6.4) build compatibility (#1034): Fixed multiple build failures introduced by Swift 6.4 / Xcode 27. AnyHashable's Sendable conformance is now explicitly unavailable in Swift 6.4, so AnyHashable as JSONValue casts no longer compile; replaced with explicit…
Fixed Fix \r\n in GraphQL descriptions generating invalid Swift comments (#965): GraphQL field descriptions containing \r\n (Windows CRLF) line endings caused codegen to emit invalid Swift — only the first line received the /// doc comment prefix and subsequent lines were…
Fixed Make SubscriptionStream initializer public (#975): The SubscriptionStream initializer was inadvertently scoped to package access, preventing adopters from writing custom conformances to the public SubscriptionNetworkTransport protocol. The initializer is now public. Fixes…
Fixed Fix cache read failure for nested arrays of objects (#938): Reading nested arrays of objects (2D, 3D, etc.) from the normalized cache threw a JSONDecodingError.wrongType error. Reference resolution now handles array nesting at any depth. Fixes #3609. _Thank you to…
Fixed concurrency crash in compileGraphQLResult on Swift 6.3/macOS 26 (#929): Serialized async let calls in compileGraphQLResult to work around a Swift concurrency runtime crash triggered when code generation is used in an AsyncParsableCommand. See PR #942. _Thank you to @m4p…
New WebSocket Transport: Apollo iOS 2.0 now supports WebSocket connections using the graphql-transport-ws protocol for subscriptions, queries, and mutations. See the WebSocket Transport documentation for setup and usage details. Swift 6.2 MainActor default isolation support…
Improvement Use dictionary instead of switch for objectType(forTypename:) lookup (#3631): The generated SchemaMetadata.objectType(forTypename:) method now uses a static dictionary for O(1) hash-based lookup instead of a switch statement that performed O(n) linear scanning. For…
New WebSocket Transport: Apollo iOS 2.0 now supports WebSocket connections using the graphql-transport-ws protocol for subscriptions, queries, and mutations. See the WebSocket Transport documentation for setup and usage details. ApolloURLSession delegate injection (#899): Added…
Fixed Fix HTTP method selection (#877): The APQ retry logic was overriding the HTTP method selected for all queries. Thank you to @3redrubies for raising the issue. Prevent crashes in Dictionary initialization with duplicate keys (#884): Dictionary initialization using…
Fix data race in AsyncReadWriteLock (#862): This fixes issue #3616. Thank you to @AlexPan1992 for raising the issue. Set URLRequest.cachePolicy on GET requests (#859): Thank you to @samjdurante for the contribution.
Fixed Fix infinite loop bug in Test Mocks (#842): Thank you to @AlexPan1992 for raising the issue. Improve error description formatting for validation failure (#846): GraphQL validation errors encountered while running code generation are now formatted to be easier to read in…
Fixed Include merged fields in selection set equality check (#3602): When a field merged from a child object in a named fragment was merged, it was not being used for equality checks. Equality checks now use the types __fulfilledFragments and collects selections from all of…
Fixed Percent encode semicolons when using GET (#812): Semicolons were not being correctly encoded into the query string when useGETForQueries was enabled. Thank you to @nevil for the contribution. Include merged fields in selection set equality check (#3602): When a field…
This version has no new changes since v1.25.1 and is being created to fix an issue where the previous version was tagged incorrectly.
Fixed Fixed SelectionSet equality with @include/@skip fields (#840): When a single field was used in a selection set with an @include/@skip directive, an assertionFailure would crash the program. This is now fixed.
Fixed Fixed SelectionSet equality with @include/@skip fields (#840): When a single field was used in a selection set with an @include/@skip directive, an assertionFailure would crash the program. This is now fixed.
