Skip to content

Commit

Permalink
Release 1.16.0 (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo-bot2 authored and gh-action-runner committed Jan 9, 2025
1 parent 254ce73 commit 393bb09
Show file tree
Hide file tree
Showing 61 changed files with 12,787 additions and 28 deletions.
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

0 comments on commit 393bb09

Please sign in to comment.