Skip to content

Releases: SvelteStack/svelte-query

v1.1.0

16 Feb 15:21
3d23fe0
Compare
Choose a tag to compare

Bug Fixes

  • use correct query and options when creating infinite query result
  • prevent fetch when switching to disabled query
  • string and array query keys should be similar
  • make sure suspense callbacks get correct data

Features

  • experimental: persistQueryClient and persistors

v1.0.8

12 Feb 13:33
f095638
Compare
Choose a tag to compare

handle select error

v1.0.7

09 Feb 19:49
Compare
Choose a tag to compare

Features

  • run selector if reference changes to enable use of dependencies
  • types: Add optional cancelRefetch field to ResultOptions interface

Bug Fixes

  • accept null values in mutate function
  • check if the navigator global is available before usage
  • make sure state is not updated when unmounted
  • update synchronously to make sure observers always have the latest state
  • single query methods should be exact by default
  • stop fetching pages when an infinite query unmounts

v1.0.6

04 Feb 13:15
84c6428
Compare
Choose a tag to compare
Fix/default options (#7)

* fix(QueryClient): add defaultOptions default value

v1.0.5

04 Feb 09:51
Compare
Choose a tag to compare
  • notify on updates between mounting and subscribing
  • types: Add optional cancelRefetch field to ResultOptions interface
  • accept null values in mutate function

v1.0.4

17 Jan 20:51
Compare
Choose a tag to compare
  • stop returning cancelledError on reset during fetch
  • onlineManager: listen to 'offline' events

v1.0.3

13 Jan 14:59
Compare
Choose a tag to compare

Fix docs

v1.0.2

06 Jan 09:56
Compare
Choose a tag to compare

New sponsors format

v1.0.1

03 Jan 19:19
Compare
Choose a tag to compare

Docs improvement

v1.0.0

31 Dec 22:10
Compare
Choose a tag to compare

First release !