Skip to content

Commit 39fea76

Browse files
apollo-bot2gh-action-runner
authored andcommitted
1 parent 6200e12 commit 39fea76

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change Log
22

3+
## v1.22.0
4+
5+
### Improvement
6+
- **Make cache public within `ReadTransaction` ([#661](https://github.com/apollographql/apollo-ios-dev/pull/661)):** Some users have use cases for accessing a custom `NormalizedCache` implementation directly while performing cache transactions. A new `ReadOnlyNormalizedCache` protocol exposes the cache as read-only in the `ReadTransaction` and as writable in the `ReadWriteTransaction`. See PR [#661](https://github.com/apollographql/apollo-ios-dev/pull/661).
7+
8+
### Fixed
9+
- **Multiple deprecation warning directives not compiling ([#3559](https://github.com/apollographql/apollo-ios/issues/3559)):** Codegen would generate an incorrect list-style character between the Swift deprecation annotations when using multiple deprecation directives in GraphQL. See PR [#658](https://github.com/apollographql/apollo-ios-dev/pull/658). _Thank you to [@guilherme-anchorage](https://github.com/guilherme-anchorage) for raising the issue._
10+
- **Non-`all` field merging causes selection set initializers to stop being generated for local cache mutations ([#3554](https://github.com/apollographql/apollo-ios/issues/3554)):** Codegen will now force field merging behaviour and selection set initializer generation for local cache mutations. See PR [#654](https://github.com/apollographql/apollo-ios-dev/pull/654).
11+
- **Referenced fragments within a local cache mutation operation are generated as mutable ([#3557](https://github.com/apollographql/apollo-ios/issues/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](https://github.com/apollographql/apollo-ios-dev/pull/659).
12+
313
## v1.21.0
414

515
### New

CLI/apollo-ios-cli.tar.gz

3.63 KB
Binary file not shown.

Sources/Apollo/Constants.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Foundation
22

33
public enum Constants {
44
public static let ApolloClientName = "apollo-ios"
5-
public static let ApolloClientVersion: String = "1.21.0"
5+
public static let ApolloClientVersion: String = "1.22.0"
66

77
@available(*, deprecated, renamed: "ApolloClientVersion")
88
public static let ApolloVersion: String = ApolloClientVersion

0 commit comments

Comments
 (0)