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.15.0 #462

Merged
merged 4 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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.14.1"
public static let CLIVersion: String = "1.15.0"
static let defaultFilePath: String = "./apollo-codegen-config.json"
}
11 changes: 11 additions & 0 deletions apollo-ios/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# 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.
BobaFetters marked this conversation as resolved.
Show resolved Hide resolved

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

## 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
Loading