Skip to content

Commit a3a1eae

Browse files
authored
Release 1.2.2 (#3077)
1 parent f80aadb commit a3a1eae

File tree

13 files changed

+1351
-8
lines changed

13 files changed

+1351
-8
lines changed

.github/PULL_REQUEST_TEMPLATE/pull-request-template-release.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#### Diff
2-
[1.0.2...main](https://github.com/apollographql/apollo-ios/compare/1.0.2...main). _Change this to show the diff since the last version._
2+
<!-- _Change this to show the diff since the last version._ -->
3+
[main...{$VERSION_BRANCH}](https://github.com/apollographql/apollo-ios/compare/main...{$VERSION_BRANCH}).
34

45
#### Relevant changes:
5-
* _List the highlight PRs_
6+
<!-- _List the highlight PRs_ -->
67

78
#### Things to do in this PR
89
- [ ] Update the version constants using the `set-version.sh` script.

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change Log
22

3+
## v1.2.2
4+
5+
### Added
6+
- **Support SOCKS proxies for debugging websocket based subscriptions([#2788](https://github.com/apollographql/apollo-ios/issues/2788)):** _Thank you to [@tahirmit](https://github.com/tahirmt) for the contribution._
7+
8+
### Fixed
9+
- **Fix conversion of generated models into nested type cases ([#2989](https://github.com/apollographql/apollo-ios/issues/2989) & [#2980](https://github.com/apollographql/apollo-ios/issues/2980)):** In some cases, the generated models were missing types when calculating which fragments were fulfilled for a selection set. This was causing type case conversion to return `nil` incorrectly. See PR [#3067](https://github.com/apollographql/apollo-ios/pull/3067). _Thank you to [@tgyhlsb](https://github.com/tgyhlsb) and [@dafurman](https://github.com/dafurman) for raising these issues._
10+
- **Fix crashes in code generation when merging fragments at definition root ([#3071](https://github.com/apollographql/apollo-ios/issues/3071)):** When fragments with type conditions were defined on the root of an operation or named fragment, the code generation engine was crashing. See PR [#3073](https://github.com/apollographql/apollo-ios/pull/3073). _Thank you to [@tahirmit](https://github.com/tahirmt) for raising and helping us reproduce this issue._
11+
- **Fix parsing of input objects as default values for input params ([#2978](https://github.com/apollographql/apollo-ios/issues/2978)):** The codegen engine will no longer crash in this situation. _Thank you to [@ecunha-ta](https://github.com/ecunha-ta) for raising the issue._
12+
313
## v1.2.1
414

515
### Improved
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CURRENT_PROJECT_VERSION = 1.2.1
1+
CURRENT_PROJECT_VERSION = 1.2.2

Sources/CodegenCLI/Constants.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Foundation
22

33
public enum Constants {
4-
public static let CLIVersion: String = "1.2.1"
4+
public static let CLIVersion: String = "1.2.2"
55
static let defaultFilePath: String = "./apollo-codegen-config.json"
66
}

docs/docc/Apollo.doccarchive/data/documentation/apollo/cachepolicy.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/docc/Apollo.doccarchive/data/documentation/apollo/cachepolicy/returncachedatadontfetch.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/docc/Apollo.doccarchive/data/documentation/apollowebsocket.json

+32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/docc/Apollo.doccarchive/data/documentation/apollowebsocket/socksproxyable.json

+259
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)