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 ofnil
. This means there are no breaking changes to the APIs for making networking calls. However, therequestContext
parameter was also added to theApolloClientProtocol
. For custom implementations of this protocol (usually used for unit testing), you will need to add therequestContext
parameter to your function signatures.
- Minor Breaking Change: The
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.