Skip to content

Releases: nmathew98/qwery

v3.1.1

05 May 06:45
764bb5e
Compare
Choose a tag to compare

Release Summary

  • Sort query keys if they are arrays
  • Determine if a fetch is occurring for the first time with isInitialFetch for useMonitoredFetch
  • throwErrors even when suspense is not enabled

What's Changed

Full Changelog: v3.1.0...v3.1.1

v3.1.0

20 Apr 23:48
52ae6ef
Compare
Choose a tag to compare

Release Summary

  • Automatically refetch Qweries by queryKey when a change a dispatched against one Qwery, cycles are detected
  • Added toAsyncIterable helper to convert any function into an async iterable to be used with subscribe
  • Fixed issues with the writable status of a broadcasting Qwery changing in React (available on 2.1.6)
  • Fixed issues with Qwery not being recreated when props change in React (available on 2.1.6)
  • 2.1.x will be marked as deprecated

What's Changed

  • feat(react,vue,solid,svelte): reset all affected qweries by @nmathew98 in #354
  • fix(react,vue,solid,svelte): circular affects by @nmathew98 in #355
  • fix(react,vue,solid,svelte): update circular affects log message by @nmathew98 in #356
  • fix(react,vue,solid,svelte): multiple resets for a single stringified query key since its not guaranteed to be unique by @nmathew98 in #357
  • feat(react,vue,solid,svelte): placeholder data by @nmathew98 in #360
  • feat(react,vue,solid,svelte): add toAsyncIterable helper for polling by @nmathew98 in #361
  • fix(react): writable status changing by @nmathew98 in #363
  • fix(react): effect deps arrays by @nmathew98 in #344

Full Changelog: v3.0.4...v3.1.0

v3.0.4

20 Apr 13:59
f89482d
Compare
Choose a tag to compare

Release Summary

  • Dependent Qweries
  • Warnings when there is more than 1 writable broadcasting Qwery (available on 2.1.5)

What's Changed

Full Changelog: v3.0.2...v3.0.4

v3.0.2

18 Apr 13:31
396532a
Compare
Choose a tag to compare

Release Summary

  • There was an issue with suspense causing infinite rerenders in React. This has been fixed and these fixes are also available on 2.1.4. To use suspense with useQwery, it must be within a SuspenseQwery, this applies to both 3.x and 2.1.x, otherwise an error is thrown.

What's Changed

Full Changelog: v3.0.0...v3.0.2

v3.0.0

17 Apr 09:12
02ce495
Compare
Choose a tag to compare

Release Summary

  • Fixed two issues with broadcasting writable Qweries, both available on the latest 2.1.x release
  • Remove deprecated options and mapReduceMaybePromise
  • Updated READMEs

What's Changed

Full Changelog: v2.1.0...v3.0.0

v2.1.2

17 Apr 08:50
dc1cfae
Compare
Choose a tag to compare

Release Summary

  • Allow writable and broadcasting Qweries to refetch on window focus since these changes are persisted

What's Changed

  • fix(react,solid,svelte,vue): allow refetch when writable and broadcasting by @nmathew98 in #328

Full Changelog: v2.1.1...v2.1.2

v2.1.1

17 Apr 08:30
01a4f78
Compare
Choose a tag to compare

Release Summary

  • There was an issue with broadcasting writable Qweries not being able to dispatch unpersisted changes correctly, this is now fixed. The issue stemmed from the query key marked as broadcasting too early which caused onChange, onSuccess and onError to be a noop.

What's Changed

  • fix(react,vue,solid,svelte): writable broadcasting check by @nmathew98 in #325

Full Changelog: v2.1.0...v2.1.1

v2.1.0

16 Apr 08:04
156f589
Compare
Choose a tag to compare

Release Summary

  • First stable release
  • Major fixes: suspense in React and Solid
  • Major new changes: broadcast between two Qweries on the same page, with only one being allowed to be mutating which means automatic cache updates for all Qweries which share the same queryKey
  • API changes: deprecated refetch, now window focus refetching will completely reset the Qwery (all references will change)
  • Include sourcemaps

What's Changed

Full Changelog: v2.0.0...v2.1.0

v2.0.0

08 Apr 08:27
9dc0309
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.7.0...v2.0.0

v1.7.0

01 Apr 02:46
86c42ee
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.6.1...v1.7.0