Skip to content

1.15.0

Compare
Choose a tag to compare
@apollo-bot2 apollo-bot2 released this 16 Aug 19:06
· 16 commits to main since this release

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 on HTTPResponse (#456): When the legacyResponse property of HTTPResponse 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 in ObjectData.
  • 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 of self. 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