This repository was archived by the owner on Apr 13, 2023. It is now read-only.
2.5.7
2.5.7 (2019-06-21)
Improvements
- Make sure
MockedProvideris using the proper CJS/ESM bundle, when
referencingApolloProvider.
@jure in #3029. - Adjust the
ApolloContextdefinition to play a bit more nicely with
React.createContexttypes.
@JoviDeCroock in #3018 - The result of a mutation is now made available to the wrapped component,
when using thegraphqlHOC.
@andycarrell in #3008 - Check equality of stringified variables in the
MockLinkto improve
debugging experience used byMockedProvider.
@evans in #3078
Bug Fixes
- Removed leftover
apollo-client@betapeer dep.
@brentertz in #3064 - Stop setting optional input to
null, when using thegraphqlHOC.
@ZhengYuTay in #3056 - Fix typescript error caused by
querybeing mandatory in thefetchMore
signature.
@HsuTing in #3065 - Fixes an issue that caused the
Querycomponent to get stuck in an always
loading state, caused by receiving an error (meaning subsequent valid
responses couldn't be handled). TheQuerycomponent can now handle an
error in a response, then continue to handle a valid response afterwards.
@hwillson in #3107 - Reorder
Subscriptioncomponent code to avoid setting state on unmounted
component.
@jasonpaulos in #3139 - Fix component stuck in
loadingstate fornetwork-onlyfetch policy.
@jasonpaulos in #3126