github apollographql/apollo-ios 1.5.0

latest releases: 1.15.3, 1.15.2, 1.15.1...
14 months ago

New

  • Added the ability pass a custom RequestContext to networking APIs (#3198): Thank you to @danieltiger for the contribution.
    • Minor Breaking Change: The requestContext parameter is optional with a default value of nil. This means there are no breaking changes to the APIs for making networking calls. However, the requestContext parameter was also added to the ApolloClientProtocol. For custom implementations of this protocol (usually used for unit testing), you will need to add the requestContext parameter to your function signatures.

Fixed

  • Null values are no longer stripped from the underlying data used by generated SelectionSet models (apollo-ios-dev/#25):
    • When these models were manually inserted into the cache, the null fields, which were stripped, were not written to the cache. This caused unintended cache misses when fetching those values back out of the cache.
    • This fixes #3092. Thank you to @aleksanderlorenc-lw for raising this issue.

Don't miss a new apollo-ios release

NewReleases is sending notifications on new releases.