diff --git a/.github/renovate.json b/.github/renovate.json
index 3c12db59658..bb444bf9c29 100644
--- a/.github/renovate.json
+++ b/.github/renovate.json
@@ -3,10 +3,11 @@
"configMigration": true,
"extends": [
"config:recommended",
+ "helpers:pinGitHubActionDigests",
"group:allNonMajor",
"schedule:weekly",
+ "security:minimumReleaseAgeNpm",
":approveMajorUpdates",
- ":automergeMinor",
":disablePeerDependencies",
":maintainLockFilesMonthly",
":semanticCommits",
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 46ed81cdf2b..4586591e2f8 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -25,13 +25,13 @@ If you have been assigned to fix an issue or develop a new feature, please follo
pnpm install
```
- - We use [pnpm](https://pnpm.io/) v10 for package management (run in case of pnpm-related issues).
+ - We use [pnpm](https://pnpm.io/) v11 for package management (run in case of pnpm-related issues).
```bash
corepack enable && corepack prepare
```
- - We use [nvm](https://github.com/nvm-sh/nvm) to manage node versions - please make sure to use the version mentioned in `.nvmrc`
+ - We use [nvm](https://github.com/nvm-sh/nvm) to manage node versions - please make sure to use the version mentioned in [.nvmrc](./.nvmrc)
```bash
nvm use
@@ -135,26 +135,6 @@ https://github.com/fulopkovacs/form/assets/43729152/9d35a3c3-8153-4e74-9cb2-af27
If you want to run an example without installing dependencies for the whole repo, just follow the instructions from the example's README.md file. It will then be run against the latest TanStack Query release.
-## Online one-click setup
-
-You can use Gitpod (An Online open-source VS Code-like IDE that is free for Open Source) for developing online. With a single click it will start a workspace and automatically:
-
-- clone the `TanStack/query` repo.
-- install all the dependencies in `/` and `/docs`.
-- run below in the root(`/`) to Auto-build files.
-
- ```bash
- npm start
- ```
-
-- run below in `/docs`.
-
- ```bash
- npm run dev
- ```
-
-[](https://gitpod.io/#https://github.com/TanStack/query)
-
## Changesets
This repo uses [Changesets](https://github.com/changesets/changesets) to automate releases. If your PR should release a new package version (patch, minor, or major), please run `pnpm changeset` and commit the file. If needed, changeset descriptions can be more descriptive, and will be included in the changelog. If your PR affects docs, examples, styles, etc., you probably don't need to generate a changeset.
@@ -179,7 +159,7 @@ To run tests in a local environment, you should use `nx` commands from the root
To run tests for **all packages**, run:
```bash
-npm run test
+pnpm run test
```
### ✅ Run tests for a specific package
@@ -187,13 +167,13 @@ npm run test
To run tests for a specific package, use the following command:
```bash
-npx nx run @tanstack/{package-name}:test:lib
+pnpm nx run @tanstack/{package-name}:test:lib
```
For example:
```bash
-npx nx run @tanstack/react-query:test:lib
+pnpm nx run @tanstack/react-query:test:lib
```
### ⚠️ Caution
diff --git a/README.md b/README.md
index f21aeb51217..3e4b0598ad8 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,21 @@
+
+ Loading...
{:else if query.isError}Error: {query.error.message}
diff --git a/docs/framework/vue/devtools.md b/docs/framework/vue/devtools.md index a32a5e0f5ba..cbba672f90f 100644 --- a/docs/framework/vue/devtools.md +++ b/docs/framework/vue/devtools.md @@ -9,9 +9,9 @@ When you begin your Vue Query journey, you'll want these devtools by your side. > For Chrome, Firefox, and Edge users: Third-party browser extensions are available for debugging TanStack Query directly in browser DevTools. These provide the same functionality as the framework-specific devtools packages: > -> -In this example, each page of data remains visible as the next page is fetched. The buttons and capability to proceed to the next page are also - supressed until the next page cursor is known. Each page is cached as a + suppressed until the next page cursor is known. Each page is cached as a normal query too, so when going to previous pages, you'll see them instantaneously while they are also refetched invisibly in the background.
diff --git a/examples/angular/query-options-from-a-service/package.json b/examples/angular/query-options-from-a-service/package.json index a95aaff2726..f3519257ec6 100644 --- a/examples/angular/query-options-from-a-service/package.json +++ b/examples/angular/query-options-from-a-service/package.json @@ -14,7 +14,7 @@ "@angular/core": "^20.0.0", "@angular/platform-browser": "^20.0.0", "@angular/router": "^20.0.0", - "@tanstack/angular-query-experimental": "^5.101.0", + "@tanstack/angular-query-experimental": "^5.101.4", "rxjs": "^7.8.2", "tslib": "^2.8.1", "zone.js": "0.15.0" diff --git a/examples/angular/router/package.json b/examples/angular/router/package.json index 68d4e07f5d8..925255bea00 100644 --- a/examples/angular/router/package.json +++ b/examples/angular/router/package.json @@ -14,7 +14,7 @@ "@angular/core": "^20.0.0", "@angular/platform-browser": "^20.0.0", "@angular/router": "^20.0.0", - "@tanstack/angular-query-experimental": "^5.101.0", + "@tanstack/angular-query-experimental": "^5.101.4", "rxjs": "^7.8.2", "tslib": "^2.8.1", "zone.js": "0.15.0" diff --git a/examples/angular/rxjs/package.json b/examples/angular/rxjs/package.json index 4859e692f81..5fefcdafddc 100644 --- a/examples/angular/rxjs/package.json +++ b/examples/angular/rxjs/package.json @@ -14,7 +14,7 @@ "@angular/core": "^20.0.0", "@angular/forms": "^20.0.0", "@angular/platform-browser": "^20.0.0", - "@tanstack/angular-query-experimental": "^5.101.0", + "@tanstack/angular-query-experimental": "^5.101.4", "rxjs": "^7.8.2", "tslib": "^2.8.1", "zone.js": "0.15.0" diff --git a/examples/angular/simple/package.json b/examples/angular/simple/package.json index 0e613ca6e45..674c0f51f58 100644 --- a/examples/angular/simple/package.json +++ b/examples/angular/simple/package.json @@ -13,7 +13,7 @@ "@angular/compiler": "^20.0.0", "@angular/core": "^20.0.0", "@angular/platform-browser": "^20.0.0", - "@tanstack/angular-query-experimental": "^5.101.0", + "@tanstack/angular-query-experimental": "^5.101.4", "rxjs": "^7.8.2", "tslib": "^2.8.1", "zone.js": "0.15.0" diff --git a/examples/lit/basic/package.json b/examples/lit/basic/package.json index 63d3825dd10..70e3e015fa2 100644 --- a/examples/lit/basic/package.json +++ b/examples/lit/basic/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/lit-query": "^0.2.7", - "@tanstack/query-core": "^5.101.0", + "@tanstack/lit-query": "^0.2.11", + "@tanstack/query-core": "^5.101.4", "lit": "^3.3.1" }, "devDependencies": { diff --git a/examples/lit/pagination/package.json b/examples/lit/pagination/package.json index 782ab70ad70..fe7e79ceba2 100644 --- a/examples/lit/pagination/package.json +++ b/examples/lit/pagination/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/lit-query": "^0.2.7", - "@tanstack/query-core": "^5.101.0", + "@tanstack/lit-query": "^0.2.11", + "@tanstack/query-core": "^5.101.4", "lit": "^3.3.1" }, "devDependencies": { diff --git a/examples/lit/ssr/package.json b/examples/lit/ssr/package.json index 846cdd904bd..02c5f35fd8e 100644 --- a/examples/lit/ssr/package.json +++ b/examples/lit/ssr/package.json @@ -8,8 +8,8 @@ }, "dependencies": { "@lit-labs/ssr": "^3.3.0", - "@tanstack/lit-query": "^0.2.7", - "@tanstack/query-core": "^5.101.0", + "@tanstack/lit-query": "^0.2.11", + "@tanstack/query-core": "^5.101.4", "lit": "^3.3.1" }, "devDependencies": { diff --git a/examples/preact/simple/package.json b/examples/preact/simple/package.json index 45aef72c406..146fb2bc674 100644 --- a/examples/preact/simple/package.json +++ b/examples/preact/simple/package.json @@ -8,7 +8,7 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/preact-query": "^5.101.0", + "@tanstack/preact-query": "^5.101.4", "preact": "^10.28.0" }, "devDependencies": { diff --git a/examples/react/algolia/package.json b/examples/react/algolia/package.json index 24f31274e3e..750045e68f0 100644 --- a/examples/react/algolia/package.json +++ b/examples/react/algolia/package.json @@ -9,13 +9,13 @@ }, "dependencies": { "@algolia/client-search": "5.2.1", - "@tanstack/react-query": "^5.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "react": "^19.0.0", "react-dom": "^19.0.0" }, "devDependencies": { - "@tanstack/eslint-plugin-query": "^5.101.0", + "@tanstack/eslint-plugin-query": "^5.101.4", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.25", "@vitejs/plugin-react": "^4.3.4", diff --git a/examples/react/auto-refetching/package.json b/examples/react/auto-refetching/package.json index 128303786d7..0f850a9d061 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.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "next": "^16.0.7", "react": "^19.2.1", "react-dom": "^19.2.1" diff --git a/examples/react/basic-graphql-request/package.json b/examples/react/basic-graphql-request/package.json index bf03398edcc..ecae417c08e 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.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "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 08fe16d9386..ec4b29bb526 100644 --- a/examples/react/basic/package.json +++ b/examples/react/basic/package.json @@ -9,15 +9,15 @@ "test:eslint": "eslint ./src" }, "dependencies": { - "@tanstack/query-async-storage-persister": "^5.101.0", - "@tanstack/react-query": "^5.101.0", - "@tanstack/react-query-devtools": "^5.101.0", - "@tanstack/react-query-persist-client": "^5.101.0", + "@tanstack/query-async-storage-persister": "^5.101.4", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", + "@tanstack/react-query-persist-client": "^5.101.4", "react": "^19.0.0", "react-dom": "^19.0.0" }, "devDependencies": { - "@tanstack/eslint-plugin-query": "^5.101.0", + "@tanstack/eslint-plugin-query": "^5.101.4", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.25", "@vitejs/plugin-react": "^4.3.4", diff --git a/examples/react/chat/package.json b/examples/react/chat/package.json index 1309e81e964..7576acf8c91 100644 --- a/examples/react/chat/package.json +++ b/examples/react/chat/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/react-query": "^5.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "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 2f38d6ba8b4..980bcd11990 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.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "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 63af0858e27..f7a41e8f9e3 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.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "react": "^19.0.0", "react-dom": "^19.0.0" }, diff --git a/examples/react/eslint-legacy/package.json b/examples/react/eslint-legacy/package.json index d4bfab89688..a3bdc2d4cc1 100644 --- a/examples/react/eslint-legacy/package.json +++ b/examples/react/eslint-legacy/package.json @@ -9,15 +9,15 @@ "test:eslint": "ESLINT_USE_FLAT_CONFIG=false eslint ./src/**/*.tsx" }, "dependencies": { - "@tanstack/query-async-storage-persister": "^5.101.0", - "@tanstack/react-query": "^5.101.0", - "@tanstack/react-query-devtools": "^5.101.0", - "@tanstack/react-query-persist-client": "^5.101.0", + "@tanstack/query-async-storage-persister": "^5.101.4", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", + "@tanstack/react-query-persist-client": "^5.101.4", "react": "^19.0.0", "react-dom": "^19.0.0" }, "devDependencies": { - "@tanstack/eslint-plugin-query": "^5.101.0", + "@tanstack/eslint-plugin-query": "^5.101.4", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.25", "@vitejs/plugin-react": "^4.3.4", diff --git a/examples/react/eslint-plugin-demo/package.json b/examples/react/eslint-plugin-demo/package.json index d9e9f1241aa..743090decab 100644 --- a/examples/react/eslint-plugin-demo/package.json +++ b/examples/react/eslint-plugin-demo/package.json @@ -6,11 +6,11 @@ "test:eslint": "eslint ./src" }, "dependencies": { - "@tanstack/react-query": "^5.101.0", + "@tanstack/react-query": "^5.101.4", "react": "^19.0.0" }, "devDependencies": { - "@tanstack/eslint-plugin-query": "^5.101.0", + "@tanstack/eslint-plugin-query": "^5.101.4", "eslint": "^9.39.0", "typescript": "5.8.3", "typescript-eslint": "^8.48.0" diff --git a/examples/react/infinite-query-with-max-pages/package.json b/examples/react/infinite-query-with-max-pages/package.json index cd12dbd5474..3dcd817efaa 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.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "next": "^16.0.7", "react": "^19.2.1", "react-dom": "^19.2.1" diff --git a/examples/react/load-more-infinite-scroll/package.json b/examples/react/load-more-infinite-scroll/package.json index 23f943f9bad..323f6923627 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.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "next": "^16.0.7", "react": "^19.2.1", "react-dom": "^19.2.1", diff --git a/examples/react/nextjs-app-prefetching/package.json b/examples/react/nextjs-app-prefetching/package.json index b48c308d6d1..7b1086cd985 100644 --- a/examples/react/nextjs-app-prefetching/package.json +++ b/examples/react/nextjs-app-prefetching/package.json @@ -8,8 +8,8 @@ "start": "next start" }, "dependencies": { - "@tanstack/react-query": "^5.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "next": "^16.0.7", "react": "^19.2.1", "react-dom": "^19.2.1" diff --git a/examples/react/nextjs-suspense-streaming/package.json b/examples/react/nextjs-suspense-streaming/package.json index 0ca611d4b40..21016424053 100644 --- a/examples/react/nextjs-suspense-streaming/package.json +++ b/examples/react/nextjs-suspense-streaming/package.json @@ -8,9 +8,9 @@ "start": "next start" }, "dependencies": { - "@tanstack/react-query": "^5.101.0", - "@tanstack/react-query-devtools": "^5.101.0", - "@tanstack/react-query-next-experimental": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", + "@tanstack/react-query-next-experimental": "^5.101.4", "next": "^16.0.7", "react": "^19.2.1", "react-dom": "^19.2.1" diff --git a/examples/react/nextjs/package.json b/examples/react/nextjs/package.json index d5eae449f78..d1170e05fdc 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.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "next": "^16.0.7", "react": "^19.2.1", "react-dom": "^19.2.1" diff --git a/examples/react/offline/package.json b/examples/react/offline/package.json index e07fb18b391..73d19703532 100644 --- a/examples/react/offline/package.json +++ b/examples/react/offline/package.json @@ -8,11 +8,11 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/query-async-storage-persister": "^5.101.0", + "@tanstack/query-async-storage-persister": "^5.101.4", "@tanstack/react-location": "^3.7.4", - "@tanstack/react-query": "^5.101.0", - "@tanstack/react-query-devtools": "^5.101.0", - "@tanstack/react-query-persist-client": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", + "@tanstack/react-query-persist-client": "^5.101.4", "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 6249fa08521..ec228f4d294 100755 --- a/examples/react/optimistic-updates-cache/package.json +++ b/examples/react/optimistic-updates-cache/package.json @@ -8,8 +8,8 @@ "start": "next start" }, "dependencies": { - "@tanstack/react-query": "^5.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "next": "^16.0.7", "react": "^19.2.1", "react-dom": "^19.2.1" diff --git a/examples/react/optimistic-updates-ui/package.json b/examples/react/optimistic-updates-ui/package.json index c22ee02e1c0..51e9ba16a8c 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.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "next": "^16.0.7", "react": "^19.2.1", "react-dom": "^19.2.1" diff --git a/examples/react/pagination/package.json b/examples/react/pagination/package.json index 02de7bcac16..c44d3855a42 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.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "next": "^16.0.7", "react": "^19.2.1", "react-dom": "^19.2.1" diff --git a/examples/react/pagination/src/pages/index.tsx b/examples/react/pagination/src/pages/index.tsx index 64eec265f0c..dee4d49af67 100644 --- a/examples/react/pagination/src/pages/index.tsx +++ b/examples/react/pagination/src/pages/index.tsx @@ -54,7 +54,7 @@ function Example() {In this example, each page of data remains visible as the next page is fetched. The buttons and capability to proceed to the next page are also - supressed until the next page cursor is known. Each page is cached as a + suppressed until the next page cursor is known. Each page is cached as a normal query too, so when going to previous pages, you'll see them instantaneously while they are also refetched invisibly in the background. diff --git a/examples/react/playground/package.json b/examples/react/playground/package.json index 2d819f980ef..c40e3873578 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.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "react": "^19.0.0", "react-dom": "^19.0.0" }, diff --git a/examples/react/prefetching/package.json b/examples/react/prefetching/package.json index 073cfa815f8..a9336403b36 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.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "next": "^16.0.7", "react": "^19.2.1", "react-dom": "^19.2.1" diff --git a/examples/react/react-native/package.json b/examples/react/react-native/package.json index 735c7ff00b1..4c1e9eddecc 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.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "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 2f071a89287..b04f16814b2 100644 --- a/examples/react/react-router/package.json +++ b/examples/react/react-router/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/react-query": "^5.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "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 c9b8bcb9d5e..7c3eb3f4f09 100644 --- a/examples/react/rick-morty/package.json +++ b/examples/react/rick-morty/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/react-query": "^5.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "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 22bd20372e7..f5d47388ac7 100644 --- a/examples/react/shadow-dom/package.json +++ b/examples/react/shadow-dom/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/react-query": "^5.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "react": "^19.0.0", "react-dom": "^19.0.0" }, diff --git a/examples/react/simple/package.json b/examples/react/simple/package.json index ae93cfe1847..6960cabdfd3 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.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "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 db76467358c..eb6791dac5e 100644 --- a/examples/react/star-wars/package.json +++ b/examples/react/star-wars/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/react-query": "^5.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "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 d4b105c1c71..1bb90e86486 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.101.0", - "@tanstack/react-query-devtools": "^5.101.0", + "@tanstack/react-query": "^5.101.4", + "@tanstack/react-query-devtools": "^5.101.4", "font-awesome": "^4.7.0", "react": "^19.0.0", "react-dom": "^19.0.0", diff --git a/examples/solid/offline/package.json b/examples/solid/offline/package.json index e00db0413e8..eeeb9531fcd 100644 --- a/examples/solid/offline/package.json +++ b/examples/solid/offline/package.json @@ -8,7 +8,7 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/query-async-storage-persister": "^5.101.0", + "@tanstack/query-async-storage-persister": "^5.101.4", "@tanstack/solid-query": "^6.0.0-rc.0", "@tanstack/solid-query-devtools": "^6.0.0-rc.0", "@tanstack/solid-query-persist-client": "^6.0.0-rc.0", diff --git a/examples/solid/simple/package.json b/examples/solid/simple/package.json index 9ee36c974e0..524b8b9707b 100644 --- a/examples/solid/simple/package.json +++ b/examples/solid/simple/package.json @@ -15,7 +15,7 @@ }, "devDependencies": { "@solidjs/vite-plugin": "^3.0.0-next.27", - "@tanstack/eslint-plugin-query": "^5.101.0", + "@tanstack/eslint-plugin-query": "^5.101.4", "typescript": "5.8.3", "vite": "^6.4.1" } diff --git a/examples/solid/solid-start-streaming/src/routes/with-error.tsx b/examples/solid/solid-start-streaming/src/routes/with-error.tsx index e437d9444b5..5de6ca7046e 100644 --- a/examples/solid/solid-start-streaming/src/routes/with-error.tsx +++ b/examples/solid/solid-start-streaming/src/routes/with-error.tsx @@ -13,7 +13,7 @@ export default function Streamed() {
For more control over error handling, try leveraging the `Switch` component and watching the reactive `query.isError` property. See - `compoennts/query-boundary.tsx` for one possible approach. + `components/query-boundary.tsx` for one possible approach.
+
+
-
+
+
-
+
+