Skip to content

Releases: relay-tools/relay-hooks

v9.2.0

26 Nov 11:50
Compare
Choose a tag to compare

Improved

  • added support relay-runtime v18.0.0 #282

v9.1.0

26 Nov 09:32
Compare
Choose a tag to compare

Improved

  • added support relay-runtime v17.0.0 #279

v9.0.0

17 Jan 16:44
Compare
Choose a tag to compare

Improved

  • added support relay-runtime v16.0.0

Fixed

  • types: RelayEnvironmentProvider should accept IEnvironment #266
  • usePagination does't send the object ID #263
  • usePagination bug: loadNext doesn't work when using a custom identifier field #215
  • useForceUpdate hook unreliable with React 18.2 on Safari, due to mounted check via effect #247

v8.0.2

07 Nov 14:22
Compare
Choose a tag to compare

Fixed

  • fixed useFragment, usePagination and useRefetchable types #255

v8.0.1

07 Sep 14:31
Compare
Choose a tag to compare

Fixed

  • @Required directive #251

v8.0.0

12 May 18:50
3894bb0
Compare
Choose a tag to compare

Improved

  • improve rendering for query without incremental data #241:
    when the response doesn't have the hasNext field set to true

    • data null, isLoading to true
    • data provided, isLoading a false (the query is resolved) (the re-render is called in onComplete function)

    when the responsehave the hasNext field set to true, so the response waiting

    • data null, isLoading to true
    • data provided, isLoading a true (waiting for possible incremental data) (the re-render is called in onNext function)
    • data provided, isLoading a false (the query is resolved) (the re-render is called in onComplete function)
  • support relay v15 #240

Fixed

v7.2.1

01 Mar 19:38
Compare
Choose a tag to compare

v7.2.0

29 Nov 16:26
9e0151c
Compare
Choose a tag to compare

Improved

  • support relay v14

v7.1.0

20 May 09:47
2947f93
Compare
Choose a tag to compare

Improved

  • support react v18 #218

v7.0.0

07 Feb 10:01
Compare
Choose a tag to compare

Improved