Skip to content

Releases: relay-tools/relay-hooks

v10.0.0

04 Sep 17:45

Choose a tag to compare

Improved

  • added support react v19 PR: #288 issue: #286

v9.4.0

15 Jul 14:18

Choose a tag to compare

Improved

  • added support relay-runtime v20.0.0 PR: #290 issue: #289

v9.3.0

14 May 08:37

Choose a tag to compare

Improved

  • added support relay-runtime v19.0.0 #285

v9.2.0

26 Nov 11:50

Choose a tag to compare

Improved

  • added support relay-runtime v18.0.0 #282

v9.1.0

26 Nov 09:32

Choose a tag to compare

Improved

  • added support relay-runtime v17.0.0 #279

v9.0.0

17 Jan 16:44

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

Choose a tag to compare

Fixed

  • fixed useFragment, usePagination and useRefetchable types #255

v8.0.1

07 Sep 14:31

Choose a tag to compare

Fixed

  • @Required directive #251

v8.0.0

12 May 18:50
3894bb0

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

Choose a tag to compare