Skip to content

Commit

Permalink
Release 1.2.2 (#3077)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyMDev authored Jun 15, 2023
1 parent f80aadb commit a3a1eae
Show file tree
Hide file tree
Showing 13 changed files with 1,351 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#### Diff
[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._
<!-- _Change this to show the diff since the last version._ -->
[main...{$VERSION_BRANCH}](https://github.com/apollographql/apollo-ios/compare/main...{$VERSION_BRANCH}).

#### Relevant changes:
* _List the highlight PRs_
<!-- _List the highlight PRs_ -->

#### Things to do in this PR
- [ ] Update the version constants using the `set-version.sh` script.
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## v1.2.2

### Added
- **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._

### Fixed
- **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._
- **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._
- **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._

## v1.2.1

### Improved
Expand Down
2 changes: 1 addition & 1 deletion Configuration/Shared/Project-Version.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CURRENT_PROJECT_VERSION = 1.2.1
CURRENT_PROJECT_VERSION = 1.2.2
2 changes: 1 addition & 1 deletion Sources/CodegenCLI/Constants.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation

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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a3a1eae

Please sign in to comment.