From 4521a04a2532972eb7c591c6fafa248b28c326eb Mon Sep 17 00:00:00 2001 From: Alex Liu Date: Mon, 16 Dec 2024 23:14:41 +0800 Subject: [PATCH 1/4] docs: use correct `broadcastChannel` default value and type name (#8436) --- docs/framework/react/plugins/broadcastQueryClient.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/framework/react/plugins/broadcastQueryClient.md b/docs/framework/react/plugins/broadcastQueryClient.md index 4c279a5a2c..46b0306c92 100644 --- a/docs/framework/react/plugins/broadcastQueryClient.md +++ b/docs/framework/react/plugins/broadcastQueryClient.md @@ -41,7 +41,7 @@ broadcastQueryClient({ queryClient, broadcastChannel }) An object of options: ```tsx -interface broadcastQueryClient { +interface BroadcastQueryClientOptions { /** The QueryClient to sync */ queryClient: QueryClient /** This is the unique channel name that will be used @@ -56,6 +56,6 @@ The default options are: ```tsx { - broadcastChannel = 'react-query', + broadcastChannel = 'tanstack-query', } ``` From 4989399a86abe45fb75361b4e33a25a130cdf3be Mon Sep 17 00:00:00 2001 From: Nick Lucas Date: Tue, 17 Dec 2024 17:06:55 +0000 Subject: [PATCH 2/4] fix(types): fix issues with queryOptions factory method types (#8394) * Fix issues with queryOptions factory method types * Apply the same fixes to infiniteQueryOptions * Revert change to failing test * Fix test in more userland way * Unused import * Add tRPC-style solution * Unused import --------- Co-authored-by: Dominik Dorfmeister --- .../src/__tests__/queryClient.test-d.tsx | 9 +---- .../query-core/src/__tests__/utils.test-d.tsx | 4 +- packages/query-core/src/types.ts | 16 ++++++-- .../__tests__/infiniteQueryOptions.test-d.tsx | 40 ++++++++++++++++++- .../src/__tests__/queryOptions.test-d.tsx | 37 ++++++++++++++++- .../react-query/src/infiniteQueryOptions.ts | 6 +-- packages/react-query/src/queryOptions.ts | 10 ++--- packages/react-query/src/types.ts | 25 ++++++++++++ 8 files changed, 124 insertions(+), 23 deletions(-) diff --git a/packages/query-core/src/__tests__/queryClient.test-d.tsx b/packages/query-core/src/__tests__/queryClient.test-d.tsx index 4f0d42fc84..ddde0903ad 100644 --- a/packages/query-core/src/__tests__/queryClient.test-d.tsx +++ b/packages/query-core/src/__tests__/queryClient.test-d.tsx @@ -228,16 +228,11 @@ describe('fully typed usage', () => { TData, TError, TData, - QueryKey & DataTag + DataTag > = { predicate(query) { expectTypeOf(query).toEqualTypeOf< - Query< - TData, - TError, - TData, - QueryKey & DataTag - > + Query> >() expectTypeOf(query.state.data).toEqualTypeOf() expectTypeOf(query.state.error).toEqualTypeOf() diff --git a/packages/query-core/src/__tests__/utils.test-d.tsx b/packages/query-core/src/__tests__/utils.test-d.tsx index 2c602ddc3b..91be29f3d4 100644 --- a/packages/query-core/src/__tests__/utils.test-d.tsx +++ b/packages/query-core/src/__tests__/utils.test-d.tsx @@ -11,7 +11,7 @@ describe('QueryFilters', () => { TData, Error, TData, - QueryKey & DataTag + DataTag > = { predicate(query) { expectTypeOf(query.setData({ a: 1, b: '1' })).toEqualTypeOf() @@ -37,7 +37,7 @@ describe('QueryFilters', () => { TData, TError, TData, - QueryKey & DataTag + DataTag > = { predicate(query) { expectTypeOf(query.setData({ a: 1, b: '1' })).toEqualTypeOf() diff --git a/packages/query-core/src/types.ts b/packages/query-core/src/types.ts index a21016bf2c..ea43533811 100644 --- a/packages/query-core/src/types.ts +++ b/packages/query-core/src/types.ts @@ -46,10 +46,20 @@ export declare const dataTagSymbol: unique symbol export declare const dataTagErrorSymbol: unique symbol export declare const unsetMarker: unique symbol export type UnsetMarker = typeof unsetMarker -export type DataTag = TType & { - [dataTagSymbol]: TValue - [dataTagErrorSymbol]: TError +export type AnyDataTag = { + [dataTagSymbol]: any + [dataTagErrorSymbol]: any } +export type DataTag< + TType, + TValue, + TError = UnsetMarker, +> = TType extends AnyDataTag + ? TType + : TType & { + [dataTagSymbol]: TValue + [dataTagErrorSymbol]: TError + } export type QueryFunction< T = unknown, diff --git a/packages/react-query/src/__tests__/infiniteQueryOptions.test-d.tsx b/packages/react-query/src/__tests__/infiniteQueryOptions.test-d.tsx index 363ea1b37c..c5d7efeee9 100644 --- a/packages/react-query/src/__tests__/infiniteQueryOptions.test-d.tsx +++ b/packages/react-query/src/__tests__/infiniteQueryOptions.test-d.tsx @@ -4,7 +4,11 @@ import { infiniteQueryOptions } from '../infiniteQueryOptions' import { useInfiniteQuery } from '../useInfiniteQuery' import { useSuspenseInfiniteQuery } from '../useSuspenseInfiniteQuery' import { useQuery } from '../useQuery' -import type { InfiniteData, InitialDataFunction } from '@tanstack/query-core' +import type { + DataTag, + InfiniteData, + InitialDataFunction, +} from '@tanstack/query-core' describe('infiniteQueryOptions', () => { it('should not allow excess properties', () => { @@ -200,4 +204,38 @@ describe('infiniteQueryOptions', () => { | undefined >() }) + + it('should return a custom query key type', () => { + type MyQueryKey = [Array, { type: 'foo' }] + + const options = infiniteQueryOptions({ + queryKey: [['key'], { type: 'foo' }] as MyQueryKey, + queryFn: () => Promise.resolve(1), + getNextPageParam: () => 1, + initialPageParam: 1, + }) + + expectTypeOf(options.queryKey).toEqualTypeOf< + DataTag, Error> + >() + }) + + it('should return a custom query key type with datatag', () => { + type MyQueryKey = DataTag< + [Array, { type: 'foo' }], + number, + Error & { myMessage: string } + > + + const options = infiniteQueryOptions({ + queryKey: [['key'], { type: 'foo' }] as MyQueryKey, + queryFn: () => Promise.resolve(1), + getNextPageParam: () => 1, + initialPageParam: 1, + }) + + expectTypeOf(options.queryKey).toEqualTypeOf< + DataTag, Error & { myMessage: string }> + >() + }) }) diff --git a/packages/react-query/src/__tests__/queryOptions.test-d.tsx b/packages/react-query/src/__tests__/queryOptions.test-d.tsx index 414a621623..eb34463856 100644 --- a/packages/react-query/src/__tests__/queryOptions.test-d.tsx +++ b/packages/react-query/src/__tests__/queryOptions.test-d.tsx @@ -9,8 +9,9 @@ import { queryOptions } from '../queryOptions' import { useQuery } from '../useQuery' import { useQueries } from '../useQueries' import { useSuspenseQuery } from '../useSuspenseQuery' -import type { UseQueryOptions } from '../types' +import type { AnyUseQueryOptions } from '../types' import type { + DataTag, InitialDataFunction, QueryObserverResult, } from '@tanstack/query-core' @@ -236,7 +237,9 @@ describe('queryOptions', () => { }) it('should be passable to UseQueryOptions', () => { - function somethingWithQueryOptions(options: UseQueryOptions) { + function somethingWithQueryOptions( + options: TQueryOpts, + ) { return options.queryKey } @@ -247,4 +250,34 @@ describe('queryOptions', () => { somethingWithQueryOptions(options) }) + + it('should return a custom query key type', () => { + type MyQueryKey = [Array, { type: 'foo' }] + + const options = queryOptions({ + queryKey: [['key'], { type: 'foo' }] as MyQueryKey, + queryFn: () => Promise.resolve(1), + }) + + expectTypeOf(options.queryKey).toEqualTypeOf< + DataTag + >() + }) + + it('should return a custom query key type with datatag', () => { + type MyQueryKey = DataTag< + [Array, { type: 'foo' }], + number, + Error & { myMessage: string } + > + + const options = queryOptions({ + queryKey: [['key'], { type: 'foo' }] as MyQueryKey, + queryFn: () => Promise.resolve(1), + }) + + expectTypeOf(options.queryKey).toEqualTypeOf< + DataTag + >() + }) }) diff --git a/packages/react-query/src/infiniteQueryOptions.ts b/packages/react-query/src/infiniteQueryOptions.ts index 594c4217e2..d834bd5987 100644 --- a/packages/react-query/src/infiniteQueryOptions.ts +++ b/packages/react-query/src/infiniteQueryOptions.ts @@ -104,7 +104,7 @@ export function infiniteQueryOptions< TQueryKey, TPageParam > & { - queryKey: DataTag> + queryKey: DataTag, TError> } export function infiniteQueryOptions< @@ -128,7 +128,7 @@ export function infiniteQueryOptions< TQueryKey, TPageParam > & { - queryKey: DataTag> + queryKey: DataTag, TError> } export function infiniteQueryOptions< @@ -152,7 +152,7 @@ export function infiniteQueryOptions< TQueryKey, TPageParam > & { - queryKey: DataTag> + queryKey: DataTag, TError> } export function infiniteQueryOptions(options: unknown) { diff --git a/packages/react-query/src/queryOptions.ts b/packages/react-query/src/queryOptions.ts index b137d9688d..714d38a5f7 100644 --- a/packages/react-query/src/queryOptions.ts +++ b/packages/react-query/src/queryOptions.ts @@ -55,8 +55,8 @@ export function queryOptions< TQueryKey extends QueryKey = QueryKey, >( options: DefinedInitialDataOptions, -): DefinedInitialDataOptions & { - queryKey: DataTag +): DefinedInitialDataOptions & { + queryKey: DataTag } export function queryOptions< @@ -66,8 +66,8 @@ export function queryOptions< TQueryKey extends QueryKey = QueryKey, >( options: UnusedSkipTokenOptions, -): UnusedSkipTokenOptions & { - queryKey: DataTag +): UnusedSkipTokenOptions & { + queryKey: DataTag } export function queryOptions< @@ -78,7 +78,7 @@ export function queryOptions< >( options: UndefinedInitialDataOptions, ): UndefinedInitialDataOptions & { - queryKey: DataTag + queryKey: DataTag } export function queryOptions(options: unknown) { diff --git a/packages/react-query/src/types.ts b/packages/react-query/src/types.ts index 8516536361..9f6d7c315f 100644 --- a/packages/react-query/src/types.ts +++ b/packages/react-query/src/types.ts @@ -17,6 +17,13 @@ import type { SkipToken, } from '@tanstack/query-core' +export type AnyUseBaseQueryOptions = UseBaseQueryOptions< + any, + any, + any, + any, + any +> export interface UseBaseQueryOptions< TQueryFnData = unknown, TError = DefaultError, @@ -31,6 +38,7 @@ export interface UseBaseQueryOptions< TQueryKey > {} +export type AnyUseQueryOptions = UseQueryOptions export interface UseQueryOptions< TQueryFnData = unknown, TError = DefaultError, @@ -41,6 +49,12 @@ export interface UseQueryOptions< 'suspense' > {} +export type AnyUseSuspenseQueryOptions = UseSuspenseQueryOptions< + any, + any, + any, + any +> export interface UseSuspenseQueryOptions< TQueryFnData = unknown, TError = DefaultError, @@ -56,6 +70,14 @@ export interface UseSuspenseQueryOptions< > } +export type AnyUseInfiniteQueryOptions = UseInfiniteQueryOptions< + any, + any, + any, + any, + any, + any +> export interface UseInfiniteQueryOptions< TQueryFnData = unknown, TError = DefaultError, @@ -75,6 +97,8 @@ export interface UseInfiniteQueryOptions< 'suspense' > {} +export type AnyUseSuspenseInfiniteQueryOptions = + UseSuspenseInfiniteQueryOptions export interface UseSuspenseInfiniteQueryOptions< TQueryFnData = unknown, TError = DefaultError, @@ -147,6 +171,7 @@ export type UseSuspenseInfiniteQueryResult< 'isPlaceholderData' | 'promise' > +export type AnyUseMutationOptions = UseMutationOptions export interface UseMutationOptions< TData = unknown, TError = DefaultError, From 8a0eb6a3645d21770ef0ba609bf8a158b5c3ffef Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Tue, 17 Dec 2024 17:11:25 +0000 Subject: [PATCH 3/4] release: v5.62.8 --- examples/angular/auto-refetching/package.json | 2 +- examples/angular/basic/package.json | 2 +- examples/angular/devtools-panel/package.json | 4 +- .../package.json | 2 +- examples/angular/pagination/package.json | 2 +- .../query-options-from-a-service/package.json | 2 +- examples/angular/router/package.json | 2 +- examples/angular/rxjs/package.json | 2 +- examples/angular/simple/package.json | 2 +- examples/react/algolia/package.json | 4 +- examples/react/auto-refetching/package.json | 4 +- .../react/basic-graphql-request/package.json | 4 +- examples/react/basic/package.json | 8 +- .../react/default-query-function/package.json | 4 +- examples/react/devtools-panel/package.json | 4 +- .../package.json | 4 +- .../load-more-infinite-scroll/package.json | 4 +- .../react/nextjs-app-prefetching/package.json | 4 +- .../nextjs-suspense-streaming/package.json | 6 +- examples/react/nextjs/package.json | 4 +- examples/react/offline/package.json | 8 +- .../optimistic-updates-cache/package.json | 4 +- .../react/optimistic-updates-ui/package.json | 4 +- examples/react/pagination/package.json | 4 +- examples/react/playground/package.json | 4 +- examples/react/prefetching/package.json | 4 +- examples/react/react-native/package.json | 4 +- examples/react/react-router/package.json | 4 +- examples/react/rick-morty/package.json | 4 +- examples/react/shadow-dom/package.json | 4 +- examples/react/simple/package.json | 4 +- examples/react/star-wars/package.json | 4 +- examples/react/suspense/package.json | 4 +- examples/solid/astro/package.json | 4 +- .../solid/basic-graphql-request/package.json | 4 +- examples/solid/basic/package.json | 4 +- .../solid/default-query-function/package.json | 4 +- examples/solid/simple/package.json | 4 +- .../solid/solid-start-streaming/package.json | 4 +- examples/svelte/auto-refetching/package.json | 4 +- examples/svelte/basic/package.json | 8 +- .../load-more-infinite-scroll/package.json | 4 +- .../svelte/optimistic-updates/package.json | 4 +- examples/svelte/playground/package.json | 4 +- examples/svelte/simple/package.json | 4 +- examples/svelte/ssr/package.json | 4 +- examples/svelte/star-wars/package.json | 4 +- examples/vue/2.6-basic/package.json | 2 +- examples/vue/2.7-basic/package.json | 2 +- examples/vue/basic/package.json | 4 +- examples/vue/dependent-queries/package.json | 2 +- examples/vue/nuxt3/package.json | 2 +- examples/vue/persister/package.json | 8 +- examples/vue/simple/package.json | 4 +- .../package.json | 2 +- .../angular-query-experimental/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- packages/query-core/package.json | 2 +- .../query-persist-client-core/package.json | 2 +- .../query-sync-storage-persister/package.json | 2 +- packages/react-query-devtools/package.json | 2 +- .../package.json | 2 +- .../react-query-persist-client/package.json | 2 +- packages/react-query/package.json | 2 +- packages/solid-query-devtools/package.json | 2 +- .../solid-query-persist-client/package.json | 2 +- packages/solid-query/package.json | 2 +- packages/svelte-query-devtools/package.json | 2 +- .../svelte-query-persist-client/package.json | 2 +- packages/svelte-query/package.json | 2 +- packages/vue-query-devtools/package.json | 2 +- packages/vue-query/package.json | 2 +- pnpm-lock.yaml | 206 +++++++++--------- 74 files changed, 228 insertions(+), 226 deletions(-) diff --git a/examples/angular/auto-refetching/package.json b/examples/angular/auto-refetching/package.json index d059c30710..3b16550ed6 100644 --- a/examples/angular/auto-refetching/package.json +++ b/examples/angular/auto-refetching/package.json @@ -14,7 +14,7 @@ "@angular/core": "^19.1.0-next.0", "@angular/platform-browser": "^19.1.0-next.0", "@angular/platform-browser-dynamic": "^19.1.0-next.0", - "@tanstack/angular-query-experimental": "^5.62.7", + "@tanstack/angular-query-experimental": "^5.62.8", "rxjs": "^7.8.1", "tslib": "^2.6.3", "zone.js": "^0.15.0" diff --git a/examples/angular/basic/package.json b/examples/angular/basic/package.json index 445df60025..235a5218b8 100644 --- a/examples/angular/basic/package.json +++ b/examples/angular/basic/package.json @@ -14,7 +14,7 @@ "@angular/core": "^19.1.0-next.0", "@angular/platform-browser": "^19.1.0-next.0", "@angular/platform-browser-dynamic": "^19.1.0-next.0", - "@tanstack/angular-query-experimental": "^5.62.7", + "@tanstack/angular-query-experimental": "^5.62.8", "rxjs": "^7.8.1", "tslib": "^2.6.3", "zone.js": "^0.15.0" diff --git a/examples/angular/devtools-panel/package.json b/examples/angular/devtools-panel/package.json index a6377d1127..3992572bb6 100644 --- a/examples/angular/devtools-panel/package.json +++ b/examples/angular/devtools-panel/package.json @@ -15,8 +15,8 @@ "@angular/platform-browser": "^19.1.0-next.0", "@angular/platform-browser-dynamic": "^19.1.0-next.0", "@angular/router": "^19.1.0-next.0", - "@tanstack/angular-query-devtools-experimental": "^5.62.7", - "@tanstack/angular-query-experimental": "^5.62.7", + "@tanstack/angular-query-devtools-experimental": "^5.62.8", + "@tanstack/angular-query-experimental": "^5.62.8", "rxjs": "^7.8.1", "tslib": "^2.6.3", "zone.js": "^0.15.0" diff --git a/examples/angular/infinite-query-with-max-pages/package.json b/examples/angular/infinite-query-with-max-pages/package.json index 33d9e22167..4dec97f9ba 100644 --- a/examples/angular/infinite-query-with-max-pages/package.json +++ b/examples/angular/infinite-query-with-max-pages/package.json @@ -14,7 +14,7 @@ "@angular/core": "^19.1.0-next.0", "@angular/platform-browser": "^19.1.0-next.0", "@angular/platform-browser-dynamic": "^19.1.0-next.0", - "@tanstack/angular-query-experimental": "^5.62.7", + "@tanstack/angular-query-experimental": "^5.62.8", "rxjs": "^7.8.1", "tslib": "^2.6.3", "zone.js": "^0.15.0" diff --git a/examples/angular/pagination/package.json b/examples/angular/pagination/package.json index 897e07a114..aa52520787 100644 --- a/examples/angular/pagination/package.json +++ b/examples/angular/pagination/package.json @@ -14,7 +14,7 @@ "@angular/core": "^19.1.0-next.0", "@angular/platform-browser": "^19.1.0-next.0", "@angular/platform-browser-dynamic": "^19.1.0-next.0", - "@tanstack/angular-query-experimental": "^5.62.7", + "@tanstack/angular-query-experimental": "^5.62.8", "rxjs": "^7.8.1", "tslib": "^2.6.3", "zone.js": "^0.15.0" diff --git a/examples/angular/query-options-from-a-service/package.json b/examples/angular/query-options-from-a-service/package.json index ac549274e9..5d2cb72885 100644 --- a/examples/angular/query-options-from-a-service/package.json +++ b/examples/angular/query-options-from-a-service/package.json @@ -15,7 +15,7 @@ "@angular/platform-browser": "^19.1.0-next.0", "@angular/platform-browser-dynamic": "^19.1.0-next.0", "@angular/router": "^19.1.0-next.0", - "@tanstack/angular-query-experimental": "^5.62.7", + "@tanstack/angular-query-experimental": "^5.62.8", "rxjs": "^7.8.1", "tslib": "^2.6.3", "zone.js": "^0.15.0" diff --git a/examples/angular/router/package.json b/examples/angular/router/package.json index f663445792..9d95ef929a 100644 --- a/examples/angular/router/package.json +++ b/examples/angular/router/package.json @@ -15,7 +15,7 @@ "@angular/platform-browser": "^19.1.0-next.0", "@angular/platform-browser-dynamic": "^19.1.0-next.0", "@angular/router": "^19.1.0-next.0", - "@tanstack/angular-query-experimental": "^5.62.7", + "@tanstack/angular-query-experimental": "^5.62.8", "rxjs": "^7.8.1", "tslib": "^2.6.3", "zone.js": "^0.15.0" diff --git a/examples/angular/rxjs/package.json b/examples/angular/rxjs/package.json index 07ae728a1f..63920fec88 100644 --- a/examples/angular/rxjs/package.json +++ b/examples/angular/rxjs/package.json @@ -15,7 +15,7 @@ "@angular/forms": "19.1.0-next.0", "@angular/platform-browser": "^19.1.0-next.0", "@angular/platform-browser-dynamic": "^19.1.0-next.0", - "@tanstack/angular-query-experimental": "^5.62.7", + "@tanstack/angular-query-experimental": "^5.62.8", "rxjs": "^7.8.1", "tslib": "^2.6.3", "zone.js": "^0.15.0" diff --git a/examples/angular/simple/package.json b/examples/angular/simple/package.json index a1f800c5cf..6308fbfa1b 100644 --- a/examples/angular/simple/package.json +++ b/examples/angular/simple/package.json @@ -14,7 +14,7 @@ "@angular/core": "^19.1.0-next.0", "@angular/platform-browser": "^19.1.0-next.0", "@angular/platform-browser-dynamic": "^19.1.0-next.0", - "@tanstack/angular-query-experimental": "^5.62.7", + "@tanstack/angular-query-experimental": "^5.62.8", "rxjs": "^7.8.1", "tslib": "^2.6.3", "zone.js": "^0.15.0" diff --git a/examples/react/algolia/package.json b/examples/react/algolia/package.json index 55645f295d..18768b895a 100644 --- a/examples/react/algolia/package.json +++ b/examples/react/algolia/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "@algolia/client-search": "5.2.1", - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "react": "^19.0.0", "react-dom": "^19.0.0" }, diff --git a/examples/react/auto-refetching/package.json b/examples/react/auto-refetching/package.json index b4fc669a9e..f04dbbe1e6 100644 --- a/examples/react/auto-refetching/package.json +++ b/examples/react/auto-refetching/package.json @@ -8,8 +8,8 @@ "start": "next start" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "next": "^14.2.18", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/basic-graphql-request/package.json b/examples/react/basic-graphql-request/package.json index 5762912828..bade95e2fd 100644 --- a/examples/react/basic-graphql-request/package.json +++ b/examples/react/basic-graphql-request/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "graphql": "^16.9.0", "graphql-request": "^7.1.2", "react": "^19.0.0", diff --git a/examples/react/basic/package.json b/examples/react/basic/package.json index 2c67059256..0826ae655d 100644 --- a/examples/react/basic/package.json +++ b/examples/react/basic/package.json @@ -9,10 +9,10 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/query-sync-storage-persister": "^5.62.7", - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", - "@tanstack/react-query-persist-client": "^5.62.7", + "@tanstack/query-sync-storage-persister": "^5.62.8", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", + "@tanstack/react-query-persist-client": "^5.62.8", "react": "^19.0.0", "react-dom": "^19.0.0" }, diff --git a/examples/react/default-query-function/package.json b/examples/react/default-query-function/package.json index 6b6db887e7..528abe3d1a 100644 --- a/examples/react/default-query-function/package.json +++ b/examples/react/default-query-function/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "react": "^19.0.0", "react-dom": "^19.0.0" }, diff --git a/examples/react/devtools-panel/package.json b/examples/react/devtools-panel/package.json index d39ae2ad99..51734ea8b5 100644 --- a/examples/react/devtools-panel/package.json +++ b/examples/react/devtools-panel/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "react": "^19.0.0", "react-dom": "^19.0.0" }, diff --git a/examples/react/infinite-query-with-max-pages/package.json b/examples/react/infinite-query-with-max-pages/package.json index 4e7278eaaa..5df98d87b6 100644 --- a/examples/react/infinite-query-with-max-pages/package.json +++ b/examples/react/infinite-query-with-max-pages/package.json @@ -8,8 +8,8 @@ "start": "next start" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "next": "^14.2.18", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/load-more-infinite-scroll/package.json b/examples/react/load-more-infinite-scroll/package.json index 7661b4d2b0..4bb3d753ee 100644 --- a/examples/react/load-more-infinite-scroll/package.json +++ b/examples/react/load-more-infinite-scroll/package.json @@ -8,8 +8,8 @@ "start": "next start" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "next": "^14.2.18", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/nextjs-app-prefetching/package.json b/examples/react/nextjs-app-prefetching/package.json index 6c720f6b4c..1a848ccdd6 100644 --- a/examples/react/nextjs-app-prefetching/package.json +++ b/examples/react/nextjs-app-prefetching/package.json @@ -9,8 +9,8 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "next": "^15.0.3", "react": "^19.0.0", "react-dom": "^19.0.0" diff --git a/examples/react/nextjs-suspense-streaming/package.json b/examples/react/nextjs-suspense-streaming/package.json index 338ad736de..79385471a1 100644 --- a/examples/react/nextjs-suspense-streaming/package.json +++ b/examples/react/nextjs-suspense-streaming/package.json @@ -9,9 +9,9 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", - "@tanstack/react-query-next-experimental": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", + "@tanstack/react-query-next-experimental": "^5.62.8", "next": "^14.2.18", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/nextjs/package.json b/examples/react/nextjs/package.json index 9f3af768b0..d973e25d5a 100644 --- a/examples/react/nextjs/package.json +++ b/examples/react/nextjs/package.json @@ -8,8 +8,8 @@ "start": "next start" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "next": "^14.2.18", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/offline/package.json b/examples/react/offline/package.json index 7e39a8c068..3e9a3c6c46 100644 --- a/examples/react/offline/package.json +++ b/examples/react/offline/package.json @@ -8,11 +8,11 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/query-sync-storage-persister": "^5.62.7", + "@tanstack/query-sync-storage-persister": "^5.62.8", "@tanstack/react-location": "^3.7.4", - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", - "@tanstack/react-query-persist-client": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", + "@tanstack/react-query-persist-client": "^5.62.8", "msw": "^2.6.6", "react": "^19.0.0", "react-dom": "^19.0.0", diff --git a/examples/react/optimistic-updates-cache/package.json b/examples/react/optimistic-updates-cache/package.json index eed8b6e27c..8bf4ba9e59 100755 --- a/examples/react/optimistic-updates-cache/package.json +++ b/examples/react/optimistic-updates-cache/package.json @@ -9,8 +9,8 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "next": "^14.2.18", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/optimistic-updates-ui/package.json b/examples/react/optimistic-updates-ui/package.json index fb233b62eb..dad064090a 100755 --- a/examples/react/optimistic-updates-ui/package.json +++ b/examples/react/optimistic-updates-ui/package.json @@ -8,8 +8,8 @@ "start": "next start" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "next": "^14.2.18", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/pagination/package.json b/examples/react/pagination/package.json index 8eb1842982..77132f4352 100644 --- a/examples/react/pagination/package.json +++ b/examples/react/pagination/package.json @@ -8,8 +8,8 @@ "start": "next start" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "next": "^14.2.18", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/playground/package.json b/examples/react/playground/package.json index 3d7068aad9..ab2b16b589 100644 --- a/examples/react/playground/package.json +++ b/examples/react/playground/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "react": "^19.0.0", "react-dom": "^19.0.0" }, diff --git a/examples/react/prefetching/package.json b/examples/react/prefetching/package.json index c8db534fc3..0c403839be 100644 --- a/examples/react/prefetching/package.json +++ b/examples/react/prefetching/package.json @@ -8,8 +8,8 @@ "start": "next start" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "next": "^14.2.18", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/react-native/package.json b/examples/react/react-native/package.json index 0baa9f647c..b37d94fcea 100644 --- a/examples/react/react-native/package.json +++ b/examples/react/react-native/package.json @@ -14,8 +14,8 @@ "@react-native-community/netinfo": "^11.4.1", "@react-navigation/native": "^6.1.18", "@react-navigation/stack": "^6.4.1", - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "expo": "^52.0.11", "expo-constants": "^17.0.3", "expo-status-bar": "^2.0.0", diff --git a/examples/react/react-router/package.json b/examples/react/react-router/package.json index dfae072422..0fb5b19660 100644 --- a/examples/react/react-router/package.json +++ b/examples/react/react-router/package.json @@ -9,8 +9,8 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "localforage": "^1.10.0", "match-sorter": "^6.3.4", "react": "^19.0.0", diff --git a/examples/react/rick-morty/package.json b/examples/react/rick-morty/package.json index 4b79e4dbe1..2fd56679cc 100644 --- a/examples/react/rick-morty/package.json +++ b/examples/react/rick-morty/package.json @@ -12,8 +12,8 @@ "@emotion/styled": "^11.13.5", "@mui/material": "^6.1.8", "@mui/styles": "^6.1.8", - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "react": "^19.0.0", "react-dom": "^19.0.0", "react-router": "^6.25.1", diff --git a/examples/react/shadow-dom/package.json b/examples/react/shadow-dom/package.json index 200deee5dd..8e2a67dc08 100644 --- a/examples/react/shadow-dom/package.json +++ b/examples/react/shadow-dom/package.json @@ -9,8 +9,8 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "react": "^19.0.0", "react-dom": "^19.0.0" }, diff --git a/examples/react/simple/package.json b/examples/react/simple/package.json index dd553d9acc..c7d7e228a1 100644 --- a/examples/react/simple/package.json +++ b/examples/react/simple/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "react": "^19.0.0", "react-dom": "^19.0.0" }, diff --git a/examples/react/star-wars/package.json b/examples/react/star-wars/package.json index 90c8be3a0b..949e385ba0 100644 --- a/examples/react/star-wars/package.json +++ b/examples/react/star-wars/package.json @@ -12,8 +12,8 @@ "@emotion/styled": "^11.13.5", "@mui/material": "^6.1.8", "@mui/styles": "^6.1.8", - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "react": "^19.0.0", "react-dom": "^19.0.0", "react-router": "^6.25.1", diff --git a/examples/react/suspense/package.json b/examples/react/suspense/package.json index fa637acc28..30dd0312e4 100644 --- a/examples/react/suspense/package.json +++ b/examples/react/suspense/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-query-devtools": "^5.62.7", + "@tanstack/react-query": "^5.62.8", + "@tanstack/react-query-devtools": "^5.62.8", "font-awesome": "^4.7.0", "react": "^19.0.0", "react-dom": "^19.0.0", diff --git a/examples/solid/astro/package.json b/examples/solid/astro/package.json index c3bcbbbd73..e81a6f70ed 100644 --- a/examples/solid/astro/package.json +++ b/examples/solid/astro/package.json @@ -15,8 +15,8 @@ "@astrojs/solid-js": "^4.4.4", "@astrojs/tailwind": "^5.1.2", "@astrojs/vercel": "^7.8.2", - "@tanstack/solid-query": "^5.62.7", - "@tanstack/solid-query-devtools": "^5.62.7", + "@tanstack/solid-query": "^5.62.8", + "@tanstack/solid-query-devtools": "^5.62.8", "astro": "^4.16.1", "solid-js": "^1.9.3", "tailwindcss": "^3.4.7", diff --git a/examples/solid/basic-graphql-request/package.json b/examples/solid/basic-graphql-request/package.json index 82da1aa68d..dd4ee52a46 100644 --- a/examples/solid/basic-graphql-request/package.json +++ b/examples/solid/basic-graphql-request/package.json @@ -9,8 +9,8 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/solid-query": "^5.62.7", - "@tanstack/solid-query-devtools": "^5.62.7", + "@tanstack/solid-query": "^5.62.8", + "@tanstack/solid-query-devtools": "^5.62.8", "graphql": "^16.9.0", "graphql-request": "^7.1.2", "solid-js": "^1.9.3" diff --git a/examples/solid/basic/package.json b/examples/solid/basic/package.json index faf3ea6944..1836dbaba1 100644 --- a/examples/solid/basic/package.json +++ b/examples/solid/basic/package.json @@ -9,8 +9,8 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/solid-query": "^5.62.7", - "@tanstack/solid-query-devtools": "^5.62.7", + "@tanstack/solid-query": "^5.62.8", + "@tanstack/solid-query-devtools": "^5.62.8", "solid-js": "^1.9.3" }, "devDependencies": { diff --git a/examples/solid/default-query-function/package.json b/examples/solid/default-query-function/package.json index e537d47837..48ae8c992f 100644 --- a/examples/solid/default-query-function/package.json +++ b/examples/solid/default-query-function/package.json @@ -9,8 +9,8 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/solid-query": "^5.62.7", - "@tanstack/solid-query-devtools": "^5.62.7", + "@tanstack/solid-query": "^5.62.8", + "@tanstack/solid-query-devtools": "^5.62.8", "solid-js": "^1.9.3" }, "devDependencies": { diff --git a/examples/solid/simple/package.json b/examples/solid/simple/package.json index d6afbd9c8c..d29fde3e77 100644 --- a/examples/solid/simple/package.json +++ b/examples/solid/simple/package.json @@ -9,8 +9,8 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/solid-query": "^5.62.7", - "@tanstack/solid-query-devtools": "^5.62.7", + "@tanstack/solid-query": "^5.62.8", + "@tanstack/solid-query-devtools": "^5.62.8", "solid-js": "^1.9.3" }, "devDependencies": { diff --git a/examples/solid/solid-start-streaming/package.json b/examples/solid/solid-start-streaming/package.json index 4033368863..636117ab69 100644 --- a/examples/solid/solid-start-streaming/package.json +++ b/examples/solid/solid-start-streaming/package.json @@ -12,8 +12,8 @@ "@solidjs/meta": "^0.29.4", "@solidjs/router": "^0.14.1", "@solidjs/start": "^1.0.6", - "@tanstack/solid-query": "^5.62.7", - "@tanstack/solid-query-devtools": "^5.62.7", + "@tanstack/solid-query": "^5.62.8", + "@tanstack/solid-query-devtools": "^5.62.8", "solid-js": "^1.9.3", "vinxi": "^0.4.1" }, diff --git a/examples/svelte/auto-refetching/package.json b/examples/svelte/auto-refetching/package.json index 5d22bd7148..acc4e83c40 100644 --- a/examples/svelte/auto-refetching/package.json +++ b/examples/svelte/auto-refetching/package.json @@ -9,8 +9,8 @@ "test:types": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json" }, "dependencies": { - "@tanstack/svelte-query": "^5.62.7", - "@tanstack/svelte-query-devtools": "^5.62.7" + "@tanstack/svelte-query": "^5.62.8", + "@tanstack/svelte-query-devtools": "^5.62.8" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.3", diff --git a/examples/svelte/basic/package.json b/examples/svelte/basic/package.json index 41b08a5898..c6ea1d6355 100644 --- a/examples/svelte/basic/package.json +++ b/examples/svelte/basic/package.json @@ -9,10 +9,10 @@ "test:types": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json" }, "dependencies": { - "@tanstack/query-sync-storage-persister": "^5.62.7", - "@tanstack/svelte-query": "^5.62.7", - "@tanstack/svelte-query-devtools": "^5.62.7", - "@tanstack/svelte-query-persist-client": "^5.62.7" + "@tanstack/query-sync-storage-persister": "^5.62.8", + "@tanstack/svelte-query": "^5.62.8", + "@tanstack/svelte-query-devtools": "^5.62.8", + "@tanstack/svelte-query-persist-client": "^5.62.8" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.3", diff --git a/examples/svelte/load-more-infinite-scroll/package.json b/examples/svelte/load-more-infinite-scroll/package.json index 1a2da0f3f7..8524c1c726 100644 --- a/examples/svelte/load-more-infinite-scroll/package.json +++ b/examples/svelte/load-more-infinite-scroll/package.json @@ -9,8 +9,8 @@ "test:types": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json" }, "dependencies": { - "@tanstack/svelte-query": "^5.62.7", - "@tanstack/svelte-query-devtools": "^5.62.7" + "@tanstack/svelte-query": "^5.62.8", + "@tanstack/svelte-query-devtools": "^5.62.8" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.3", diff --git a/examples/svelte/optimistic-updates/package.json b/examples/svelte/optimistic-updates/package.json index 1eee602d00..15c8f60623 100644 --- a/examples/svelte/optimistic-updates/package.json +++ b/examples/svelte/optimistic-updates/package.json @@ -9,8 +9,8 @@ "test:types": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json" }, "dependencies": { - "@tanstack/svelte-query": "^5.62.7", - "@tanstack/svelte-query-devtools": "^5.62.7" + "@tanstack/svelte-query": "^5.62.8", + "@tanstack/svelte-query-devtools": "^5.62.8" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.3", diff --git a/examples/svelte/playground/package.json b/examples/svelte/playground/package.json index 8a3f57bfea..70e636a033 100644 --- a/examples/svelte/playground/package.json +++ b/examples/svelte/playground/package.json @@ -9,8 +9,8 @@ "test:types": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json" }, "dependencies": { - "@tanstack/svelte-query": "^5.62.7", - "@tanstack/svelte-query-devtools": "^5.62.7" + "@tanstack/svelte-query": "^5.62.8", + "@tanstack/svelte-query-devtools": "^5.62.8" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.3", diff --git a/examples/svelte/simple/package.json b/examples/svelte/simple/package.json index 7a7572df1d..9b3be7f03e 100644 --- a/examples/svelte/simple/package.json +++ b/examples/svelte/simple/package.json @@ -9,8 +9,8 @@ "test:types": "svelte-check --tsconfig ./tsconfig.json" }, "dependencies": { - "@tanstack/svelte-query": "^5.62.7", - "@tanstack/svelte-query-devtools": "^5.62.7" + "@tanstack/svelte-query": "^5.62.8", + "@tanstack/svelte-query-devtools": "^5.62.8" }, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^3.1.2", diff --git a/examples/svelte/ssr/package.json b/examples/svelte/ssr/package.json index d3581f20d0..fb1b68e698 100644 --- a/examples/svelte/ssr/package.json +++ b/examples/svelte/ssr/package.json @@ -9,8 +9,8 @@ "test:types": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json" }, "dependencies": { - "@tanstack/svelte-query": "^5.62.7", - "@tanstack/svelte-query-devtools": "^5.62.7" + "@tanstack/svelte-query": "^5.62.8", + "@tanstack/svelte-query-devtools": "^5.62.8" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.3", diff --git a/examples/svelte/star-wars/package.json b/examples/svelte/star-wars/package.json index c99599f60e..1d8965f5b9 100644 --- a/examples/svelte/star-wars/package.json +++ b/examples/svelte/star-wars/package.json @@ -9,8 +9,8 @@ "test:types": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json" }, "dependencies": { - "@tanstack/svelte-query": "^5.62.7", - "@tanstack/svelte-query-devtools": "^5.62.7" + "@tanstack/svelte-query": "^5.62.8", + "@tanstack/svelte-query-devtools": "^5.62.8" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.3", diff --git a/examples/vue/2.6-basic/package.json b/examples/vue/2.6-basic/package.json index 7fbdba8ba3..25d00b82af 100644 --- a/examples/vue/2.6-basic/package.json +++ b/examples/vue/2.6-basic/package.json @@ -8,7 +8,7 @@ "_preview": "vite preview" }, "dependencies": { - "@tanstack/vue-query": "^5.62.7", + "@tanstack/vue-query": "^5.62.8", "@vue/composition-api": "1.7.2", "vue": "2.6.14", "vue-template-compiler": "2.6.14" diff --git a/examples/vue/2.7-basic/package.json b/examples/vue/2.7-basic/package.json index a635b757a4..1f8f4c398f 100644 --- a/examples/vue/2.7-basic/package.json +++ b/examples/vue/2.7-basic/package.json @@ -8,7 +8,7 @@ "_serve": "vite preview" }, "dependencies": { - "@tanstack/vue-query": "^5.62.7", + "@tanstack/vue-query": "^5.62.8", "vue": "2.7.16", "vue-template-compiler": "2.7.16" }, diff --git a/examples/vue/basic/package.json b/examples/vue/basic/package.json index 626a38b654..c2741d736d 100644 --- a/examples/vue/basic/package.json +++ b/examples/vue/basic/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/vue-query": "^5.62.7", - "@tanstack/vue-query-devtools": "^5.62.7", + "@tanstack/vue-query": "^5.62.8", + "@tanstack/vue-query-devtools": "^5.62.8", "vue": "^3.4.27" }, "devDependencies": { diff --git a/examples/vue/dependent-queries/package.json b/examples/vue/dependent-queries/package.json index 2869a98cc8..aebdf3a62e 100644 --- a/examples/vue/dependent-queries/package.json +++ b/examples/vue/dependent-queries/package.json @@ -8,7 +8,7 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/vue-query": "^5.62.7", + "@tanstack/vue-query": "^5.62.8", "vue": "^3.4.27" }, "devDependencies": { diff --git a/examples/vue/nuxt3/package.json b/examples/vue/nuxt3/package.json index 75951ff2ca..03822dbe6d 100644 --- a/examples/vue/nuxt3/package.json +++ b/examples/vue/nuxt3/package.json @@ -7,7 +7,7 @@ "_start": "node .output/server/index.mjs" }, "dependencies": { - "@tanstack/vue-query": "^5.62.7" + "@tanstack/vue-query": "^5.62.8" }, "devDependencies": { "nuxt": "^3.12.4" diff --git a/examples/vue/persister/package.json b/examples/vue/persister/package.json index de7fe8825f..0c65d2970e 100644 --- a/examples/vue/persister/package.json +++ b/examples/vue/persister/package.json @@ -8,10 +8,10 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/query-core": "^5.62.7", - "@tanstack/query-persist-client-core": "^5.62.7", - "@tanstack/query-sync-storage-persister": "^5.62.7", - "@tanstack/vue-query": "^5.62.7", + "@tanstack/query-core": "^5.62.8", + "@tanstack/query-persist-client-core": "^5.62.8", + "@tanstack/query-sync-storage-persister": "^5.62.8", + "@tanstack/vue-query": "^5.62.8", "idb-keyval": "^6.2.1", "vue": "^3.4.27" }, diff --git a/examples/vue/simple/package.json b/examples/vue/simple/package.json index 7eac703054..58343cd51d 100644 --- a/examples/vue/simple/package.json +++ b/examples/vue/simple/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/vue-query": "^5.62.7", - "@tanstack/vue-query-devtools": "^5.62.7", + "@tanstack/vue-query": "^5.62.8", + "@tanstack/vue-query-devtools": "^5.62.8", "vue": "^3.4.27" }, "devDependencies": { diff --git a/packages/angular-query-devtools-experimental/package.json b/packages/angular-query-devtools-experimental/package.json index 7a7b35e3e8..842fbe6ba7 100644 --- a/packages/angular-query-devtools-experimental/package.json +++ b/packages/angular-query-devtools-experimental/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/angular-query-devtools-experimental", - "version": "5.62.7", + "version": "5.62.8", "description": "Developer tools to interact with and visualize the TanStack/angular-query cache", "author": "Arnoud de Vries", "license": "MIT", diff --git a/packages/angular-query-experimental/package.json b/packages/angular-query-experimental/package.json index fac8183360..5ec7b77558 100644 --- a/packages/angular-query-experimental/package.json +++ b/packages/angular-query-experimental/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/angular-query-experimental", - "version": "5.62.7", + "version": "5.62.8", "description": "Signals for managing, caching and syncing asynchronous and remote data in Angular", "author": "Arnoud de Vries", "license": "MIT", diff --git a/packages/query-async-storage-persister/package.json b/packages/query-async-storage-persister/package.json index 94fedf7239..83f884abab 100644 --- a/packages/query-async-storage-persister/package.json +++ b/packages/query-async-storage-persister/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/query-async-storage-persister", - "version": "5.62.7", + "version": "5.62.8", "description": "A persister for asynchronous storages, to be used with TanStack/Query", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/query-broadcast-client-experimental/package.json b/packages/query-broadcast-client-experimental/package.json index 6867fa279d..5f25043790 100644 --- a/packages/query-broadcast-client-experimental/package.json +++ b/packages/query-broadcast-client-experimental/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/query-broadcast-client-experimental", - "version": "5.62.7", + "version": "5.62.8", "description": "An experimental plugin to for broadcasting the state of your queryClient between browser tabs/windows", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/query-core/package.json b/packages/query-core/package.json index a01360e051..dcc7f9e0d7 100644 --- a/packages/query-core/package.json +++ b/packages/query-core/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/query-core", - "version": "5.62.7", + "version": "5.62.8", "description": "The framework agnostic core that powers TanStack Query", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/query-persist-client-core/package.json b/packages/query-persist-client-core/package.json index a21ed000ee..2dcb55c149 100644 --- a/packages/query-persist-client-core/package.json +++ b/packages/query-persist-client-core/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/query-persist-client-core", - "version": "5.62.7", + "version": "5.62.8", "description": "Set of utilities for interacting with persisters, which can save your queryClient for later use", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/query-sync-storage-persister/package.json b/packages/query-sync-storage-persister/package.json index 8a64284f52..71397d373d 100644 --- a/packages/query-sync-storage-persister/package.json +++ b/packages/query-sync-storage-persister/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/query-sync-storage-persister", - "version": "5.62.7", + "version": "5.62.8", "description": "A persister for synchronous storages, to be used with TanStack/Query", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/react-query-devtools/package.json b/packages/react-query-devtools/package.json index ba001edefa..2c8dce6e91 100644 --- a/packages/react-query-devtools/package.json +++ b/packages/react-query-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-query-devtools", - "version": "5.62.7", + "version": "5.62.8", "description": "Developer tools to interact with and visualize the TanStack/react-query cache", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/react-query-next-experimental/package.json b/packages/react-query-next-experimental/package.json index 9773bcabb6..0fa9318a38 100644 --- a/packages/react-query-next-experimental/package.json +++ b/packages/react-query-next-experimental/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-query-next-experimental", - "version": "5.62.7", + "version": "5.62.8", "description": "Hydration utils for React Query in the NextJs app directory", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/react-query-persist-client/package.json b/packages/react-query-persist-client/package.json index bdf10695fe..28b35239a2 100644 --- a/packages/react-query-persist-client/package.json +++ b/packages/react-query-persist-client/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-query-persist-client", - "version": "5.62.7", + "version": "5.62.8", "description": "React bindings to work with persisters in TanStack/react-query", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/react-query/package.json b/packages/react-query/package.json index 0d78c916af..d6411dc56b 100644 --- a/packages/react-query/package.json +++ b/packages/react-query/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-query", - "version": "5.62.7", + "version": "5.62.8", "description": "Hooks for managing, caching and syncing asynchronous and remote data in React", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/solid-query-devtools/package.json b/packages/solid-query-devtools/package.json index d073e39843..0b8e26b9ef 100644 --- a/packages/solid-query-devtools/package.json +++ b/packages/solid-query-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/solid-query-devtools", - "version": "5.62.7", + "version": "5.62.8", "description": "Developer tools to interact with and visualize the TanStack/solid-query Query cache", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/solid-query-persist-client/package.json b/packages/solid-query-persist-client/package.json index 37aebfd881..562c7c9168 100644 --- a/packages/solid-query-persist-client/package.json +++ b/packages/solid-query-persist-client/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/solid-query-persist-client", - "version": "5.62.7", + "version": "5.62.8", "description": "Solid.js bindings to work with persisters in TanStack/solid-query", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/solid-query/package.json b/packages/solid-query/package.json index c78ff4f29a..6a0f89d156 100644 --- a/packages/solid-query/package.json +++ b/packages/solid-query/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/solid-query", - "version": "5.62.7", + "version": "5.62.8", "description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/svelte-query-devtools/package.json b/packages/svelte-query-devtools/package.json index 5f7e8c576d..325dae20bd 100644 --- a/packages/svelte-query-devtools/package.json +++ b/packages/svelte-query-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/svelte-query-devtools", - "version": "5.62.7", + "version": "5.62.8", "description": "Developer tools to interact with and visualize the TanStack/svelte-query cache", "author": "Lachlan Collins", "license": "MIT", diff --git a/packages/svelte-query-persist-client/package.json b/packages/svelte-query-persist-client/package.json index edf0c63acd..5cdaa7ac05 100644 --- a/packages/svelte-query-persist-client/package.json +++ b/packages/svelte-query-persist-client/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/svelte-query-persist-client", - "version": "5.62.7", + "version": "5.62.8", "description": "Svelte bindings to work with persisters in TanStack/svelte-query", "author": "Lachlan Collins", "license": "MIT", diff --git a/packages/svelte-query/package.json b/packages/svelte-query/package.json index 3512861b11..7d97cc0ce2 100644 --- a/packages/svelte-query/package.json +++ b/packages/svelte-query/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/svelte-query", - "version": "5.62.7", + "version": "5.62.8", "description": "Primitives for managing, caching and syncing asynchronous and remote data in Svelte", "author": "Lachlan Collins", "license": "MIT", diff --git a/packages/vue-query-devtools/package.json b/packages/vue-query-devtools/package.json index 05c1e41a61..8186aac6bb 100644 --- a/packages/vue-query-devtools/package.json +++ b/packages/vue-query-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/vue-query-devtools", - "version": "5.62.7", + "version": "5.62.8", "description": "Developer tools to interact with and visualize the TanStack/vue-query cache", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/vue-query/package.json b/packages/vue-query/package.json index 6f9804c510..0680ffe460 100644 --- a/packages/vue-query/package.json +++ b/packages/vue-query/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/vue-query", - "version": "5.62.7", + "version": "5.62.8", "description": "Hooks for managing, caching and syncing asynchronous and remote data in Vue", "author": "Damian Osipiuk", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b6f76d18bb..ef044253a2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -140,7 +140,7 @@ importers: specifier: ^19.1.0-next.0 version: 19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/compiler@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0)))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(@angular/platform-browser@19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))) '@tanstack/angular-query-experimental': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/angular-query-experimental rxjs: specifier: ^7.8.1 @@ -183,7 +183,7 @@ importers: specifier: ^19.1.0-next.0 version: 19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/compiler@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0)))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(@angular/platform-browser@19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))) '@tanstack/angular-query-experimental': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/angular-query-experimental rxjs: specifier: ^7.8.1 @@ -229,10 +229,10 @@ importers: specifier: ^19.1.0-next.0 version: 19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(@angular/platform-browser@19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0)))(rxjs@7.8.1) '@tanstack/angular-query-devtools-experimental': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/angular-query-devtools-experimental '@tanstack/angular-query-experimental': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/angular-query-experimental rxjs: specifier: ^7.8.1 @@ -275,7 +275,7 @@ importers: specifier: ^19.1.0-next.0 version: 19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/compiler@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0)))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(@angular/platform-browser@19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))) '@tanstack/angular-query-experimental': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/angular-query-experimental rxjs: specifier: ^7.8.1 @@ -318,7 +318,7 @@ importers: specifier: ^19.1.0-next.0 version: 19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/compiler@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0)))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(@angular/platform-browser@19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))) '@tanstack/angular-query-experimental': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/angular-query-experimental rxjs: specifier: ^7.8.1 @@ -364,7 +364,7 @@ importers: specifier: ^19.1.0-next.0 version: 19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(@angular/platform-browser@19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0)))(rxjs@7.8.1) '@tanstack/angular-query-experimental': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/angular-query-experimental rxjs: specifier: ^7.8.1 @@ -410,7 +410,7 @@ importers: specifier: ^19.1.0-next.0 version: 19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(@angular/platform-browser@19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0)))(rxjs@7.8.1) '@tanstack/angular-query-experimental': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/angular-query-experimental rxjs: specifier: ^7.8.1 @@ -456,7 +456,7 @@ importers: specifier: ^19.1.0-next.0 version: 19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/compiler@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0)))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(@angular/platform-browser@19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))) '@tanstack/angular-query-experimental': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/angular-query-experimental rxjs: specifier: ^7.8.1 @@ -499,7 +499,7 @@ importers: specifier: ^19.1.0-next.0 version: 19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/compiler@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0)))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(@angular/platform-browser@19.1.0-next.0(@angular/common@19.1.0-next.0(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))(rxjs@7.8.1))(@angular/core@19.1.0-next.0(rxjs@7.8.1)(zone.js@0.15.0))) '@tanstack/angular-query-experimental': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/angular-query-experimental rxjs: specifier: ^7.8.1 @@ -530,10 +530,10 @@ importers: specifier: 5.2.1 version: 5.2.1 '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools react: specifier: ^19.0.0 @@ -564,10 +564,10 @@ importers: examples/react/auto-refetching: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.18 @@ -592,16 +592,16 @@ importers: examples/react/basic: dependencies: '@tanstack/query-sync-storage-persister': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/query-sync-storage-persister '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools '@tanstack/react-query-persist-client': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-persist-client react: specifier: ^19.0.0 @@ -632,10 +632,10 @@ importers: examples/react/basic-graphql-request: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools graphql: specifier: ^16.9.0 @@ -660,10 +660,10 @@ importers: examples/react/default-query-function: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools react: specifier: ^19.0.0 @@ -685,10 +685,10 @@ importers: examples/react/devtools-panel: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools react: specifier: ^19.0.0 @@ -710,10 +710,10 @@ importers: examples/react/infinite-query-with-max-pages: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.18 @@ -738,10 +738,10 @@ importers: examples/react/load-more-infinite-scroll: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.18 @@ -769,10 +769,10 @@ importers: examples/react/nextjs: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.18 @@ -797,10 +797,10 @@ importers: examples/react/nextjs-app-prefetching: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools next: specifier: ^15.0.3 @@ -825,13 +825,13 @@ importers: examples/react/nextjs-suspense-streaming: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools '@tanstack/react-query-next-experimental': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-next-experimental next: specifier: ^14.2.18 @@ -853,19 +853,19 @@ importers: examples/react/offline: dependencies: '@tanstack/query-sync-storage-persister': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/query-sync-storage-persister '@tanstack/react-location': specifier: ^3.7.4 version: 3.7.4(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools '@tanstack/react-query-persist-client': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-persist-client msw: specifier: ^2.6.6 @@ -893,10 +893,10 @@ importers: examples/react/optimistic-updates-cache: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.18 @@ -921,10 +921,10 @@ importers: examples/react/optimistic-updates-ui: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.18 @@ -949,10 +949,10 @@ importers: examples/react/pagination: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.18 @@ -977,10 +977,10 @@ importers: examples/react/playground: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools react: specifier: ^19.0.0 @@ -1002,10 +1002,10 @@ importers: examples/react/prefetching: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.18 @@ -1039,10 +1039,10 @@ importers: specifier: ^6.4.1 version: 6.4.1(ps2gcw7wsvqo7jgjw47ug7eu24) '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools expo: specifier: ^52.0.11 @@ -1091,10 +1091,10 @@ importers: examples/react/react-router: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools localforage: specifier: ^1.10.0 @@ -1155,10 +1155,10 @@ importers: specifier: ^6.1.8 version: 6.1.8(@types/react@19.0.1)(react@19.0.0) '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools react: specifier: ^19.0.0 @@ -1186,10 +1186,10 @@ importers: examples/react/shadow-dom: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools react: specifier: ^19.0.0 @@ -1217,10 +1217,10 @@ importers: examples/react/simple: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools react: specifier: ^19.0.0 @@ -1254,10 +1254,10 @@ importers: specifier: ^6.1.8 version: 6.1.8(@types/react@19.0.1)(react@19.0.0) '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools react: specifier: ^19.0.0 @@ -1285,10 +1285,10 @@ importers: examples/react/suspense: dependencies: '@tanstack/react-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/react-query-devtools font-awesome: specifier: ^4.7.0 @@ -1331,10 +1331,10 @@ importers: specifier: ^7.8.2 version: 7.8.2(astro@4.16.14(@types/node@22.9.3)(less@4.2.1)(lightningcss@1.27.0)(rollup@4.27.4)(sass@1.81.0)(terser@5.31.6)(typescript@5.7.2))(encoding@0.1.13)(next@15.0.3(@babel/core@7.26.0)(babel-plugin-react-compiler@0.0.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(sass@1.81.0))(react@19.0.0) '@tanstack/solid-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/solid-query-devtools astro: specifier: ^4.16.1 @@ -1352,10 +1352,10 @@ importers: examples/solid/basic: dependencies: '@tanstack/solid-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/solid-query-devtools solid-js: specifier: ^1.9.3 @@ -1374,10 +1374,10 @@ importers: examples/solid/basic-graphql-request: dependencies: '@tanstack/solid-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/solid-query-devtools graphql: specifier: ^16.9.0 @@ -1402,10 +1402,10 @@ importers: examples/solid/default-query-function: dependencies: '@tanstack/solid-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/solid-query-devtools solid-js: specifier: ^1.9.3 @@ -1424,10 +1424,10 @@ importers: examples/solid/simple: dependencies: '@tanstack/solid-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/solid-query-devtools solid-js: specifier: ^1.9.3 @@ -1458,10 +1458,10 @@ importers: specifier: ^1.0.6 version: 1.0.6(@testing-library/jest-dom@6.6.3)(rollup@4.27.4)(solid-js@1.9.3)(vinxi@0.4.1(@types/node@22.9.3)(idb-keyval@6.2.1)(ioredis@5.4.1)(less@4.2.1)(lightningcss@1.27.0)(magicast@0.3.5)(sass@1.81.0)(terser@5.31.6))(vite@5.4.11(@types/node@22.9.3)(less@4.2.1)(lightningcss@1.27.0)(sass@1.81.0)(terser@5.31.6)) '@tanstack/solid-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/solid-query-devtools solid-js: specifier: ^1.9.3 @@ -1473,10 +1473,10 @@ importers: examples/svelte/auto-refetching: dependencies: '@tanstack/svelte-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query-devtools devDependencies: '@sveltejs/adapter-auto': @@ -1504,16 +1504,16 @@ importers: examples/svelte/basic: dependencies: '@tanstack/query-sync-storage-persister': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/query-sync-storage-persister '@tanstack/svelte-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query-devtools '@tanstack/svelte-query-persist-client': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query-persist-client devDependencies: '@sveltejs/adapter-auto': @@ -1541,10 +1541,10 @@ importers: examples/svelte/load-more-infinite-scroll: dependencies: '@tanstack/svelte-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query-devtools devDependencies: '@sveltejs/adapter-auto': @@ -1572,10 +1572,10 @@ importers: examples/svelte/optimistic-updates: dependencies: '@tanstack/svelte-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query-devtools devDependencies: '@sveltejs/adapter-auto': @@ -1603,10 +1603,10 @@ importers: examples/svelte/playground: dependencies: '@tanstack/svelte-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query-devtools devDependencies: '@sveltejs/adapter-auto': @@ -1634,10 +1634,10 @@ importers: examples/svelte/simple: dependencies: '@tanstack/svelte-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query-devtools devDependencies: '@sveltejs/vite-plugin-svelte': @@ -1662,10 +1662,10 @@ importers: examples/svelte/ssr: dependencies: '@tanstack/svelte-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query-devtools devDependencies: '@sveltejs/adapter-auto': @@ -1693,10 +1693,10 @@ importers: examples/svelte/star-wars: dependencies: '@tanstack/svelte-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/svelte-query-devtools devDependencies: '@sveltejs/adapter-auto': @@ -1733,10 +1733,10 @@ importers: examples/vue/basic: dependencies: '@tanstack/vue-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/vue-query '@tanstack/vue-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/vue-query-devtools vue: specifier: ^3.4.27 @@ -1755,7 +1755,7 @@ importers: examples/vue/dependent-queries: dependencies: '@tanstack/vue-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/vue-query vue: specifier: ^3.4.27 @@ -1774,16 +1774,16 @@ importers: examples/vue/persister: dependencies: '@tanstack/query-core': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/query-core '@tanstack/query-persist-client-core': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/query-persist-client-core '@tanstack/query-sync-storage-persister': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/query-sync-storage-persister '@tanstack/vue-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/vue-query idb-keyval: specifier: ^6.2.1 @@ -1805,10 +1805,10 @@ importers: examples/vue/simple: dependencies: '@tanstack/vue-query': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/vue-query '@tanstack/vue-query-devtools': - specifier: ^5.62.7 + specifier: ^5.62.8 version: link:../../../packages/vue-query-devtools vue: specifier: ^3.4.27 @@ -9022,6 +9022,7 @@ packages: critters@0.0.24: resolution: {integrity: sha512-Oyqew0FGM0wYUSNqR0L6AteO5MpMoUU0rhKRieXeiKs+PmRTxiJMyaunYB2KF6fQ3dzChXKCpbFOEJx3OQ1v/Q==} + deprecated: Ownership of Critters has moved to the Nuxt team, who will be maintaining the project going forward. If you'd like to keep using Critters, please switch to the actively-maintained fork at https://github.com/danielroe/beasties croner@8.1.0: resolution: {integrity: sha512-sz990XOUPR8dG/r5BRKMBd15MYDDUu8oeSaxFD5DqvNgHSZw8Psd1s689/IGET7ezxRMiNlCIyGeY1Gvxp/MLg==} @@ -14944,6 +14945,7 @@ packages: sudo-prompt@9.2.1: resolution: {integrity: sha512-Mu7R0g4ig9TUuGSxJavny5Rv0egCEtpZRNMrZaYS1vxkiIxGiGUwoezU3LazIQ+KE04hTrTfNPgxU5gzi7F5Pw==} + deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. summary@2.1.0: resolution: {integrity: sha512-nMIjMrd5Z2nuB2RZCKJfFMjgS3fygbeyGk9PxPPaJR1RIcyN9yn4A63Isovzm3ZtQuEkLBVgMdPup8UeLH7aQw==} From a76ac59e972dbea0c5b5ea36bd9a3003a29665d4 Mon Sep 17 00:00:00 2001 From: gnerkus <3065138+gnerkus@users.noreply.github.com> Date: Wed, 18 Dec 2024 10:13:29 +0100 Subject: [PATCH 4/4] docs(useQuery): add more info to description of staleTime field of query options (#8448) --- docs/framework/react/reference/useQuery.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/react/reference/useQuery.md b/docs/framework/react/reference/useQuery.md index ee23978b1c..92ce54f237 100644 --- a/docs/framework/react/reference/useQuery.md +++ b/docs/framework/react/reference/useQuery.md @@ -92,7 +92,7 @@ const { - `staleTime: number | ((query: Query) => number)` - Optional - Defaults to `0` - - The time in milliseconds after data is considered stale. This value only applies to the hook it is defined on. + - The time in milliseconds after which data is considered stale. This value only applies to the hook it is defined on. - If set to `Infinity`, the data will never be considered stale - If set to a function, the function will be executed with the query to compute a `staleTime`. - `gcTime: number | Infinity`