Skip to content

v0.4.0

Compare
Choose a tag to compare
@trojanowski trojanowski released this 13 Feb 22:29
· 23 commits to master since this release

Bug Fixes

Chores

  • update React peer dependency to ^16.8.0 (#78) (56abacc)

Features

  • getMarkupFromTree: add onBeforeRender handler (#64) (ba2af83)
  • useQuery: change default value for the suspend option to false (#80) (8e34e01)
  • useQuery: combine GraphQL errors in single ApolloError (#58) (18afba5)
  • useQuery: forward networkStatus for queries not using suspense (fb22d06)

BREAKING CHANGES

  • useQuery: The default for the suspend option of useQuery is changed to false, and that hook no longer uses suspense by default. Suspense for data fetching is not recommended yet for production code. Please look at the issue #69 for details.
  • minimum supported (and tested) version of React is now 16.8.0
  • useQuery: if there are GraphQL errors in the response, you'll also have error property in the object returned by useQuery. It may be breaking for you if you use the presence of it to differentiate between network and GraphQL errors.