@tanstack/vue-query#
5.107.1#
Patch Changes#
#12542
025773a- fix(vue-query): keep query-core'senabled(query)callback. Zero-argument getters and refs stay reactive; the query callback is passed through to query-core.#12541
f4199ab- feat(vue-query): return a reactivestatefromuseQuerysostatus === 'success'narrowsdatawithout unwrapping refsUpdated dependencies []:
- @tanstack/query-core@5.107.1
5.107.0#
Patch Changes#
#12494
00dc8de- ResetisRestoringinVueQueryPluginwhen theclientPersisterpromise rejects, so queries no longer wait forever for a failed restore, and handle the rejection instead of leaving it unhandled.#12537
2cdba60- fix(vue-query/useInfiniteQuery): return 'UseInfiniteQueryDefinedReturnType' from the 'Defined' overload so 'data' is no longer typed as possibly 'undefined' when 'initialData' is definedUpdated dependencies [
b6add89]:- @tanstack/query-core@5.107.0
5.106.1#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.106.1
5.106.0#
Patch Changes#
#12525
e712412- Accept reactive query options in Vue QueryClient execution methods.#12226
3ccb007- fix(vue-query/queryClient): preserve union narrowing in 'setQueryData' updaters for tagged query keysUpdated dependencies []:
- @tanstack/query-core@5.106.0
5.105.3#
Patch Changes#
5.105.2#
Patch Changes#
- #12480
8d0dc27- Excludestatusfrom the filters accepted byQueryClient.isMutating,useIsMutating, andinjectIsMutating. These APIs always count mutations withstatus: 'pending'. - Updated dependencies [
2ee2fd9,8d0dc27,e69cac6,f2215d2,86e7957,b6576b3,af0e0ef,05d9b6a]:- @tanstack/query-core@5.105.2
5.105.1#
Patch Changes#
#11373
7ccba6e- fix({react,preact,angular,solid,vue}-query/infiniteQueryOptions): correct the overload selected for a possibly-undefined 'initialData'#12390
18e54bf- ExcludefetchStatusfrom the filters accepted byQueryClient.isFetching,useIsFetching, andinjectIsFetching. These APIs always count queries withfetchStatus: 'fetching'.Updated dependencies [
6f8a48d,18e54bf]:- @tanstack/query-core@5.105.1
5.105.0#
Patch Changes#
- #11921
c5de051- fix(vue-query/queryClient): infer the data and error types of 'getQueryState' from a tagged query key - Updated dependencies []:
- @tanstack/query-core@5.105.0
5.104.5#
Patch Changes#
- Updated dependencies [
f608f93]:- @tanstack/query-core@5.104.5
5.104.4#
Patch Changes#
5.104.3#
Patch Changes#
- Updated dependencies [
0f15bc9]:- @tanstack/query-core@5.104.3
5.104.2#
Patch Changes#
- #11796
69e114a- Export theMutationResulttype so inferreduseMutationreturn types can be named when emitting declarations - Updated dependencies [
03e8c39]:- @tanstack/query-core@5.104.2
5.104.1#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.104.1
5.104.0#
Minor Changes#
Patch Changes#
- Updated dependencies [
5279b05]:- @tanstack/query-core@5.104.0
5.103.3#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.103.3
5.103.2#
Patch Changes#
- Updated dependencies [
8a28904]:- @tanstack/query-core@5.103.2
5.103.1#
Patch Changes#
5.103.0#
Patch Changes#
#11439
12027ef- fix(vue-query): make sure useQuery can accept queryOptions on type level#11287
2bc8ecf- Re-export core query and mutation filter types without shadowing them with Vue-specific filter types.Updated dependencies [
e57f816,fdae2ce,a1119e5,cbf77bf]:- @tanstack/query-core@5.103.0
5.102.8#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.102.8
5.102.7#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.102.7
5.102.6#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.102.6
5.102.5#
Patch Changes#
- Updated dependencies [
578e5c2]:- @tanstack/query-core@5.102.5
5.102.4#
Patch Changes#
- Updated dependencies [
a05df6a]:- @tanstack/query-core@5.102.4
5.102.3#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.102.3
5.102.2#
Patch Changes#
- Updated dependencies [
80fbf73]:- @tanstack/query-core@5.102.2
5.102.1#
Patch Changes#
- Updated dependencies [
134890d]:- @tanstack/query-core@5.102.1
5.102.0#
Minor Changes#
Patch Changes#
#10373
6e3d521- fix(types): propagate generic type parameters touseMutationStateselect callback#11224
294d4e6- FixqueryOptionsandinfiniteQueryOptionsreturn types so exported inferred options can be emitted in declaration files without leaking internal data tag symbols.#8737
2215bb0- fix: make mutation variables optional whenundefined extends TVariables#11221
1ef4208- Remove experimental render-time prefetching and thepromiseproperty from query results.#10584
5199f08- fix(vue-query): preserveTQueryKeyinference when wrappinguseQueryin a composable with a generic paramUpdated dependencies [
34f7cee,b4368c4,5bb089d,ba4650c,294d4e6,1f631b3,01a02bf,18c1c1e,5448063,2215bb0,1ef4208,5981771,4a9bef6,bef4bc7,9656dc4,326aaf1,3e83601,c6fc17c]:- @tanstack/query-core@5.102.0
5.101.4#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.101.4
5.101.3#
Patch Changes#
- Updated dependencies [
7e3c822]:- @tanstack/query-core@5.101.3
5.101.2#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.101.2
5.101.1#
Patch Changes#
- Updated dependencies [
9eff92e]:- @tanstack/query-core@5.101.1
5.101.0#
Patch Changes#
#10826
1348095- Replace deprecated isServer with environmentManager.isServer()Updated dependencies []:
- @tanstack/query-core@5.101.0
5.100.14#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.100.14
5.100.13#
Patch Changes#
fix(query-core): drop the custom
NoInfer<T>re-export and rely on TypeScript's built-inNoInfer(TS ≥ 5.4) soNoInfer<X[K]>stays assignable toX[K]in generic contexts (fixes #9937) (#10593)Updated dependencies [
d423168]:- @tanstack/query-core@5.100.13
5.100.12#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.100.12
5.100.11#
Patch Changes#
fix(vue-query): allow reactive and getter values as
queryKeyproperty inqueryOptions(#10530)This fixes a regression introduced in #10452 where
queryOptionsonly accepted plain arrays for thequeryKeyproperty, but notcomputedrefs,Refvalues, or getter functions. The related fix in #10465 only covered theenabledproperty.Now the
queryKeyproperty inqueryOptionsaccepts the same reactive forms asenabled:- Plain
QueryKeyarrays Ref<QueryKey>ComputedRef<QueryKey>() => QueryKey(getter)
- Plain
Updated dependencies []:
- @tanstack/query-core@5.100.11
5.100.10#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.100.10
5.100.9#
Patch Changes#
- Updated dependencies [
fcee7bd]:- @tanstack/query-core@5.100.9
5.100.8#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.100.8
5.100.7#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.100.7
5.100.6#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.100.6
5.100.5#
Patch Changes#
- Updated dependencies [
a53ef97]:- @tanstack/query-core@5.100.5
5.100.4#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.100.4
5.100.3#
Patch Changes#
- Updated dependencies [
f85d825]:- @tanstack/query-core@5.100.3
5.100.2#
Patch Changes#
5.100.1#
Patch Changes#
- Updated dependencies [
1bb0d23]:- @tanstack/query-core@5.100.1
5.100.0#
Patch Changes#
- Updated dependencies [
6540a41]:- @tanstack/query-core@5.100.0
5.99.2#
Patch Changes#
fix(vue-query): allow computed ref and other reactive values as
enabledproperty in queryOptions (#10465)This fixes a regression introduced in #10452 where
queryOptionsonly accepted getter functions for theenabledproperty, but notcomputedrefs or other reactive values.Now the
enabledproperty inqueryOptionscorrectly accepts:booleanvaluesRef<boolean>ComputedRef<boolean>() => booleangetter functions(query) => booleanquery predicate functions
Updated dependencies []:
- @tanstack/query-core@5.99.2
5.99.1#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.99.1
5.99.0#
Minor Changes#
- feat(vue-query): add 'mutationOptions' (#10381)
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.99.0
5.98.0#
Minor Changes#
- Add usePrefetchQuery and usePrefetchInfiniteQuery to vue-query. (#10372)
Patch Changes#
fix(vue-query): fix type of queryOptions to allow plain properies or getters (#10452)
Updated dependencies []:
- @tanstack/query-core@5.98.0
5.97.0#
Patch Changes#
- Updated dependencies [
2bfb12c]:- @tanstack/query-core@5.97.0
5.96.2#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.96.2
5.96.1#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.96.1
5.96.0#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.96.0
5.95.2#
Patch Changes#
- Updated dependencies [
cd5a35b]:- @tanstack/query-core@5.95.2
5.95.1#
Patch Changes#
- Updated dependencies [
1f1775c]:- @tanstack/query-core@5.95.1
5.95.0#
Patch Changes#
- Updated dependencies []:
- @tanstack/query-core@5.95.0
5.94.5#
Patch Changes#
fix(*): resolve issue about excluded build directory (#10312)
Updated dependencies [
4b6536d]:- @tanstack/query-core@5.94.5
5.94.4#
Patch Changes#
5.92.12#
Patch Changes#
fix(streamedQuery): maintain error state on reset refetch with initialData defined (#10287)
Updated dependencies [
248975e]:- @tanstack/query-core@5.91.2
5.92.11#
Patch Changes#
- Updated dependencies [
a89aab9]:- @tanstack/query-core@5.91.1
5.92.10#
Patch Changes#
fix(vue-query/useMutation): add missing '_defaulted' omit in 'UseMutationOptionsBase' (#10215)
Updated dependencies [
6fa901b]:- @tanstack/query-core@5.91.0
5.92.9#
Patch Changes#
- Updated dependencies [
e7258c5]:- @tanstack/query-core@5.90.20
5.92.8#
Patch Changes#
- Updated dependencies [
53fc74e]:- @tanstack/query-core@5.90.19
5.92.7#
Patch Changes#
- Updated dependencies [
dea1614]:- @tanstack/query-core@5.90.18
5.92.6#
Patch Changes#
- Updated dependencies [
269351b]:- @tanstack/query-core@5.90.17
5.92.5#
Patch Changes#
- Updated dependencies [
7f47906]:- @tanstack/query-core@5.90.16
5.92.4#
Patch Changes#
- Updated dependencies [
fccef79]:- @tanstack/query-core@5.90.15
5.92.3#
Patch Changes#
- Updated dependencies [
d576092]:- @tanstack/query-core@5.90.14
5.92.2#
Patch Changes#
- Updated dependencies [
4a0a78a]:- @tanstack/query-core@5.90.13
5.92.1#
Patch Changes#
- Updated dependencies [
72d8ac5]:- @tanstack/query-core@5.90.12
5.92.0#
Minor Changes#
- feat(vue-query): allow options getters in additional composables (#9914)
5.91.4#
Patch Changes#
- Updated dependencies [
c01b150]:- @tanstack/query-core@5.90.11
5.91.3#
Patch Changes#
- Include TPageParam in enabled of InfiniteQueryObserverOptions (#9898)
5.91.2#
Patch Changes#
5.91.1#
Patch Changes#
- Updated dependencies [
08b211f]:- @tanstack/query-core@5.90.9
5.91.0#
Minor Changes#
- feat(vue-query): support useQuery options getter (#9866)
5.90.8#
Patch Changes#
- Updated dependencies [
c0ec9fe]:- @tanstack/query-core@5.90.8
5.90.7#
Patch Changes#
- Updated dependencies [
b4cd121]:- @tanstack/query-core@5.90.7
5.90.6#
Patch Changes#
- Updated dependencies [
1638c02]:- @tanstack/query-core@5.90.6
5.90.5#
Patch Changes#
- Updated dependencies [
e42ddfe]:- @tanstack/query-core@5.90.5
5.90.4#
Patch Changes#
- Updated dependencies [
20ef922]:- @tanstack/query-core@5.90.4
5.90.3#
Patch Changes#
- Updated dependencies [
4e1c433]:- @tanstack/query-core@5.90.3