github apollographql/apollo-ios 1.14.1

latest releases: 1.15.1, 1.15.0, preview-field-merging.1...
one month ago

New

  • Ability to set the journal mode on sqlite cache databases (#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. Thanks to @pixelmatrix for the feature request.

Fixed

  • Fix crash when GraphQLError is “too many validation errors”" (#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): 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): The fatal error logic in JSONEncodable was replaced with a type constraint where clause. Thank you to @arnauddorgans for the contribution.
  • Introspection-based schema download creates duplicate @defer directive definition (#3417): The codegen engine can now correctly detect pre-existing @defer directive definitions in introspection sources and prevent the duplicate definition. See PR #440. Thanks to @loganblevins for reporting the issue.

Don't miss a new apollo-ios release

NewReleases is sending notifications on new releases.