From edec4a64c0ca14f407584485c9b1bc4d730958ee Mon Sep 17 00:00:00 2001 From: Dominik Dorfmeister Date: Thu, 12 Sep 2024 11:53:29 +0200 Subject: [PATCH 1/2] feat(core): ensureInfiniteQueryData (#8048) * feat(core): ensureInfiniteQueryData * docs: ensureInfiniteQueryData * feat(types): make sure we can't pass infiniteQueryOptions to non-infinite query functions like fetchQuery --- docs/reference/QueryClient.md | 26 ++++++++ .../src/__tests__/queryClient.test.tsx | 63 +++++++++++++++++++ packages/query-core/src/queryClient.ts | 30 ++++++++- packages/query-core/src/types.ts | 32 ++++++++-- .../__tests__/infiniteQueryOptions.test-d.tsx | 21 ++++++- 5 files changed, 163 insertions(+), 9 deletions(-) diff --git a/docs/reference/QueryClient.md b/docs/reference/QueryClient.md index 2f11f7f6c6..cfebd7210d 100644 --- a/docs/reference/QueryClient.md +++ b/docs/reference/QueryClient.md @@ -29,6 +29,7 @@ Its available methods are: - [`queryClient.prefetchInfiniteQuery`](#queryclientprefetchinfinitequery) - [`queryClient.getQueryData`](#queryclientgetquerydata) - [`queryClient.ensureQueryData`](#queryclientensurequerydata) +- [`queryClient.ensureInfiniteQueryData`](#queryclientensureinfinitequerydata) - [`queryClient.getQueriesData`](#queryclientgetqueriesdata) - [`queryClient.setQueryData`](#queryclientsetquerydata) - [`queryClient.getQueryState`](#queryclientgetquerystate) @@ -200,6 +201,31 @@ const data = await queryClient.ensureQueryData({ queryKey, queryFn }) - `Promise` +## `queryClient.ensureInfiniteQueryData` + +`ensureInfiniteQueryData` is an asynchronous function that can be used to get an existing infinite query's cached data. If the query does not exist, `queryClient.fetchInfiniteQuery` will be called and its results returned. + +```tsx +const data = await queryClient.ensureInfiniteQueryData({ + queryKey, + queryFn, + initialPageParam, + getNextPageParam, +}) +``` + +**Options** + +- the same options as [`fetchInfiniteQuery`](#queryclientfetchinfinitequery) +- `revalidateIfStale: boolean` + - Optional + - Defaults to `false` + - If set to `true`, stale data will be refetched in the background, but cached data will be returned immediately. + +**Returns** + +- `Promise>` + ## `queryClient.getQueriesData` `getQueriesData` is a synchronous function that can be used to get the cached data of multiple queries. Only queries that match the passed queryKey or queryFilter will be returned. If there are no matching queries, an empty array will be returned. diff --git a/packages/query-core/src/__tests__/queryClient.test.tsx b/packages/query-core/src/__tests__/queryClient.test.tsx index e5fc579559..b8f58e2ec7 100644 --- a/packages/query-core/src/__tests__/queryClient.test.tsx +++ b/packages/query-core/src/__tests__/queryClient.test.tsx @@ -479,6 +479,69 @@ describe('queryClient', () => { }) }) + describe('ensureInfiniteQueryData', () => { + test('should return the cached query data if the query is found', async () => { + const key = queryKey() + const queryFn = () => Promise.resolve('data') + + queryClient.setQueryData([key, 'id'], { pages: ['bar'], pageParams: [0] }) + + await expect( + queryClient.ensureInfiniteQueryData({ + queryKey: [key, 'id'], + queryFn, + initialPageParam: 1, + getNextPageParam: () => undefined, + }), + ).resolves.toEqual({ pages: ['bar'], pageParams: [0] }) + }) + + test('should fetch the query and return its results if the query is not found', async () => { + const key = queryKey() + const queryFn = () => Promise.resolve('data') + + await expect( + queryClient.ensureInfiniteQueryData({ + queryKey: [key, 'id'], + queryFn, + initialPageParam: 1, + getNextPageParam: () => undefined, + }), + ).resolves.toEqual({ pages: ['data'], pageParams: [1] }) + }) + + test('should return the cached query data if the query is found and preFetchQuery in the background when revalidateIfStale is set', async () => { + const TIMEOUT = 10 + const key = queryKey() + queryClient.setQueryData([key, 'id'], { pages: ['old'], pageParams: [0] }) + + const queryFn = () => + new Promise((resolve) => { + setTimeout(() => resolve('new'), TIMEOUT) + }) + + await expect( + queryClient.ensureInfiniteQueryData({ + queryKey: [key, 'id'], + queryFn, + initialPageParam: 1, + getNextPageParam: () => undefined, + revalidateIfStale: true, + }), + ).resolves.toEqual({ pages: ['old'], pageParams: [0] }) + await sleep(TIMEOUT + 10) + await expect( + queryClient.ensureInfiniteQueryData({ + queryKey: [key, 'id'], + queryFn, + initialPageParam: 1, + getNextPageParam: () => undefined, + revalidateIfStale: true, + }), + ).resolves.toEqual({ pages: ['new'], pageParams: [0] }) + }) + }) + describe('getQueriesData', () => { test('should return the query data for all matched queries', () => { const key1 = queryKey() diff --git a/packages/query-core/src/queryClient.ts b/packages/query-core/src/queryClient.ts index 17f1581e35..49032a8802 100644 --- a/packages/query-core/src/queryClient.ts +++ b/packages/query-core/src/queryClient.ts @@ -13,13 +13,13 @@ import { focusManager } from './focusManager' import { onlineManager } from './onlineManager' import { notifyManager } from './notifyManager' import { infiniteQueryBehavior } from './infiniteQueryBehavior' -import type { QueryState } from './query' import type { CancelOptions, DataTag, DefaultError, DefaultOptions, DefaultedQueryObserverOptions, + EnsureInfiniteQueryDataOptions, EnsureQueryDataOptions, FetchInfiniteQueryOptions, FetchQueryOptions, @@ -40,6 +40,7 @@ import type { ResetOptions, SetDataOptions, } from './types' +import type { QueryState } from './query' import type { MutationFilters, QueryFilters, Updater } from './utils' // TYPES @@ -385,7 +386,7 @@ export class QueryClient { TData, TPageParam >(options.pages) - return this.fetchQuery(options) + return this.fetchQuery(options as any) } prefetchInfiniteQuery< @@ -406,6 +407,31 @@ export class QueryClient { return this.fetchInfiniteQuery(options).then(noop).catch(noop) } + ensureInfiniteQueryData< + TQueryFnData, + TError = DefaultError, + TData = TQueryFnData, + TQueryKey extends QueryKey = QueryKey, + TPageParam = unknown, + >( + options: EnsureInfiniteQueryDataOptions< + TQueryFnData, + TError, + TData, + TQueryKey, + TPageParam + >, + ): Promise> { + options.behavior = infiniteQueryBehavior< + TQueryFnData, + TError, + TData, + TPageParam + >(options.pages) + + return this.ensureQueryData(options as any) + } + resumePausedMutations(): Promise { if (onlineManager.isOnline()) { return this.#mutationCache.resumePausedMutations() diff --git a/packages/query-core/src/types.ts b/packages/query-core/src/types.ts index 9b92678196..fc553c74fc 100644 --- a/packages/query-core/src/types.ts +++ b/packages/query-core/src/types.ts @@ -448,6 +448,7 @@ export interface FetchQueryOptions< QueryOptions, 'queryKey' > { + initialPageParam?: never /** * The time in milliseconds after data is considered stale. * If the data is fresh it will be returned from the cache. @@ -471,6 +472,22 @@ export interface EnsureQueryDataOptions< revalidateIfStale?: boolean } +export type EnsureInfiniteQueryDataOptions< + TQueryFnData = unknown, + TError = DefaultError, + TData = TQueryFnData, + TQueryKey extends QueryKey = QueryKey, + TPageParam = unknown, +> = FetchInfiniteQueryOptions< + TQueryFnData, + TError, + TData, + TQueryKey, + TPageParam +> & { + revalidateIfStale?: boolean +} + type FetchInfiniteQueryPages = | { pages?: never } | { @@ -484,12 +501,15 @@ export type FetchInfiniteQueryOptions< TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, TPageParam = unknown, -> = FetchQueryOptions< - TQueryFnData, - TError, - InfiniteData, - TQueryKey, - TPageParam +> = Omit< + FetchQueryOptions< + TQueryFnData, + TError, + InfiniteData, + TQueryKey, + TPageParam + >, + 'initialPageParam' > & InitialPageParam & FetchInfiniteQueryPages diff --git a/packages/react-query/src/__tests__/infiniteQueryOptions.test-d.tsx b/packages/react-query/src/__tests__/infiniteQueryOptions.test-d.tsx index 1a147f9f82..27ee7529a2 100644 --- a/packages/react-query/src/__tests__/infiniteQueryOptions.test-d.tsx +++ b/packages/react-query/src/__tests__/infiniteQueryOptions.test-d.tsx @@ -1,8 +1,9 @@ -import { describe, expectTypeOf, it } from 'vitest' +import { describe, expectTypeOf, it, test } from 'vitest' import { QueryClient, dataTagSymbol } from '@tanstack/query-core' import { infiniteQueryOptions } from '../infiniteQueryOptions' import { useInfiniteQuery } from '../useInfiniteQuery' import { useSuspenseInfiniteQuery } from '../useSuspenseInfiniteQuery' +import { useQuery } from '../useQuery' import type { InfiniteData } from '@tanstack/query-core' describe('queryOptions', () => { @@ -133,4 +134,22 @@ describe('queryOptions', () => { InfiniteData | undefined >() }) + + test('should not be allowed to be passed to non-infinite query functions', () => { + const queryClient = new QueryClient() + const options = infiniteQueryOptions({ + queryKey: ['key'], + queryFn: () => Promise.resolve('string'), + getNextPageParam: () => 1, + initialPageParam: 1, + }) + // @ts-expect-error cannot pass infinite options to non-infinite query functions + useQuery(options) + // @ts-expect-error cannot pass infinite options to non-infinite query functions + queryClient.ensureQueryData(options) + // @ts-expect-error cannot pass infinite options to non-infinite query functions + queryClient.fetchQuery(options) + // @ts-expect-error cannot pass infinite options to non-infinite query functions + queryClient.prefetchQuery(options) + }) }) From d29c37a22474209372dc99fb0e80433fadde1967 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 12 Sep 2024 09:56:44 +0000 Subject: [PATCH 2/2] release: v5.56.0 --- examples/angular/basic/package.json | 4 +- .../package.json | 4 +- examples/angular/router/package.json | 4 +- examples/angular/simple/package.json | 4 +- 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 | 200 +++++++++--------- 69 files changed, 222 insertions(+), 222 deletions(-) diff --git a/examples/angular/basic/package.json b/examples/angular/basic/package.json index 1d827db719..9b8ce4d3b8 100644 --- a/examples/angular/basic/package.json +++ b/examples/angular/basic/package.json @@ -14,7 +14,7 @@ "@angular/core": "^17.3.12", "@angular/platform-browser": "^17.3.12", "@angular/platform-browser-dynamic": "^17.3.12", - "@tanstack/angular-query-experimental": "^5.55.4", + "@tanstack/angular-query-experimental": "^5.56.0", "rxjs": "^7.8.1", "tslib": "^2.6.3", "zone.js": "^0.14.8" @@ -23,7 +23,7 @@ "@angular-devkit/build-angular": "^17.3.8", "@angular/cli": "^17.3.8", "@angular/compiler-cli": "^17.3.12", - "@tanstack/angular-query-devtools-experimental": "^5.55.4", + "@tanstack/angular-query-devtools-experimental": "^5.56.0", "typescript": "5.3.3" } } diff --git a/examples/angular/infinite-query-with-max-pages/package.json b/examples/angular/infinite-query-with-max-pages/package.json index bdc02147d6..b7797b28a1 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": "^17.3.12", "@angular/platform-browser": "^17.3.12", "@angular/platform-browser-dynamic": "^17.3.12", - "@tanstack/angular-query-experimental": "^5.55.4", + "@tanstack/angular-query-experimental": "^5.56.0", "rxjs": "^7.8.1", "tslib": "^2.6.3", "zone.js": "^0.14.8" @@ -23,7 +23,7 @@ "@angular-devkit/build-angular": "^17.3.8", "@angular/cli": "^17.3.8", "@angular/compiler-cli": "^17.3.12", - "@tanstack/angular-query-devtools-experimental": "^5.55.4", + "@tanstack/angular-query-devtools-experimental": "^5.56.0", "typescript": "5.3.3" } } diff --git a/examples/angular/router/package.json b/examples/angular/router/package.json index 2ea278fbb8..75af397723 100644 --- a/examples/angular/router/package.json +++ b/examples/angular/router/package.json @@ -15,7 +15,7 @@ "@angular/platform-browser": "^17.3.12", "@angular/platform-browser-dynamic": "^17.3.12", "@angular/router": "^17.3.12", - "@tanstack/angular-query-experimental": "^5.55.4", + "@tanstack/angular-query-experimental": "^5.56.0", "rxjs": "^7.8.1", "tslib": "^2.6.3", "zone.js": "^0.14.8" @@ -24,7 +24,7 @@ "@angular-devkit/build-angular": "^17.3.8", "@angular/cli": "^17.3.8", "@angular/compiler-cli": "^17.3.12", - "@tanstack/angular-query-devtools-experimental": "^5.55.4", + "@tanstack/angular-query-devtools-experimental": "^5.56.0", "typescript": "5.3.3" } } diff --git a/examples/angular/simple/package.json b/examples/angular/simple/package.json index 048ef5d151..7a732b6f48 100644 --- a/examples/angular/simple/package.json +++ b/examples/angular/simple/package.json @@ -15,7 +15,7 @@ "@angular/platform-browser": "^17.3.12", "@angular/platform-browser-dynamic": "^17.3.12", "@angular/router": "^17.3.12", - "@tanstack/angular-query-experimental": "^5.55.4", + "@tanstack/angular-query-experimental": "^5.56.0", "rxjs": "^7.8.1", "tslib": "^2.6.3", "zone.js": "^0.14.8" @@ -24,7 +24,7 @@ "@angular-devkit/build-angular": "^17.3.8", "@angular/cli": "^17.3.8", "@angular/compiler-cli": "^17.3.12", - "@tanstack/angular-query-devtools-experimental": "^5.55.4", + "@tanstack/angular-query-devtools-experimental": "^5.56.0", "typescript": "5.3.3" } } diff --git a/examples/react/algolia/package.json b/examples/react/algolia/package.json index 174bd9e632..1ab62b75b1 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "react": "19.0.0-rc-4c2e457c7c-20240522", "react-dom": "19.0.0-rc-4c2e457c7c-20240522" }, diff --git a/examples/react/auto-refetching/package.json b/examples/react/auto-refetching/package.json index 7366ab6521..16f7358119 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "next": "^14.2.5", "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 2ca8c16314..268244ab61 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "graphql": "^16.9.0", "graphql-request": "^7.1.0", "react": "19.0.0-rc-4c2e457c7c-20240522", diff --git a/examples/react/basic/package.json b/examples/react/basic/package.json index 1c51a11f10..3afa78632c 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.55.4", - "@tanstack/react-query": "^5.55.4", - "@tanstack/react-query-devtools": "^5.55.4", - "@tanstack/react-query-persist-client": "^5.55.4", + "@tanstack/query-sync-storage-persister": "^5.56.0", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", + "@tanstack/react-query-persist-client": "^5.56.0", "react": "19.0.0-rc-4c2e457c7c-20240522", "react-dom": "19.0.0-rc-4c2e457c7c-20240522" }, diff --git a/examples/react/default-query-function/package.json b/examples/react/default-query-function/package.json index 97b2567f95..df4c487074 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "react": "19.0.0-rc-4c2e457c7c-20240522", "react-dom": "19.0.0-rc-4c2e457c7c-20240522" }, diff --git a/examples/react/devtools-panel/package.json b/examples/react/devtools-panel/package.json index 932d8cf916..77c2dbd6e5 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "react": "19.0.0-rc-4c2e457c7c-20240522", "react-dom": "19.0.0-rc-4c2e457c7c-20240522" }, diff --git a/examples/react/infinite-query-with-max-pages/package.json b/examples/react/infinite-query-with-max-pages/package.json index 79c484f70f..4ab643c055 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "next": "^14.2.5", "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 cf85e94503..53f461230f 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "next": "^14.2.5", "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 169bccdc39..449678080f 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "next": "^15.0.0-rc.0", "react": "19.0.0-rc-4c2e457c7c-20240522", "react-dom": "19.0.0-rc-4c2e457c7c-20240522" diff --git a/examples/react/nextjs-suspense-streaming/package.json b/examples/react/nextjs-suspense-streaming/package.json index ce01af0a8c..b17a881f8e 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", - "@tanstack/react-query-next-experimental": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", + "@tanstack/react-query-next-experimental": "^5.56.0", "next": "^14.2.5", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/nextjs/package.json b/examples/react/nextjs/package.json index 8b0b741977..e2ce40ef78 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "next": "^14.2.5", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/offline/package.json b/examples/react/offline/package.json index c3938d2077..18f97eb782 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.55.4", + "@tanstack/query-sync-storage-persister": "^5.56.0", "@tanstack/react-location": "^3.7.4", - "@tanstack/react-query": "^5.55.4", - "@tanstack/react-query-devtools": "^5.55.4", - "@tanstack/react-query-persist-client": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", + "@tanstack/react-query-persist-client": "^5.56.0", "msw": "^2.3.4", "react": "19.0.0-rc-4c2e457c7c-20240522", "react-dom": "19.0.0-rc-4c2e457c7c-20240522", diff --git a/examples/react/optimistic-updates-cache/package.json b/examples/react/optimistic-updates-cache/package.json index a424edd039..c728a92de2 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "next": "^14.2.5", "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 74b0b192e7..79909f65aa 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "next": "^14.2.5", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/pagination/package.json b/examples/react/pagination/package.json index a0576b948a..06056cd6a3 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "next": "^14.2.5", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/playground/package.json b/examples/react/playground/package.json index 4e21a79d95..3d3c529f9f 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "react": "19.0.0-rc-4c2e457c7c-20240522", "react-dom": "19.0.0-rc-4c2e457c7c-20240522" }, diff --git a/examples/react/prefetching/package.json b/examples/react/prefetching/package.json index b12a3100be..f8e9b6322f 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "next": "^14.2.5", "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 4087a2f479..15a9dea93a 100644 --- a/examples/react/react-native/package.json +++ b/examples/react/react-native/package.json @@ -14,8 +14,8 @@ "@react-native-community/netinfo": "^11.3.2", "@react-navigation/native": "^6.1.18", "@react-navigation/stack": "^6.4.1", - "@tanstack/react-query": "^5.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "expo": "^51.0.22", "expo-constants": "^16.0.2", "expo-status-bar": "^1.12.1", diff --git a/examples/react/react-router/package.json b/examples/react/react-router/package.json index 744ccc7c97..b4beb5363b 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "localforage": "^1.10.0", "match-sorter": "^6.3.4", "react": "19.0.0-rc-4c2e457c7c-20240522", diff --git a/examples/react/rick-morty/package.json b/examples/react/rick-morty/package.json index 4ee19ce9ae..63148ebc33 100644 --- a/examples/react/rick-morty/package.json +++ b/examples/react/rick-morty/package.json @@ -12,8 +12,8 @@ "@emotion/styled": "^11.13.0", "@mui/material": "^6.0.0", "@mui/styles": "^6.0.0", - "@tanstack/react-query": "^5.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "react": "19.0.0-rc-4c2e457c7c-20240522", "react-dom": "19.0.0-rc-4c2e457c7c-20240522", "react-router": "^6.25.1", diff --git a/examples/react/shadow-dom/package.json b/examples/react/shadow-dom/package.json index a1678c294b..f5f3b75bed 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "react": "19.0.0-rc-4c2e457c7c-20240522", "react-dom": "19.0.0-rc-4c2e457c7c-20240522" }, diff --git a/examples/react/simple/package.json b/examples/react/simple/package.json index f8ddcbface..e4b5929224 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "react": "19.0.0-rc-4c2e457c7c-20240522", "react-dom": "19.0.0-rc-4c2e457c7c-20240522" }, diff --git a/examples/react/star-wars/package.json b/examples/react/star-wars/package.json index 4dbbc5dc08..3dd8e3ec40 100644 --- a/examples/react/star-wars/package.json +++ b/examples/react/star-wars/package.json @@ -12,8 +12,8 @@ "@emotion/styled": "^11.13.0", "@mui/material": "^6.0.0", "@mui/styles": "^6.0.0", - "@tanstack/react-query": "^5.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "react": "19.0.0-rc-4c2e457c7c-20240522", "react-dom": "19.0.0-rc-4c2e457c7c-20240522", "react-router": "^6.25.1", diff --git a/examples/react/suspense/package.json b/examples/react/suspense/package.json index ea6ca21199..0dd50d2862 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.55.4", - "@tanstack/react-query-devtools": "^5.55.4", + "@tanstack/react-query": "^5.56.0", + "@tanstack/react-query-devtools": "^5.56.0", "font-awesome": "^4.7.0", "react": "19.0.0-rc-4c2e457c7c-20240522", "react-dom": "19.0.0-rc-4c2e457c7c-20240522", diff --git a/examples/solid/astro/package.json b/examples/solid/astro/package.json index bb42051092..77ba5dcfa1 100644 --- a/examples/solid/astro/package.json +++ b/examples/solid/astro/package.json @@ -15,8 +15,8 @@ "@astrojs/solid-js": "^4.4.0", "@astrojs/tailwind": "^5.1.0", "@astrojs/vercel": "^7.7.2", - "@tanstack/solid-query": "^5.55.4", - "@tanstack/solid-query-devtools": "^5.55.4", + "@tanstack/solid-query": "^5.56.0", + "@tanstack/solid-query-devtools": "^5.56.0", "astro": "^4.12.2", "solid-js": "^1.8.19", "tailwindcss": "^3.4.7", diff --git a/examples/solid/basic-graphql-request/package.json b/examples/solid/basic-graphql-request/package.json index 771f9bd326..81d2a07aed 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.55.4", - "@tanstack/solid-query-devtools": "^5.55.4", + "@tanstack/solid-query": "^5.56.0", + "@tanstack/solid-query-devtools": "^5.56.0", "graphql": "^16.9.0", "graphql-request": "^7.1.0", "solid-js": "^1.8.19" diff --git a/examples/solid/basic/package.json b/examples/solid/basic/package.json index acfce2b281..fcf15adb30 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.55.4", - "@tanstack/solid-query-devtools": "^5.55.4", + "@tanstack/solid-query": "^5.56.0", + "@tanstack/solid-query-devtools": "^5.56.0", "solid-js": "^1.8.19" }, "devDependencies": { diff --git a/examples/solid/default-query-function/package.json b/examples/solid/default-query-function/package.json index 06bcb12a93..be8ab01b2f 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.55.4", - "@tanstack/solid-query-devtools": "^5.55.4", + "@tanstack/solid-query": "^5.56.0", + "@tanstack/solid-query-devtools": "^5.56.0", "solid-js": "^1.8.19" }, "devDependencies": { diff --git a/examples/solid/simple/package.json b/examples/solid/simple/package.json index 379947558a..fd8b1d4848 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.55.4", - "@tanstack/solid-query-devtools": "^5.55.4", + "@tanstack/solid-query": "^5.56.0", + "@tanstack/solid-query-devtools": "^5.56.0", "solid-js": "^1.8.19" }, "devDependencies": { diff --git a/examples/solid/solid-start-streaming/package.json b/examples/solid/solid-start-streaming/package.json index ccb7a34d3e..128d451a3e 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.55.4", - "@tanstack/solid-query-devtools": "^5.55.4", + "@tanstack/solid-query": "^5.56.0", + "@tanstack/solid-query-devtools": "^5.56.0", "solid-js": "^1.8.19", "vinxi": "^0.4.1" }, diff --git a/examples/svelte/auto-refetching/package.json b/examples/svelte/auto-refetching/package.json index 8ba0acf30f..2d4c82d207 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.55.4", - "@tanstack/svelte-query-devtools": "^5.55.4" + "@tanstack/svelte-query": "^5.56.0", + "@tanstack/svelte-query-devtools": "^5.56.0" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.2", diff --git a/examples/svelte/basic/package.json b/examples/svelte/basic/package.json index 40910772e8..08ca0aa2e6 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.55.4", - "@tanstack/svelte-query": "^5.55.4", - "@tanstack/svelte-query-devtools": "^5.55.4", - "@tanstack/svelte-query-persist-client": "^5.55.4" + "@tanstack/query-sync-storage-persister": "^5.56.0", + "@tanstack/svelte-query": "^5.56.0", + "@tanstack/svelte-query-devtools": "^5.56.0", + "@tanstack/svelte-query-persist-client": "^5.56.0" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.2", diff --git a/examples/svelte/load-more-infinite-scroll/package.json b/examples/svelte/load-more-infinite-scroll/package.json index 9ef5f2a68f..6838081940 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.55.4", - "@tanstack/svelte-query-devtools": "^5.55.4" + "@tanstack/svelte-query": "^5.56.0", + "@tanstack/svelte-query-devtools": "^5.56.0" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.2", diff --git a/examples/svelte/optimistic-updates/package.json b/examples/svelte/optimistic-updates/package.json index 18716d741d..62bce1d012 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.55.4", - "@tanstack/svelte-query-devtools": "^5.55.4" + "@tanstack/svelte-query": "^5.56.0", + "@tanstack/svelte-query-devtools": "^5.56.0" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.2", diff --git a/examples/svelte/playground/package.json b/examples/svelte/playground/package.json index bcf24814ae..88292e8698 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.55.4", - "@tanstack/svelte-query-devtools": "^5.55.4" + "@tanstack/svelte-query": "^5.56.0", + "@tanstack/svelte-query-devtools": "^5.56.0" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.2", diff --git a/examples/svelte/simple/package.json b/examples/svelte/simple/package.json index dde0240e3f..df2fa2599c 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.55.4", - "@tanstack/svelte-query-devtools": "^5.55.4" + "@tanstack/svelte-query": "^5.56.0", + "@tanstack/svelte-query-devtools": "^5.56.0" }, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^3.1.1", diff --git a/examples/svelte/ssr/package.json b/examples/svelte/ssr/package.json index f3f5eaee6d..bdd5f784ad 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.55.4", - "@tanstack/svelte-query-devtools": "^5.55.4" + "@tanstack/svelte-query": "^5.56.0", + "@tanstack/svelte-query-devtools": "^5.56.0" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.2", diff --git a/examples/svelte/star-wars/package.json b/examples/svelte/star-wars/package.json index ac7e5129a6..ff23fa9661 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.55.4", - "@tanstack/svelte-query-devtools": "^5.55.4" + "@tanstack/svelte-query": "^5.56.0", + "@tanstack/svelte-query-devtools": "^5.56.0" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.2", diff --git a/examples/vue/2.6-basic/package.json b/examples/vue/2.6-basic/package.json index f7e74436a3..c8b9910ce3 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.55.4", + "@tanstack/vue-query": "^5.56.0", "@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 0e3590851b..3d50c9a54f 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.55.4", + "@tanstack/vue-query": "^5.56.0", "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 ed446fc647..127a7e9e03 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.55.4", - "@tanstack/vue-query-devtools": "^5.55.4", + "@tanstack/vue-query": "^5.56.0", + "@tanstack/vue-query-devtools": "^5.56.0", "vue": "^3.4.27" }, "devDependencies": { diff --git a/examples/vue/dependent-queries/package.json b/examples/vue/dependent-queries/package.json index 110b032f4d..c9dece8685 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.55.4", + "@tanstack/vue-query": "^5.56.0", "vue": "^3.4.27" }, "devDependencies": { diff --git a/examples/vue/nuxt3/package.json b/examples/vue/nuxt3/package.json index 950c967155..cfe77551d9 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.55.4" + "@tanstack/vue-query": "^5.56.0" }, "devDependencies": { "nuxt": "^3.12.4" diff --git a/examples/vue/persister/package.json b/examples/vue/persister/package.json index e11f0b4ba4..67bd1e6c82 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.55.4", - "@tanstack/query-persist-client-core": "^5.55.4", - "@tanstack/query-sync-storage-persister": "^5.55.4", - "@tanstack/vue-query": "^5.55.4", + "@tanstack/query-core": "^5.56.0", + "@tanstack/query-persist-client-core": "^5.56.0", + "@tanstack/query-sync-storage-persister": "^5.56.0", + "@tanstack/vue-query": "^5.56.0", "idb-keyval": "^6.2.1", "vue": "^3.4.27" }, diff --git a/examples/vue/simple/package.json b/examples/vue/simple/package.json index a95aee9c2a..21b634023b 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.55.4", - "@tanstack/vue-query-devtools": "^5.55.4", + "@tanstack/vue-query": "^5.56.0", + "@tanstack/vue-query-devtools": "^5.56.0", "vue": "^3.4.27" }, "devDependencies": { diff --git a/packages/angular-query-devtools-experimental/package.json b/packages/angular-query-devtools-experimental/package.json index a53d1444e5..6538bc3dee 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.55.4", + "version": "5.56.0", "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 921bd92f76..da52a6abc6 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.55.4", + "version": "5.56.0", "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 f4a35ba251..2d1b5f800a 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.55.4", + "version": "5.56.0", "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 89f9e7468b..0a52c97cb8 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.55.4", + "version": "5.56.0", "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 d74c397ce1..d81529f875 100644 --- a/packages/query-core/package.json +++ b/packages/query-core/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/query-core", - "version": "5.55.4", + "version": "5.56.0", "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 2dd352d871..e45a98d578 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.55.4", + "version": "5.56.0", "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 3765d79e48..48337f77bb 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.55.4", + "version": "5.56.0", "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 8cc6136a77..4bed2f7a2a 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.55.4", + "version": "5.56.0", "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 b1eb716835..7cc111622d 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.55.4", + "version": "5.56.0", "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 f93f860e83..3cf72f01fb 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.55.4", + "version": "5.56.0", "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 1baa21a1d2..ee3b239bb3 100644 --- a/packages/react-query/package.json +++ b/packages/react-query/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-query", - "version": "5.55.4", + "version": "5.56.0", "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 5a8567034d..7b3e8136e0 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.55.4", + "version": "5.56.0", "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 135f2d2d8d..04721cc598 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.55.4", + "version": "5.56.0", "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 25f5cbe962..70238c662e 100644 --- a/packages/solid-query/package.json +++ b/packages/solid-query/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/solid-query", - "version": "5.55.4", + "version": "5.56.0", "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 5fbaae2457..2acfb8245b 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.55.4", + "version": "5.56.0", "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 d6344750c0..044f6f1d42 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.55.4", + "version": "5.56.0", "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 eecd5effed..34093885be 100644 --- a/packages/svelte-query/package.json +++ b/packages/svelte-query/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/svelte-query", - "version": "5.55.4", + "version": "5.56.0", "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 feb949b4c3..8debad4d10 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.55.4", + "version": "5.56.0", "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 75a4e186fa..9f8dca05be 100644 --- a/packages/vue-query/package.json +++ b/packages/vue-query/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/vue-query", - "version": "5.55.4", + "version": "5.56.0", "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 ed942db507..bee44eb12c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -148,7 +148,7 @@ importers: specifier: ^17.3.12 version: 17.3.12(@angular/common@17.3.12(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8))(rxjs@7.8.1))(@angular/compiler@17.3.12(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8)))(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8))(@angular/platform-browser@17.3.12(@angular/common@17.3.12(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8))(rxjs@7.8.1))(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8))) '@tanstack/angular-query-experimental': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/angular-query-experimental rxjs: specifier: ^7.8.1 @@ -170,7 +170,7 @@ importers: specifier: ^17.3.12 version: 17.3.12(@angular/compiler@17.3.12(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8)))(typescript@5.3.3) '@tanstack/angular-query-devtools-experimental': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/angular-query-devtools-experimental typescript: specifier: 5.3.3 @@ -194,7 +194,7 @@ importers: specifier: ^17.3.12 version: 17.3.12(@angular/common@17.3.12(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8))(rxjs@7.8.1))(@angular/compiler@17.3.12(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8)))(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8))(@angular/platform-browser@17.3.12(@angular/common@17.3.12(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8))(rxjs@7.8.1))(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8))) '@tanstack/angular-query-experimental': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/angular-query-experimental rxjs: specifier: ^7.8.1 @@ -216,7 +216,7 @@ importers: specifier: ^17.3.12 version: 17.3.12(@angular/compiler@17.3.12(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8)))(typescript@5.3.3) '@tanstack/angular-query-devtools-experimental': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/angular-query-devtools-experimental typescript: specifier: 5.3.3 @@ -243,7 +243,7 @@ importers: specifier: ^17.3.12 version: 17.3.12(@angular/common@17.3.12(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8))(rxjs@7.8.1))(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8))(@angular/platform-browser@17.3.12(@angular/common@17.3.12(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8))(rxjs@7.8.1))(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8)))(rxjs@7.8.1) '@tanstack/angular-query-experimental': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/angular-query-experimental rxjs: specifier: ^7.8.1 @@ -265,7 +265,7 @@ importers: specifier: ^17.3.12 version: 17.3.12(@angular/compiler@17.3.12(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8)))(typescript@5.3.3) '@tanstack/angular-query-devtools-experimental': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/angular-query-devtools-experimental typescript: specifier: 5.3.3 @@ -292,7 +292,7 @@ importers: specifier: ^17.3.12 version: 17.3.12(@angular/common@17.3.12(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8))(rxjs@7.8.1))(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8))(@angular/platform-browser@17.3.12(@angular/common@17.3.12(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8))(rxjs@7.8.1))(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8)))(rxjs@7.8.1) '@tanstack/angular-query-experimental': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/angular-query-experimental rxjs: specifier: ^7.8.1 @@ -314,7 +314,7 @@ importers: specifier: ^17.3.12 version: 17.3.12(@angular/compiler@17.3.12(@angular/core@17.3.12(rxjs@7.8.1)(zone.js@0.14.8)))(typescript@5.3.3) '@tanstack/angular-query-devtools-experimental': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/angular-query-devtools-experimental typescript: specifier: 5.3.3 @@ -326,10 +326,10 @@ importers: specifier: 5.2.1 version: 5.2.1 '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools react: specifier: 19.0.0-rc-4c2e457c7c-20240522 @@ -360,10 +360,10 @@ importers: examples/react/auto-refetching: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.5 @@ -388,16 +388,16 @@ importers: examples/react/basic: dependencies: '@tanstack/query-sync-storage-persister': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/query-sync-storage-persister '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools '@tanstack/react-query-persist-client': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-persist-client react: specifier: 19.0.0-rc-4c2e457c7c-20240522 @@ -428,10 +428,10 @@ importers: examples/react/basic-graphql-request: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools graphql: specifier: ^16.9.0 @@ -456,10 +456,10 @@ importers: examples/react/default-query-function: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools react: specifier: 19.0.0-rc-4c2e457c7c-20240522 @@ -481,10 +481,10 @@ importers: examples/react/devtools-panel: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools react: specifier: 19.0.0-rc-4c2e457c7c-20240522 @@ -506,10 +506,10 @@ importers: examples/react/infinite-query-with-max-pages: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.5 @@ -534,10 +534,10 @@ importers: examples/react/load-more-infinite-scroll: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.5 @@ -565,10 +565,10 @@ importers: examples/react/nextjs: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.5 @@ -593,10 +593,10 @@ importers: examples/react/nextjs-app-prefetching: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools next: specifier: ^15.0.0-rc.0 @@ -621,13 +621,13 @@ importers: examples/react/nextjs-suspense-streaming: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools '@tanstack/react-query-next-experimental': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-next-experimental next: specifier: ^14.2.5 @@ -649,19 +649,19 @@ importers: examples/react/offline: dependencies: '@tanstack/query-sync-storage-persister': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/query-sync-storage-persister '@tanstack/react-location': specifier: ^3.7.4 version: 3.7.4(react-dom@19.0.0-rc-4c2e457c7c-20240522(react@19.0.0-rc-4c2e457c7c-20240522))(react@19.0.0-rc-4c2e457c7c-20240522) '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools '@tanstack/react-query-persist-client': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-persist-client msw: specifier: ^2.3.4 @@ -689,10 +689,10 @@ importers: examples/react/optimistic-updates-cache: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.5 @@ -717,10 +717,10 @@ importers: examples/react/optimistic-updates-ui: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.5 @@ -745,10 +745,10 @@ importers: examples/react/pagination: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.5 @@ -773,10 +773,10 @@ importers: examples/react/playground: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools react: specifier: 19.0.0-rc-4c2e457c7c-20240522 @@ -798,10 +798,10 @@ importers: examples/react/prefetching: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools next: specifier: ^14.2.5 @@ -835,10 +835,10 @@ importers: specifier: ^6.4.1 version: 6.4.1(hz73ogopnnbu7tdkoevhdncb4q) '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools expo: specifier: ^51.0.22 @@ -887,10 +887,10 @@ importers: examples/react/react-router: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools localforage: specifier: ^1.10.0 @@ -951,10 +951,10 @@ importers: specifier: ^6.0.0 version: 6.0.0(react@19.0.0-rc-4c2e457c7c-20240522)(types-react@19.0.0-rc.1) '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools react: specifier: 19.0.0-rc-4c2e457c7c-20240522 @@ -982,10 +982,10 @@ importers: examples/react/shadow-dom: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools react: specifier: 19.0.0-rc-4c2e457c7c-20240522 @@ -1013,10 +1013,10 @@ importers: examples/react/simple: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools react: specifier: 19.0.0-rc-4c2e457c7c-20240522 @@ -1050,10 +1050,10 @@ importers: specifier: ^6.0.0 version: 6.0.0(react@19.0.0-rc-4c2e457c7c-20240522)(types-react@19.0.0-rc.1) '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools react: specifier: 19.0.0-rc-4c2e457c7c-20240522 @@ -1081,10 +1081,10 @@ importers: examples/react/suspense: dependencies: '@tanstack/react-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query '@tanstack/react-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/react-query-devtools font-awesome: specifier: ^4.7.0 @@ -1127,10 +1127,10 @@ importers: specifier: ^7.7.2 version: 7.7.2(astro@4.12.3(@types/node@22.0.2)(less@4.2.0)(sass@1.77.8)(terser@5.31.3)(typescript@5.3.3))(encoding@0.1.13)(next@14.2.5(@babel/core@7.25.2)(react-dom@19.0.0-rc-4c2e457c7c-20240522(react@19.0.0-rc-4c2e457c7c-20240522))(react@18.3.1)(sass@1.77.8))(react@18.3.1) '@tanstack/solid-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/solid-query-devtools astro: specifier: ^4.12.2 @@ -1148,10 +1148,10 @@ importers: examples/solid/basic: dependencies: '@tanstack/solid-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/solid-query-devtools solid-js: specifier: ^1.8.19 @@ -1170,10 +1170,10 @@ importers: examples/solid/basic-graphql-request: dependencies: '@tanstack/solid-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/solid-query-devtools graphql: specifier: ^16.9.0 @@ -1198,10 +1198,10 @@ importers: examples/solid/default-query-function: dependencies: '@tanstack/solid-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/solid-query-devtools solid-js: specifier: ^1.8.19 @@ -1220,10 +1220,10 @@ importers: examples/solid/simple: dependencies: '@tanstack/solid-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/solid-query-devtools solid-js: specifier: ^1.8.19 @@ -1254,10 +1254,10 @@ importers: specifier: ^1.0.6 version: 1.0.6(@testing-library/jest-dom@6.4.8)(rollup@4.19.1)(solid-js@1.8.19)(vinxi@0.4.1(@types/node@22.0.2)(idb-keyval@6.2.1)(ioredis@5.4.1)(less@4.2.0)(magicast@0.3.4)(sass@1.77.8)(terser@5.31.3))(vite@5.3.5(@types/node@22.0.2)(less@4.2.0)(sass@1.77.8)(terser@5.31.3)) '@tanstack/solid-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/solid-query-devtools solid-js: specifier: ^1.8.19 @@ -1269,10 +1269,10 @@ importers: examples/svelte/auto-refetching: dependencies: '@tanstack/svelte-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query-devtools devDependencies: '@sveltejs/adapter-auto': @@ -1300,16 +1300,16 @@ importers: examples/svelte/basic: dependencies: '@tanstack/query-sync-storage-persister': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/query-sync-storage-persister '@tanstack/svelte-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query-devtools '@tanstack/svelte-query-persist-client': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query-persist-client devDependencies: '@sveltejs/adapter-auto': @@ -1337,10 +1337,10 @@ importers: examples/svelte/load-more-infinite-scroll: dependencies: '@tanstack/svelte-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query-devtools devDependencies: '@sveltejs/adapter-auto': @@ -1368,10 +1368,10 @@ importers: examples/svelte/optimistic-updates: dependencies: '@tanstack/svelte-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query-devtools devDependencies: '@sveltejs/adapter-auto': @@ -1399,10 +1399,10 @@ importers: examples/svelte/playground: dependencies: '@tanstack/svelte-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query-devtools devDependencies: '@sveltejs/adapter-auto': @@ -1430,10 +1430,10 @@ importers: examples/svelte/simple: dependencies: '@tanstack/svelte-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query-devtools devDependencies: '@sveltejs/vite-plugin-svelte': @@ -1458,10 +1458,10 @@ importers: examples/svelte/ssr: dependencies: '@tanstack/svelte-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query-devtools devDependencies: '@sveltejs/adapter-auto': @@ -1489,10 +1489,10 @@ importers: examples/svelte/star-wars: dependencies: '@tanstack/svelte-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query '@tanstack/svelte-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/svelte-query-devtools devDependencies: '@sveltejs/adapter-auto': @@ -1529,10 +1529,10 @@ importers: examples/vue/basic: dependencies: '@tanstack/vue-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/vue-query '@tanstack/vue-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/vue-query-devtools vue: specifier: ^3.4.27 @@ -1551,7 +1551,7 @@ importers: examples/vue/dependent-queries: dependencies: '@tanstack/vue-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/vue-query vue: specifier: ^3.4.27 @@ -1570,16 +1570,16 @@ importers: examples/vue/persister: dependencies: '@tanstack/query-core': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/query-core '@tanstack/query-persist-client-core': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/query-persist-client-core '@tanstack/query-sync-storage-persister': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/query-sync-storage-persister '@tanstack/vue-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/vue-query idb-keyval: specifier: ^6.2.1 @@ -1601,10 +1601,10 @@ importers: examples/vue/simple: dependencies: '@tanstack/vue-query': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/vue-query '@tanstack/vue-query-devtools': - specifier: ^5.55.4 + specifier: ^5.56.0 version: link:../../../packages/vue-query-devtools vue: specifier: ^3.4.27