Skip to content

Commit

Permalink
Release 1.15.0 (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo-bot2 authored and gh-action-runner committed Aug 16, 2024
1 parent 735071c commit be3bbf0
Show file tree
Hide file tree
Showing 84 changed files with 13,645 additions and 15,401 deletions.
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.14.1"
public static let CLIVersion: String = "1.15.0"
static let defaultFilePath: String = "./apollo-codegen-config.json"
}
14 changes: 14 additions & 0 deletions apollo-ios/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Change Log

## v1.15.0

### New
- **Add ability to disable fragment field merging ([#431](https://github.com/apollographql/apollo-ios-dev/pull/431)):** Added `ApolloCodegenConfiguration` option to allow for disabling fragment field merging on generated models. For more information on this feature see the notes [here](https://github.com/apollographql/apollo-ios/releases/tag/preview-field-merging.1).

### Fixed
- **Fix `legacyResponse` property not being set on `HTTPResponse` ([#456](https://github.com/apollographql/apollo-ios-dev/pull/456)):** When the `legacyResponse` property of `HTTPResponse` was deprecated setting the value was also removed; this was incorrect as it created a hidden breaking change for interceptors that might have been using the value.
- **Fix `ObjectData` type check ([#459](https://github.com/apollographql/apollo-ios-dev/pull/459)):** Fixed bool type check in `ObjectData`.
- **Fix `SelectionSetTemplate` scope comparison ([#460](https://github.com/apollographql/apollo-ios-dev/pull/460)):** Refactored the selection set template scope comparison to account for an edge case in merged sources.
- **Fix memory leak in DataLoader closure ([#457](https://github.com/apollographql/apollo-ios-dev/pull/457)):** Fixed a memory leak in the DataLoader closure in `ApolloStore` caused by implicit use of `self`. _Thank you to [@prabhuamol](https://github.com/prabhuamol) for finding and fixing this._

### Breaking
- **Bug Fix: Generated Selections Sets in Inclusion Condition Scope:** This fixes a bug when using @include/@skip where generated models that should have been generated inside of a conditional inline fragment were generated outside of the conditional scope. This may cause breaking changes for a small number of users. Those breaking changes are considered a bug fix since accessing the conditional inline fragments outside of the conditional scope could cause runtime crashes (if the conditions for their inclusion were not met). More information [here](https://github.com/apollographql/apollo-ios/releases/tag/preview-field-merging.1)

## v1.14.1

### New
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.14.1"
public static let ApolloVersion: String = "1.15.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
},
{
"identifiers" : [
"doc:\/\/Apollo\/documentation\/Apollo\/HTTPResponse\/cacheRecords",
"doc:\/\/Apollo\/documentation\/Apollo\/HTTPResponse\/httpResponse",
"doc:\/\/Apollo\/documentation\/Apollo\/HTTPResponse\/legacyResponse",
"doc:\/\/Apollo\/documentation\/Apollo\/HTTPResponse\/parsedResponse",
Expand Down Expand Up @@ -249,6 +250,47 @@
"type" : "topic",
"url" : "\/documentation\/apollo\/httpresponse\/hashable-implementations"
},
"doc://Apollo/documentation/Apollo/HTTPResponse/cacheRecords": {
"abstract" : [
{
"text" : "A set of cache records from the response",
"type" : "text"
}
],
"fragments" : [
{
"kind" : "keyword",
"text" : "var"
},
{
"kind" : "text",
"text" : " "
},
{
"kind" : "identifier",
"text" : "cacheRecords"
},
{
"kind" : "text",
"text" : ": "
},
{
"kind" : "typeIdentifier",
"preciseIdentifier" : "s:6Apollo9RecordSetV",
"text" : "RecordSet"
},
{
"kind" : "text",
"text" : "?"
}
],
"identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/HTTPResponse\/cacheRecords",
"kind" : "symbol",
"role" : "symbol",
"title" : "cacheRecords",
"type" : "topic",
"url" : "\/documentation\/apollo\/httpresponse\/cacherecords"
},
"doc://Apollo/documentation/Apollo/HTTPResponse/httpResponse": {
"abstract" : [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,249 @@
{
"abstract" : [
{
"text" : "A set of cache records from the response",
"type" : "text"
}
],
"hierarchy" : {
"paths" : [
[
"doc:\/\/Apollo\/documentation\/Apollo",
"doc:\/\/Apollo\/documentation\/Apollo\/HTTPResponse"
]
]
},
"identifier" : {
"interfaceLanguage" : "swift",
"url" : "doc:\/\/Apollo\/documentation\/Apollo\/HTTPResponse\/cacheRecords"
},
"kind" : "symbol",
"metadata" : {
"externalID" : "s:6Apollo12HTTPResponseC12cacheRecordsAA9RecordSetVSgvp",
"fragments" : [
{
"kind" : "keyword",
"text" : "var"
},
{
"kind" : "text",
"text" : " "
},
{
"kind" : "identifier",
"text" : "cacheRecords"
},
{
"kind" : "text",
"text" : ": "
},
{
"kind" : "typeIdentifier",
"preciseIdentifier" : "s:6Apollo9RecordSetV",
"text" : "RecordSet"
},
{
"kind" : "text",
"text" : "?"
}
],
"modules" : [
{
"name" : "Apollo"
}
],
"role" : "symbol",
"roleHeading" : "Instance Property",
"symbolKind" : "property",
"title" : "cacheRecords"
},
"primaryContentSections" : [
{
"declarations" : [
{
"languages" : [
"swift"
],
"platforms" : [
"macOS"
],
"tokens" : [
{
"kind" : "keyword",
"text" : "var"
},
{
"kind" : "text",
"text" : " "
},
{
"kind" : "identifier",
"text" : "cacheRecords"
},
{
"kind" : "text",
"text" : ": "
},
{
"identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/RecordSet",
"kind" : "typeIdentifier",
"preciseIdentifier" : "s:6Apollo9RecordSetV",
"text" : "RecordSet"
},
{
"kind" : "text",
"text" : "?"
}
]
}
],
"kind" : "declarations"
}
],
"schemaVersion" : {
"major" : 0,
"minor" : 3,
"patch" : 0
},
"sections" : [

],
"variants" : [
{
"paths" : [
"\/documentation\/apollo\/httpresponse\/cacherecords"
],
"traits" : [
{
"interfaceLanguage" : "swift"
}
]
}
]
,
"references": {
"doc://Apollo/documentation/Apollo": {
"abstract" : [
{
"text" : "A Strongly typed, Swift-first, GraphQL client.",
"type" : "text"
}
],
"identifier" : "doc:\/\/Apollo\/documentation\/Apollo",
"kind" : "symbol",
"role" : "collection",
"title" : "Apollo",
"type" : "topic",
"url" : "\/documentation\/apollo"
},
"doc://Apollo/documentation/Apollo/HTTPResponse": {
"abstract" : [
{
"text" : "Data about a response received by an HTTP request.",
"type" : "text"
}
],
"fragments" : [
{
"kind" : "keyword",
"text" : "class"
},
{
"kind" : "text",
"text" : " "
},
{
"kind" : "identifier",
"text" : "HTTPResponse"
}
],
"identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/HTTPResponse",
"kind" : "symbol",
"navigatorTitle" : [
{
"kind" : "identifier",
"text" : "HTTPResponse"
}
],
"role" : "symbol",
"title" : "HTTPResponse",
"type" : "topic",
"url" : "\/documentation\/apollo\/httpresponse"
},
"doc://Apollo/documentation/Apollo/HTTPResponse/cacheRecords": {
"abstract" : [
{
"text" : "A set of cache records from the response",
"type" : "text"
}
],
"fragments" : [
{
"kind" : "keyword",
"text" : "var"
},
{
"kind" : "text",
"text" : " "
},
{
"kind" : "identifier",
"text" : "cacheRecords"
},
{
"kind" : "text",
"text" : ": "
},
{
"kind" : "typeIdentifier",
"preciseIdentifier" : "s:6Apollo9RecordSetV",
"text" : "RecordSet"
},
{
"kind" : "text",
"text" : "?"
}
],
"identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/HTTPResponse\/cacheRecords",
"kind" : "symbol",
"role" : "symbol",
"title" : "cacheRecords",
"type" : "topic",
"url" : "\/documentation\/apollo\/httpresponse\/cacherecords"
},
"doc://Apollo/documentation/Apollo/RecordSet": {
"abstract" : [
{
"text" : "A set of cache records.",
"type" : "text"
}
],
"fragments" : [
{
"kind" : "keyword",
"text" : "struct"
},
{
"kind" : "text",
"text" : " "
},
{
"kind" : "identifier",
"text" : "RecordSet"
}
],
"identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/RecordSet",
"kind" : "symbol",
"navigatorTitle" : [
{
"kind" : "identifier",
"text" : "RecordSet"
}
],
"role" : "symbol",
"title" : "RecordSet",
"type" : "topic",
"url" : "\/documentation\/apollo\/recordset"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,15 @@
},
{
"kind" : "text",
"text" : ">?"
"text" : ">? { "
},
{
"kind" : "keyword",
"text" : "get"
},
{
"kind" : "text",
"text" : " }"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"defaultImplementationsSections" : [
{
"identifiers" : [
"doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-90ybj",
"doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-370r3",
"doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-5e63x",
"doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-90ybj"
"doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-5e63x"
],
"title" : "GraphQLOperation Implementations"
}
Expand Down
Loading

0 comments on commit be3bbf0

Please sign in to comment.