This repository has been 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
MockedProvider
is using the proper CJS/ESM bundle, when
referencingApolloProvider
.
@jure in #3029. - Adjust the
ApolloContext
definition to play a bit more nicely with
React.createContext
types.
@JoviDeCroock in #3018 - The result of a mutation is now made available to the wrapped component,
when using thegraphql
HOC.
@andycarrell in #3008 - Check equality of stringified variables in the
MockLink
to improve
debugging experience used byMockedProvider
.
@evans in #3078
Bug Fixes
- Removed leftover
apollo-client@beta
peer dep.
@brentertz in #3064 - Stop setting optional input to
null
, when using thegraphql
HOC.
@ZhengYuTay in #3056 - Fix typescript error caused by
query
being mandatory in thefetchMore
signature.
@HsuTing in #3065 - Fixes an issue that caused the
Query
component to get stuck in an always
loading state, caused by receiving an error (meaning subsequent valid
responses couldn't be handled). TheQuery
component can now handle an
error in a response, then continue to handle a valid response afterwards.
@hwillson in #3107 - Reorder
Subscription
component code to avoid setting state on unmounted
component.
@jasonpaulos in #3139 - Fix component stuck in
loading
state fornetwork-only
fetch policy.
@jasonpaulos in #3126