New
- Add ability to disable fragment field merging (#431): Added
ApolloCodegenConfiguration
option to allow for disabling fragment field merging on generated models. For more information on this feature see the notes here.
Fixed
- Fix
legacyResponse
property not being set onHTTPResponse
(#456): When thelegacyResponse
property ofHTTPResponse
was deprecated setting the value was also removed; this was incorrect as it created a hidden breaking change for interceptors that might have been using the value. - Fix
ObjectData
type check (#459): Fixed bool type check inObjectData
. - Fix
SelectionSetTemplate
scope comparison (#460): Refactored the selection set template scope comparison to account for an edge case in merged sources. - Fix memory leak in DataLoader closure (#457): Fixed a memory leak in the DataLoader closure in
ApolloStore
caused by implicit use ofself
. Thank you to @prabhuamol for finding and fixing this.
Breaking
- Bug Fix: Generated Selections Sets in Inclusion Condition Scope: This fixes a bug when using @include/@Skip where generated models that should have been generated inside of a conditional inline fragment were generated outside of the conditional scope. This may cause breaking changes for a small number of users. Those breaking changes are considered a bug fix since accessing the conditional inline fragments outside of the conditional scope could cause runtime crashes (if the conditions for their inclusion were not met). More information here