All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.6.0 (2024-04-02)
- mutation: Rename type
UseQueryStatus
toQueryStatus
- mutation:
mutate
no longer returns a promise and catches errors to be safely used in templates. The old behavior remains the same withmutateAsync
- mutation: the
mutation
option inuseMutation()
now only accepts one argument for the variables. This allows to add extra parameters in the future like a signal, an extra context, etc
-
abort pending query signal on new query (6b6195f)
-
allow typing the error with transformError (fd35f6f)
-
mutation: add mutateAsync (5c97b69)
-
mutation: allow passing the context to mutation (b9acca0)
-
mutation: defineMutation wip (5866907)
-
mutation: require one argument only for useMutation (86b5996)
-
query: add data and errors to global hooks (b4caeca)
-
query: defineQuery (e0f7768)
-
return promise when invalidating query (c431284)
-
useMutation: add hook context (0894a81)
-
useMutation: add hooks (c44af13)
-
mutation: rename UseQueryStatus to QueryStatus (ff0067a)
0.5.3 (2024-02-21)
- onScopeDispose guard (0ed15fe)
0.5.2 (2024-02-20)
- allow writing to entries (8e9ac7e)
0.5.1 (2024-02-19)
- types: allow default error type (68c2f8d)
- avoid computed warns (c11ee2f)
0.5.0 (2024-02-19)
- remove internal global defaults
- force array of keys to avoid easy mistakes
-
pass signal to query (bf1666c)
-
force array of keys to avoid easy mistakes (7d95da0)
-
remove internal global defaults (53ce0bc)
0.4.3 (2024-02-11)
- add delayLoadingRef (ebbc503)
0.4.2 (2024-02-08)
- avoid warn onScopeDispose (47ac1a6)
0.4.1 (2024-02-07)
- logs
0.4.0 (2024-02-06)
- rename data fetching store
- replace class usage
- add
QueryPlugin
to configure useQuery() status
property,isPending
,isFetching
are now a bit different.
-
ssr: wip initial version (8e6cbf6)
-
adapt status (2d5625c)
-
add
QueryPlugin
to configure useQuery() (67cb2d3) -
rename data fetching store (b9ef0fb)
-
replace class usage (9bf1fd9)
0.3.1 (2024-02-03)
- useMutation: options (23eccb1)
0.3.0 (2024-02-03)
-
The option
fetcher
foruseQuery()
has been renamed toquery
. The optionmutator
foruseMutation()
has been renamedmutation
. -
rename options for
useQuery
anduseMutation
(28ecc75)
0.2.0 (2024-01-16)
- remove iife version
- accept function in setEntryData (2abb7c0)
- allow array of keys (7be2e80)
- do not refresh by default outside of components (b6e45fb)
- traverse tree map (b12547f)
- wip tree map (b87bff4)
- remove iife version (0ee5c8a)
0.1.0 (2023-12-25)
- rename options
- initial version (7abe80d)