Skip to content

Releases: trojanowski/react-apollo-hooks

v0.2.0

30 Nov 15:09
Compare
Choose a tag to compare

Bug Fixes

  • cache queries for not-mounted yet components. It fixes problems with infinite loops after error occurred. (246208c), closes #23
  • remove no longer needed warning dependency (0c4459b)
  • update React peer dependency (768d851)

Features

  • remove deprecated methods (a601691)

BREAKING CHANGES

  • minimum supported (and tested) version of React is now 16.7.0-alpha.2
  • useApolloQuery and useApolloMutation are removed. Please use useQuery and useMutation instead.

v0.1.8

29 Nov 18:50
Compare
Choose a tag to compare

Bug Fixes

  • typescript: parametrize update option of useMutation hook (f8d6c26)

v0.1.7

27 Nov 20:51
Compare
Choose a tag to compare

Features

  • add more ObservableQuery functions to useQuery (b0a3923), closes #24

v0.1.6

13 Nov 09:12
Compare
Choose a tag to compare

Features

  • typescript: add notifyOnNetworkStatusChange and pollInterval to useQuery options in TypeScript definitions (f2db5b3), closes #18

v0.1.5

10 Nov 16:16
Compare
Choose a tag to compare

Bug Fixes

  • typescript: make suspend option of useQuery hook optional (7e776a6)

v0.1.4

10 Nov 16:15
Compare
Choose a tag to compare

Features

  • allow to use useQuery hook without suspense (db119e5)

v0.1.3

08 Nov 07:41
Compare
Choose a tag to compare

Features

  • add useQuery and useMutation hooks; deprecate useApolloQuery and useApolloMutation (e769f94), closes #6 #9

v0.1.2

07 Nov 20:39
Compare
Choose a tag to compare

Features

  • ts: allow to specify a TypeScript result type of mutations (7ff3647), closes #10

v0.1.1

02 Nov 09:59
Compare
Choose a tag to compare

Add typescript definitions (#3)
Resubscribe after query options changed
Transpile using the loose mode