Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.16.0 #573

Merged
merged 3 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation

public enum Constants {
public static let CodegenVersion: String = "1.15.3"
public static let CodegenVersion: String = "1.16.0"
}
2 changes: 1 addition & 1 deletion apollo-ios-codegen/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.15.3"
public static let CLIVersion: String = "1.16.0"
static let defaultFilePath: String = "./apollo-codegen-config.json"
}
13 changes: 13 additions & 0 deletions apollo-ios/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Change Log

## v1.16.0

### New
- **Added codegen config support for spm module type versions ([#539](https://github.com/apollographql/apollo-ios-dev/pull/539)):** There is a [new codegen config option](https://www.apollographql.com/docs/ios/code-generation/codegen-configuration#swift-package) for supplying a version to the SPM module type to allow for pointing to specific branches or local versions of Apollo iOS.
- **`@oneOf` input object support ([#537](https://github.com/apollographql/apollo-ios-dev/pull/537)):** Adding support for `@OneOf` Input Objects, more info can be found in the official [RFC](https://github.com/graphql/graphql-spec/pull/825).

### Improvements
- **`URLRequest` cache policy default changed ([#550](https://github.com/apollographql/apollo-ios-dev/pull/550)):** The updated default closer matches the original behaviour before the introduction of setting `URLRequest.CachePolicy`. _Thank you to [@marksvend](https://github.com/marksvend) for raising the issue._

### Fixed
- **`DataDict` initialization of `deferredFragments` property ([#557](https://github.com/apollographql/apollo-ios-dev/pull/557)):** Generated selection set initializers were not correctly setting deferred fragment identifiers. This only affected selection sets that were instantiated with the generated selection set initializers, response-based results are unaffected.
- **Multipart chunk content type ([#572](https://github.com/apollographql/apollo-ios-dev/pull/572)):** Multipart response parsing would produce an error when the chunk content type contained more than one directive. _Thank you to [@brettephillips](https://github.com/brettephillips) for raising the issue._

## v1.15.3

### Improvements
Expand Down
Binary file modified apollo-ios/CLI/apollo-ios-cli.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion apollo-ios/Sources/Apollo/Constants.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation

public enum Constants {
public static let ApolloVersion: String = "1.15.3"
public static let ApolloVersion: String = "1.16.0"
}
26 changes: 25 additions & 1 deletion docs/docc/Apollo.doccarchive/data/documentation/apollo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,31 @@
"type" : "codeVoice"
},
{
"text" : " is responsible for watching the store, and calling the result handler with a new result whenever any of the data the previous result depends on changes.",
"text" : " is responsible for watching the store, and calling the result handler with a new result",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "whenever any of the data the previous result depends on changes. If your query shares response objects with other",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "operations you should read about normalizing objects by cache key in our documentation. Normalized objects will",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "update all query watchers that had received that object before.",
"type" : "text"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,31 @@
"type" : "codeVoice"
},
{
"text" : " is responsible for watching the store, and calling the result handler with a new result whenever any of the data the previous result depends on changes.",
"text" : " is responsible for watching the store, and calling the result handler with a new result",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "whenever any of the data the previous result depends on changes. If your query shares response objects with other",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "operations you should read about normalizing objects by cache key in our documentation. Normalized objects will",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "update all query watchers that had received that object before.",
"type" : "text"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,31 @@
"type" : "codeVoice"
},
{
"text" : " is responsible for watching the store, and calling the result handler with a new result whenever any of the data the previous result depends on changes.",
"text" : " is responsible for watching the store, and calling the result handler with a new result",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "whenever any of the data the previous result depends on changes. If your query shares response objects with other",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "operations you should read about normalizing objects by cache key in our documentation. Normalized objects will",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "update all query watchers that had received that object before.",
"type" : "text"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,31 @@
"type" : "codeVoice"
},
{
"text" : " is responsible for watching the store, and calling the result handler with a new result whenever any of the data the previous result depends on changes.",
"text" : " is responsible for watching the store, and calling the result handler with a new result",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "whenever any of the data the previous result depends on changes. If your query shares response objects with other",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "operations you should read about normalizing objects by cache key in our documentation. Normalized objects will",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "update all query watchers that had received that object before.",
"type" : "text"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,31 @@
"type" : "codeVoice"
},
{
"text" : " is responsible for watching the store, and calling the result handler with a new result whenever any of the data the previous result depends on changes.",
"text" : " is responsible for watching the store, and calling the result handler with a new result",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "whenever any of the data the previous result depends on changes. If your query shares response objects with other",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "operations you should read about normalizing objects by cache key in our documentation. Normalized objects will",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "update all query watchers that had received that object before.",
"type" : "text"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,31 @@
"type" : "codeVoice"
},
{
"text" : " is responsible for watching the store, and calling the result handler with a new result whenever any of the data the previous result depends on changes.",
"text" : " is responsible for watching the store, and calling the result handler with a new result",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "whenever any of the data the previous result depends on changes. If your query shares response objects with other",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "operations you should read about normalizing objects by cache key in our documentation. Normalized objects will",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "update all query watchers that had received that object before.",
"type" : "text"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,31 @@
"type" : "codeVoice"
},
{
"text" : " is responsible for watching the store, and calling the result handler with a new result whenever any of the data the previous result depends on changes.",
"text" : " is responsible for watching the store, and calling the result handler with a new result",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "whenever any of the data the previous result depends on changes. If your query shares response objects with other",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "operations you should read about normalizing objects by cache key in our documentation. Normalized objects will",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "update all query watchers that had received that object before.",
"type" : "text"
}
],
Expand Down Expand Up @@ -145,15 +169,31 @@
"type" : "codeVoice"
},
{
"text" : " on your query watcher when you no longer need results. Failure to call ",
"text" : " on your query watcher when you no",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "longer need results. Failure to call ",
"type" : "text"
},
{
"code" : "cancel()",
"type" : "codeVoice"
},
{
"text" : " before releasing your reference to the returned watcher will result in a memory leak.",
"text" : " before releasing your reference to the returned watcher will",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "result in a memory leak.",
"type" : "text"
}
],
Expand Down Expand Up @@ -336,7 +376,31 @@
"type" : "codeVoice"
},
{
"text" : " is responsible for watching the store, and calling the result handler with a new result whenever any of the data the previous result depends on changes.",
"text" : " is responsible for watching the store, and calling the result handler with a new result",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "whenever any of the data the previous result depends on changes. If your query shares response objects with other",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "operations you should read about normalizing objects by cache key in our documentation. Normalized objects will",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "update all query watchers that had received that object before.",
"type" : "text"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,31 @@
"type" : "codeVoice"
},
{
"text" : " is responsible for watching the store, and calling the result handler with a new result whenever any of the data the previous result depends on changes.",
"text" : " is responsible for watching the store, and calling the result handler with a new result",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "whenever any of the data the previous result depends on changes. If your query shares response objects with other",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "operations you should read about normalizing objects by cache key in our documentation. Normalized objects will",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "update all query watchers that had received that object before.",
"type" : "text"
}
],
Expand Down
Loading
Loading