v1.22.0
Improvement
- Make cache public within
ReadTransaction(#661): Some users have use cases for accessing a customNormalizedCacheimplementation directly while performing cache transactions. A newReadOnlyNormalizedCacheprotocol exposes the cache as read-only in theReadTransactionand as writable in theReadWriteTransaction. See PR #661.
Fixed
- Multiple deprecation warning directives not compiling (#3559): Codegen would generate an incorrect list-style character between the Swift deprecation annotations when using multiple deprecation directives in GraphQL. See PR #658. Thank you to @guilherme-anchorage for raising the issue.
- Non-
allfield merging causes selection set initializers to stop being generated for local cache mutations (#3554): Codegen will now force field merging behaviour and selection set initializer generation for local cache mutations. See PR #654. - Referenced fragments within a local cache mutation operation are generated as mutable (#3557): Any fragments referenced within a local cache mutation will now be generated as mutable too, including any fragments within those fragments. See PR #659.
Fetched April 11, 2026
