Skip to content

Releases: SvelteStack/svelte-query

v1.6.0

22 Jan 21:29
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.5.0...v1.6.0

v1.5.0

11 Nov 18:05
Compare
Choose a tag to compare

Thanks to @SomaticIT, @benmccann, @basaran

Features

  • Infer types correctly when using useQueries (#56)
  • Improve components types with generics and generate definitions (#61)

Bug Fixes

  • Update broadcast-channel to 4.2.0 (#51)
  • Make broadcast-channel optional (#62)
  • Update queryHash when queryKey is updated using updateOptions (#55)

Docs

  • Invalid link (#54)

Experimental breaking changes

  • To use broadcastQueryClient, you now need to manually install broadcast-channel.
  • broadcastQueryClient is now async (should be used in onMount)

v1.4.1

22 May 18:06
Compare
Choose a tag to compare

Thanks to @frederikhors

Bug Fixes

  • Update broadcast-channel #44

v1.4.0

19 Apr 12:57
Compare
Choose a tag to compare

Thanks to @SomaticIT 👍

Feature

  • add setEnabled function to queries and infinite queries (#33)
  • add updateOptions to queries and infinite queries (#33)

v1.3.3

19 Apr 10:08
Compare
Choose a tag to compare

Bug Fixes

  • types: Add undefined return type in onMutate
  • useQuery: let type of queryKey for the QueryContext be inferred from the key passed to useQuery

v1.3.2

13 Apr 17:19
Compare
Choose a tag to compare

Fix

  • update yarn lock

v1.3.1

13 Apr 17:12
Compare
Choose a tag to compare

Big thanks to @frederikhors and @SomaticIT 👍

Fix

v1.3.0

22 Mar 16:23
653c640
Compare
Choose a tag to compare

Features

  • add useIsMutating hook

Bug Fixes

  • queryObserver: re-run selector if it throws error

v1.2.1

26 Feb 08:35
Compare
Choose a tag to compare

Bug Fixes

  • docs: add the broadcastQueryClient section

v1.2.0

26 Feb 08:23
a073d83
Compare
Choose a tag to compare

Features

  • broadcastQueryClient: experimental support for tab/window syncing
  • pass error as second parameter to retryDelay function
  • subscriptions: add event types and metadata to subscriptions