Releases: ConrabOpto/mst-query
Releases · ConrabOpto/mst-query
v4.0.4
v4.0.3
Breaking changes
- Queries that use pagination is now created with
createInfiniteQuery
anduseInfiniteQuery
- 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
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
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
v3.2.0
v3.1.8
v3.1.7
v3.1.5
v3.0.5
3.0.5 (2023-06-27)
- Can use standard
types.reference
instead ofMstQueryRef
.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
andonQueryMore
. See README for examples.