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.9.3 #310

Merged
merged 4 commits into from
Mar 22, 2024
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
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.9.2"
public static let CLIVersion: String = "1.9.3"
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.9.3

### Fixed

- **Fix injecting of context for UploadRequest:** Any request context passed into an upload request was not being added to the HTTP request and would not be available to the interceptor chain. See PR ([#302](https://github.com/apollographql/apollo-ios-dev/pull/302)). _Thanks to [@RobertDresler](https://github.com/RobertDresler) for the contribution._
- **Added support for SPM Package.resolved format version 3 ([#3355](https://github.com/apollographql/apollo-ios/issues/3355)):** When using Xcode 15.3 the codegen CLI would fail the `generate` command with an error stating the Package.resolve file version is unsupported. Version 3 is now accepted as a valid file format for the codegen version checker. See PR ([#304](https://github.com/apollographql/apollo-ios-dev/pull/304)).
- **PrivacyInfo.xcprivacy file is invalid for Apollo and ApolloApi ([#3359](https://github.com/apollographql/apollo-ios/issues/3359)):** We received reports that when submitting to the App Store the submission would fail with an error stating that the privacy manifests were invalid. We identified the error and updated the privacy files. See PR ([#309](https://github.com/apollographql/apollo-ios-dev/pull/309)). _Thanks to [@azilbershtein](https://github.com/azilbershtein) for raising the issue._

### Improvement

- **Provide a direct means to observe changes in ApolloStore:** `ApolloStore` now exposes it's subscriber mechanism publicly. This means you can now observe and receive notifications about changes to the store. See PR ([#300](https://github.com/apollographql/apollo-ios-dev/pull/300)). _Thanks to [@jamesonwilliams](https://github.com/jamesonwilliams) for the contribution._
- **Remove redundant iteration in EntitySelectionTree merging algorithm:** The conditions for merging selections were revisited and we identified, and removed, a redundant iteration. This is a significant performance improvement as it removes an entire additional iteration through all the conditional scopes in the tree. See PR ([#308](https://github.com/apollographql/apollo-ios-dev/pull/308)).

## v1.9.2

### Fixed
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.9.2"
public static let ApolloVersion: String = "1.9.3"
}
59 changes: 59 additions & 0 deletions docs/docc/Apollo.doccarchive/data/documentation/apollo.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol",
"doc:\/\/Apollo\/documentation\/Apollo\/ApolloErrorInterceptor",
"doc:\/\/Apollo\/documentation\/Apollo\/ApolloInterceptor",
"doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber",
"doc:\/\/Apollo\/documentation\/Apollo\/Cancellable",
"doc:\/\/Apollo\/documentation\/Apollo\/InterceptorProvider",
"doc:\/\/Apollo\/documentation\/Apollo\/NetworkTransport",
Expand Down Expand Up @@ -425,6 +426,64 @@
"type" : "topic",
"url" : "\/documentation\/apollo\/apollostore"
},
"doc://Apollo/documentation/Apollo/ApolloStoreSubscriber": {
"abstract" : [
{
"text" : "The ",
"type" : "text"
},
{
"code" : "ApolloStoreSubscriber",
"type" : "codeVoice"
},
{
"text" : " provides a means to observe changes to items in the ApolloStore.",
"type" : "text"
},
{
"text" : " ",
"type" : "text"
},
{
"text" : "This protocol is available for advanced use cases only. Most users will prefer using ",
"type" : "text"
},
{
"code" : "ApolloClient.watch(query:)",
"type" : "codeVoice"
},
{
"text" : ".",
"type" : "text"
}
],
"fragments" : [
{
"kind" : "keyword",
"text" : "protocol"
},
{
"kind" : "text",
"text" : " "
},
{
"kind" : "identifier",
"text" : "ApolloStoreSubscriber"
}
],
"identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber",
"kind" : "symbol",
"navigatorTitle" : [
{
"kind" : "identifier",
"text" : "ApolloStoreSubscriber"
}
],
"role" : "symbol",
"title" : "ApolloStoreSubscriber",
"type" : "topic",
"url" : "\/documentation\/apollo\/apollostoresubscriber"
},
"doc://Apollo/documentation/Apollo/Atomic": {
"abstract" : [
{
Expand Down
Loading
Loading