From ee0a9fca415ac34b2ce1ff5c9ff0ef8daafe633a Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 14 Nov 2024 16:47:57 +0000 Subject: [PATCH 1/6] release: v1.81.6 --- examples/react/authenticated-routes/package.json | 6 +++--- .../react/basic-default-search-params/package.json | 4 ++-- .../basic-file-based-codesplitting/package.json | 6 +++--- examples/react/basic-file-based/package.json | 6 +++--- .../react/basic-react-query-file-based/package.json | 6 +++--- examples/react/basic-react-query/package.json | 4 ++-- examples/react/basic-ssr-file-based/package.json | 8 ++++---- .../basic-ssr-streaming-file-based/package.json | 8 ++++---- examples/react/basic-virtual-file-based/package.json | 8 ++++---- .../basic-virtual-inside-file-based/package.json | 8 ++++---- examples/react/basic/package.json | 4 ++-- examples/react/deferred-data/package.json | 4 ++-- examples/react/kitchen-sink-file-based/package.json | 6 +++--- .../kitchen-sink-react-query-file-based/package.json | 6 +++--- examples/react/kitchen-sink-react-query/package.json | 4 ++-- examples/react/kitchen-sink/package.json | 4 ++-- examples/react/large-file-based/package.json | 6 +++--- examples/react/location-masking/package.json | 4 ++-- examples/react/navigation-blocking/package.json | 4 ++-- .../react/quickstart-esbuild-file-based/package.json | 6 +++--- examples/react/quickstart-file-based/package.json | 6 +++--- .../react/quickstart-rspack-file-based/package.json | 6 +++--- .../react/quickstart-webpack-file-based/package.json | 6 +++--- examples/react/quickstart/package.json | 4 ++-- .../react/router-monorepo-react-query/package.json | 6 +++--- .../packages/app/package.json | 2 +- .../packages/router/package.json | 4 ++-- examples/react/router-monorepo-simple/package.json | 6 +++--- .../router-monorepo-simple/packages/app/package.json | 2 +- .../packages/router/package.json | 4 ++-- examples/react/scroll-restoration/package.json | 4 ++-- .../react/search-validator-adapters/package.json | 12 ++++++------ examples/react/start-basic-auth/package.json | 6 +++--- examples/react/start-basic-react-query/package.json | 8 ++++---- examples/react/start-basic-rsc/package.json | 6 +++--- examples/react/start-basic/package.json | 6 +++--- examples/react/start-clerk-basic/package.json | 6 +++--- examples/react/start-convex-trellaux/package.json | 8 ++++---- examples/react/start-counter/package.json | 4 ++-- examples/react/start-supabase-basic/package.json | 6 +++--- examples/react/start-trellaux/package.json | 8 ++++---- examples/react/with-framer-motion/package.json | 4 ++-- examples/react/with-trpc-react-query/package.json | 6 +++--- examples/react/with-trpc/package.json | 6 +++--- packages/arktype-adapter/package.json | 2 +- packages/create-router/package.json | 2 +- packages/eslint-plugin-router/package.json | 2 +- packages/history/package.json | 2 +- packages/react-cross-context/package.json | 2 +- packages/react-router-with-query/package.json | 2 +- packages/react-router/package.json | 2 +- packages/router-cli/package.json | 2 +- packages/router-devtools/package.json | 2 +- packages/router-generator/package.json | 2 +- packages/router-plugin/package.json | 2 +- packages/router-vite-plugin/package.json | 2 +- packages/start-vite-plugin/package.json | 2 +- packages/start/package.json | 2 +- packages/valibot-adapter/package.json | 2 +- packages/virtual-file-routes/package.json | 2 +- packages/zod-adapter/package.json | 2 +- 61 files changed, 141 insertions(+), 141 deletions(-) diff --git a/examples/react/authenticated-routes/package.json b/examples/react/authenticated-routes/package.json index 45edee8644..4997ecc864 100644 --- a/examples/react/authenticated-routes/package.json +++ b/examples/react/authenticated-routes/package.json @@ -9,9 +9,9 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1", diff --git a/examples/react/basic-default-search-params/package.json b/examples/react/basic-default-search-params/package.json index e3be9c6c18..6482e634c2 100644 --- a/examples/react/basic-default-search-params/package.json +++ b/examples/react/basic-default-search-params/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "@tanstack/react-query": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", "redaxios": "^0.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/basic-file-based-codesplitting/package.json b/examples/react/basic-file-based-codesplitting/package.json index f8cb04ebaf..bc4d0f9133 100644 --- a/examples/react/basic-file-based-codesplitting/package.json +++ b/examples/react/basic-file-based-codesplitting/package.json @@ -9,9 +9,9 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1", diff --git a/examples/react/basic-file-based/package.json b/examples/react/basic-file-based/package.json index 61732e34c9..5ac8e0e9d1 100644 --- a/examples/react/basic-file-based/package.json +++ b/examples/react/basic-file-based/package.json @@ -9,9 +9,9 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1", diff --git a/examples/react/basic-react-query-file-based/package.json b/examples/react/basic-react-query-file-based/package.json index c374681c67..b54c7f4d43 100644 --- a/examples/react/basic-react-query-file-based/package.json +++ b/examples/react/basic-react-query-file-based/package.json @@ -11,9 +11,9 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1", diff --git a/examples/react/basic-react-query/package.json b/examples/react/basic-react-query/package.json index 01c584ec23..6bac70ba1f 100644 --- a/examples/react/basic-react-query/package.json +++ b/examples/react/basic-react-query/package.json @@ -11,8 +11,8 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1" diff --git a/examples/react/basic-ssr-file-based/package.json b/examples/react/basic-ssr-file-based/package.json index f435abc355..c9edfaadb4 100644 --- a/examples/react/basic-ssr-file-based/package.json +++ b/examples/react/basic-ssr-file-based/package.json @@ -11,10 +11,10 @@ "debug": "node --inspect-brk server" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", - "@tanstack/start": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", + "@tanstack/start": "^1.81.6", "get-port": "^7.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/basic-ssr-streaming-file-based/package.json b/examples/react/basic-ssr-streaming-file-based/package.json index e4de3409f5..d62f1c77d5 100644 --- a/examples/react/basic-ssr-streaming-file-based/package.json +++ b/examples/react/basic-ssr-streaming-file-based/package.json @@ -11,10 +11,10 @@ "debug": "node --inspect-brk server" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", - "@tanstack/start": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", + "@tanstack/start": "^1.81.6", "get-port": "^7.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/basic-virtual-file-based/package.json b/examples/react/basic-virtual-file-based/package.json index e181080fb7..5a0c942a43 100644 --- a/examples/react/basic-virtual-file-based/package.json +++ b/examples/react/basic-virtual-file-based/package.json @@ -9,10 +9,10 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", - "@tanstack/virtual-file-routes": "^1.64.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", + "@tanstack/virtual-file-routes": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1", diff --git a/examples/react/basic-virtual-inside-file-based/package.json b/examples/react/basic-virtual-inside-file-based/package.json index 000eae0281..0adb276877 100644 --- a/examples/react/basic-virtual-inside-file-based/package.json +++ b/examples/react/basic-virtual-inside-file-based/package.json @@ -9,10 +9,10 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", - "@tanstack/virtual-file-routes": "^1.64.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", + "@tanstack/virtual-file-routes": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1", diff --git a/examples/react/basic/package.json b/examples/react/basic/package.json index 7b19e9322f..677afa51a1 100644 --- a/examples/react/basic/package.json +++ b/examples/react/basic/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1" diff --git a/examples/react/deferred-data/package.json b/examples/react/deferred-data/package.json index 5ce2098fad..d57499b5fd 100644 --- a/examples/react/deferred-data/package.json +++ b/examples/react/deferred-data/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", "redaxios": "^0.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/kitchen-sink-file-based/package.json b/examples/react/kitchen-sink-file-based/package.json index c6c1aa057b..ef028eb7cb 100644 --- a/examples/react/kitchen-sink-file-based/package.json +++ b/examples/react/kitchen-sink-file-based/package.json @@ -9,9 +9,9 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "immer": "^10.1.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/kitchen-sink-react-query-file-based/package.json b/examples/react/kitchen-sink-react-query-file-based/package.json index 6596023e26..53bad07899 100644 --- a/examples/react/kitchen-sink-react-query-file-based/package.json +++ b/examples/react/kitchen-sink-react-query-file-based/package.json @@ -11,9 +11,9 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "immer": "^10.1.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/kitchen-sink-react-query/package.json b/examples/react/kitchen-sink-react-query/package.json index 99daca7967..a939139371 100644 --- a/examples/react/kitchen-sink-react-query/package.json +++ b/examples/react/kitchen-sink-react-query/package.json @@ -11,8 +11,8 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", "redaxios": "^0.5.1", "immer": "^10.1.1", "react": "^18.2.0", diff --git a/examples/react/kitchen-sink/package.json b/examples/react/kitchen-sink/package.json index f5f76c5a71..ef30652649 100644 --- a/examples/react/kitchen-sink/package.json +++ b/examples/react/kitchen-sink/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", "redaxios": "^0.5.1", "immer": "^10.1.1", "react": "^18.2.0", diff --git a/examples/react/large-file-based/package.json b/examples/react/large-file-based/package.json index 93a93034e7..8a812b5043 100644 --- a/examples/react/large-file-based/package.json +++ b/examples/react/large-file-based/package.json @@ -12,9 +12,9 @@ }, "dependencies": { "@tanstack/react-query": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1", diff --git a/examples/react/location-masking/package.json b/examples/react/location-masking/package.json index 3ef460384d..5ae626c88e 100644 --- a/examples/react/location-masking/package.json +++ b/examples/react/location-masking/package.json @@ -11,8 +11,8 @@ "dependencies": { "@radix-ui/react-dialog": "^1.1.2", "@tanstack/react-query": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", "redaxios": "^0.5.1", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/navigation-blocking/package.json b/examples/react/navigation-blocking/package.json index 711afc48c5..ed9129604f 100644 --- a/examples/react/navigation-blocking/package.json +++ b/examples/react/navigation-blocking/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "@tanstack/react-query": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", "redaxios": "^0.5.1", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/quickstart-esbuild-file-based/package.json b/examples/react/quickstart-esbuild-file-based/package.json index fba91db6c3..f61e138100 100644 --- a/examples/react/quickstart-esbuild-file-based/package.json +++ b/examples/react/quickstart-esbuild-file-based/package.json @@ -9,9 +9,9 @@ "start": "dev" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1", diff --git a/examples/react/quickstart-file-based/package.json b/examples/react/quickstart-file-based/package.json index a9a1579d75..c291be6671 100644 --- a/examples/react/quickstart-file-based/package.json +++ b/examples/react/quickstart-file-based/package.json @@ -9,9 +9,9 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1", diff --git a/examples/react/quickstart-rspack-file-based/package.json b/examples/react/quickstart-rspack-file-based/package.json index 55aef6b455..7910f20278 100644 --- a/examples/react/quickstart-rspack-file-based/package.json +++ b/examples/react/quickstart-rspack-file-based/package.json @@ -8,15 +8,15 @@ "preview": "rsbuild preview" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", "react": "^18.3.1", "react-dom": "^18.3.1" }, "devDependencies": { "@rsbuild/core": "1.1.0", "@rsbuild/plugin-react": "1.0.7", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/router-plugin": "^1.81.6", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "typescript": "^5.6.2" diff --git a/examples/react/quickstart-webpack-file-based/package.json b/examples/react/quickstart-webpack-file-based/package.json index e9abe551dd..e52a84703d 100644 --- a/examples/react/quickstart-webpack-file-based/package.json +++ b/examples/react/quickstart-webpack-file-based/package.json @@ -7,14 +7,14 @@ "build": "webpack build && tsc --noEmit" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", "react": "^18.3.1", "react-dom": "^18.3.1" }, "devDependencies": { "@swc/core": "^1.9.2", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/router-plugin": "^1.81.6", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "html-webpack-plugin": "^5.6.3", diff --git a/examples/react/quickstart/package.json b/examples/react/quickstart/package.json index ccfb6a5464..fcd2c9fe40 100644 --- a/examples/react/quickstart/package.json +++ b/examples/react/quickstart/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/react/router-monorepo-react-query/package.json b/examples/react/router-monorepo-react-query/package.json index 398f4109d2..2025736acc 100644 --- a/examples/react/router-monorepo-react-query/package.json +++ b/examples/react/router-monorepo-react-query/package.json @@ -12,9 +12,9 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1" diff --git a/examples/react/router-monorepo-react-query/packages/app/package.json b/examples/react/router-monorepo-react-query/packages/app/package.json index f3350a4877..de58844adf 100644 --- a/examples/react/router-monorepo-react-query/packages/app/package.json +++ b/examples/react/router-monorepo-react-query/packages/app/package.json @@ -19,7 +19,7 @@ "@types/react": "^18.2.47", "@types/react-dom": "^18.2.18", "@vitejs/plugin-react": "^4.3.3", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/router-devtools": "^1.81.6", "typescript": "5.6.2", "vite": "^5.4.11", "vite-plugin-dts": "^4.3.0" diff --git a/examples/react/router-monorepo-react-query/packages/router/package.json b/examples/react/router-monorepo-react-query/packages/router/package.json index 0bef6be1da..713a8125e5 100644 --- a/examples/react/router-monorepo-react-query/packages/router/package.json +++ b/examples/react/router-monorepo-react-query/packages/router/package.json @@ -9,8 +9,8 @@ "types": "./dist/index.d.ts", "dependencies": { "@tanstack/react-query": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "@router-mono-react-query/post-query": "workspace:*", "redaxios": "^0.5.1", "zod": "^3.23.8", diff --git a/examples/react/router-monorepo-simple/package.json b/examples/react/router-monorepo-simple/package.json index 22db9555c3..35d123e3fa 100644 --- a/examples/react/router-monorepo-simple/package.json +++ b/examples/react/router-monorepo-simple/package.json @@ -8,9 +8,9 @@ "dev": "pnpm router build && pnpm post-feature build && pnpm app dev" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1" diff --git a/examples/react/router-monorepo-simple/packages/app/package.json b/examples/react/router-monorepo-simple/packages/app/package.json index d9a12623fd..31e48da214 100644 --- a/examples/react/router-monorepo-simple/packages/app/package.json +++ b/examples/react/router-monorepo-simple/packages/app/package.json @@ -18,7 +18,7 @@ "@types/react": "^18.2.47", "@types/react-dom": "^18.2.18", "@vitejs/plugin-react": "^4.3.3", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/router-devtools": "^1.81.6", "typescript": "5.6.2", "vite": "^5.4.11", "vite-plugin-dts": "^4.3.0" diff --git a/examples/react/router-monorepo-simple/packages/router/package.json b/examples/react/router-monorepo-simple/packages/router/package.json index 85c8f1aafe..ee99b85c8f 100644 --- a/examples/react/router-monorepo-simple/packages/router/package.json +++ b/examples/react/router-monorepo-simple/packages/router/package.json @@ -8,8 +8,8 @@ "main": "./dist/index.js", "types": "./dist/index.d.ts", "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "redaxios": "^0.5.1", "zod": "^3.23.8", "react": "^18.2.0", diff --git a/examples/react/scroll-restoration/package.json b/examples/react/scroll-restoration/package.json index 0ba057f179..78bfc69d71 100644 --- a/examples/react/scroll-restoration/package.json +++ b/examples/react/scroll-restoration/package.json @@ -9,9 +9,9 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", + "@tanstack/react-router": "^1.81.6", "@tanstack/react-virtual": "^3.10.9", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/router-devtools": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/react/search-validator-adapters/package.json b/examples/react/search-validator-adapters/package.json index c2d9a826e0..958c5f271a 100644 --- a/examples/react/search-validator-adapters/package.json +++ b/examples/react/search-validator-adapters/package.json @@ -11,12 +11,12 @@ }, "dependencies": { "@tanstack/react-query": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/arktype-adapter": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", - "@tanstack/valibot-adapter": "^1.81.5", - "@tanstack/zod-adapter": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/arktype-adapter": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", + "@tanstack/valibot-adapter": "^1.81.6", + "@tanstack/zod-adapter": "^1.81.6", "arktype": "2.0.0-rc.23", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/start-basic-auth/package.json b/examples/react/start-basic-auth/package.json index 0ffee54667..d60dcbd492 100644 --- a/examples/react/start-basic-auth/package.json +++ b/examples/react/start-basic-auth/package.json @@ -11,9 +11,9 @@ }, "dependencies": { "@prisma/client": "5.22.0", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/start": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/start": "^1.81.6", "dotenv": "^16.4.5", "prisma": "^5.22.0", "react": "^18.3.1", diff --git a/examples/react/start-basic-react-query/package.json b/examples/react/start-basic-react-query/package.json index 96147c28bd..1cb3eeaabd 100644 --- a/examples/react/start-basic-react-query/package.json +++ b/examples/react/start-basic-react-query/package.json @@ -11,10 +11,10 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/react-router-with-query": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/start": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/react-router-with-query": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/start": "^1.81.6", "react": "^18.3.1", "react-dom": "^18.3.1", "redaxios": "^0.5.1", diff --git a/examples/react/start-basic-rsc/package.json b/examples/react/start-basic-rsc/package.json index 959a843711..ca35ab69b4 100644 --- a/examples/react/start-basic-rsc/package.json +++ b/examples/react/start-basic-rsc/package.json @@ -10,9 +10,9 @@ }, "dependencies": { "@babel/plugin-syntax-typescript": "^7.25.9", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/start": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/start": "^1.81.6", "redaxios": "^0.5.1", "tailwind-merge": "^2.5.4", "vinxi": "0.4.3" diff --git a/examples/react/start-basic/package.json b/examples/react/start-basic/package.json index 18df0c11f4..8aa50c0081 100644 --- a/examples/react/start-basic/package.json +++ b/examples/react/start-basic/package.json @@ -9,9 +9,9 @@ "start": "vinxi start" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/start": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/start": "^1.81.6", "react": "^18.3.1", "react-dom": "^18.3.1", "redaxios": "^0.5.1", diff --git a/examples/react/start-clerk-basic/package.json b/examples/react/start-clerk-basic/package.json index 6bab359932..a2c7e2a456 100644 --- a/examples/react/start-clerk-basic/package.json +++ b/examples/react/start-clerk-basic/package.json @@ -10,9 +10,9 @@ }, "dependencies": { "@clerk/tanstack-start": "0.4.25", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/start": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/start": "^1.81.6", "dotenv": "^16.4.5", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/react/start-convex-trellaux/package.json b/examples/react/start-convex-trellaux/package.json index 37b6b7cecb..5f00155713 100644 --- a/examples/react/start-convex-trellaux/package.json +++ b/examples/react/start-convex-trellaux/package.json @@ -13,10 +13,10 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/react-router-with-query": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/start": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/react-router-with-query": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/start": "^1.81.6", "@convex-dev/react-query": "0.0.0-alpha.8", "concurrently": "^8.2.2", "convex": "^1.17.0", diff --git a/examples/react/start-counter/package.json b/examples/react/start-counter/package.json index 61f8c0a61e..63bfcdf5f7 100644 --- a/examples/react/start-counter/package.json +++ b/examples/react/start-counter/package.json @@ -9,8 +9,8 @@ "start": "vinxi start" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/start": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/start": "^1.81.6", "react": "^18.3.1", "react-dom": "^18.3.1", "vinxi": "0.4.3" diff --git a/examples/react/start-supabase-basic/package.json b/examples/react/start-supabase-basic/package.json index d7e240d9d1..65eda2a553 100644 --- a/examples/react/start-supabase-basic/package.json +++ b/examples/react/start-supabase-basic/package.json @@ -15,9 +15,9 @@ "dependencies": { "@supabase/ssr": "^0.5.2", "@supabase/supabase-js": "^2.46.1", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/start": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/start": "^1.81.6", "@vitejs/plugin-react": "^4.3.3", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/react/start-trellaux/package.json b/examples/react/start-trellaux/package.json index e62f0b4365..a58b3b61c4 100644 --- a/examples/react/start-trellaux/package.json +++ b/examples/react/start-trellaux/package.json @@ -11,10 +11,10 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/react-router-with-query": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/start": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/react-router-with-query": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/start": "^1.81.6", "ky": "^1.7.2", "msw": "^2.6.4", "react": "^18.3.1", diff --git a/examples/react/with-framer-motion/package.json b/examples/react/with-framer-motion/package.json index 7227dc84e6..657d91113e 100644 --- a/examples/react/with-framer-motion/package.json +++ b/examples/react/with-framer-motion/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", "redaxios": "^0.5.1", "framer-motion": "^11.11.11", "react": "^18.2.0", diff --git a/examples/react/with-trpc-react-query/package.json b/examples/react/with-trpc-react-query/package.json index ae9cd614e0..5a16acfc21 100644 --- a/examples/react/with-trpc-react-query/package.json +++ b/examples/react/with-trpc-react-query/package.json @@ -10,9 +10,9 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "@trpc/client": "11.0.0-rc.630", "@trpc/react-query": "11.0.0-rc.630", "@trpc/server": "11.0.0-rc.630", diff --git a/examples/react/with-trpc/package.json b/examples/react/with-trpc/package.json index 5abb4ed90f..179767472e 100644 --- a/examples/react/with-trpc/package.json +++ b/examples/react/with-trpc/package.json @@ -8,9 +8,9 @@ "start": "vinxi start" }, "dependencies": { - "@tanstack/react-router": "^1.81.5", - "@tanstack/router-devtools": "^1.81.5", - "@tanstack/router-plugin": "^1.79.0", + "@tanstack/react-router": "^1.81.6", + "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-plugin": "^1.81.6", "@trpc/client": "11.0.0-rc.630", "@trpc/server": "11.0.0-rc.630", "react": "^18.2.0", diff --git a/packages/arktype-adapter/package.json b/packages/arktype-adapter/package.json index d01d3dc968..6626d74550 100644 --- a/packages/arktype-adapter/package.json +++ b/packages/arktype-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/arktype-adapter", - "version": "1.81.5", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/create-router/package.json b/packages/create-router/package.json index 206bd39c57..29d2d39918 100644 --- a/packages/create-router/package.json +++ b/packages/create-router/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/create-router", - "version": "1.81.5", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/eslint-plugin-router/package.json b/packages/eslint-plugin-router/package.json index eea97d05ca..0bf2cf6ce0 100644 --- a/packages/eslint-plugin-router/package.json +++ b/packages/eslint-plugin-router/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/eslint-plugin-router", - "version": "1.81.5", + "version": "1.81.6", "description": "ESLint plugin for TanStack Router", "author": "Manuel Schiller", "license": "MIT", diff --git a/packages/history/package.json b/packages/history/package.json index b4ea3ae9a4..c8c7faf406 100644 --- a/packages/history/package.json +++ b/packages/history/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/history", - "version": "1.81.3", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/react-cross-context/package.json b/packages/react-cross-context/package.json index 33cbc81983..7f5f741276 100644 --- a/packages/react-cross-context/package.json +++ b/packages/react-cross-context/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-cross-context", - "version": "1.74.5", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/react-router-with-query/package.json b/packages/react-router-with-query/package.json index c497ee6c35..bfa3a75a69 100644 --- a/packages/react-router-with-query/package.json +++ b/packages/react-router-with-query/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-router-with-query", - "version": "1.81.5", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/react-router/package.json b/packages/react-router/package.json index c27d170f0a..f5f276c6a7 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-router", - "version": "1.81.5", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/router-cli/package.json b/packages/router-cli/package.json index b367521b28..78bfe39630 100644 --- a/packages/router-cli/package.json +++ b/packages/router-cli/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/router-cli", - "version": "1.79.0", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/router-devtools/package.json b/packages/router-devtools/package.json index d8a989641a..180ea4ed55 100644 --- a/packages/router-devtools/package.json +++ b/packages/router-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/router-devtools", - "version": "1.81.5", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/router-generator/package.json b/packages/router-generator/package.json index 3615ca9b2c..ccca4f9344 100644 --- a/packages/router-generator/package.json +++ b/packages/router-generator/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/router-generator", - "version": "1.79.0", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/router-plugin/package.json b/packages/router-plugin/package.json index 223a6ae4c0..6a531f573c 100644 --- a/packages/router-plugin/package.json +++ b/packages/router-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/router-plugin", - "version": "1.79.0", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/router-vite-plugin/package.json b/packages/router-vite-plugin/package.json index d50bb8235f..753cc15cac 100644 --- a/packages/router-vite-plugin/package.json +++ b/packages/router-vite-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/router-vite-plugin", - "version": "1.79.0", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/start-vite-plugin/package.json b/packages/start-vite-plugin/package.json index 05a2f0cca0..3fb1a2aa69 100644 --- a/packages/start-vite-plugin/package.json +++ b/packages/start-vite-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/start-vite-plugin", - "version": "1.79.0", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/start/package.json b/packages/start/package.json index 7939e69eb1..93084a3166 100644 --- a/packages/start/package.json +++ b/packages/start/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/start", - "version": "1.81.5", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/valibot-adapter/package.json b/packages/valibot-adapter/package.json index 2b0fb6012c..16fd83f963 100644 --- a/packages/valibot-adapter/package.json +++ b/packages/valibot-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/valibot-adapter", - "version": "1.81.5", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/virtual-file-routes/package.json b/packages/virtual-file-routes/package.json index 18aa467876..05943d2f04 100644 --- a/packages/virtual-file-routes/package.json +++ b/packages/virtual-file-routes/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/virtual-file-routes", - "version": "1.64.0", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/zod-adapter/package.json b/packages/zod-adapter/package.json index 5704cbd484..3abbad75b2 100644 --- a/packages/zod-adapter/package.json +++ b/packages/zod-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/zod-adapter", - "version": "1.81.5", + "version": "1.81.6", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", From ee74d19aa6a6dd42ea56d181ed5ebc606ffffde9 Mon Sep 17 00:00:00 2001 From: Manuel Schiller Date: Thu, 14 Nov 2024 20:59:48 +0100 Subject: [PATCH 2/6] fix(react-router): fix re-rendering when loaderDeps change (#2752) * fix(react-router): correct cause for loader see #2749 * stable loaderdeps and search * allow narrowing on the router state matches * structural sharing for params, search and loader deps * avoid re-rendering if matchId changes although we don't care for the matchId --- packages/react-router/src/matchContext.tsx | 5 ++++ packages/react-router/src/router.ts | 34 ++++++++++++++-------- packages/react-router/src/useMatch.tsx | 6 ++-- 3 files changed, 31 insertions(+), 14 deletions(-) diff --git a/packages/react-router/src/matchContext.tsx b/packages/react-router/src/matchContext.tsx index 3727bc77c7..ce182bd994 100644 --- a/packages/react-router/src/matchContext.tsx +++ b/packages/react-router/src/matchContext.tsx @@ -1,3 +1,8 @@ import * as React from 'react' export const matchContext = React.createContext(undefined) + +// N.B. this only exists so we can conditionally call useContext on it when we are not interested in the nearest match +export const dummyMatchContext = React.createContext( + undefined, +) diff --git a/packages/react-router/src/router.ts b/packages/react-router/src/router.ts index d0486a3564..7ba20545ab 100644 --- a/packages/react-router/src/router.ts +++ b/packages/react-router/src/router.ts @@ -490,7 +490,7 @@ export interface RouterErrorSerializer { export interface RouterState< TRouteTree extends AnyRoute = AnyRoute, - TRouteMatch = MakeRouteMatch, + TRouteMatch = MakeRouteMatchUnion, > { status: 'pending' | 'idle' loadedAt: number @@ -1242,9 +1242,11 @@ export class Router< // pending matches that are still loading const existingMatch = this.getMatch(matchId) - const cause = this.state.matches.find((d) => d.id === matchId) - ? 'stay' - : 'enter' + const previousMatch = this.state.matches.find( + (d) => d.routeId === route.id, + ) + + const cause = previousMatch ? 'stay' : 'enter' let match: AnyRouteMatch @@ -1252,7 +1254,12 @@ export class Router< match = { ...existingMatch, cause, - params: routeParams, + params: previousMatch + ? replaceEqualDeep(previousMatch.params, routeParams) + : routeParams, + search: previousMatch + ? replaceEqualDeep(previousMatch.search, preMatchSearch) + : replaceEqualDeep(existingMatch.search, preMatchSearch), } } else { const status = @@ -1267,10 +1274,14 @@ export class Router< id: matchId, index, routeId: route.id, - params: routeParams, + params: previousMatch + ? replaceEqualDeep(previousMatch.params, routeParams) + : routeParams, pathname: joinPaths([this.basepath, interpolatedPath]), updatedAt: Date.now(), - search: {} as any, + search: previousMatch + ? replaceEqualDeep(previousMatch.search, preMatchSearch) + : preMatchSearch, searchError: undefined, status, isFetching: false, @@ -1282,7 +1293,9 @@ export class Router< abortController: new AbortController(), fetchCount: 0, cause, - loaderDeps, + loaderDeps: previousMatch + ? replaceEqualDeep(previousMatch.loaderDeps, loaderDeps) + : loaderDeps, invalid: false, preload: false, links: route.options.links?.(), @@ -1314,10 +1327,7 @@ export class Router< match.globalNotFound = globalNotFoundRouteId === route.id } - // Regardless of whether we're reusing an existing match or creating - // a new one, we need to update the match's search params - match.search = replaceEqualDeep(match.search, preMatchSearch) - // And also update the searchError if there is one + // update the searchError if there is one match.searchError = searchError const parentMatchId = parentMatch?.id diff --git a/packages/react-router/src/useMatch.tsx b/packages/react-router/src/useMatch.tsx index ac119802b4..675b12ea95 100644 --- a/packages/react-router/src/useMatch.tsx +++ b/packages/react-router/src/useMatch.tsx @@ -1,7 +1,7 @@ import * as React from 'react' import invariant from 'tiny-invariant' import { useRouterState } from './useRouterState' -import { matchContext } from './matchContext' +import { dummyMatchContext, matchContext } from './matchContext' import type { StructuralSharingOption, ValidateSelected, @@ -84,7 +84,9 @@ export function useMatch< TStructuralSharing >, ): ThrowOrOptional, TThrow> { - const nearestMatchId = React.useContext(matchContext) + const nearestMatchId = React.useContext( + opts.from ? dummyMatchContext : matchContext, + ) const matchSelection = useRouterState({ select: (state: any) => { From 12283041a6bd028fe3567d256dc24355f82d46fc Mon Sep 17 00:00:00 2001 From: Jonathan Hutchison Date: Thu, 14 Nov 2024 15:34:12 -0500 Subject: [PATCH 3/6] Update getting started docs (#2757) --- docs/framework/react/start/getting-started.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/framework/react/start/getting-started.md b/docs/framework/react/start/getting-started.md index 159100cd39..ccb6085f5a 100644 --- a/docs/framework/react/start/getting-started.md +++ b/docs/framework/react/start/getting-started.md @@ -179,12 +179,7 @@ import { createRouter } from './router' const router = createRouter() -const root = document.getElementById('root') -if (!root) { - throw new Error('Root element not found') -} - -hydrateRoot(root, ) +hydrateRoot(document, ) ``` This enables us to kick off client-side routing once the user's initial server request has fulfilled. From f569bf85e2a005fe67c1a861bc14d704e0046be9 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 14 Nov 2024 20:36:30 +0000 Subject: [PATCH 4/6] release: v1.81.7 --- examples/react/authenticated-routes/package.json | 4 ++-- .../react/basic-default-search-params/package.json | 4 ++-- .../react/basic-file-based-codesplitting/package.json | 4 ++-- examples/react/basic-file-based/package.json | 4 ++-- .../react/basic-react-query-file-based/package.json | 4 ++-- examples/react/basic-react-query/package.json | 4 ++-- examples/react/basic-ssr-file-based/package.json | 6 +++--- .../react/basic-ssr-streaming-file-based/package.json | 6 +++--- examples/react/basic-virtual-file-based/package.json | 4 ++-- .../react/basic-virtual-inside-file-based/package.json | 4 ++-- examples/react/basic/package.json | 4 ++-- examples/react/deferred-data/package.json | 4 ++-- examples/react/kitchen-sink-file-based/package.json | 4 ++-- .../kitchen-sink-react-query-file-based/package.json | 4 ++-- examples/react/kitchen-sink-react-query/package.json | 4 ++-- examples/react/kitchen-sink/package.json | 4 ++-- examples/react/large-file-based/package.json | 4 ++-- examples/react/location-masking/package.json | 4 ++-- examples/react/navigation-blocking/package.json | 4 ++-- .../react/quickstart-esbuild-file-based/package.json | 4 ++-- examples/react/quickstart-file-based/package.json | 4 ++-- .../react/quickstart-rspack-file-based/package.json | 4 ++-- .../react/quickstart-webpack-file-based/package.json | 4 ++-- examples/react/quickstart/package.json | 4 ++-- .../react/router-monorepo-react-query/package.json | 4 ++-- .../packages/app/package.json | 2 +- .../packages/router/package.json | 2 +- examples/react/router-monorepo-simple/package.json | 4 ++-- .../router-monorepo-simple/packages/app/package.json | 2 +- .../packages/router/package.json | 2 +- examples/react/scroll-restoration/package.json | 4 ++-- examples/react/search-validator-adapters/package.json | 10 +++++----- examples/react/start-basic-auth/package.json | 6 +++--- examples/react/start-basic-react-query/package.json | 8 ++++---- examples/react/start-basic-rsc/package.json | 6 +++--- examples/react/start-basic/package.json | 6 +++--- examples/react/start-clerk-basic/package.json | 6 +++--- examples/react/start-convex-trellaux/package.json | 8 ++++---- examples/react/start-counter/package.json | 4 ++-- examples/react/start-supabase-basic/package.json | 6 +++--- examples/react/start-trellaux/package.json | 8 ++++---- examples/react/with-framer-motion/package.json | 4 ++-- examples/react/with-trpc-react-query/package.json | 4 ++-- examples/react/with-trpc/package.json | 4 ++-- packages/arktype-adapter/package.json | 2 +- packages/create-router/package.json | 2 +- packages/react-router-with-query/package.json | 2 +- packages/react-router/package.json | 2 +- packages/router-devtools/package.json | 2 +- packages/start/package.json | 2 +- packages/valibot-adapter/package.json | 2 +- packages/zod-adapter/package.json | 2 +- 52 files changed, 108 insertions(+), 108 deletions(-) diff --git a/examples/react/authenticated-routes/package.json b/examples/react/authenticated-routes/package.json index 4997ecc864..04c5774755 100644 --- a/examples/react/authenticated-routes/package.json +++ b/examples/react/authenticated-routes/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/basic-default-search-params/package.json b/examples/react/basic-default-search-params/package.json index 6482e634c2..ebc457bb83 100644 --- a/examples/react/basic-default-search-params/package.json +++ b/examples/react/basic-default-search-params/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "@tanstack/react-query": "^5.59.20", - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "redaxios": "^0.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/basic-file-based-codesplitting/package.json b/examples/react/basic-file-based-codesplitting/package.json index bc4d0f9133..04de7fbcd2 100644 --- a/examples/react/basic-file-based-codesplitting/package.json +++ b/examples/react/basic-file-based-codesplitting/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/basic-file-based/package.json b/examples/react/basic-file-based/package.json index 5ac8e0e9d1..dd150f6e9f 100644 --- a/examples/react/basic-file-based/package.json +++ b/examples/react/basic-file-based/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/basic-react-query-file-based/package.json b/examples/react/basic-react-query-file-based/package.json index b54c7f4d43..0365df8d67 100644 --- a/examples/react/basic-react-query-file-based/package.json +++ b/examples/react/basic-react-query-file-based/package.json @@ -11,8 +11,8 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/basic-react-query/package.json b/examples/react/basic-react-query/package.json index 6bac70ba1f..00977f2a11 100644 --- a/examples/react/basic-react-query/package.json +++ b/examples/react/basic-react-query/package.json @@ -11,8 +11,8 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1" diff --git a/examples/react/basic-ssr-file-based/package.json b/examples/react/basic-ssr-file-based/package.json index c9edfaadb4..3d8a4234a7 100644 --- a/examples/react/basic-ssr-file-based/package.json +++ b/examples/react/basic-ssr-file-based/package.json @@ -11,10 +11,10 @@ "debug": "node --inspect-brk server" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", - "@tanstack/start": "^1.81.6", + "@tanstack/start": "^1.81.7", "get-port": "^7.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/basic-ssr-streaming-file-based/package.json b/examples/react/basic-ssr-streaming-file-based/package.json index d62f1c77d5..686926fb3e 100644 --- a/examples/react/basic-ssr-streaming-file-based/package.json +++ b/examples/react/basic-ssr-streaming-file-based/package.json @@ -11,10 +11,10 @@ "debug": "node --inspect-brk server" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", - "@tanstack/start": "^1.81.6", + "@tanstack/start": "^1.81.7", "get-port": "^7.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/basic-virtual-file-based/package.json b/examples/react/basic-virtual-file-based/package.json index 5a0c942a43..8eb5cbfe89 100644 --- a/examples/react/basic-virtual-file-based/package.json +++ b/examples/react/basic-virtual-file-based/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "@tanstack/virtual-file-routes": "^1.81.6", "react": "^18.2.0", diff --git a/examples/react/basic-virtual-inside-file-based/package.json b/examples/react/basic-virtual-inside-file-based/package.json index 0adb276877..37847bb405 100644 --- a/examples/react/basic-virtual-inside-file-based/package.json +++ b/examples/react/basic-virtual-inside-file-based/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "@tanstack/virtual-file-routes": "^1.81.6", "react": "^18.2.0", diff --git a/examples/react/basic/package.json b/examples/react/basic/package.json index 677afa51a1..0ff939852d 100644 --- a/examples/react/basic/package.json +++ b/examples/react/basic/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "react": "^18.2.0", "react-dom": "^18.2.0", "redaxios": "^0.5.1" diff --git a/examples/react/deferred-data/package.json b/examples/react/deferred-data/package.json index d57499b5fd..5e808165bd 100644 --- a/examples/react/deferred-data/package.json +++ b/examples/react/deferred-data/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "redaxios": "^0.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/kitchen-sink-file-based/package.json b/examples/react/kitchen-sink-file-based/package.json index ef028eb7cb..f47c08707d 100644 --- a/examples/react/kitchen-sink-file-based/package.json +++ b/examples/react/kitchen-sink-file-based/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "immer": "^10.1.1", "react": "^18.2.0", diff --git a/examples/react/kitchen-sink-react-query-file-based/package.json b/examples/react/kitchen-sink-react-query-file-based/package.json index 53bad07899..110d0dcdd7 100644 --- a/examples/react/kitchen-sink-react-query-file-based/package.json +++ b/examples/react/kitchen-sink-react-query-file-based/package.json @@ -11,8 +11,8 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "immer": "^10.1.1", "react": "^18.2.0", diff --git a/examples/react/kitchen-sink-react-query/package.json b/examples/react/kitchen-sink-react-query/package.json index a939139371..999bb8712c 100644 --- a/examples/react/kitchen-sink-react-query/package.json +++ b/examples/react/kitchen-sink-react-query/package.json @@ -11,8 +11,8 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "redaxios": "^0.5.1", "immer": "^10.1.1", "react": "^18.2.0", diff --git a/examples/react/kitchen-sink/package.json b/examples/react/kitchen-sink/package.json index ef30652649..7987bb372e 100644 --- a/examples/react/kitchen-sink/package.json +++ b/examples/react/kitchen-sink/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "redaxios": "^0.5.1", "immer": "^10.1.1", "react": "^18.2.0", diff --git a/examples/react/large-file-based/package.json b/examples/react/large-file-based/package.json index 8a812b5043..fbc88249ba 100644 --- a/examples/react/large-file-based/package.json +++ b/examples/react/large-file-based/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@tanstack/react-query": "^5.59.20", - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/location-masking/package.json b/examples/react/location-masking/package.json index 5ae626c88e..50ff114105 100644 --- a/examples/react/location-masking/package.json +++ b/examples/react/location-masking/package.json @@ -11,8 +11,8 @@ "dependencies": { "@radix-ui/react-dialog": "^1.1.2", "@tanstack/react-query": "^5.59.20", - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "redaxios": "^0.5.1", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/navigation-blocking/package.json b/examples/react/navigation-blocking/package.json index ed9129604f..c4d1aec0c6 100644 --- a/examples/react/navigation-blocking/package.json +++ b/examples/react/navigation-blocking/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "@tanstack/react-query": "^5.59.20", - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "redaxios": "^0.5.1", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/react/quickstart-esbuild-file-based/package.json b/examples/react/quickstart-esbuild-file-based/package.json index f61e138100..0a5008e998 100644 --- a/examples/react/quickstart-esbuild-file-based/package.json +++ b/examples/react/quickstart-esbuild-file-based/package.json @@ -9,8 +9,8 @@ "start": "dev" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/quickstart-file-based/package.json b/examples/react/quickstart-file-based/package.json index c291be6671..fbe8655241 100644 --- a/examples/react/quickstart-file-based/package.json +++ b/examples/react/quickstart-file-based/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/quickstart-rspack-file-based/package.json b/examples/react/quickstart-rspack-file-based/package.json index 7910f20278..676f5bae5b 100644 --- a/examples/react/quickstart-rspack-file-based/package.json +++ b/examples/react/quickstart-rspack-file-based/package.json @@ -8,8 +8,8 @@ "preview": "rsbuild preview" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "react": "^18.3.1", "react-dom": "^18.3.1" }, diff --git a/examples/react/quickstart-webpack-file-based/package.json b/examples/react/quickstart-webpack-file-based/package.json index e52a84703d..7e36d22177 100644 --- a/examples/react/quickstart-webpack-file-based/package.json +++ b/examples/react/quickstart-webpack-file-based/package.json @@ -7,8 +7,8 @@ "build": "webpack build && tsc --noEmit" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "react": "^18.3.1", "react-dom": "^18.3.1" }, diff --git a/examples/react/quickstart/package.json b/examples/react/quickstart/package.json index fcd2c9fe40..f647fe4cda 100644 --- a/examples/react/quickstart/package.json +++ b/examples/react/quickstart/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/react/router-monorepo-react-query/package.json b/examples/react/router-monorepo-react-query/package.json index 2025736acc..17f2bf1277 100644 --- a/examples/react/router-monorepo-react-query/package.json +++ b/examples/react/router-monorepo-react-query/package.json @@ -12,8 +12,8 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/router-monorepo-react-query/packages/app/package.json b/examples/react/router-monorepo-react-query/packages/app/package.json index de58844adf..f907e25504 100644 --- a/examples/react/router-monorepo-react-query/packages/app/package.json +++ b/examples/react/router-monorepo-react-query/packages/app/package.json @@ -19,7 +19,7 @@ "@types/react": "^18.2.47", "@types/react-dom": "^18.2.18", "@vitejs/plugin-react": "^4.3.3", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-devtools": "^1.81.7", "typescript": "5.6.2", "vite": "^5.4.11", "vite-plugin-dts": "^4.3.0" diff --git a/examples/react/router-monorepo-react-query/packages/router/package.json b/examples/react/router-monorepo-react-query/packages/router/package.json index 713a8125e5..465319668a 100644 --- a/examples/react/router-monorepo-react-query/packages/router/package.json +++ b/examples/react/router-monorepo-react-query/packages/router/package.json @@ -9,7 +9,7 @@ "types": "./dist/index.d.ts", "dependencies": { "@tanstack/react-query": "^5.59.20", - "@tanstack/react-router": "^1.81.6", + "@tanstack/react-router": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "@router-mono-react-query/post-query": "workspace:*", "redaxios": "^0.5.1", diff --git a/examples/react/router-monorepo-simple/package.json b/examples/react/router-monorepo-simple/package.json index 35d123e3fa..e3c96065f6 100644 --- a/examples/react/router-monorepo-simple/package.json +++ b/examples/react/router-monorepo-simple/package.json @@ -8,8 +8,8 @@ "dev": "pnpm router build && pnpm post-feature build && pnpm app dev" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/router-monorepo-simple/packages/app/package.json b/examples/react/router-monorepo-simple/packages/app/package.json index 31e48da214..18d47cfb55 100644 --- a/examples/react/router-monorepo-simple/packages/app/package.json +++ b/examples/react/router-monorepo-simple/packages/app/package.json @@ -18,7 +18,7 @@ "@types/react": "^18.2.47", "@types/react-dom": "^18.2.18", "@vitejs/plugin-react": "^4.3.3", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-devtools": "^1.81.7", "typescript": "5.6.2", "vite": "^5.4.11", "vite-plugin-dts": "^4.3.0" diff --git a/examples/react/router-monorepo-simple/packages/router/package.json b/examples/react/router-monorepo-simple/packages/router/package.json index ee99b85c8f..5a9b089978 100644 --- a/examples/react/router-monorepo-simple/packages/router/package.json +++ b/examples/react/router-monorepo-simple/packages/router/package.json @@ -8,7 +8,7 @@ "main": "./dist/index.js", "types": "./dist/index.d.ts", "dependencies": { - "@tanstack/react-router": "^1.81.6", + "@tanstack/react-router": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "redaxios": "^0.5.1", "zod": "^3.23.8", diff --git a/examples/react/scroll-restoration/package.json b/examples/react/scroll-restoration/package.json index 78bfc69d71..e4ea8ced73 100644 --- a/examples/react/scroll-restoration/package.json +++ b/examples/react/scroll-restoration/package.json @@ -9,9 +9,9 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", + "@tanstack/react-router": "^1.81.7", "@tanstack/react-virtual": "^3.10.9", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/router-devtools": "^1.81.7", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/react/search-validator-adapters/package.json b/examples/react/search-validator-adapters/package.json index 958c5f271a..0b1d672089 100644 --- a/examples/react/search-validator-adapters/package.json +++ b/examples/react/search-validator-adapters/package.json @@ -11,12 +11,12 @@ }, "dependencies": { "@tanstack/react-query": "^5.59.20", - "@tanstack/react-router": "^1.81.6", - "@tanstack/arktype-adapter": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/arktype-adapter": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", - "@tanstack/valibot-adapter": "^1.81.6", - "@tanstack/zod-adapter": "^1.81.6", + "@tanstack/valibot-adapter": "^1.81.7", + "@tanstack/zod-adapter": "^1.81.7", "arktype": "2.0.0-rc.23", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/start-basic-auth/package.json b/examples/react/start-basic-auth/package.json index d60dcbd492..1080691d24 100644 --- a/examples/react/start-basic-auth/package.json +++ b/examples/react/start-basic-auth/package.json @@ -11,9 +11,9 @@ }, "dependencies": { "@prisma/client": "5.22.0", - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", - "@tanstack/start": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", + "@tanstack/start": "^1.81.7", "dotenv": "^16.4.5", "prisma": "^5.22.0", "react": "^18.3.1", diff --git a/examples/react/start-basic-react-query/package.json b/examples/react/start-basic-react-query/package.json index 1cb3eeaabd..0dbdfd8a9e 100644 --- a/examples/react/start-basic-react-query/package.json +++ b/examples/react/start-basic-react-query/package.json @@ -11,10 +11,10 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.6", - "@tanstack/react-router-with-query": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", - "@tanstack/start": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/react-router-with-query": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", + "@tanstack/start": "^1.81.7", "react": "^18.3.1", "react-dom": "^18.3.1", "redaxios": "^0.5.1", diff --git a/examples/react/start-basic-rsc/package.json b/examples/react/start-basic-rsc/package.json index ca35ab69b4..647ecce015 100644 --- a/examples/react/start-basic-rsc/package.json +++ b/examples/react/start-basic-rsc/package.json @@ -10,9 +10,9 @@ }, "dependencies": { "@babel/plugin-syntax-typescript": "^7.25.9", - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", - "@tanstack/start": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", + "@tanstack/start": "^1.81.7", "redaxios": "^0.5.1", "tailwind-merge": "^2.5.4", "vinxi": "0.4.3" diff --git a/examples/react/start-basic/package.json b/examples/react/start-basic/package.json index 8aa50c0081..b6d399ec8b 100644 --- a/examples/react/start-basic/package.json +++ b/examples/react/start-basic/package.json @@ -9,9 +9,9 @@ "start": "vinxi start" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", - "@tanstack/start": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", + "@tanstack/start": "^1.81.7", "react": "^18.3.1", "react-dom": "^18.3.1", "redaxios": "^0.5.1", diff --git a/examples/react/start-clerk-basic/package.json b/examples/react/start-clerk-basic/package.json index a2c7e2a456..b5901a43f7 100644 --- a/examples/react/start-clerk-basic/package.json +++ b/examples/react/start-clerk-basic/package.json @@ -10,9 +10,9 @@ }, "dependencies": { "@clerk/tanstack-start": "0.4.25", - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", - "@tanstack/start": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", + "@tanstack/start": "^1.81.7", "dotenv": "^16.4.5", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/react/start-convex-trellaux/package.json b/examples/react/start-convex-trellaux/package.json index 5f00155713..ff791e2e37 100644 --- a/examples/react/start-convex-trellaux/package.json +++ b/examples/react/start-convex-trellaux/package.json @@ -13,10 +13,10 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.6", - "@tanstack/react-router-with-query": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", - "@tanstack/start": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/react-router-with-query": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", + "@tanstack/start": "^1.81.7", "@convex-dev/react-query": "0.0.0-alpha.8", "concurrently": "^8.2.2", "convex": "^1.17.0", diff --git a/examples/react/start-counter/package.json b/examples/react/start-counter/package.json index 63bfcdf5f7..840b78189e 100644 --- a/examples/react/start-counter/package.json +++ b/examples/react/start-counter/package.json @@ -9,8 +9,8 @@ "start": "vinxi start" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/start": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/start": "^1.81.7", "react": "^18.3.1", "react-dom": "^18.3.1", "vinxi": "0.4.3" diff --git a/examples/react/start-supabase-basic/package.json b/examples/react/start-supabase-basic/package.json index 65eda2a553..fe6d819bde 100644 --- a/examples/react/start-supabase-basic/package.json +++ b/examples/react/start-supabase-basic/package.json @@ -15,9 +15,9 @@ "dependencies": { "@supabase/ssr": "^0.5.2", "@supabase/supabase-js": "^2.46.1", - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", - "@tanstack/start": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", + "@tanstack/start": "^1.81.7", "@vitejs/plugin-react": "^4.3.3", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/react/start-trellaux/package.json b/examples/react/start-trellaux/package.json index a58b3b61c4..edba78bc0e 100644 --- a/examples/react/start-trellaux/package.json +++ b/examples/react/start-trellaux/package.json @@ -11,10 +11,10 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.6", - "@tanstack/react-router-with-query": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", - "@tanstack/start": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/react-router-with-query": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", + "@tanstack/start": "^1.81.7", "ky": "^1.7.2", "msw": "^2.6.4", "react": "^18.3.1", diff --git a/examples/react/with-framer-motion/package.json b/examples/react/with-framer-motion/package.json index 657d91113e..04fb88d08d 100644 --- a/examples/react/with-framer-motion/package.json +++ b/examples/react/with-framer-motion/package.json @@ -9,8 +9,8 @@ "start": "vite" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "redaxios": "^0.5.1", "framer-motion": "^11.11.11", "react": "^18.2.0", diff --git a/examples/react/with-trpc-react-query/package.json b/examples/react/with-trpc-react-query/package.json index 5a16acfc21..d9c1cd06af 100644 --- a/examples/react/with-trpc-react-query/package.json +++ b/examples/react/with-trpc-react-query/package.json @@ -10,8 +10,8 @@ "dependencies": { "@tanstack/react-query": "^5.59.20", "@tanstack/react-query-devtools": "^5.59.20", - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "@trpc/client": "11.0.0-rc.630", "@trpc/react-query": "11.0.0-rc.630", diff --git a/examples/react/with-trpc/package.json b/examples/react/with-trpc/package.json index 179767472e..31f9e54d9f 100644 --- a/examples/react/with-trpc/package.json +++ b/examples/react/with-trpc/package.json @@ -8,8 +8,8 @@ "start": "vinxi start" }, "dependencies": { - "@tanstack/react-router": "^1.81.6", - "@tanstack/router-devtools": "^1.81.6", + "@tanstack/react-router": "^1.81.7", + "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", "@trpc/client": "11.0.0-rc.630", "@trpc/server": "11.0.0-rc.630", diff --git a/packages/arktype-adapter/package.json b/packages/arktype-adapter/package.json index 6626d74550..e2e3d2dfca 100644 --- a/packages/arktype-adapter/package.json +++ b/packages/arktype-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/arktype-adapter", - "version": "1.81.6", + "version": "1.81.7", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/create-router/package.json b/packages/create-router/package.json index 29d2d39918..45b084beaf 100644 --- a/packages/create-router/package.json +++ b/packages/create-router/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/create-router", - "version": "1.81.6", + "version": "1.81.7", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/react-router-with-query/package.json b/packages/react-router-with-query/package.json index bfa3a75a69..bab7bdc43f 100644 --- a/packages/react-router-with-query/package.json +++ b/packages/react-router-with-query/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-router-with-query", - "version": "1.81.6", + "version": "1.81.7", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/react-router/package.json b/packages/react-router/package.json index f5f276c6a7..76cd1629f5 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-router", - "version": "1.81.6", + "version": "1.81.7", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/router-devtools/package.json b/packages/router-devtools/package.json index 180ea4ed55..5e3a86a3fb 100644 --- a/packages/router-devtools/package.json +++ b/packages/router-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/router-devtools", - "version": "1.81.6", + "version": "1.81.7", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/start/package.json b/packages/start/package.json index 93084a3166..9fba016650 100644 --- a/packages/start/package.json +++ b/packages/start/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/start", - "version": "1.81.6", + "version": "1.81.7", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/valibot-adapter/package.json b/packages/valibot-adapter/package.json index 16fd83f963..2455d50fb2 100644 --- a/packages/valibot-adapter/package.json +++ b/packages/valibot-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/valibot-adapter", - "version": "1.81.6", + "version": "1.81.7", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/zod-adapter/package.json b/packages/zod-adapter/package.json index 3abbad75b2..aa4e879e9f 100644 --- a/packages/zod-adapter/package.json +++ b/packages/zod-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/zod-adapter", - "version": "1.81.6", + "version": "1.81.7", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", From 02ee098052cf3a5b7bad55cf21ecc9f5cf850944 Mon Sep 17 00:00:00 2001 From: Manuel Schiller Date: Thu, 14 Nov 2024 22:03:05 +0100 Subject: [PATCH 5/6] fix(start): move @vitejs/plugin-react into dependencies (#2758) --- examples/react/start-basic-auth/package.json | 1 - .../start-basic-react-query/package.json | 1 - examples/react/start-basic-rsc/package.json | 1 - examples/react/start-basic/package.json | 1 - examples/react/start-clerk-basic/package.json | 1 - .../react/start-convex-trellaux/package.json | 1 - .../react/start-supabase-basic/package.json | 1 - examples/react/start-trellaux/package.json | 1 - packages/start/package.json | 2 +- pnpm-lock.yaml | 30 ++----------------- 10 files changed, 4 insertions(+), 36 deletions(-) diff --git a/examples/react/start-basic-auth/package.json b/examples/react/start-basic-auth/package.json index 1080691d24..0e9424bcbf 100644 --- a/examples/react/start-basic-auth/package.json +++ b/examples/react/start-basic-auth/package.json @@ -27,7 +27,6 @@ "@types/node": "^22.5.4", "@types/react": "^18.2.65", "@types/react-dom": "^18.2.21", - "@vitejs/plugin-react": "^4.3.3", "autoprefixer": "^10.4.20", "postcss": "^8.4.49", "tailwindcss": "^3.4.14", diff --git a/examples/react/start-basic-react-query/package.json b/examples/react/start-basic-react-query/package.json index 0dbdfd8a9e..31913f1c01 100644 --- a/examples/react/start-basic-react-query/package.json +++ b/examples/react/start-basic-react-query/package.json @@ -25,7 +25,6 @@ "@types/node": "^22.5.4", "@types/react": "^18.2.65", "@types/react-dom": "^18.2.21", - "@vitejs/plugin-react": "^4.3.3", "autoprefixer": "^10.4.20", "postcss": "^8.4.49", "tailwindcss": "^3.4.14", diff --git a/examples/react/start-basic-rsc/package.json b/examples/react/start-basic-rsc/package.json index 647ecce015..f4d50b81ae 100644 --- a/examples/react/start-basic-rsc/package.json +++ b/examples/react/start-basic-rsc/package.json @@ -20,7 +20,6 @@ "devDependencies": { "@types/react": "^18.2.65", "@types/react-dom": "^18.2.21", - "@vitejs/plugin-react": "^4.3.3", "autoprefixer": "^10.4.20", "postcss": "^8.4.49", "tailwindcss": "^3.4.14", diff --git a/examples/react/start-basic/package.json b/examples/react/start-basic/package.json index b6d399ec8b..34b6c2a0ac 100644 --- a/examples/react/start-basic/package.json +++ b/examples/react/start-basic/package.json @@ -22,7 +22,6 @@ "@types/node": "^22.5.4", "@types/react": "^18.2.65", "@types/react-dom": "^18.2.21", - "@vitejs/plugin-react": "^4.3.3", "autoprefixer": "^10.4.20", "postcss": "^8.4.49", "tailwindcss": "^3.4.14", diff --git a/examples/react/start-clerk-basic/package.json b/examples/react/start-clerk-basic/package.json index b5901a43f7..9930ef2327 100644 --- a/examples/react/start-clerk-basic/package.json +++ b/examples/react/start-clerk-basic/package.json @@ -25,7 +25,6 @@ "@types/node": "^22.5.4", "@types/react": "^18.2.65", "@types/react-dom": "^18.2.21", - "@vitejs/plugin-react": "^4.3.3", "autoprefixer": "^10.4.20", "postcss": "^8.4.49", "tailwindcss": "^3.4.14", diff --git a/examples/react/start-convex-trellaux/package.json b/examples/react/start-convex-trellaux/package.json index ff791e2e37..cbe8efb577 100644 --- a/examples/react/start-convex-trellaux/package.json +++ b/examples/react/start-convex-trellaux/package.json @@ -34,7 +34,6 @@ "devDependencies": { "@types/react": "^18.2.65", "@types/react-dom": "^18.2.21", - "@vitejs/plugin-react": "^4.3.3", "autoprefixer": "^10.4.20", "postcss": "^8.4.49", "tailwindcss": "^3.4.14", diff --git a/examples/react/start-supabase-basic/package.json b/examples/react/start-supabase-basic/package.json index fe6d819bde..18df666889 100644 --- a/examples/react/start-supabase-basic/package.json +++ b/examples/react/start-supabase-basic/package.json @@ -18,7 +18,6 @@ "@tanstack/react-router": "^1.81.7", "@tanstack/router-devtools": "^1.81.7", "@tanstack/start": "^1.81.7", - "@vitejs/plugin-react": "^4.3.3", "react": "^18.3.1", "react-dom": "^18.3.1", "vinxi": "0.4.3" diff --git a/examples/react/start-trellaux/package.json b/examples/react/start-trellaux/package.json index edba78bc0e..df42246075 100644 --- a/examples/react/start-trellaux/package.json +++ b/examples/react/start-trellaux/package.json @@ -29,7 +29,6 @@ "devDependencies": { "@types/react": "^18.2.65", "@types/react-dom": "^18.2.21", - "@vitejs/plugin-react": "^4.3.3", "autoprefixer": "^10.4.20", "postcss": "^8.4.49", "tailwindcss": "^3.4.14", diff --git a/packages/start/package.json b/packages/start/package.json index 9fba016650..c6912afb39 100644 --- a/packages/start/package.json +++ b/packages/start/package.json @@ -140,6 +140,7 @@ "@vinxi/react-server-dom": "^0.0.3", "@vinxi/server-components": "^0.4.3", "@vinxi/server-functions": "^0.4.3", + "@vitejs/plugin-react": "^4.3.3", "import-meta-resolve": "^4.1.0", "isbot": "^5.1.17", "jsesc": "^3.0.2", @@ -150,7 +151,6 @@ "devDependencies": { "@types/jsesc": "^3.0.3", "@testing-library/react": "^16.0.1", - "@vitejs/plugin-react": "^4.3.3", "nitropack": "^2.10.4", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 392d454f1b..29a4a6b036 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2268,9 +2268,6 @@ importers: '@types/react-dom': specifier: ^18.2.21 version: 18.3.1 - '@vitejs/plugin-react': - specifier: ^4.3.3 - version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0)) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.49) @@ -2335,9 +2332,6 @@ importers: '@types/react-dom': specifier: ^18.2.21 version: 18.3.1 - '@vitejs/plugin-react': - specifier: ^4.3.3 - version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0)) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.49) @@ -2399,9 +2393,6 @@ importers: '@types/react-dom': specifier: ^18.2.21 version: 18.3.1 - '@vitejs/plugin-react': - specifier: ^4.3.3 - version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0)) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.49) @@ -2448,9 +2439,6 @@ importers: '@types/react-dom': specifier: ^18.2.21 version: 18.3.1 - '@vitejs/plugin-react': - specifier: ^4.3.3 - version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0)) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.49) @@ -2512,9 +2500,6 @@ importers: '@types/react-dom': specifier: ^18.2.21 version: 18.3.1 - '@vitejs/plugin-react': - specifier: ^4.3.3 - version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0)) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.49) @@ -2597,9 +2582,6 @@ importers: '@types/react-dom': specifier: ^18.2.21 version: 18.3.1 - '@vitejs/plugin-react': - specifier: ^4.3.3 - version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0)) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.49) @@ -2664,9 +2646,6 @@ importers: '@tanstack/start': specifier: workspace:* version: link:../../../packages/start - '@vitejs/plugin-react': - specifier: ^4.3.3 - version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0)) react: specifier: ^18.3.1 version: 18.3.1 @@ -2753,9 +2732,6 @@ importers: '@types/react-dom': specifier: ^18.2.21 version: 18.3.1 - '@vitejs/plugin-react': - specifier: ^4.3.3 - version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0)) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.49) @@ -3267,6 +3243,9 @@ importers: '@vinxi/server-functions': specifier: ^0.4.3 version: 0.4.3(vinxi@0.4.3(@types/node@22.9.0)(ioredis@5.4.1)(terser@5.36.0)(typescript@5.6.3)) + '@vitejs/plugin-react': + specifier: ^4.3.3 + version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0)) import-meta-resolve: specifier: ^4.1.0 version: 4.1.0 @@ -3292,9 +3271,6 @@ importers: '@types/jsesc': specifier: ^3.0.3 version: 3.0.3 - '@vitejs/plugin-react': - specifier: ^4.3.3 - version: 4.3.3(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0)) nitropack: specifier: ^2.10.4 version: 2.10.4(typescript@5.6.3) From 0ec48724953dcd793115949788a507f8dfae8052 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 14 Nov 2024 21:04:31 +0000 Subject: [PATCH 6/6] release: v1.81.8 --- examples/react/basic-ssr-file-based/package.json | 2 +- examples/react/basic-ssr-streaming-file-based/package.json | 2 +- examples/react/start-basic-auth/package.json | 2 +- examples/react/start-basic-react-query/package.json | 2 +- examples/react/start-basic-rsc/package.json | 2 +- examples/react/start-basic/package.json | 2 +- examples/react/start-clerk-basic/package.json | 2 +- examples/react/start-convex-trellaux/package.json | 2 +- examples/react/start-counter/package.json | 2 +- examples/react/start-supabase-basic/package.json | 2 +- examples/react/start-trellaux/package.json | 2 +- packages/start/package.json | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/examples/react/basic-ssr-file-based/package.json b/examples/react/basic-ssr-file-based/package.json index 3d8a4234a7..7d733106e0 100644 --- a/examples/react/basic-ssr-file-based/package.json +++ b/examples/react/basic-ssr-file-based/package.json @@ -14,7 +14,7 @@ "@tanstack/react-router": "^1.81.7", "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", - "@tanstack/start": "^1.81.7", + "@tanstack/start": "^1.81.8", "get-port": "^7.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/basic-ssr-streaming-file-based/package.json b/examples/react/basic-ssr-streaming-file-based/package.json index 686926fb3e..636247eaf4 100644 --- a/examples/react/basic-ssr-streaming-file-based/package.json +++ b/examples/react/basic-ssr-streaming-file-based/package.json @@ -14,7 +14,7 @@ "@tanstack/react-router": "^1.81.7", "@tanstack/router-devtools": "^1.81.7", "@tanstack/router-plugin": "^1.81.6", - "@tanstack/start": "^1.81.7", + "@tanstack/start": "^1.81.8", "get-port": "^7.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/react/start-basic-auth/package.json b/examples/react/start-basic-auth/package.json index 0e9424bcbf..8d87344106 100644 --- a/examples/react/start-basic-auth/package.json +++ b/examples/react/start-basic-auth/package.json @@ -13,7 +13,7 @@ "@prisma/client": "5.22.0", "@tanstack/react-router": "^1.81.7", "@tanstack/router-devtools": "^1.81.7", - "@tanstack/start": "^1.81.7", + "@tanstack/start": "^1.81.8", "dotenv": "^16.4.5", "prisma": "^5.22.0", "react": "^18.3.1", diff --git a/examples/react/start-basic-react-query/package.json b/examples/react/start-basic-react-query/package.json index 31913f1c01..b966106480 100644 --- a/examples/react/start-basic-react-query/package.json +++ b/examples/react/start-basic-react-query/package.json @@ -14,7 +14,7 @@ "@tanstack/react-router": "^1.81.7", "@tanstack/react-router-with-query": "^1.81.7", "@tanstack/router-devtools": "^1.81.7", - "@tanstack/start": "^1.81.7", + "@tanstack/start": "^1.81.8", "react": "^18.3.1", "react-dom": "^18.3.1", "redaxios": "^0.5.1", diff --git a/examples/react/start-basic-rsc/package.json b/examples/react/start-basic-rsc/package.json index f4d50b81ae..3c50882fdc 100644 --- a/examples/react/start-basic-rsc/package.json +++ b/examples/react/start-basic-rsc/package.json @@ -12,7 +12,7 @@ "@babel/plugin-syntax-typescript": "^7.25.9", "@tanstack/react-router": "^1.81.7", "@tanstack/router-devtools": "^1.81.7", - "@tanstack/start": "^1.81.7", + "@tanstack/start": "^1.81.8", "redaxios": "^0.5.1", "tailwind-merge": "^2.5.4", "vinxi": "0.4.3" diff --git a/examples/react/start-basic/package.json b/examples/react/start-basic/package.json index 34b6c2a0ac..8a4fe40d57 100644 --- a/examples/react/start-basic/package.json +++ b/examples/react/start-basic/package.json @@ -11,7 +11,7 @@ "dependencies": { "@tanstack/react-router": "^1.81.7", "@tanstack/router-devtools": "^1.81.7", - "@tanstack/start": "^1.81.7", + "@tanstack/start": "^1.81.8", "react": "^18.3.1", "react-dom": "^18.3.1", "redaxios": "^0.5.1", diff --git a/examples/react/start-clerk-basic/package.json b/examples/react/start-clerk-basic/package.json index 9930ef2327..7c099e18cc 100644 --- a/examples/react/start-clerk-basic/package.json +++ b/examples/react/start-clerk-basic/package.json @@ -12,7 +12,7 @@ "@clerk/tanstack-start": "0.4.25", "@tanstack/react-router": "^1.81.7", "@tanstack/router-devtools": "^1.81.7", - "@tanstack/start": "^1.81.7", + "@tanstack/start": "^1.81.8", "dotenv": "^16.4.5", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/react/start-convex-trellaux/package.json b/examples/react/start-convex-trellaux/package.json index cbe8efb577..a58ca60bf5 100644 --- a/examples/react/start-convex-trellaux/package.json +++ b/examples/react/start-convex-trellaux/package.json @@ -16,7 +16,7 @@ "@tanstack/react-router": "^1.81.7", "@tanstack/react-router-with-query": "^1.81.7", "@tanstack/router-devtools": "^1.81.7", - "@tanstack/start": "^1.81.7", + "@tanstack/start": "^1.81.8", "@convex-dev/react-query": "0.0.0-alpha.8", "concurrently": "^8.2.2", "convex": "^1.17.0", diff --git a/examples/react/start-counter/package.json b/examples/react/start-counter/package.json index 840b78189e..ecac3412b4 100644 --- a/examples/react/start-counter/package.json +++ b/examples/react/start-counter/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@tanstack/react-router": "^1.81.7", - "@tanstack/start": "^1.81.7", + "@tanstack/start": "^1.81.8", "react": "^18.3.1", "react-dom": "^18.3.1", "vinxi": "0.4.3" diff --git a/examples/react/start-supabase-basic/package.json b/examples/react/start-supabase-basic/package.json index 18df666889..44d0c97d59 100644 --- a/examples/react/start-supabase-basic/package.json +++ b/examples/react/start-supabase-basic/package.json @@ -17,7 +17,7 @@ "@supabase/supabase-js": "^2.46.1", "@tanstack/react-router": "^1.81.7", "@tanstack/router-devtools": "^1.81.7", - "@tanstack/start": "^1.81.7", + "@tanstack/start": "^1.81.8", "react": "^18.3.1", "react-dom": "^18.3.1", "vinxi": "0.4.3" diff --git a/examples/react/start-trellaux/package.json b/examples/react/start-trellaux/package.json index df42246075..7b3a5aadce 100644 --- a/examples/react/start-trellaux/package.json +++ b/examples/react/start-trellaux/package.json @@ -14,7 +14,7 @@ "@tanstack/react-router": "^1.81.7", "@tanstack/react-router-with-query": "^1.81.7", "@tanstack/router-devtools": "^1.81.7", - "@tanstack/start": "^1.81.7", + "@tanstack/start": "^1.81.8", "ky": "^1.7.2", "msw": "^2.6.4", "react": "^18.3.1", diff --git a/packages/start/package.json b/packages/start/package.json index c6912afb39..af9ad99659 100644 --- a/packages/start/package.json +++ b/packages/start/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/start", - "version": "1.81.7", + "version": "1.81.8", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT",