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.14.1 #451

Merged
merged 3 commits into from
Aug 2, 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.14.0"
public static let CLIVersion: String = "1.14.1"
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.14.1

### New
- **Ability to set the journal mode on sqlite cache databases ([#3399](https://github.com/apollographql/apollo-ios/issues/3399)):** There is now a function to set the journal mode of the connected sqlite database and control how the journal file is stored and processed. See PR [#443](https://github.com/apollographql/apollo-ios-dev/pull/443). _Thanks to [@pixelmatrix](https://github.com/pixelmatrix) for the feature request._

### Fixed
- **Fix crash when `GraphQLError` is “too many validation errors”" ([#438](https://github.com/apollographql/apollo-ios-dev/pull/438)):** When a GraphQLError from the JS parsing step is a “Too many validation errors” error, there is no `source` in the error object. Codegen will now check for it to avoid this edge case crash.
- **Cache write interceptor should gracefully handle missing cache records ([#439](https://github.com/apollographql/apollo-ios-dev/pull/439)):** The work to support the `@defer` directive introduced a bug where the cache write interceptor would throw if no cache records were returned during response parsing. This is incorrect as there are no cache records in the case of an `errors` only GraphQL response.
- **Avoid using `fatalError` on `JSONEncodable` ([#128](https://github.com/apollographql/apollo-ios-dev/pull/128)):** The fatal error logic in `JSONEncodable` was replaced with a type constraint `where` clause. _Thank you to [@arnauddorgans](https://github.com/arnauddorgans) for the contribution._
- **Introspection-based schema download creates duplicate `@defer` directive definition ([#3417](https://github.com/apollographql/apollo-ios/issues/3417)):** The codegen engine can now correctly detect pre-existing `@defer` directive definitions in introspection sources and prevent the duplicate definition. See PR [#440](https://github.com/apollographql/apollo-ios-dev/pull/440). _Thanks to [@loganblevins](https://github.com/loganblevins) for reporting the issue._

## v1.14.0

### 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.0"
public static let ApolloVersion: String = "1.14.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
"topicSections" : [
{
"identifiers" : [
"doc:\/\/Apollo\/documentation\/Apollo\/CacheWriteInterceptor\/CacheWriteError\/missingCacheRecords",
"doc:\/\/Apollo\/documentation\/Apollo\/CacheWriteInterceptor\/CacheWriteError\/noResponseToParse"
],
"title" : "Enumeration Cases"
Expand Down Expand Up @@ -314,36 +313,10 @@
"type" : "topic",
"url" : "\/documentation\/apollo\/cachewriteinterceptor\/cachewriteerror\/errordescription"
},
"doc://Apollo/documentation/Apollo/CacheWriteInterceptor/CacheWriteError/missingCacheRecords": {
"abstract" : [

],
"fragments" : [
{
"kind" : "keyword",
"text" : "case"
},
{
"kind" : "text",
"text" : " "
},
{
"kind" : "identifier",
"text" : "missingCacheRecords"
}
],
"identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/CacheWriteInterceptor\/CacheWriteError\/missingCacheRecords",
"kind" : "symbol",
"role" : "symbol",
"title" : "CacheWriteInterceptor.CacheWriteError.missingCacheRecords",
"type" : "topic",
"url" : "\/documentation\/apollo\/cachewriteinterceptor\/cachewriteerror\/missingcacherecords"
},
"doc://Apollo/documentation/Apollo/CacheWriteInterceptor/CacheWriteError/noResponseToParse": {
"abstract" : [

],
"deprecated" : true,
"fragments" : [
{
"kind" : "keyword",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
{
"deprecationSummary" : [
{
"inlineContent" : [
{
"text" : "Will be removed in a future version.",
"type" : "text"
}
],
"type" : "paragraph"
}
],
"hierarchy" : {
"paths" : [
[
Expand Down Expand Up @@ -44,9 +33,6 @@
{
"name" : "Apollo"
}
],
"platforms" : [

],
"role" : "symbol",
"roleHeading" : "Case",
Expand Down Expand Up @@ -203,7 +189,6 @@
"abstract" : [

],
"deprecated" : true,
"fragments" : [
{
"kind" : "keyword",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -703,11 +703,11 @@
"type" : "codeVoice"
},
{
"text" : " conforms to ",
"text" : " is ",
"type" : "text"
},
{
"code" : "Hashable",
"code" : "String",
"type" : "codeVoice"
},
{
Expand All @@ -719,11 +719,11 @@
"type" : "codeVoice"
},
{
"text" : " conforms to ",
"text" : " is ",
"type" : "text"
},
{
"code" : "Hashable",
"code" : "AnyHashable",
"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-370r3"
"doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-90ybj"
],
"title" : "GraphQLOperation Implementations"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@
"type" : "text"
},
{
"code" : "AnyScalarType",
"code" : "JSONEncodable",
"type" : "codeVoice"
},
{
Expand Down
Loading
Loading