Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

2.5.7

Compare
Choose a tag to compare
@hwillson hwillson released this 21 Jun 18:00
· 663 commits to master since this release

2.5.7 (2019-06-21)

Improvements

  • Make sure MockedProvider is using the proper CJS/ESM bundle, when
    referencing ApolloProvider.
    @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 the graphql HOC.
    @andycarrell in #3008
  • Check equality of stringified variables in the MockLink to improve
    debugging experience used by MockedProvider.
    @evans in #3078

Bug Fixes

  • Removed leftover apollo-client@beta peer dep.
    @brentertz in #3064
  • Stop setting optional input to null, when using the graphql HOC.
    @ZhengYuTay in #3056
  • Fix typescript error caused by query being mandatory in the fetchMore
    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). The Query 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 for network-only fetch policy.
    @jasonpaulos in #3126