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.2 #499

Merged
merged 3 commits into from
Oct 1, 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.15.1"
public static let CLIVersion: String = "1.15.2"
static let defaultFilePath: String = "./apollo-codegen-config.json"
}
10 changes: 10 additions & 0 deletions apollo-ios/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## v1.15.2

### Improvements
- **Set `URLRequest` cache policy on GET requests ([#476](https://github.com/apollographql/apollo-ios-dev/pull/476)):** Uses the Apollo cache policy to set a comparable cache policy on `URLRequest`. Previously there was no way to opt-out of default `URLRequest` caching behaviour.
- **Batch writing records to the SQLite store ([#498](https://github.com/apollographql/apollo-ios-dev/pull/498)):** Uses the `insertMany` to batch write records for a given operation vs previously performing a write for each individual record.

### Fixed
- **Fix `ListData` type check ([#473](https://github.com/apollographql/apollo-ios-dev/pull/473)):** Fixed bool type check in `ListData`.
- **Remove local cache mutation type condition setter ([#485](https://github.com/apollographql/apollo-ios-dev/pull/485)):** Removes the setter for mutable inline fragments. The correct way to initialize with a type condition is to use `asRootEntityType`.

## v1.15.1

### 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.15.1"
public static let ApolloVersion: String = "1.15.2"
}
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,14 @@
"text" : " conforms to ",
"type" : "text"
},
{
"code" : "AnyScalarType",
"type" : "codeVoice"
},
{
"text" : " and ",
"type" : "text"
},
{
"code" : "Hashable",
"type" : "codeVoice"
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-370r3",
"doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-5e63x",
"doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-90ybj",
"doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-5e63x"
"doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-370r3"
],
"title" : "GraphQLOperation Implementations"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,14 @@
"text" : " conforms to ",
"type" : "text"
},
{
"code" : "AnyScalarType",
"type" : "codeVoice"
},
{
"text" : " and ",
"type" : "text"
},
{
"code" : "Hashable",
"type" : "codeVoice"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1688,7 +1688,7 @@
"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/ApolloCodegenConfiguration/OutputOptions/schemaCustomization": {
"abstract" : [
{
"text" : "Customization options to be applie to the schema during code generation.",
"text" : "Customization options to be applied to the schema during code generation.",
"type" : "text"
}
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"abstract" : [
{
"text" : "Customization options to be applie to the schema during code generation.",
"text" : "Customization options to be applied to the schema during code generation.",
"type" : "text"
}
],
Expand Down Expand Up @@ -216,7 +216,7 @@
"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/ApolloCodegenConfiguration/OutputOptions/schemaCustomization": {
"abstract" : [
{
"text" : "Customization options to be applie to the schema during code generation.",
"text" : "Customization options to be applied to the schema during code generation.",
"type" : "text"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@
},
{
"identifiers" : [
"doc:\/\/ApolloSQLite\/documentation\/ApolloSQLite\/SQLiteDatabase\/addOrUpdateRecordString(_:for:)",
"doc:\/\/ApolloSQLite\/documentation\/ApolloSQLite\/SQLiteDatabase\/addOrUpdate(records:)",
"doc:\/\/ApolloSQLite\/documentation\/ApolloSQLite\/SQLiteDatabase\/addOrUpdateRecordString(_:for:)-4jvew",
"doc:\/\/ApolloSQLite\/documentation\/ApolloSQLite\/SQLiteDatabase\/clearDatabase(shouldVacuumOnClear:)",
"doc:\/\/ApolloSQLite\/documentation\/ApolloSQLite\/SQLiteDatabase\/createRecordsTableIfNeeded()",
"doc:\/\/ApolloSQLite\/documentation\/ApolloSQLite\/SQLiteDatabase\/deleteRecord(for:)",
Expand Down Expand Up @@ -206,10 +207,80 @@
"type" : "topic",
"url" : "\/documentation\/apollosqlite\/sqlitedatabase"
},
"doc://ApolloSQLite/documentation/ApolloSQLite/SQLiteDatabase/addOrUpdateRecordString(_:for:)": {
"doc://ApolloSQLite/documentation/ApolloSQLite/SQLiteDatabase/addOrUpdate(records:)": {
"abstract" : [

],
"fragments" : [
{
"kind" : "keyword",
"text" : "func"
},
{
"kind" : "text",
"text" : " "
},
{
"kind" : "identifier",
"text" : "addOrUpdate"
},
{
"kind" : "text",
"text" : "("
},
{
"kind" : "externalParam",
"text" : "records"
},
{
"kind" : "text",
"text" : ": [(cacheKey"
},
{
"kind" : "text",
"text" : ": "
},
{
"kind" : "typeIdentifier",
"preciseIdentifier" : "s:6Apollo8CacheKeya",
"text" : "CacheKey"
},
{
"kind" : "text",
"text" : ", recordString"
},
{
"kind" : "text",
"text" : ": "
},
{
"kind" : "typeIdentifier",
"preciseIdentifier" : "s:SS",
"text" : "String"
},
{
"kind" : "text",
"text" : ")]) "
},
{
"kind" : "keyword",
"text" : "throws"
}
],
"identifier" : "doc:\/\/ApolloSQLite\/documentation\/ApolloSQLite\/SQLiteDatabase\/addOrUpdate(records:)",
"kind" : "symbol",
"required" : true,
"role" : "symbol",
"title" : "addOrUpdate(records:)",
"type" : "topic",
"url" : "\/documentation\/apollosqlite\/sqlitedatabase\/addorupdate(records:)"
},
"doc://ApolloSQLite/documentation/ApolloSQLite/SQLiteDatabase/addOrUpdateRecordString(_:for:)-4jvew": {
"abstract" : [

],
"defaultImplementations" : 1,
"deprecated" : true,
"fragments" : [
{
"kind" : "keyword",
Expand Down Expand Up @@ -258,13 +329,13 @@
"text" : "throws"
}
],
"identifier" : "doc:\/\/ApolloSQLite\/documentation\/ApolloSQLite\/SQLiteDatabase\/addOrUpdateRecordString(_:for:)",
"identifier" : "doc:\/\/ApolloSQLite\/documentation\/ApolloSQLite\/SQLiteDatabase\/addOrUpdateRecordString(_:for:)-4jvew",
"kind" : "symbol",
"required" : true,
"role" : "symbol",
"title" : "addOrUpdateRecordString(_:for:)",
"type" : "topic",
"url" : "\/documentation\/apollosqlite\/sqlitedatabase\/addorupdaterecordstring(_:for:)"
"url" : "\/documentation\/apollosqlite\/sqlitedatabase\/addorupdaterecordstring(_:for:)-4jvew"
},
"doc://ApolloSQLite/documentation/ApolloSQLite/SQLiteDatabase/clearDatabase(shouldVacuumOnClear:)": {
"abstract" : [
Expand Down
Loading
Loading