Skip to content

Releases: ConrabOpto/mst-query

v4.0.4

23 Oct 13:28
Compare
Choose a tag to compare
  • Fixed a serious bug with initialData that caused infinite loops

v4.0.3

22 Oct 09:12
Compare
Choose a tag to compare

Breaking changes

  • Queries that use pagination is now created with createInfiniteQuery and useInfiniteQuery
  • onQueryMore is now an option to createInfiniteQuery
  • result is no longer stored on the query

Full Changelog: v3.3.0...v4.0.3

v3.4.0-canary.11

27 Sep 08:58
Compare
Choose a tag to compare

What's Changed

  • fix: Generator field overrides by @dsnn in #73
  • fix: Render null when request changes
  • fix: Add missing meta option in hydrate

Full Changelog: v3.4.0-canary.9...v3.4.0-canary.11

v3.4.0-canary.9

03 Jul 14:07
Compare
Choose a tag to compare

What's Changed

  • Refetch on changed - fix pagination by @k-ode in #59
  • Fix crash on unsubscribe by @k-ode in #61
  • Add invalidate by @k-ode in #62
  • Fix setData type by @k-ode in #65
  • Fix stable identity of functions in hooks #66 by @k-ode in #67
  • Add isStale to useQuery to deterine if a query is stale #69 by @k-ode in #70

Full Changelog: v3.3.0...v3.4.0-canary.9

v3.3.0

12 Jan 14:51
90c25b6
Compare
Choose a tag to compare

What's Changed

  • Feature/amend query types by @k-ode in #57
  • Add refetchOnMount & refetchOnRequestChanged by @k-ode in #58

Full Changelog: v3.2.0...v3.3.0

v3.2.0

09 Jan 12:47
0b12911
Compare
Choose a tag to compare

What's Changed

  • Fix types for query methods and allow empty queryMore by @k-ode in #56

Full Changelog: v3.1.8...v3.2.0

v3.1.8

24 Oct 10:04
dc67c60
Compare
Choose a tag to compare

3.1.8 (2023-10-24)

Full Changelog: v3.1.7...v3.1.8

v3.1.7

19 Oct 13:57
Compare
Choose a tag to compare

3.1.7 (2023-10-19)

  • Fix types & unprotect onQueryMore/onMutate by @k-ode in #54

Full Changelog: v3.1.5...v3.1.7

v3.1.5

28 Sep 17:06
Compare
Choose a tag to compare

3.1.5 (2023-09-28)

  • Add optimisticUpdate api by @k-ode in #49
  • Fix changing query argument in useQuery by @k-ode in #51
  • Fix useVolatileQuery request by @k-ode in #52
  • Fix safeReference

Full Changelog: v3.0.5...v3.1.5

v3.0.5

27 Jun 11:19
5edc073
Compare
Choose a tag to compare

3.0.5 (2023-06-27)

  • Can use standard types.reference instead of MstQueryRef. MstQueryRef is removed.
  • No need for actions or generators! If you use hooks you no longer need to supply an action, it will automatically do the right thing for you.
  • Removed onSuccess callback on useQuery since they tend to lead to subtle bugs
  • Added two reactive listener callbacks onMutate and onQueryMore. See README for examples.