From 41e37f8a9c3d2a6e00e4ca6faabb6a596bc36a98 Mon Sep 17 00:00:00 2001
From: Brenley Dueck
Date: Sat, 25 Apr 2026 16:36:25 -0500
Subject: [PATCH 001/551] fix: use loader data goes undefined (#7265)
---
.changeset/nine-years-grab.md | 5 +++
packages/solid-router/src/useMatch.tsx | 16 ++++++-
packages/solid-router/tests/loaders.test.tsx | 46 ++++++++++++++++++++
3 files changed, 66 insertions(+), 1 deletion(-)
create mode 100644 .changeset/nine-years-grab.md
diff --git a/.changeset/nine-years-grab.md b/.changeset/nine-years-grab.md
new file mode 100644
index 0000000000..907ea29314
--- /dev/null
+++ b/.changeset/nine-years-grab.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/solid-router': patch
+---
+
+Fix for useLoaderData sometimes going undefined
diff --git a/packages/solid-router/src/useMatch.tsx b/packages/solid-router/src/useMatch.tsx
index 441c8e02c5..f617a2b87a 100644
--- a/packages/solid-router/src/useMatch.tsx
+++ b/packages/solid-router/src/useMatch.tsx
@@ -109,7 +109,21 @@ export function useMatch<
return Solid.createMemo((prev: TSelected | undefined) => {
const selectedMatch = match()
- if (selectedMatch === undefined) return undefined
+ if (selectedMatch === undefined) {
+ const hasPendingMatch = opts.from
+ ? Boolean(router.stores.pendingRouteIds.get()[opts.from!])
+ : (nearestMatch?.hasPending() ?? false)
+
+ if (
+ prev !== undefined &&
+ (hasPendingMatch || router.stores.isTransitioning.get())
+ ) {
+ return prev
+ }
+
+ return undefined
+ }
+
const res = opts.select ? opts.select(selectedMatch as any) : selectedMatch
if (prev === undefined) return res as TSelected
return replaceEqualDeep(prev, res) as TSelected
diff --git a/packages/solid-router/tests/loaders.test.tsx b/packages/solid-router/tests/loaders.test.tsx
index 09f1676bd8..063660f592 100644
--- a/packages/solid-router/tests/loaders.test.tsx
+++ b/packages/solid-router/tests/loaders.test.tsx
@@ -11,6 +11,7 @@ import {
createRootRoute,
createRoute,
createRouter,
+ useLoaderData,
useRouter,
} from '../src'
@@ -741,6 +742,51 @@ test('clears pendingTimeout when match resolves', async () => {
expect(fooPendingComponentOnMountMock).not.toHaveBeenCalled()
})
+test('useLoaderData retains previous data while route match is pending', async () => {
+ const history = createMemoryHistory({ initialEntries: ['/app'] })
+ const rootRoute = createRootRoute({
+ component: () => {
+ const loaderData = useLoaderData({ from: '/app' })
+
+ return (
+ <>
+ {`${loaderData().length}:0`}
+
+ >
+ )
+ },
+ })
+ const appRoute = createRoute({
+ getParentRoute: () => rootRoute,
+ path: '/app',
+ loader: () => 'loaded',
+ component: () => App route
,
+ })
+ const routeTree = rootRoute.addChildren([appRoute])
+ const router = createRouter({ routeTree, history })
+
+ render(() => )
+
+ expect(await screen.findByTestId('combined')).toHaveTextContent('6:0')
+
+ const appMatch = router.state.matches.find(
+ (match) => match.routeId === '/app',
+ )
+
+ expect(appMatch).toBeDefined()
+
+ if (!appMatch) {
+ throw new Error('Expected /app match to be active')
+ }
+
+ router.stores.setPending([{ ...appMatch, id: `${appMatch.id}__pending` }])
+ router.stores.setMatches(
+ router.state.matches.filter((match) => match.routeId !== '/app'),
+ )
+
+ expect(screen.getByTestId('combined')).toHaveTextContent('6:0')
+})
+
test('cancelMatches after pending timeout', async () => {
function getPendingComponent(onMount: () => void) {
const PendingComponent = () => {
From e054474cd1df6f93cd69dd5d255013840441438e Mon Sep 17 00:00:00 2001
From: Brenley Dueck
Date: Sat, 25 Apr 2026 18:00:37 -0500
Subject: [PATCH 002/551] fix: streaming when using Await component (#7264)
---
.changeset/rotten-bars-sit.md | 5 +++
e2e/solid-start/basic/src/routeTree.gen.ts | 21 +++++++++
.../src/routes/deferred-without-suspense.tsx | 33 ++++++++++++++
e2e/solid-start/basic/tests/streaming.spec.ts | 17 ++++++++
packages/solid-router/src/awaited.tsx | 43 ++++++++++++++-----
5 files changed, 108 insertions(+), 11 deletions(-)
create mode 100644 .changeset/rotten-bars-sit.md
create mode 100644 e2e/solid-start/basic/src/routes/deferred-without-suspense.tsx
diff --git a/.changeset/rotten-bars-sit.md b/.changeset/rotten-bars-sit.md
new file mode 100644
index 0000000000..d528be76ce
--- /dev/null
+++ b/.changeset/rotten-bars-sit.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/solid-router': patch
+---
+
+Fix streaming when using Await component
diff --git a/e2e/solid-start/basic/src/routeTree.gen.ts b/e2e/solid-start/basic/src/routeTree.gen.ts
index c8cecb85b1..c9fba32156 100644
--- a/e2e/solid-start/basic/src/routeTree.gen.ts
+++ b/e2e/solid-start/basic/src/routeTree.gen.ts
@@ -16,6 +16,7 @@ import { Route as RawStreamRouteImport } from './routes/raw-stream'
import { Route as PostsRouteImport } from './routes/posts'
import { Route as LinksRouteImport } from './routes/links'
import { Route as InlineScriptsRouteImport } from './routes/inline-scripts'
+import { Route as DeferredWithoutSuspenseRouteImport } from './routes/deferred-without-suspense'
import { Route as DeferredRouteImport } from './routes/deferred'
import { Route as LayoutRouteImport } from './routes/_layout'
import { Route as SpecialCharsRouteRouteImport } from './routes/specialChars/route'
@@ -104,6 +105,11 @@ const InlineScriptsRoute = InlineScriptsRouteImport.update({
path: '/inline-scripts',
getParentRoute: () => rootRouteImport,
} as any)
+const DeferredWithoutSuspenseRoute = DeferredWithoutSuspenseRouteImport.update({
+ id: '/deferred-without-suspense',
+ path: '/deferred-without-suspense',
+ getParentRoute: () => rootRouteImport,
+} as any)
const DeferredRoute = DeferredRouteImport.update({
id: '/deferred',
path: '/deferred',
@@ -386,6 +392,7 @@ export interface FileRoutesByFullPath {
'/search-params': typeof SearchParamsRouteRouteWithChildren
'/specialChars': typeof SpecialCharsRouteRouteWithChildren
'/deferred': typeof DeferredRoute
+ '/deferred-without-suspense': typeof DeferredWithoutSuspenseRoute
'/inline-scripts': typeof InlineScriptsRoute
'/links': typeof LinksRoute
'/posts': typeof PostsRouteWithChildren
@@ -443,6 +450,7 @@ export interface FileRoutesByTo {
'/': typeof IndexRoute
'/specialChars': typeof SpecialCharsRouteRouteWithChildren
'/deferred': typeof DeferredRoute
+ '/deferred-without-suspense': typeof DeferredWithoutSuspenseRoute
'/inline-scripts': typeof InlineScriptsRoute
'/links': typeof LinksRoute
'/scripts': typeof ScriptsRoute
@@ -500,6 +508,7 @@ export interface FileRoutesById {
'/specialChars': typeof SpecialCharsRouteRouteWithChildren
'/_layout': typeof LayoutRouteWithChildren
'/deferred': typeof DeferredRoute
+ '/deferred-without-suspense': typeof DeferredWithoutSuspenseRoute
'/inline-scripts': typeof InlineScriptsRoute
'/links': typeof LinksRoute
'/posts': typeof PostsRouteWithChildren
@@ -562,6 +571,7 @@ export interface FileRouteTypes {
| '/search-params'
| '/specialChars'
| '/deferred'
+ | '/deferred-without-suspense'
| '/inline-scripts'
| '/links'
| '/posts'
@@ -619,6 +629,7 @@ export interface FileRouteTypes {
| '/'
| '/specialChars'
| '/deferred'
+ | '/deferred-without-suspense'
| '/inline-scripts'
| '/links'
| '/scripts'
@@ -675,6 +686,7 @@ export interface FileRouteTypes {
| '/specialChars'
| '/_layout'
| '/deferred'
+ | '/deferred-without-suspense'
| '/inline-scripts'
| '/links'
| '/posts'
@@ -737,6 +749,7 @@ export interface RootRouteChildren {
SpecialCharsRouteRoute: typeof SpecialCharsRouteRouteWithChildren
LayoutRoute: typeof LayoutRouteWithChildren
DeferredRoute: typeof DeferredRoute
+ DeferredWithoutSuspenseRoute: typeof DeferredWithoutSuspenseRoute
InlineScriptsRoute: typeof InlineScriptsRoute
LinksRoute: typeof LinksRoute
PostsRoute: typeof PostsRouteWithChildren
@@ -805,6 +818,13 @@ declare module '@tanstack/solid-router' {
preLoaderRoute: typeof InlineScriptsRouteImport
parentRoute: typeof rootRouteImport
}
+ '/deferred-without-suspense': {
+ id: '/deferred-without-suspense'
+ path: '/deferred-without-suspense'
+ fullPath: '/deferred-without-suspense'
+ preLoaderRoute: typeof DeferredWithoutSuspenseRouteImport
+ parentRoute: typeof rootRouteImport
+ }
'/deferred': {
id: '/deferred'
path: '/deferred'
@@ -1377,6 +1397,7 @@ const rootRouteChildren: RootRouteChildren = {
SpecialCharsRouteRoute: SpecialCharsRouteRouteWithChildren,
LayoutRoute: LayoutRouteWithChildren,
DeferredRoute: DeferredRoute,
+ DeferredWithoutSuspenseRoute: DeferredWithoutSuspenseRoute,
InlineScriptsRoute: InlineScriptsRoute,
LinksRoute: LinksRoute,
PostsRoute: PostsRouteWithChildren,
diff --git a/e2e/solid-start/basic/src/routes/deferred-without-suspense.tsx b/e2e/solid-start/basic/src/routes/deferred-without-suspense.tsx
new file mode 100644
index 0000000000..1238bea151
--- /dev/null
+++ b/e2e/solid-start/basic/src/routes/deferred-without-suspense.tsx
@@ -0,0 +1,33 @@
+import { Await, createFileRoute } from '@tanstack/solid-router'
+import { createServerFn } from '@tanstack/solid-start'
+
+const promise = createServerFn().handler(async () => {
+ await new Promise((r) => setTimeout(r, 3000))
+ return crypto.randomUUID()
+})
+
+export const Route = createFileRoute('/deferred-without-suspense')({
+ component: RouteComponent,
+ loader() {
+ return { promise: promise() }
+ },
+})
+
+function RouteComponent() {
+ const data = Route.useLoaderData()
+ return (
+ <>
+ data{' '}
+ Loading...
+ }
+ promise={data().promise}
+ >
+ {(data) => (
+ {data}
+ )}
+
+ >
+ )
+}
diff --git a/e2e/solid-start/basic/tests/streaming.spec.ts b/e2e/solid-start/basic/tests/streaming.spec.ts
index 15f60b7deb..5fc81f1fed 100644
--- a/e2e/solid-start/basic/tests/streaming.spec.ts
+++ b/e2e/solid-start/basic/tests/streaming.spec.ts
@@ -1,5 +1,6 @@
import { expect } from '@playwright/test'
import { test } from '@tanstack/router-e2e-utils'
+import { isSpaMode } from './utils/isSpaMode'
test('Navigating to deferred route', async ({ page }) => {
await page.goto('/')
@@ -33,3 +34,19 @@ test('streaming loader data', async ({ page }) => {
await expect(page.getByTestId('promise-data')).toContainText('promise-data')
await expect(page.getByTestId('stream-data')).toContainText('stream-data')
})
+
+test('streams Await fallback for server function loader promises', async ({
+ page,
+}) => {
+ test.skip(isSpaMode, 'SPA mode does not render streamed SSR HTML')
+
+ const response = await page.request.get('/deferred-without-suspense')
+ const html = await response.text()
+
+ expect(html).toContain('data-testid="deferred-without-suspense-loading"')
+
+ await page.goto('/deferred-without-suspense')
+ await expect(
+ page.getByTestId('deferred-without-suspense-data'),
+ ).not.toBeEmpty()
+})
diff --git a/packages/solid-router/src/awaited.tsx b/packages/solid-router/src/awaited.tsx
index 892c67b19c..fb1edb14e0 100644
--- a/packages/solid-router/src/awaited.tsx
+++ b/packages/solid-router/src/awaited.tsx
@@ -30,18 +30,39 @@ export function Await(
children: (result: T) => SolidNode
},
) {
- const [resource] = Solid.createResource(
- () => defer(props.promise),
- // Simple passthrough - just return the promise for Solid to await
- (p) => p,
- {
- deferStream: true,
- },
- )
+ if (!('fallback' in props)) {
+ const [resource] = Solid.createResource(
+ () => defer(props.promise),
+ (p) => p,
+ {
+ deferStream: true,
+ },
+ )
+
+ return (
+
+ {(data) => props.children(data())}
+
+ )
+ }
return (
-
- {(data) => props.children(data())}
-
+
+
+
)
}
+
+function AwaitInner(
+ props: AwaitOptions & {
+ fallback?: SolidNode
+ children: (result: T) => SolidNode
+ },
+) {
+ const [resource] = Solid.createResource(
+ () => defer(props.promise),
+ (p) => p,
+ )
+
+ return props.children(resource() as T)
+}
From e085a0a6bdfe9aaf570f7df81b83f1941c0d86f7 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Sat, 25 Apr 2026 23:03:39 +0000
Subject: [PATCH 003/551] ci: changeset release
---
.changeset/nine-years-grab.md | 5 -
.changeset/rotten-bars-sit.md | 5 -
.../package.json | 2 +-
.../solid/authenticated-routes/package.json | 2 +-
.../basic-default-search-params/package.json | 2 +-
.../solid/basic-devtools-panel/package.json | 2 +-
examples/solid/basic-file-based/package.json | 2 +-
.../basic-non-nested-devtools/package.json | 2 +-
.../basic-solid-query-file-based/package.json | 2 +-
examples/solid/basic-solid-query/package.json | 2 +-
.../solid/basic-ssr-file-based/package.json | 2 +-
.../package.json | 2 +-
.../basic-virtual-file-based/package.json | 2 +-
.../package.json | 2 +-
examples/solid/basic/package.json | 2 +-
examples/solid/deferred-data/package.json | 2 +-
examples/solid/i18n-paraglide/package.json | 2 +-
.../kitchen-sink-file-based/package.json | 2 +-
.../package.json | 2 +-
.../kitchen-sink-solid-query/package.json | 2 +-
examples/solid/kitchen-sink/package.json | 2 +-
examples/solid/large-file-based/package.json | 2 +-
examples/solid/location-masking/package.json | 2 +-
.../solid/navigation-blocking/package.json | 2 +-
.../package.json | 2 +-
.../solid/quickstart-file-based/package.json | 2 +-
.../quickstart-rspack-file-based/package.json | 2 +-
.../package.json | 2 +-
examples/solid/quickstart/package.json | 2 +-
.../router-monorepo-simple-lazy/package.json | 2 +-
.../packages/router/package.json | 2 +-
.../solid/router-monorepo-simple/package.json | 2 +-
.../packages/router/package.json | 2 +-
.../router-monorepo-solid-query/package.json | 2 +-
.../packages/router/package.json | 2 +-
.../solid/scroll-restoration/package.json | 2 +-
.../search-validator-adapters/package.json | 2 +-
examples/solid/start-basic-auth/package.json | 4 +-
.../solid/start-basic-authjs/package.json | 4 +-
.../solid/start-basic-cloudflare/package.json | 4 +-
.../solid/start-basic-netlify/package.json | 4 +-
examples/solid/start-basic-nitro/package.json | 4 +-
.../start-basic-solid-query/package.json | 4 +-
.../solid/start-basic-static/package.json | 4 +-
examples/solid/start-basic/package.json | 4 +-
examples/solid/start-bun/package.json | 4 +-
.../start-convex-better-auth/package.json | 4 +-
examples/solid/start-counter/package.json | 4 +-
.../solid/start-i18n-paraglide/package.json | 4 +-
examples/solid/start-large/package.json | 4 +-
.../package.json | 4 +-
.../solid/start-supabase-basic/package.json | 4 +-
examples/solid/start-tailwind-v4/package.json | 4 +-
examples/solid/view-transitions/package.json | 2 +-
.../solid/with-framer-motion/package.json | 2 +-
examples/solid/with-trpc/package.json | 2 +-
packages/solid-router/CHANGELOG.md | 8 ++
packages/solid-router/package.json | 2 +-
packages/solid-start-client/CHANGELOG.md | 7 ++
packages/solid-start-client/package.json | 2 +-
packages/solid-start-server/CHANGELOG.md | 7 ++
packages/solid-start-server/package.json | 2 +-
packages/solid-start/CHANGELOG.md | 9 ++
packages/solid-start/package.json | 2 +-
pnpm-lock.yaml | 102 +++++++++---------
65 files changed, 156 insertions(+), 135 deletions(-)
delete mode 100644 .changeset/nine-years-grab.md
delete mode 100644 .changeset/rotten-bars-sit.md
diff --git a/.changeset/nine-years-grab.md b/.changeset/nine-years-grab.md
deleted file mode 100644
index 907ea29314..0000000000
--- a/.changeset/nine-years-grab.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/solid-router': patch
----
-
-Fix for useLoaderData sometimes going undefined
diff --git a/.changeset/rotten-bars-sit.md b/.changeset/rotten-bars-sit.md
deleted file mode 100644
index d528be76ce..0000000000
--- a/.changeset/rotten-bars-sit.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/solid-router': patch
----
-
-Fix streaming when using Await component
diff --git a/examples/solid/authenticated-routes-firebase/package.json b/examples/solid/authenticated-routes-firebase/package.json
index 0448c2771b..6f3e1eea19 100644
--- a/examples/solid/authenticated-routes-firebase/package.json
+++ b/examples/solid/authenticated-routes-firebase/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"firebase": "^11.4.0",
diff --git a/examples/solid/authenticated-routes/package.json b/examples/solid/authenticated-routes/package.json
index 6fee0ecc47..945dfddc44 100644
--- a/examples/solid/authenticated-routes/package.json
+++ b/examples/solid/authenticated-routes/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-default-search-params/package.json b/examples/solid/basic-default-search-params/package.json
index c6fa1c787a..72a132cf9d 100644
--- a/examples/solid/basic-default-search-params/package.json
+++ b/examples/solid/basic-default-search-params/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/basic-devtools-panel/package.json b/examples/solid/basic-devtools-panel/package.json
index e709251741..617c391a02 100644
--- a/examples/solid/basic-devtools-panel/package.json
+++ b/examples/solid/basic-devtools-panel/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-file-based/package.json b/examples/solid/basic-file-based/package.json
index 2decf19e35..99fdd8e14c 100644
--- a/examples/solid/basic-file-based/package.json
+++ b/examples/solid/basic-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-non-nested-devtools/package.json b/examples/solid/basic-non-nested-devtools/package.json
index 5c3c13846b..83cf1be9b3 100644
--- a/examples/solid/basic-non-nested-devtools/package.json
+++ b/examples/solid/basic-non-nested-devtools/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-solid-query-file-based/package.json b/examples/solid/basic-solid-query-file-based/package.json
index a5ccbf4b3b..d69db70376 100644
--- a/examples/solid/basic-solid-query-file-based/package.json
+++ b/examples/solid/basic-solid-query-file-based/package.json
@@ -13,7 +13,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-solid-query/package.json b/examples/solid/basic-solid-query/package.json
index 9c67f392d7..0b20010ba1 100644
--- a/examples/solid/basic-solid-query/package.json
+++ b/examples/solid/basic-solid-query/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-ssr-file-based/package.json b/examples/solid/basic-ssr-file-based/package.json
index cdf5d77fad..510185a70d 100644
--- a/examples/solid/basic-ssr-file-based/package.json
+++ b/examples/solid/basic-ssr-file-based/package.json
@@ -11,7 +11,7 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/router-plugin": "^1.167.27",
"compression": "^1.8.0",
"express": "^4.21.2",
diff --git a/examples/solid/basic-ssr-streaming-file-based/package.json b/examples/solid/basic-ssr-streaming-file-based/package.json
index 9d88be6270..cc237fa0bd 100644
--- a/examples/solid/basic-ssr-streaming-file-based/package.json
+++ b/examples/solid/basic-ssr-streaming-file-based/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"compression": "^1.8.0",
"express": "^4.21.2",
diff --git a/examples/solid/basic-virtual-file-based/package.json b/examples/solid/basic-virtual-file-based/package.json
index deb5f604ac..fa68da5d41 100644
--- a/examples/solid/basic-virtual-file-based/package.json
+++ b/examples/solid/basic-virtual-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"@tanstack/virtual-file-routes": "^1.161.7",
diff --git a/examples/solid/basic-virtual-inside-file-based/package.json b/examples/solid/basic-virtual-inside-file-based/package.json
index 3ad23d8599..b6fa633957 100644
--- a/examples/solid/basic-virtual-inside-file-based/package.json
+++ b/examples/solid/basic-virtual-inside-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"@tanstack/virtual-file-routes": "^1.161.7",
diff --git a/examples/solid/basic/package.json b/examples/solid/basic/package.json
index 46654195a2..e4572baeaf 100644
--- a/examples/solid/basic/package.json
+++ b/examples/solid/basic/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/deferred-data/package.json b/examples/solid/deferred-data/package.json
index 359691959e..5e4f928415 100644
--- a/examples/solid/deferred-data/package.json
+++ b/examples/solid/deferred-data/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/i18n-paraglide/package.json b/examples/solid/i18n-paraglide/package.json
index 809b10b211..a50b203aef 100644
--- a/examples/solid/i18n-paraglide/package.json
+++ b/examples/solid/i18n-paraglide/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
diff --git a/examples/solid/kitchen-sink-file-based/package.json b/examples/solid/kitchen-sink-file-based/package.json
index f1770738de..8f6762fc59 100644
--- a/examples/solid/kitchen-sink-file-based/package.json
+++ b/examples/solid/kitchen-sink-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
diff --git a/examples/solid/kitchen-sink-solid-query-file-based/package.json b/examples/solid/kitchen-sink-solid-query-file-based/package.json
index 961b671c2d..50b61198ed 100644
--- a/examples/solid/kitchen-sink-solid-query-file-based/package.json
+++ b/examples/solid/kitchen-sink-solid-query-file-based/package.json
@@ -13,7 +13,7 @@
"@tanstack/router-plugin": "^1.167.27",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
diff --git a/examples/solid/kitchen-sink-solid-query/package.json b/examples/solid/kitchen-sink-solid-query/package.json
index 10bbc7a614..5635fca553 100644
--- a/examples/solid/kitchen-sink-solid-query/package.json
+++ b/examples/solid/kitchen-sink-solid-query/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
diff --git a/examples/solid/kitchen-sink/package.json b/examples/solid/kitchen-sink/package.json
index 676e94b5dc..a01a6c2b2a 100644
--- a/examples/solid/kitchen-sink/package.json
+++ b/examples/solid/kitchen-sink/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/large-file-based/package.json b/examples/solid/large-file-based/package.json
index 4a2c8c6ec4..ceb59fbc16 100644
--- a/examples/solid/large-file-based/package.json
+++ b/examples/solid/large-file-based/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
diff --git a/examples/solid/location-masking/package.json b/examples/solid/location-masking/package.json
index e6840918c1..1ffc6fd60d 100644
--- a/examples/solid/location-masking/package.json
+++ b/examples/solid/location-masking/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/navigation-blocking/package.json b/examples/solid/navigation-blocking/package.json
index 18bfe1a52a..ce7fa38282 100644
--- a/examples/solid/navigation-blocking/package.json
+++ b/examples/solid/navigation-blocking/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/quickstart-esbuild-file-based/package.json b/examples/solid/quickstart-esbuild-file-based/package.json
index 8043f610b2..6b7c7dad3a 100644
--- a/examples/solid/quickstart-esbuild-file-based/package.json
+++ b/examples/solid/quickstart-esbuild-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tanstack/router-plugin": "^1.167.27",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/quickstart-file-based/package.json b/examples/solid/quickstart-file-based/package.json
index 612f0ffc4a..5f8156a3d9 100644
--- a/examples/solid/quickstart-file-based/package.json
+++ b/examples/solid/quickstart-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/quickstart-rspack-file-based/package.json b/examples/solid/quickstart-rspack-file-based/package.json
index 12f677cc4b..a6ef40c306 100644
--- a/examples/solid/quickstart-rspack-file-based/package.json
+++ b/examples/solid/quickstart-rspack-file-based/package.json
@@ -9,7 +9,7 @@
},
"dependencies": {
"@tailwindcss/postcss": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"postcss": "^8.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/quickstart-webpack-file-based/package.json b/examples/solid/quickstart-webpack-file-based/package.json
index a2225e6838..a836111237 100644
--- a/examples/solid/quickstart-webpack-file-based/package.json
+++ b/examples/solid/quickstart-webpack-file-based/package.json
@@ -7,7 +7,7 @@
"build": "webpack build && tsc --noEmit"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
diff --git a/examples/solid/quickstart/package.json b/examples/solid/quickstart/package.json
index 23a2976606..a877121a18 100644
--- a/examples/solid/quickstart/package.json
+++ b/examples/solid/quickstart/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
diff --git a/examples/solid/router-monorepo-simple-lazy/package.json b/examples/solid/router-monorepo-simple-lazy/package.json
index e695f5a65b..c97c71e0b0 100644
--- a/examples/solid/router-monorepo-simple-lazy/package.json
+++ b/examples/solid/router-monorepo-simple-lazy/package.json
@@ -8,7 +8,7 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
diff --git a/examples/solid/router-monorepo-simple-lazy/packages/router/package.json b/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
index cc133b0105..034a227a62 100644
--- a/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
+++ b/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
@@ -9,7 +9,7 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/router-plugin": "^1.167.27",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
diff --git a/examples/solid/router-monorepo-simple/package.json b/examples/solid/router-monorepo-simple/package.json
index 7c30f052a8..1b5d98d820 100644
--- a/examples/solid/router-monorepo-simple/package.json
+++ b/examples/solid/router-monorepo-simple/package.json
@@ -8,7 +8,7 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
diff --git a/examples/solid/router-monorepo-simple/packages/router/package.json b/examples/solid/router-monorepo-simple/packages/router/package.json
index 04a9d7e410..32c508e8b6 100644
--- a/examples/solid/router-monorepo-simple/packages/router/package.json
+++ b/examples/solid/router-monorepo-simple/packages/router/package.json
@@ -9,7 +9,7 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/router-plugin": "^1.167.27",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
diff --git a/examples/solid/router-monorepo-solid-query/package.json b/examples/solid/router-monorepo-solid-query/package.json
index b2f057b952..bb078004fe 100644
--- a/examples/solid/router-monorepo-solid-query/package.json
+++ b/examples/solid/router-monorepo-solid-query/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
diff --git a/examples/solid/router-monorepo-solid-query/packages/router/package.json b/examples/solid/router-monorepo-solid-query/packages/router/package.json
index 1d1a04801d..d735545439 100644
--- a/examples/solid/router-monorepo-solid-query/packages/router/package.json
+++ b/examples/solid/router-monorepo-solid-query/packages/router/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/router-plugin": "^1.167.27",
"@router-solid-mono-solid-query/post-query": "workspace:*",
"redaxios": "^0.5.1",
diff --git a/examples/solid/scroll-restoration/package.json b/examples/solid/scroll-restoration/package.json
index 8da008eb29..ee0b51cd5c 100644
--- a/examples/solid/scroll-restoration/package.json
+++ b/examples/solid/scroll-restoration/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-virtual": "^3.13.0",
"solid-js": "^1.9.10",
diff --git a/examples/solid/search-validator-adapters/package.json b/examples/solid/search-validator-adapters/package.json
index e8506def41..21cebac44a 100644
--- a/examples/solid/search-validator-adapters/package.json
+++ b/examples/solid/search-validator-adapters/package.json
@@ -13,7 +13,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/arktype-adapter": "^1.166.9",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"@tanstack/valibot-adapter": "^1.166.9",
diff --git a/examples/solid/start-basic-auth/package.json b/examples/solid/start-basic-auth/package.json
index 60aaee0b9a..5c2a0edfdc 100644
--- a/examples/solid/start-basic-auth/package.json
+++ b/examples/solid/start-basic-auth/package.json
@@ -14,9 +14,9 @@
"@libsql/client": "^0.15.15",
"@prisma/adapter-libsql": "^7.0.0",
"@prisma/client": "^7.0.0",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-authjs/package.json b/examples/solid/start-basic-authjs/package.json
index e19c76b3b1..1c92c87696 100644
--- a/examples/solid/start-basic-authjs/package.json
+++ b/examples/solid/start-basic-authjs/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@auth/core": "^0.41.1",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"start-authjs": "^1.0.0",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-cloudflare/package.json b/examples/solid/start-basic-cloudflare/package.json
index 652967fdf5..30f88c2e59 100644
--- a/examples/solid/start-basic-cloudflare/package.json
+++ b/examples/solid/start-basic-cloudflare/package.json
@@ -12,9 +12,9 @@
"postinstall": "npm run cf-typegen"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-netlify/package.json b/examples/solid/start-basic-netlify/package.json
index 02fdc5dcde..fd2db41ab2 100644
--- a/examples/solid/start-basic-netlify/package.json
+++ b/examples/solid/start-basic-netlify/package.json
@@ -9,9 +9,9 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-nitro/package.json b/examples/solid/start-basic-nitro/package.json
index 5fd72aa59f..d1457b187e 100644
--- a/examples/solid/start-basic-nitro/package.json
+++ b/examples/solid/start-basic-nitro/package.json
@@ -9,9 +9,9 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-solid-query/package.json b/examples/solid/start-basic-solid-query/package.json
index f543820fc8..41cdab694e 100644
--- a/examples/solid/start-basic-solid-query/package.json
+++ b/examples/solid/start-basic-solid-query/package.json
@@ -12,10 +12,10 @@
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-static/package.json b/examples/solid/start-basic-static/package.json
index bc8df20089..01d759af23 100644
--- a/examples/solid/start-basic-static/package.json
+++ b/examples/solid/start-basic-static/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"@tanstack/start-static-server-functions": "^1.166.35",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/start-basic/package.json b/examples/solid/start-basic/package.json
index c8820d2ccb..69712cc2ac 100644
--- a/examples/solid/start-basic/package.json
+++ b/examples/solid/start-basic/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-bun/package.json b/examples/solid/start-bun/package.json
index 7fd994c54f..9e3ec43549 100644
--- a/examples/solid/start-bun/package.json
+++ b/examples/solid/start-bun/package.json
@@ -15,10 +15,10 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-devtools": "^0.7.0",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
diff --git a/examples/solid/start-convex-better-auth/package.json b/examples/solid/start-convex-better-auth/package.json
index 3ab0e63b5b..7427860827 100644
--- a/examples/solid/start-convex-better-auth/package.json
+++ b/examples/solid/start-convex-better-auth/package.json
@@ -13,9 +13,9 @@
"dependencies": {
"@convex-dev/better-auth": "^0.9.7",
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"better-auth": "^1.3.27",
"clsx": "^2.1.1",
"convex": "^1.28.2",
diff --git a/examples/solid/start-counter/package.json b/examples/solid/start-counter/package.json
index 86ac8d3dd8..0e8c0d618c 100644
--- a/examples/solid/start-counter/package.json
+++ b/examples/solid/start-counter/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-i18n-paraglide/package.json b/examples/solid/start-i18n-paraglide/package.json
index aa33dc9b68..dc415ef077 100644
--- a/examples/solid/start-i18n-paraglide/package.json
+++ b/examples/solid/start-i18n-paraglide/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tanstack/solid-devtools": "^0.7.0",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-large/package.json b/examples/solid/start-large/package.json
index 9ae14ec088..1f062071b0 100644
--- a/examples/solid/start-large/package.json
+++ b/examples/solid/start-large/package.json
@@ -13,9 +13,9 @@
},
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-streaming-data-from-server-functions/package.json b/examples/solid/start-streaming-data-from-server-functions/package.json
index 0154908698..babc28fe48 100644
--- a/examples/solid/start-streaming-data-from-server-functions/package.json
+++ b/examples/solid/start-streaming-data-from-server-functions/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"solid-js": "^1.9.10",
"zod": "^3.24.2"
},
diff --git a/examples/solid/start-supabase-basic/package.json b/examples/solid/start-supabase-basic/package.json
index 713651d6c7..3e9a49cd33 100644
--- a/examples/solid/start-supabase-basic/package.json
+++ b/examples/solid/start-supabase-basic/package.json
@@ -14,9 +14,9 @@
"dependencies": {
"@supabase/ssr": "^0.5.2",
"@supabase/supabase-js": "^2.48.1",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"solid-js": "^1.9.9",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/start-tailwind-v4/package.json b/examples/solid/start-tailwind-v4/package.json
index dedf42cca8..bf00af42f2 100644
--- a/examples/solid/start-tailwind-v4/package.json
+++ b/examples/solid/start-tailwind-v4/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.44",
+ "@tanstack/solid-start": "^1.167.45",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0",
"zod": "^3.24.2"
diff --git a/examples/solid/view-transitions/package.json b/examples/solid/view-transitions/package.json
index 3f08370098..cff9b6596d 100644
--- a/examples/solid/view-transitions/package.json
+++ b/examples/solid/view-transitions/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
diff --git a/examples/solid/with-framer-motion/package.json b/examples/solid/with-framer-motion/package.json
index a2cd412b70..5fac3866fd 100644
--- a/examples/solid/with-framer-motion/package.json
+++ b/examples/solid/with-framer-motion/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/with-trpc/package.json b/examples/solid/with-trpc/package.json
index e163d35360..559d7db3ad 100644
--- a/examples/solid/with-trpc/package.json
+++ b/examples/solid/with-trpc/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"@trpc/client": "^11.4.3",
diff --git a/packages/solid-router/CHANGELOG.md b/packages/solid-router/CHANGELOG.md
index 408fbfed6d..9a5f03527b 100644
--- a/packages/solid-router/CHANGELOG.md
+++ b/packages/solid-router/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/solid-router
+## 1.168.23
+
+### Patch Changes
+
+- Fix for useLoaderData sometimes going undefined ([#7265](https://github.com/TanStack/router/pull/7265))
+
+- Fix streaming when using Await component ([#7264](https://github.com/TanStack/router/pull/7264))
+
## 1.168.22
### Patch Changes
diff --git a/packages/solid-router/package.json b/packages/solid-router/package.json
index 4338e47351..74acb36b5a 100644
--- a/packages/solid-router/package.json
+++ b/packages/solid-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-router",
- "version": "1.168.22",
+ "version": "1.168.23",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start-client/CHANGELOG.md b/packages/solid-start-client/CHANGELOG.md
index de4b08f50a..214a9a8396 100644
--- a/packages/solid-start-client/CHANGELOG.md
+++ b/packages/solid-start-client/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/solid-start-client
+## 1.166.40
+
+### Patch Changes
+
+- Updated dependencies [[`41e37f8`](https://github.com/TanStack/router/commit/41e37f8a9c3d2a6e00e4ca6faabb6a596bc36a98), [`e054474`](https://github.com/TanStack/router/commit/e054474cd1df6f93cd69dd5d255013840441438e)]:
+ - @tanstack/solid-router@1.168.23
+
## 1.166.39
### Patch Changes
diff --git a/packages/solid-start-client/package.json b/packages/solid-start-client/package.json
index 01c2608673..bab8feb7e4 100644
--- a/packages/solid-start-client/package.json
+++ b/packages/solid-start-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start-client",
- "version": "1.166.39",
+ "version": "1.166.40",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start-server/CHANGELOG.md b/packages/solid-start-server/CHANGELOG.md
index cf68f30e75..991fd6a8cc 100644
--- a/packages/solid-start-server/CHANGELOG.md
+++ b/packages/solid-start-server/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/solid-start-server
+## 1.166.41
+
+### Patch Changes
+
+- Updated dependencies [[`41e37f8`](https://github.com/TanStack/router/commit/41e37f8a9c3d2a6e00e4ca6faabb6a596bc36a98), [`e054474`](https://github.com/TanStack/router/commit/e054474cd1df6f93cd69dd5d255013840441438e)]:
+ - @tanstack/solid-router@1.168.23
+
## 1.166.40
### Patch Changes
diff --git a/packages/solid-start-server/package.json b/packages/solid-start-server/package.json
index a9865565ff..fe1da37f1c 100644
--- a/packages/solid-start-server/package.json
+++ b/packages/solid-start-server/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start-server",
- "version": "1.166.40",
+ "version": "1.166.41",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start/CHANGELOG.md b/packages/solid-start/CHANGELOG.md
index 66cfcf4b69..21d2c576c6 100644
--- a/packages/solid-start/CHANGELOG.md
+++ b/packages/solid-start/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/solid-start
+## 1.167.45
+
+### Patch Changes
+
+- Updated dependencies [[`41e37f8`](https://github.com/TanStack/router/commit/41e37f8a9c3d2a6e00e4ca6faabb6a596bc36a98), [`e054474`](https://github.com/TanStack/router/commit/e054474cd1df6f93cd69dd5d255013840441438e)]:
+ - @tanstack/solid-router@1.168.23
+ - @tanstack/solid-start-client@1.166.40
+ - @tanstack/solid-start-server@1.166.41
+
## 1.167.44
### Patch Changes
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index 5289450fc3..9983ce72bf 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.167.44",
+ "version": "1.167.45",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2406b0f627..df1dd14923 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -9936,7 +9936,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -9973,7 +9973,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10013,7 +10013,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10053,7 +10053,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10087,7 +10087,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10118,7 +10118,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10155,7 +10155,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10198,7 +10198,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10238,7 +10238,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10275,7 +10275,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
compression:
specifier: ^1.8.0
@@ -10315,7 +10315,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10370,7 +10370,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10410,7 +10410,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10447,7 +10447,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10484,7 +10484,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
solid-js:
specifier: 1.9.12
@@ -10515,7 +10515,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10552,7 +10552,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10598,7 +10598,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10644,7 +10644,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10687,7 +10687,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10724,7 +10724,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10758,7 +10758,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10789,7 +10789,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10817,7 +10817,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10848,7 +10848,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10885,7 +10885,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10919,7 +10919,7 @@ importers:
examples/solid/quickstart-webpack-file-based:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10980,7 +10980,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11014,7 +11014,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11054,7 +11054,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11088,7 +11088,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11128,7 +11128,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11174,7 +11174,7 @@ importers:
examples/solid/start-basic:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11226,7 +11226,7 @@ importers:
specifier: ^7.0.0
version: 7.0.0(prisma@7.0.0(@types/react@19.2.9)(magicast@0.3.5)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(typescript@6.0.2))(typescript@6.0.2)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11275,7 +11275,7 @@ importers:
specifier: ^0.41.1
version: 0.41.1
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11315,7 +11315,7 @@ importers:
examples/solid/start-basic-cloudflare:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11355,7 +11355,7 @@ importers:
examples/solid/start-basic-netlify:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11392,7 +11392,7 @@ importers:
examples/solid/start-basic-nitro:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11435,7 +11435,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11478,7 +11478,7 @@ importers:
examples/solid/start-basic-static:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11530,7 +11530,7 @@ importers:
specifier: ^0.7.0
version: 0.7.14(csstype@3.2.3)(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11594,7 +11594,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11649,7 +11649,7 @@ importers:
examples/solid/start-counter:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11692,7 +11692,7 @@ importers:
specifier: ^0.7.0
version: 0.7.14(csstype@3.2.3)(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11732,7 +11732,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11775,7 +11775,7 @@ importers:
examples/solid/start-streaming-data-from-server-functions:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11812,7 +11812,7 @@ importers:
specifier: ^2.48.1
version: 2.48.1
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11849,7 +11849,7 @@ importers:
examples/solid/start-tailwind-v4:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11895,7 +11895,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11929,7 +11929,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11969,7 +11969,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.22
+ specifier: ^1.168.23
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
From aebf4264767a37989c559a6d75926cba76a437b0 Mon Sep 17 00:00:00 2001
From: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
Date: Sun, 26 Apr 2026 04:07:56 +0200
Subject: [PATCH 004/551] fix(solid-start): bundle solid-query packages during
SSR to fix duplicate QueryClientContext (#6151) (#7267)
---
.changeset/dark-windows-occur.md | 5 +++++
packages/solid-start/src/plugin/vite.ts | 11 +++++++++++
2 files changed, 16 insertions(+)
create mode 100644 .changeset/dark-windows-occur.md
diff --git a/.changeset/dark-windows-occur.md b/.changeset/dark-windows-occur.md
new file mode 100644
index 0000000000..3d3eb4dc34
--- /dev/null
+++ b/.changeset/dark-windows-occur.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/solid-start': patch
+---
+
+Don't externalize `@tanstack/solid-query` during SSR to avoid duplicate `QueryClientContext` instances
diff --git a/packages/solid-start/src/plugin/vite.ts b/packages/solid-start/src/plugin/vite.ts
index 8bb9a8a659..6319c75d0e 100644
--- a/packages/solid-start/src/plugin/vite.ts
+++ b/packages/solid-start/src/plugin/vite.ts
@@ -25,6 +25,17 @@ export function tanstackStart(
return [
{
name: 'tanstack-solid-start:config',
+ config() {
+ return {
+ ssr: {
+ noExternal: [
+ '@tanstack/solid-router-ssr-query',
+ '@tanstack/solid-query',
+ '@tanstack/solid-query-devtools',
+ ],
+ },
+ }
+ },
configEnvironment(environmentName, options) {
return {
optimizeDeps:
From 65874cd48a264e508f69c694a8e849666b313f0c Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Sun, 26 Apr 2026 02:13:53 +0000
Subject: [PATCH 005/551] ci: changeset release
---
.changeset/dark-windows-occur.md | 5 -----
examples/solid/start-basic-auth/package.json | 2 +-
examples/solid/start-basic-authjs/package.json | 2 +-
examples/solid/start-basic-cloudflare/package.json | 2 +-
examples/solid/start-basic-netlify/package.json | 2 +-
examples/solid/start-basic-nitro/package.json | 2 +-
examples/solid/start-basic-solid-query/package.json | 2 +-
examples/solid/start-basic-static/package.json | 2 +-
examples/solid/start-basic/package.json | 2 +-
examples/solid/start-bun/package.json | 2 +-
examples/solid/start-convex-better-auth/package.json | 2 +-
examples/solid/start-counter/package.json | 2 +-
examples/solid/start-i18n-paraglide/package.json | 2 +-
examples/solid/start-large/package.json | 2 +-
.../start-streaming-data-from-server-functions/package.json | 2 +-
examples/solid/start-supabase-basic/package.json | 2 +-
examples/solid/start-tailwind-v4/package.json | 2 +-
packages/solid-start/CHANGELOG.md | 6 ++++++
packages/solid-start/package.json | 2 +-
19 files changed, 23 insertions(+), 22 deletions(-)
delete mode 100644 .changeset/dark-windows-occur.md
diff --git a/.changeset/dark-windows-occur.md b/.changeset/dark-windows-occur.md
deleted file mode 100644
index 3d3eb4dc34..0000000000
--- a/.changeset/dark-windows-occur.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/solid-start': patch
----
-
-Don't externalize `@tanstack/solid-query` during SSR to avoid duplicate `QueryClientContext` instances
diff --git a/examples/solid/start-basic-auth/package.json b/examples/solid/start-basic-auth/package.json
index 5c2a0edfdc..388acb9953 100644
--- a/examples/solid/start-basic-auth/package.json
+++ b/examples/solid/start-basic-auth/package.json
@@ -16,7 +16,7 @@
"@prisma/client": "^7.0.0",
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-authjs/package.json b/examples/solid/start-basic-authjs/package.json
index 1c92c87696..7ce0af600a 100644
--- a/examples/solid/start-basic-authjs/package.json
+++ b/examples/solid/start-basic-authjs/package.json
@@ -13,7 +13,7 @@
"@auth/core": "^0.41.1",
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"start-authjs": "^1.0.0",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-cloudflare/package.json b/examples/solid/start-basic-cloudflare/package.json
index 30f88c2e59..780d53f6a0 100644
--- a/examples/solid/start-basic-cloudflare/package.json
+++ b/examples/solid/start-basic-cloudflare/package.json
@@ -14,7 +14,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-netlify/package.json b/examples/solid/start-basic-netlify/package.json
index fd2db41ab2..b397de5213 100644
--- a/examples/solid/start-basic-netlify/package.json
+++ b/examples/solid/start-basic-netlify/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-nitro/package.json b/examples/solid/start-basic-nitro/package.json
index d1457b187e..e94c309b00 100644
--- a/examples/solid/start-basic-nitro/package.json
+++ b/examples/solid/start-basic-nitro/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-solid-query/package.json b/examples/solid/start-basic-solid-query/package.json
index 41cdab694e..8f58855933 100644
--- a/examples/solid/start-basic-solid-query/package.json
+++ b/examples/solid/start-basic-solid-query/package.json
@@ -15,7 +15,7 @@
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-static/package.json b/examples/solid/start-basic-static/package.json
index 01d759af23..998436b5bb 100644
--- a/examples/solid/start-basic-static/package.json
+++ b/examples/solid/start-basic-static/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"@tanstack/start-static-server-functions": "^1.166.35",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/start-basic/package.json b/examples/solid/start-basic/package.json
index 69712cc2ac..b424b585e7 100644
--- a/examples/solid/start-basic/package.json
+++ b/examples/solid/start-basic/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-bun/package.json b/examples/solid/start-bun/package.json
index 9e3ec43549..365cb7cec5 100644
--- a/examples/solid/start-bun/package.json
+++ b/examples/solid/start-bun/package.json
@@ -18,7 +18,7 @@
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
diff --git a/examples/solid/start-convex-better-auth/package.json b/examples/solid/start-convex-better-auth/package.json
index 7427860827..b28647809e 100644
--- a/examples/solid/start-convex-better-auth/package.json
+++ b/examples/solid/start-convex-better-auth/package.json
@@ -15,7 +15,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"better-auth": "^1.3.27",
"clsx": "^2.1.1",
"convex": "^1.28.2",
diff --git a/examples/solid/start-counter/package.json b/examples/solid/start-counter/package.json
index 0e8c0d618c..154603dfcf 100644
--- a/examples/solid/start-counter/package.json
+++ b/examples/solid/start-counter/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-i18n-paraglide/package.json b/examples/solid/start-i18n-paraglide/package.json
index dc415ef077..4daa576202 100644
--- a/examples/solid/start-i18n-paraglide/package.json
+++ b/examples/solid/start-i18n-paraglide/package.json
@@ -12,7 +12,7 @@
"@tanstack/solid-devtools": "^0.7.0",
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-large/package.json b/examples/solid/start-large/package.json
index 1f062071b0..eeca202ec1 100644
--- a/examples/solid/start-large/package.json
+++ b/examples/solid/start-large/package.json
@@ -15,7 +15,7 @@
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-streaming-data-from-server-functions/package.json b/examples/solid/start-streaming-data-from-server-functions/package.json
index babc28fe48..3a608d9b89 100644
--- a/examples/solid/start-streaming-data-from-server-functions/package.json
+++ b/examples/solid/start-streaming-data-from-server-functions/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"solid-js": "^1.9.10",
"zod": "^3.24.2"
},
diff --git a/examples/solid/start-supabase-basic/package.json b/examples/solid/start-supabase-basic/package.json
index 3e9a49cd33..0a6a3a243b 100644
--- a/examples/solid/start-supabase-basic/package.json
+++ b/examples/solid/start-supabase-basic/package.json
@@ -16,7 +16,7 @@
"@supabase/supabase-js": "^2.48.1",
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"solid-js": "^1.9.9",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/start-tailwind-v4/package.json b/examples/solid/start-tailwind-v4/package.json
index bf00af42f2..17c16cc756 100644
--- a/examples/solid/start-tailwind-v4/package.json
+++ b/examples/solid/start-tailwind-v4/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.168.23",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.45",
+ "@tanstack/solid-start": "^1.167.46",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0",
"zod": "^3.24.2"
diff --git a/packages/solid-start/CHANGELOG.md b/packages/solid-start/CHANGELOG.md
index 21d2c576c6..9c64c5f615 100644
--- a/packages/solid-start/CHANGELOG.md
+++ b/packages/solid-start/CHANGELOG.md
@@ -1,5 +1,11 @@
# @tanstack/solid-start
+## 1.167.46
+
+### Patch Changes
+
+- Don't externalize `@tanstack/solid-query` during SSR to avoid duplicate `QueryClientContext` instances ([#7267](https://github.com/TanStack/router/pull/7267))
+
## 1.167.45
### Patch Changes
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index 9983ce72bf..fc6055526d 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.167.45",
+ "version": "1.167.46",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
From 944b1558965bf038eaf3c0dfb9e1ac3800d6fd3a Mon Sep 17 00:00:00 2001
From: Copilot <198982749+Copilot@users.noreply.github.com>
Date: Sun, 26 Apr 2026 04:43:09 +0200
Subject: [PATCH 006/551] fix(solid-router): hydration mismatch for
ssr='data-only' with pendingComponent (#7266)
---
.changeset/tangy-falcons-hang.md | 5 +++
e2e/e2e-utils/src/fixture.ts | 23 ++++++++++++++
e2e/e2e-utils/src/index.ts | 2 +-
.../selective-ssr/src/routeTree.gen.ts | 30 ++++++++++++++++--
.../routes/data-only-pending-component.tsx | 31 +++++++++++++++++++
.../tests/pending-component-hydration.spec.ts | 30 ++++++++++++++++++
packages/solid-router/src/Match.tsx | 10 ++++--
7 files changed, 125 insertions(+), 6 deletions(-)
create mode 100644 .changeset/tangy-falcons-hang.md
create mode 100644 e2e/solid-start/selective-ssr/src/routes/data-only-pending-component.tsx
create mode 100644 e2e/solid-start/selective-ssr/tests/pending-component-hydration.spec.ts
diff --git a/.changeset/tangy-falcons-hang.md b/.changeset/tangy-falcons-hang.md
new file mode 100644
index 0000000000..d747b9e9ea
--- /dev/null
+++ b/.changeset/tangy-falcons-hang.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/solid-router': patch
+---
+
+Fix hydration mismatch for ssr='data-only' with pendingComponent
diff --git a/e2e/e2e-utils/src/fixture.ts b/e2e/e2e-utils/src/fixture.ts
index aab4a943b1..59bc140c10 100644
--- a/e2e/e2e-utils/src/fixture.ts
+++ b/e2e/e2e-utils/src/fixture.ts
@@ -1,4 +1,5 @@
import { test as base, expect } from '@playwright/test'
+import type { Page } from '@playwright/test'
export interface TestFixtureOptions {
/**
@@ -46,3 +47,25 @@ export const test = base.extend({
expect(errorMessages).toEqual([])
},
})
+
+export function collectBrowserErrors(page: Page): Array {
+ const browserErrors: Array = []
+
+ page.on('pageerror', (error) => {
+ browserErrors.push(error.message)
+ })
+
+ page.on('console', (message) => {
+ if (message.type() === 'error' || message.type() === 'warning') {
+ browserErrors.push(message.text())
+ }
+ })
+
+ page.on('requestfailed', (request) => {
+ browserErrors.push(
+ `${request.url()} ${request.failure()?.errorText ?? 'failed'}`,
+ )
+ })
+
+ return browserErrors
+}
diff --git a/e2e/e2e-utils/src/index.ts b/e2e/e2e-utils/src/index.ts
index f1c489c871..ec6affdb56 100644
--- a/e2e/e2e-utils/src/index.ts
+++ b/e2e/e2e-utils/src/index.ts
@@ -5,4 +5,4 @@ export { resolveRuntimeSuffix } from './resolve-runtime-suffix'
export { e2eStartDummyServer, e2eStopDummyServer } from './e2eSetupTeardown'
export { preOptimizeDevServer, waitForServer } from './devServerWarmup'
export type { Post } from './posts'
-export { test } from './fixture'
+export { collectBrowserErrors, test } from './fixture'
diff --git a/e2e/solid-start/selective-ssr/src/routeTree.gen.ts b/e2e/solid-start/selective-ssr/src/routeTree.gen.ts
index 423535df71..df2b865e51 100644
--- a/e2e/solid-start/selective-ssr/src/routeTree.gen.ts
+++ b/e2e/solid-start/selective-ssr/src/routeTree.gen.ts
@@ -10,6 +10,7 @@
import { Route as rootRouteImport } from './routes/__root'
import { Route as PostsRouteImport } from './routes/posts'
+import { Route as DataOnlyPendingComponentRouteImport } from './routes/data-only-pending-component'
import { Route as IndexRouteImport } from './routes/index'
import { Route as PostsPostIdRouteImport } from './routes/posts.$postId'
@@ -18,6 +19,12 @@ const PostsRoute = PostsRouteImport.update({
path: '/posts',
getParentRoute: () => rootRouteImport,
} as any)
+const DataOnlyPendingComponentRoute =
+ DataOnlyPendingComponentRouteImport.update({
+ id: '/data-only-pending-component',
+ path: '/data-only-pending-component',
+ getParentRoute: () => rootRouteImport,
+ } as any)
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
@@ -31,30 +38,39 @@ const PostsPostIdRoute = PostsPostIdRouteImport.update({
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
+ '/data-only-pending-component': typeof DataOnlyPendingComponentRoute
'/posts': typeof PostsRouteWithChildren
'/posts/$postId': typeof PostsPostIdRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
+ '/data-only-pending-component': typeof DataOnlyPendingComponentRoute
'/posts': typeof PostsRouteWithChildren
'/posts/$postId': typeof PostsPostIdRoute
}
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
+ '/data-only-pending-component': typeof DataOnlyPendingComponentRoute
'/posts': typeof PostsRouteWithChildren
'/posts/$postId': typeof PostsPostIdRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
- fullPaths: '/' | '/posts' | '/posts/$postId'
+ fullPaths: '/' | '/data-only-pending-component' | '/posts' | '/posts/$postId'
fileRoutesByTo: FileRoutesByTo
- to: '/' | '/posts' | '/posts/$postId'
- id: '__root__' | '/' | '/posts' | '/posts/$postId'
+ to: '/' | '/data-only-pending-component' | '/posts' | '/posts/$postId'
+ id:
+ | '__root__'
+ | '/'
+ | '/data-only-pending-component'
+ | '/posts'
+ | '/posts/$postId'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
+ DataOnlyPendingComponentRoute: typeof DataOnlyPendingComponentRoute
PostsRoute: typeof PostsRouteWithChildren
}
@@ -67,6 +83,13 @@ declare module '@tanstack/solid-router' {
preLoaderRoute: typeof PostsRouteImport
parentRoute: typeof rootRouteImport
}
+ '/data-only-pending-component': {
+ id: '/data-only-pending-component'
+ path: '/data-only-pending-component'
+ fullPath: '/data-only-pending-component'
+ preLoaderRoute: typeof DataOnlyPendingComponentRouteImport
+ parentRoute: typeof rootRouteImport
+ }
'/': {
id: '/'
path: '/'
@@ -96,6 +119,7 @@ const PostsRouteWithChildren = PostsRoute._addFileChildren(PostsRouteChildren)
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
+ DataOnlyPendingComponentRoute: DataOnlyPendingComponentRoute,
PostsRoute: PostsRouteWithChildren,
}
export const routeTree = rootRouteImport
diff --git a/e2e/solid-start/selective-ssr/src/routes/data-only-pending-component.tsx b/e2e/solid-start/selective-ssr/src/routes/data-only-pending-component.tsx
new file mode 100644
index 0000000000..7368b1c8f8
--- /dev/null
+++ b/e2e/solid-start/selective-ssr/src/routes/data-only-pending-component.tsx
@@ -0,0 +1,31 @@
+import { createFileRoute } from '@tanstack/solid-router'
+import { z } from 'zod'
+import { ssrSchema } from '~/search'
+
+export const Route = createFileRoute('/data-only-pending-component')({
+ validateSearch: z.object({ root: ssrSchema }),
+ ssr: 'data-only',
+ loader: async () => {
+ await new Promise((resolve) => setTimeout(resolve, 1500))
+ return { loadedAt: new Date().toISOString() }
+ },
+ pendingComponent: () => (
+
+ ),
+ component: DataOnlyPendingComponentRoute,
+})
+
+function DataOnlyPendingComponentRoute() {
+ const data = Route.useLoaderData()
+
+ return (
+
+
+ OK - loader finished
+
+
+ {JSON.stringify(data(), null, 2)}
+
+
+ )
+}
diff --git a/e2e/solid-start/selective-ssr/tests/pending-component-hydration.spec.ts b/e2e/solid-start/selective-ssr/tests/pending-component-hydration.spec.ts
new file mode 100644
index 0000000000..5d1055a570
--- /dev/null
+++ b/e2e/solid-start/selective-ssr/tests/pending-component-hydration.spec.ts
@@ -0,0 +1,30 @@
+import { expect } from '@playwright/test'
+import { collectBrowserErrors, test } from '@tanstack/router-e2e-utils'
+
+test.describe('pending component hydration', () => {
+ test('data-only route hydrates from pending element to loaded state on first load', async ({
+ page,
+ }) => {
+ const browserErrors = collectBrowserErrors(page)
+
+ await page.goto('/data-only-pending-component')
+
+ await expect(page).toHaveURL(/data-only-pending-component/)
+
+ await expect(
+ page.getByTestId('data-only-pending-component-pending'),
+ ).toBeAttached()
+
+ await expect(
+ page.getByTestId('data-only-pending-component-ready-label'),
+ ).toHaveText('OK - loader finished', { timeout: 10_000 })
+
+ expect(browserErrors).toEqual([])
+ expect(browserErrors).not.toContainEqual(
+ expect.stringContaining('template is not a function'),
+ )
+ expect(browserErrors).not.toContainEqual(
+ expect.stringContaining('Hydration Mismatch'),
+ )
+ })
+})
diff --git a/packages/solid-router/src/Match.tsx b/packages/solid-router/src/Match.tsx
index 294d64e0ca..c6daf2d2fe 100644
--- a/packages/solid-router/src/Match.tsx
+++ b/packages/solid-router/src/Match.tsx
@@ -86,6 +86,11 @@ export const Match = (props: { matchId: string }) => {
currentMatchState().ssr === false ||
currentMatchState().ssr === 'data-only'
+ const shouldSkipSuspenseFallback =
+ (isServer ?? router.isServer)
+ ? resolvedNoSsr
+ : currentMatchState().ssr === 'data-only'
+
const ResolvedSuspenseBoundary = () => Solid.Suspense
const ResolvedCatchBoundary = () =>
@@ -105,8 +110,9 @@ export const Match = (props: { matchId: string }) => {
)
}
From b515cbe1feef3ce3a9076514542bbdf0898a95bd Mon Sep 17 00:00:00 2001
From: Pavan Shinde
Date: Sun, 26 Apr 2026 08:15:16 +0530
Subject: [PATCH 007/551] docs(router): fix typo in doc (#7268)
---
docs/router/guide/not-found-errors.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/router/guide/not-found-errors.md b/docs/router/guide/not-found-errors.md
index 0cc84b5676..88b8767a00 100644
--- a/docs/router/guide/not-found-errors.md
+++ b/docs/router/guide/not-found-errors.md
@@ -27,7 +27,7 @@ Under the hood, both of these cases are implemented using the same `notFound` fu
When TanStack Router encounters a **pathname** that doesn't match any known route pattern **OR** partially matches a route pattern but with extra trailing pathname segments, it will automatically throw a not-found error.
-Depending on the `notFoundMode` option, the router will handle these automatic errors differently::
+Depending on the `notFoundMode` option, the router will handle these automatic errors differently:
- ["fuzzy" mode](#notfoundmode-fuzzy) (default): The router will intelligently find the closest matching suitable route and display the `notFoundComponent`.
- ["root" mode](#notfoundmode-root): All not-found errors will be handled by the root route's `notFoundComponent`, regardless of the nearest matching route.
From de980342a65eb416e76d31cfd365af02ffaee3c5 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Sun, 26 Apr 2026 02:58:14 +0000
Subject: [PATCH 008/551] ci: changeset release
---
.changeset/tangy-falcons-hang.md | 5 -
.../package.json | 2 +-
.../solid/authenticated-routes/package.json | 2 +-
.../basic-default-search-params/package.json | 2 +-
.../solid/basic-devtools-panel/package.json | 2 +-
examples/solid/basic-file-based/package.json | 2 +-
.../basic-non-nested-devtools/package.json | 2 +-
.../basic-solid-query-file-based/package.json | 2 +-
examples/solid/basic-solid-query/package.json | 2 +-
.../solid/basic-ssr-file-based/package.json | 2 +-
.../package.json | 2 +-
.../basic-virtual-file-based/package.json | 2 +-
.../package.json | 2 +-
examples/solid/basic/package.json | 2 +-
examples/solid/deferred-data/package.json | 2 +-
examples/solid/i18n-paraglide/package.json | 2 +-
.../kitchen-sink-file-based/package.json | 2 +-
.../package.json | 2 +-
.../kitchen-sink-solid-query/package.json | 2 +-
examples/solid/kitchen-sink/package.json | 2 +-
examples/solid/large-file-based/package.json | 2 +-
examples/solid/location-masking/package.json | 2 +-
.../solid/navigation-blocking/package.json | 2 +-
.../package.json | 2 +-
.../solid/quickstart-file-based/package.json | 2 +-
.../quickstart-rspack-file-based/package.json | 2 +-
.../package.json | 2 +-
examples/solid/quickstart/package.json | 2 +-
.../router-monorepo-simple-lazy/package.json | 2 +-
.../packages/router/package.json | 2 +-
.../solid/router-monorepo-simple/package.json | 2 +-
.../packages/router/package.json | 2 +-
.../router-monorepo-solid-query/package.json | 2 +-
.../packages/router/package.json | 2 +-
.../solid/scroll-restoration/package.json | 2 +-
.../search-validator-adapters/package.json | 2 +-
examples/solid/start-basic-auth/package.json | 4 +-
.../solid/start-basic-authjs/package.json | 4 +-
.../solid/start-basic-cloudflare/package.json | 4 +-
.../solid/start-basic-netlify/package.json | 4 +-
examples/solid/start-basic-nitro/package.json | 4 +-
.../start-basic-solid-query/package.json | 4 +-
.../solid/start-basic-static/package.json | 4 +-
examples/solid/start-basic/package.json | 4 +-
examples/solid/start-bun/package.json | 4 +-
.../start-convex-better-auth/package.json | 4 +-
examples/solid/start-counter/package.json | 4 +-
.../solid/start-i18n-paraglide/package.json | 4 +-
examples/solid/start-large/package.json | 4 +-
.../package.json | 4 +-
.../solid/start-supabase-basic/package.json | 4 +-
examples/solid/start-tailwind-v4/package.json | 4 +-
examples/solid/view-transitions/package.json | 2 +-
.../solid/with-framer-motion/package.json | 2 +-
examples/solid/with-trpc/package.json | 2 +-
packages/solid-router/CHANGELOG.md | 6 ++
packages/solid-router/package.json | 2 +-
packages/solid-start-client/CHANGELOG.md | 7 ++
packages/solid-start-client/package.json | 2 +-
packages/solid-start-server/CHANGELOG.md | 7 ++
packages/solid-start-server/package.json | 2 +-
packages/solid-start/CHANGELOG.md | 9 ++
packages/solid-start/package.json | 2 +-
pnpm-lock.yaml | 102 +++++++++---------
64 files changed, 154 insertions(+), 130 deletions(-)
delete mode 100644 .changeset/tangy-falcons-hang.md
diff --git a/.changeset/tangy-falcons-hang.md b/.changeset/tangy-falcons-hang.md
deleted file mode 100644
index d747b9e9ea..0000000000
--- a/.changeset/tangy-falcons-hang.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/solid-router': patch
----
-
-Fix hydration mismatch for ssr='data-only' with pendingComponent
diff --git a/examples/solid/authenticated-routes-firebase/package.json b/examples/solid/authenticated-routes-firebase/package.json
index 6f3e1eea19..2713a775ee 100644
--- a/examples/solid/authenticated-routes-firebase/package.json
+++ b/examples/solid/authenticated-routes-firebase/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"firebase": "^11.4.0",
diff --git a/examples/solid/authenticated-routes/package.json b/examples/solid/authenticated-routes/package.json
index 945dfddc44..fe97c64ae6 100644
--- a/examples/solid/authenticated-routes/package.json
+++ b/examples/solid/authenticated-routes/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-default-search-params/package.json b/examples/solid/basic-default-search-params/package.json
index 72a132cf9d..7988599890 100644
--- a/examples/solid/basic-default-search-params/package.json
+++ b/examples/solid/basic-default-search-params/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/basic-devtools-panel/package.json b/examples/solid/basic-devtools-panel/package.json
index 617c391a02..e684d8b91c 100644
--- a/examples/solid/basic-devtools-panel/package.json
+++ b/examples/solid/basic-devtools-panel/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-file-based/package.json b/examples/solid/basic-file-based/package.json
index 99fdd8e14c..6f2da91303 100644
--- a/examples/solid/basic-file-based/package.json
+++ b/examples/solid/basic-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-non-nested-devtools/package.json b/examples/solid/basic-non-nested-devtools/package.json
index 83cf1be9b3..70713c44f2 100644
--- a/examples/solid/basic-non-nested-devtools/package.json
+++ b/examples/solid/basic-non-nested-devtools/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-solid-query-file-based/package.json b/examples/solid/basic-solid-query-file-based/package.json
index d69db70376..d2cc4fe9ee 100644
--- a/examples/solid/basic-solid-query-file-based/package.json
+++ b/examples/solid/basic-solid-query-file-based/package.json
@@ -13,7 +13,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-solid-query/package.json b/examples/solid/basic-solid-query/package.json
index 0b20010ba1..0605e4cc49 100644
--- a/examples/solid/basic-solid-query/package.json
+++ b/examples/solid/basic-solid-query/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-ssr-file-based/package.json b/examples/solid/basic-ssr-file-based/package.json
index 510185a70d..a8a8200be7 100644
--- a/examples/solid/basic-ssr-file-based/package.json
+++ b/examples/solid/basic-ssr-file-based/package.json
@@ -11,7 +11,7 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/router-plugin": "^1.167.27",
"compression": "^1.8.0",
"express": "^4.21.2",
diff --git a/examples/solid/basic-ssr-streaming-file-based/package.json b/examples/solid/basic-ssr-streaming-file-based/package.json
index cc237fa0bd..1b59c695b0 100644
--- a/examples/solid/basic-ssr-streaming-file-based/package.json
+++ b/examples/solid/basic-ssr-streaming-file-based/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"compression": "^1.8.0",
"express": "^4.21.2",
diff --git a/examples/solid/basic-virtual-file-based/package.json b/examples/solid/basic-virtual-file-based/package.json
index fa68da5d41..b64a86d874 100644
--- a/examples/solid/basic-virtual-file-based/package.json
+++ b/examples/solid/basic-virtual-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"@tanstack/virtual-file-routes": "^1.161.7",
diff --git a/examples/solid/basic-virtual-inside-file-based/package.json b/examples/solid/basic-virtual-inside-file-based/package.json
index b6fa633957..3426670950 100644
--- a/examples/solid/basic-virtual-inside-file-based/package.json
+++ b/examples/solid/basic-virtual-inside-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"@tanstack/virtual-file-routes": "^1.161.7",
diff --git a/examples/solid/basic/package.json b/examples/solid/basic/package.json
index e4572baeaf..3ef393d4c3 100644
--- a/examples/solid/basic/package.json
+++ b/examples/solid/basic/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/deferred-data/package.json b/examples/solid/deferred-data/package.json
index 5e4f928415..71033f03e0 100644
--- a/examples/solid/deferred-data/package.json
+++ b/examples/solid/deferred-data/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/i18n-paraglide/package.json b/examples/solid/i18n-paraglide/package.json
index a50b203aef..5c64adc71e 100644
--- a/examples/solid/i18n-paraglide/package.json
+++ b/examples/solid/i18n-paraglide/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
diff --git a/examples/solid/kitchen-sink-file-based/package.json b/examples/solid/kitchen-sink-file-based/package.json
index 8f6762fc59..46eaa733a1 100644
--- a/examples/solid/kitchen-sink-file-based/package.json
+++ b/examples/solid/kitchen-sink-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
diff --git a/examples/solid/kitchen-sink-solid-query-file-based/package.json b/examples/solid/kitchen-sink-solid-query-file-based/package.json
index 50b61198ed..98f3fc377c 100644
--- a/examples/solid/kitchen-sink-solid-query-file-based/package.json
+++ b/examples/solid/kitchen-sink-solid-query-file-based/package.json
@@ -13,7 +13,7 @@
"@tanstack/router-plugin": "^1.167.27",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
diff --git a/examples/solid/kitchen-sink-solid-query/package.json b/examples/solid/kitchen-sink-solid-query/package.json
index 5635fca553..d3c1bbac2f 100644
--- a/examples/solid/kitchen-sink-solid-query/package.json
+++ b/examples/solid/kitchen-sink-solid-query/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
diff --git a/examples/solid/kitchen-sink/package.json b/examples/solid/kitchen-sink/package.json
index a01a6c2b2a..c42eb0841b 100644
--- a/examples/solid/kitchen-sink/package.json
+++ b/examples/solid/kitchen-sink/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/large-file-based/package.json b/examples/solid/large-file-based/package.json
index ceb59fbc16..358c0ebe26 100644
--- a/examples/solid/large-file-based/package.json
+++ b/examples/solid/large-file-based/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
diff --git a/examples/solid/location-masking/package.json b/examples/solid/location-masking/package.json
index 1ffc6fd60d..88ee0fc5ed 100644
--- a/examples/solid/location-masking/package.json
+++ b/examples/solid/location-masking/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/navigation-blocking/package.json b/examples/solid/navigation-blocking/package.json
index ce7fa38282..0af6113ccc 100644
--- a/examples/solid/navigation-blocking/package.json
+++ b/examples/solid/navigation-blocking/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/quickstart-esbuild-file-based/package.json b/examples/solid/quickstart-esbuild-file-based/package.json
index 6b7c7dad3a..aa5d43cc17 100644
--- a/examples/solid/quickstart-esbuild-file-based/package.json
+++ b/examples/solid/quickstart-esbuild-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tanstack/router-plugin": "^1.167.27",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/quickstart-file-based/package.json b/examples/solid/quickstart-file-based/package.json
index 5f8156a3d9..da25d004d3 100644
--- a/examples/solid/quickstart-file-based/package.json
+++ b/examples/solid/quickstart-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/quickstart-rspack-file-based/package.json b/examples/solid/quickstart-rspack-file-based/package.json
index a6ef40c306..99fad14387 100644
--- a/examples/solid/quickstart-rspack-file-based/package.json
+++ b/examples/solid/quickstart-rspack-file-based/package.json
@@ -9,7 +9,7 @@
},
"dependencies": {
"@tailwindcss/postcss": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"postcss": "^8.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/quickstart-webpack-file-based/package.json b/examples/solid/quickstart-webpack-file-based/package.json
index a836111237..cc61bcab83 100644
--- a/examples/solid/quickstart-webpack-file-based/package.json
+++ b/examples/solid/quickstart-webpack-file-based/package.json
@@ -7,7 +7,7 @@
"build": "webpack build && tsc --noEmit"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
diff --git a/examples/solid/quickstart/package.json b/examples/solid/quickstart/package.json
index a877121a18..aef0f30baa 100644
--- a/examples/solid/quickstart/package.json
+++ b/examples/solid/quickstart/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
diff --git a/examples/solid/router-monorepo-simple-lazy/package.json b/examples/solid/router-monorepo-simple-lazy/package.json
index c97c71e0b0..8c166a2325 100644
--- a/examples/solid/router-monorepo-simple-lazy/package.json
+++ b/examples/solid/router-monorepo-simple-lazy/package.json
@@ -8,7 +8,7 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
diff --git a/examples/solid/router-monorepo-simple-lazy/packages/router/package.json b/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
index 034a227a62..b126d4e798 100644
--- a/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
+++ b/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
@@ -9,7 +9,7 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/router-plugin": "^1.167.27",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
diff --git a/examples/solid/router-monorepo-simple/package.json b/examples/solid/router-monorepo-simple/package.json
index 1b5d98d820..add801e745 100644
--- a/examples/solid/router-monorepo-simple/package.json
+++ b/examples/solid/router-monorepo-simple/package.json
@@ -8,7 +8,7 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
diff --git a/examples/solid/router-monorepo-simple/packages/router/package.json b/examples/solid/router-monorepo-simple/packages/router/package.json
index 32c508e8b6..288b6b5f17 100644
--- a/examples/solid/router-monorepo-simple/packages/router/package.json
+++ b/examples/solid/router-monorepo-simple/packages/router/package.json
@@ -9,7 +9,7 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/router-plugin": "^1.167.27",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
diff --git a/examples/solid/router-monorepo-solid-query/package.json b/examples/solid/router-monorepo-solid-query/package.json
index bb078004fe..72a004d5a3 100644
--- a/examples/solid/router-monorepo-solid-query/package.json
+++ b/examples/solid/router-monorepo-solid-query/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
diff --git a/examples/solid/router-monorepo-solid-query/packages/router/package.json b/examples/solid/router-monorepo-solid-query/packages/router/package.json
index d735545439..58989ed5d9 100644
--- a/examples/solid/router-monorepo-solid-query/packages/router/package.json
+++ b/examples/solid/router-monorepo-solid-query/packages/router/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/router-plugin": "^1.167.27",
"@router-solid-mono-solid-query/post-query": "workspace:*",
"redaxios": "^0.5.1",
diff --git a/examples/solid/scroll-restoration/package.json b/examples/solid/scroll-restoration/package.json
index ee0b51cd5c..187278e07d 100644
--- a/examples/solid/scroll-restoration/package.json
+++ b/examples/solid/scroll-restoration/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-virtual": "^3.13.0",
"solid-js": "^1.9.10",
diff --git a/examples/solid/search-validator-adapters/package.json b/examples/solid/search-validator-adapters/package.json
index 21cebac44a..81f7e53d4a 100644
--- a/examples/solid/search-validator-adapters/package.json
+++ b/examples/solid/search-validator-adapters/package.json
@@ -13,7 +13,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/arktype-adapter": "^1.166.9",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"@tanstack/valibot-adapter": "^1.166.9",
diff --git a/examples/solid/start-basic-auth/package.json b/examples/solid/start-basic-auth/package.json
index 388acb9953..b2539f3a07 100644
--- a/examples/solid/start-basic-auth/package.json
+++ b/examples/solid/start-basic-auth/package.json
@@ -14,9 +14,9 @@
"@libsql/client": "^0.15.15",
"@prisma/adapter-libsql": "^7.0.0",
"@prisma/client": "^7.0.0",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-authjs/package.json b/examples/solid/start-basic-authjs/package.json
index 7ce0af600a..cc12770412 100644
--- a/examples/solid/start-basic-authjs/package.json
+++ b/examples/solid/start-basic-authjs/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@auth/core": "^0.41.1",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"start-authjs": "^1.0.0",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-cloudflare/package.json b/examples/solid/start-basic-cloudflare/package.json
index 780d53f6a0..fae30a2868 100644
--- a/examples/solid/start-basic-cloudflare/package.json
+++ b/examples/solid/start-basic-cloudflare/package.json
@@ -12,9 +12,9 @@
"postinstall": "npm run cf-typegen"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-netlify/package.json b/examples/solid/start-basic-netlify/package.json
index b397de5213..56a420960e 100644
--- a/examples/solid/start-basic-netlify/package.json
+++ b/examples/solid/start-basic-netlify/package.json
@@ -9,9 +9,9 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-nitro/package.json b/examples/solid/start-basic-nitro/package.json
index e94c309b00..6df3b522a6 100644
--- a/examples/solid/start-basic-nitro/package.json
+++ b/examples/solid/start-basic-nitro/package.json
@@ -9,9 +9,9 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-solid-query/package.json b/examples/solid/start-basic-solid-query/package.json
index 8f58855933..b08cc180c6 100644
--- a/examples/solid/start-basic-solid-query/package.json
+++ b/examples/solid/start-basic-solid-query/package.json
@@ -12,10 +12,10 @@
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-static/package.json b/examples/solid/start-basic-static/package.json
index 998436b5bb..aef6a83ef8 100644
--- a/examples/solid/start-basic-static/package.json
+++ b/examples/solid/start-basic-static/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"@tanstack/start-static-server-functions": "^1.166.35",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/start-basic/package.json b/examples/solid/start-basic/package.json
index b424b585e7..dc80489aba 100644
--- a/examples/solid/start-basic/package.json
+++ b/examples/solid/start-basic/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-bun/package.json b/examples/solid/start-bun/package.json
index 365cb7cec5..10089d6631 100644
--- a/examples/solid/start-bun/package.json
+++ b/examples/solid/start-bun/package.json
@@ -15,10 +15,10 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-devtools": "^0.7.0",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
diff --git a/examples/solid/start-convex-better-auth/package.json b/examples/solid/start-convex-better-auth/package.json
index b28647809e..9b0b6dcc20 100644
--- a/examples/solid/start-convex-better-auth/package.json
+++ b/examples/solid/start-convex-better-auth/package.json
@@ -13,9 +13,9 @@
"dependencies": {
"@convex-dev/better-auth": "^0.9.7",
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"better-auth": "^1.3.27",
"clsx": "^2.1.1",
"convex": "^1.28.2",
diff --git a/examples/solid/start-counter/package.json b/examples/solid/start-counter/package.json
index 154603dfcf..bef200bb03 100644
--- a/examples/solid/start-counter/package.json
+++ b/examples/solid/start-counter/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-i18n-paraglide/package.json b/examples/solid/start-i18n-paraglide/package.json
index 4daa576202..4dc1794132 100644
--- a/examples/solid/start-i18n-paraglide/package.json
+++ b/examples/solid/start-i18n-paraglide/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tanstack/solid-devtools": "^0.7.0",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-large/package.json b/examples/solid/start-large/package.json
index eeca202ec1..bf95e8bc24 100644
--- a/examples/solid/start-large/package.json
+++ b/examples/solid/start-large/package.json
@@ -13,9 +13,9 @@
},
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-streaming-data-from-server-functions/package.json b/examples/solid/start-streaming-data-from-server-functions/package.json
index 3a608d9b89..c60822c305 100644
--- a/examples/solid/start-streaming-data-from-server-functions/package.json
+++ b/examples/solid/start-streaming-data-from-server-functions/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"solid-js": "^1.9.10",
"zod": "^3.24.2"
},
diff --git a/examples/solid/start-supabase-basic/package.json b/examples/solid/start-supabase-basic/package.json
index 0a6a3a243b..e27db3fb62 100644
--- a/examples/solid/start-supabase-basic/package.json
+++ b/examples/solid/start-supabase-basic/package.json
@@ -14,9 +14,9 @@
"dependencies": {
"@supabase/ssr": "^0.5.2",
"@supabase/supabase-js": "^2.48.1",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"solid-js": "^1.9.9",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/start-tailwind-v4/package.json b/examples/solid/start-tailwind-v4/package.json
index 17c16cc756..ce07deeec4 100644
--- a/examples/solid/start-tailwind-v4/package.json
+++ b/examples/solid/start-tailwind-v4/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.46",
+ "@tanstack/solid-start": "^1.167.47",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0",
"zod": "^3.24.2"
diff --git a/examples/solid/view-transitions/package.json b/examples/solid/view-transitions/package.json
index cff9b6596d..9c27b4b5e5 100644
--- a/examples/solid/view-transitions/package.json
+++ b/examples/solid/view-transitions/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
diff --git a/examples/solid/with-framer-motion/package.json b/examples/solid/with-framer-motion/package.json
index 5fac3866fd..2a86294442 100644
--- a/examples/solid/with-framer-motion/package.json
+++ b/examples/solid/with-framer-motion/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/with-trpc/package.json b/examples/solid/with-trpc/package.json
index 559d7db3ad..531a8e2ae2 100644
--- a/examples/solid/with-trpc/package.json
+++ b/examples/solid/with-trpc/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.23",
+ "@tanstack/solid-router": "^1.168.24",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.27",
"@trpc/client": "^11.4.3",
diff --git a/packages/solid-router/CHANGELOG.md b/packages/solid-router/CHANGELOG.md
index 9a5f03527b..cdee32550b 100644
--- a/packages/solid-router/CHANGELOG.md
+++ b/packages/solid-router/CHANGELOG.md
@@ -1,5 +1,11 @@
# @tanstack/solid-router
+## 1.168.24
+
+### Patch Changes
+
+- Fix hydration mismatch for ssr='data-only' with pendingComponent ([#7266](https://github.com/TanStack/router/pull/7266))
+
## 1.168.23
### Patch Changes
diff --git a/packages/solid-router/package.json b/packages/solid-router/package.json
index 74acb36b5a..7a85e9da3e 100644
--- a/packages/solid-router/package.json
+++ b/packages/solid-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-router",
- "version": "1.168.23",
+ "version": "1.168.24",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start-client/CHANGELOG.md b/packages/solid-start-client/CHANGELOG.md
index 214a9a8396..d4934120f2 100644
--- a/packages/solid-start-client/CHANGELOG.md
+++ b/packages/solid-start-client/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/solid-start-client
+## 1.166.41
+
+### Patch Changes
+
+- Updated dependencies [[`944b155`](https://github.com/TanStack/router/commit/944b1558965bf038eaf3c0dfb9e1ac3800d6fd3a)]:
+ - @tanstack/solid-router@1.168.24
+
## 1.166.40
### Patch Changes
diff --git a/packages/solid-start-client/package.json b/packages/solid-start-client/package.json
index bab8feb7e4..6fc66b24a2 100644
--- a/packages/solid-start-client/package.json
+++ b/packages/solid-start-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start-client",
- "version": "1.166.40",
+ "version": "1.166.41",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start-server/CHANGELOG.md b/packages/solid-start-server/CHANGELOG.md
index 991fd6a8cc..b27dc7db36 100644
--- a/packages/solid-start-server/CHANGELOG.md
+++ b/packages/solid-start-server/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/solid-start-server
+## 1.166.42
+
+### Patch Changes
+
+- Updated dependencies [[`944b155`](https://github.com/TanStack/router/commit/944b1558965bf038eaf3c0dfb9e1ac3800d6fd3a)]:
+ - @tanstack/solid-router@1.168.24
+
## 1.166.41
### Patch Changes
diff --git a/packages/solid-start-server/package.json b/packages/solid-start-server/package.json
index fe1da37f1c..e260e47b23 100644
--- a/packages/solid-start-server/package.json
+++ b/packages/solid-start-server/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start-server",
- "version": "1.166.41",
+ "version": "1.166.42",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start/CHANGELOG.md b/packages/solid-start/CHANGELOG.md
index 9c64c5f615..944cb96445 100644
--- a/packages/solid-start/CHANGELOG.md
+++ b/packages/solid-start/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/solid-start
+## 1.167.47
+
+### Patch Changes
+
+- Updated dependencies [[`944b155`](https://github.com/TanStack/router/commit/944b1558965bf038eaf3c0dfb9e1ac3800d6fd3a)]:
+ - @tanstack/solid-router@1.168.24
+ - @tanstack/solid-start-client@1.166.41
+ - @tanstack/solid-start-server@1.166.42
+
## 1.167.46
### Patch Changes
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index fc6055526d..dc458bef0d 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.167.46",
+ "version": "1.167.47",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index df1dd14923..81d86de720 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -9936,7 +9936,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -9973,7 +9973,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10013,7 +10013,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10053,7 +10053,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10087,7 +10087,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10118,7 +10118,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10155,7 +10155,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10198,7 +10198,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10238,7 +10238,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10275,7 +10275,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
compression:
specifier: ^1.8.0
@@ -10315,7 +10315,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10370,7 +10370,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10410,7 +10410,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10447,7 +10447,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10484,7 +10484,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
solid-js:
specifier: 1.9.12
@@ -10515,7 +10515,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10552,7 +10552,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10598,7 +10598,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10644,7 +10644,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10687,7 +10687,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10724,7 +10724,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10758,7 +10758,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10789,7 +10789,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10817,7 +10817,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10848,7 +10848,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10885,7 +10885,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10919,7 +10919,7 @@ importers:
examples/solid/quickstart-webpack-file-based:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10980,7 +10980,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11014,7 +11014,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11054,7 +11054,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11088,7 +11088,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11128,7 +11128,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11174,7 +11174,7 @@ importers:
examples/solid/start-basic:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11226,7 +11226,7 @@ importers:
specifier: ^7.0.0
version: 7.0.0(prisma@7.0.0(@types/react@19.2.9)(magicast@0.3.5)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(typescript@6.0.2))(typescript@6.0.2)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11275,7 +11275,7 @@ importers:
specifier: ^0.41.1
version: 0.41.1
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11315,7 +11315,7 @@ importers:
examples/solid/start-basic-cloudflare:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11355,7 +11355,7 @@ importers:
examples/solid/start-basic-netlify:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11392,7 +11392,7 @@ importers:
examples/solid/start-basic-nitro:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11435,7 +11435,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11478,7 +11478,7 @@ importers:
examples/solid/start-basic-static:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11530,7 +11530,7 @@ importers:
specifier: ^0.7.0
version: 0.7.14(csstype@3.2.3)(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11594,7 +11594,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11649,7 +11649,7 @@ importers:
examples/solid/start-counter:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11692,7 +11692,7 @@ importers:
specifier: ^0.7.0
version: 0.7.14(csstype@3.2.3)(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11732,7 +11732,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11775,7 +11775,7 @@ importers:
examples/solid/start-streaming-data-from-server-functions:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11812,7 +11812,7 @@ importers:
specifier: ^2.48.1
version: 2.48.1
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11849,7 +11849,7 @@ importers:
examples/solid/start-tailwind-v4:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11895,7 +11895,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11929,7 +11929,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11969,7 +11969,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.23
+ specifier: ^1.168.24
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
From 493148bc5378b7f9de1544d87f6aaa425c12eb34 Mon Sep 17 00:00:00 2001
From: Flo
Date: Mon, 27 Apr 2026 09:55:20 +0200
Subject: [PATCH 009/551] fix(router-core): wildcard nodes respect DFS priority
like other nodes in route matching (#7273)
---
.changeset/loud-women-end.md | 5 +
.../router-core/src/new-process-route-tree.ts | 80 ++--
.../tests/new-process-route-tree.test.ts | 427 ++++++++++++++++++
3 files changed, 483 insertions(+), 29 deletions(-)
create mode 100644 .changeset/loud-women-end.md
diff --git a/.changeset/loud-women-end.md b/.changeset/loud-women-end.md
new file mode 100644
index 0000000000..4b9c4c9721
--- /dev/null
+++ b/.changeset/loud-women-end.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/router-core': patch
+---
+
+wildcard nodes have the same priority rules as other nodes in route matching
diff --git a/packages/router-core/src/new-process-route-tree.ts b/packages/router-core/src/new-process-route-tree.ts
index 6ba6a45c87..e4c900d2ed 100644
--- a/packages/router-core/src/new-process-route-tree.ts
+++ b/packages/router-core/src/new-process-route-tree.ts
@@ -1023,6 +1023,7 @@ type MatchStackFrame = {
* If we really really need to support more than 32 segments we can switch to using a `BigInt` here. It's about 2x slower in worst case scenarios.
*/
skipped: number
+ /** Positional bitmasks tracking which consumed URL segments matched each segment kind. */
statics: number
dynamics: number
optionals: number
@@ -1066,13 +1067,12 @@ function getNodeMatch(
index: 1,
skipped: 0,
depth: 1,
- statics: 1,
+ statics: 0,
dynamics: 0,
optionals: 0,
},
]
- let wildcardMatch: Frame | null = null
let bestFuzzy: Frame | null = null
let bestMatch: Frame | null = null
@@ -1081,6 +1081,18 @@ function getNodeMatch(
const { node, index, skipped, depth, statics, dynamics, optionals } = frame
let { extract, rawParams, parsedParams } = frame
+ // Wildcard candidates are pushed speculatively as fallbacks in case a
+ // higher-priority wildcard later fails params.parse. If a better wildcard
+ // has already validated and become bestMatch, lower-priority wildcard
+ // fallbacks cannot win anymore and should not run params.parse.
+ if (
+ node.kind === SEGMENT_TYPE_WILDCARD &&
+ node.route &&
+ !isFrameMoreSpecific(bestMatch, frame)
+ ) {
+ continue
+ }
+
if (node.skipOnParamError) {
const result = validateMatchParams(path, parts, frame)
if (!result) continue
@@ -1101,7 +1113,13 @@ function getNodeMatch(
const isBeyondPath = index === partsLength
if (isBeyondPath) {
- if (node.route && !pathIsIndex && isFrameMoreSpecific(bestMatch, frame)) {
+ if (
+ node.route &&
+ (!pathIsIndex ||
+ node.kind === SEGMENT_TYPE_INDEX ||
+ node.kind === SEGMENT_TYPE_WILDCARD) &&
+ isFrameMoreSpecific(bestMatch, frame)
+ ) {
bestMatch = frame
}
// beyond the length of the path parts, only some segment types can match
@@ -1134,7 +1152,12 @@ function getNodeMatch(
if (indexValid) {
// perfect match, no need to continue
// this is an optimization, algorithm should work correctly without this block
- if (statics === partsLength && !dynamics && !optionals && !skipped) {
+ if (
+ !dynamics &&
+ !optionals &&
+ !skipped &&
+ isPerfectStaticMatch(statics, partsLength)
+ ) {
return indexFrame
}
if (isFrameMoreSpecific(bestMatch, indexFrame)) {
@@ -1145,8 +1168,9 @@ function getNodeMatch(
}
// 5. Try wildcard match
- if (node.wildcard && isFrameMoreSpecific(wildcardMatch, frame)) {
- for (const segment of node.wildcard) {
+ if (node.wildcard) {
+ for (let i = node.wildcard.length - 1; i >= 0; i--) {
+ const segment = node.wildcard[i]!
const { prefix, suffix } = segment
if (prefix) {
if (isBeyondPath) continue
@@ -1161,26 +1185,19 @@ function getNodeMatch(
const casePart = segment.caseSensitive ? end : end.toLowerCase()
if (casePart !== suffix) continue
}
- // the first wildcard match is the highest priority one
- // wildcard matches skip the stack because they cannot have children
- const frame = {
+ // wildcard matches consume the rest of the URL and cannot have children
+ stack.push({
node: segment,
index: partsLength,
skipped,
- depth,
+ depth: depth + 1,
statics,
dynamics,
optionals,
extract,
rawParams,
parsedParams,
- }
- if (segment.skipOnParamError) {
- const result = validateMatchParams(path, parts, frame)
- if (!result) continue
- }
- wildcardMatch = frame
- break
+ })
}
}
@@ -1222,7 +1239,7 @@ function getNodeMatch(
depth: nextDepth,
statics,
dynamics,
- optionals: optionals + 1,
+ optionals: optionals + segmentScore(partsLength, index),
extract,
rawParams,
parsedParams,
@@ -1249,7 +1266,7 @@ function getNodeMatch(
skipped,
depth: depth + 1,
statics,
- dynamics: dynamics + 1,
+ dynamics: dynamics + segmentScore(partsLength, index),
optionals,
extract,
rawParams,
@@ -1269,7 +1286,7 @@ function getNodeMatch(
index: index + 1,
skipped,
depth: depth + 1,
- statics: statics + 1,
+ statics: statics + segmentScore(partsLength, index),
dynamics,
optionals,
extract,
@@ -1288,7 +1305,7 @@ function getNodeMatch(
index: index + 1,
skipped,
depth: depth + 1,
- statics: statics + 1,
+ statics: statics + segmentScore(partsLength, index),
dynamics,
optionals,
extract,
@@ -1319,16 +1336,8 @@ function getNodeMatch(
}
}
- if (bestMatch && wildcardMatch) {
- return isFrameMoreSpecific(wildcardMatch, bestMatch)
- ? bestMatch
- : wildcardMatch
- }
-
if (bestMatch) return bestMatch
- if (wildcardMatch) return wildcardMatch
-
if (fuzzy && bestFuzzy) {
let sliceIndex = bestFuzzy.index
for (let i = 0; i < bestFuzzy.index; i++) {
@@ -1343,6 +1352,19 @@ function getNodeMatch(
return null
}
+function segmentScore(partsLength: number, index: number): number {
+ // The specificity scores are bitmasks over consumed URL segments. Earlier
+ // URL segments should dominate later ones when comparing scores, so the
+ // first real segment gets the highest bit and the last gets bit 0. Since
+ // `parts[0]` is the empty string before the leading slash, real URL segments
+ // are [1, partsLength), making this segment's bit `partsLength - index - 1`.
+ return 2 ** (partsLength - index - 1)
+}
+
+function isPerfectStaticMatch(statics: number, partsLength: number): boolean {
+ return statics === 2 ** (partsLength - 1) - 1
+}
+
function validateMatchParams(
path: string,
parts: Array,
diff --git a/packages/router-core/tests/new-process-route-tree.test.ts b/packages/router-core/tests/new-process-route-tree.test.ts
index 936df988c1..7d13939937 100644
--- a/packages/router-core/tests/new-process-route-tree.test.ts
+++ b/packages/router-core/tests/new-process-route-tree.test.ts
@@ -233,6 +233,64 @@ describe('findRouteMatch', () => {
const treeWithIndex = makeTree(['/a/', '/a/{-$b}'])
expect(findRouteMatch('/a', treeWithIndex)?.route.id).toBe('/a/')
})
+ it('optional+static vs static+wildcard', () => {
+ const tree = makeTree(['/{-$a}/b', '/a/$'])
+ expect(findRouteMatch('/a/b', tree)?.route.id).toBe('/a/$')
+ })
+ it('dynamic+static vs static+wildcard', () => {
+ const tree = makeTree(['/$a/b', '/a/$'])
+ expect(findRouteMatch('/a/b', tree)?.route.id).toBe('/a/$')
+ })
+ it('dynamic+static+static vs static+wildcard', () => {
+ const tree = makeTree(['/$a/b/c', '/a/$'])
+ expect(findRouteMatch('/a/b/c', tree)?.route.id).toBe('/a/$')
+ })
+ it('case-insensitive static+wildcard beats optional+static', () => {
+ const tree = makeTree(['/{-$a}/bar', '/foo/$'])
+ expect(findRouteMatch('/FOO/bar', tree)?.route.id).toBe('/foo/$')
+ })
+ it('static+optional+static vs static+static+wildcard', () => {
+ const tree = makeTree(['/a/{-$b}/c', '/a/b/$'])
+ expect(findRouteMatch('/a/b/c', tree)?.route.id).toBe('/a/b/$')
+ })
+ it('static+optional+static vs static+static+dynamic', () => {
+ const tree = makeTree(['/a/{-$b}/c/d', '/a/b/c/$d'])
+ expect(findRouteMatch('/a/b/c/d', tree)?.route.id).toBe('/a/b/c/$d')
+ })
+ it('static+optional+static+static beats static+dynamic+static+optional', () => {
+ const tree = makeTree(['/a/$b/c/{-$d}', '/a/{-$b}/c/d'])
+ expect(findRouteMatch('/a/b/c/d', tree)?.route.id).toBe('/a/{-$b}/c/d')
+ })
+ it('static+dynamic+wildcard vs static+optional+static', () => {
+ const tree = makeTree(['/a/$b/$', '/a/{-$b}/c'])
+ expect(findRouteMatch('/a/b/c', tree)?.route.id).toBe('/a/{-$b}/c')
+ })
+ it('static+dynamic+static vs static+dynamic+wildcard', () => {
+ const tree = makeTree(['/a/$b/c', '/a/$b/$'])
+ expect(findRouteMatch('/a/b/c', tree)?.route.id).toBe('/a/$b/c')
+ })
+ it('prefix+suffix wildcard wins over prefix wildcard and plain wildcard', () => {
+ const tree = makeTree(['/a/foo{$}bar', '/a/foo{$}', '/a/$'])
+ expect(findRouteMatch('/a/fooxbar', tree)?.route.id).toBe(
+ '/a/foo{$}bar',
+ )
+ })
+ it('skipped optional keeps later static priority over wildcard', () => {
+ const tree = makeTree(['/{-$a}/b/c', '/b/$'])
+ expect(findRouteMatch('/b/c', tree)?.route.id).toBe('/{-$a}/b/c')
+ })
+ it('skipped optional aligns later static priority with wildcard siblings', () => {
+ const tree = makeTree(['/{-$a}/b/{-$c}/d', '/b/c/$'])
+ expect(findRouteMatch('/b/c/d', tree)?.route.id).toBe('/b/c/$')
+ })
+ it('optional child wins over empty wildcard at the same node', () => {
+ const tree = makeTree(['/a/{-$b}', '/a/$'])
+ expect(findRouteMatch('/a', tree)?.route.id).toBe('/a/{-$b}')
+ })
+ it('optional+static vs static+optional', () => {
+ const tree = makeTree(['/{-$a}/b', '/a/{-$b}'])
+ expect(findRouteMatch('/a/b', tree)?.route.id).toBe('/a/{-$b}')
+ })
})
})
@@ -776,6 +834,79 @@ describe('findRouteMatch', () => {
const actualMatch = findRouteMatch('/dashboard', processed.processedTree)
expect(actualMatch?.route.id).toBe('/dashboard/')
})
+
+ it('uses an exact wildcard match instead of a fuzzy layout match', () => {
+ const tree = makeTree(['/a', '/a/$'])
+ const match = findRouteMatch('/a/b/c', tree, true)
+ expect(match?.route.id).toBe('/a/$')
+ expect(match?.rawParams).toEqual({ '*': 'b/c', _splat: 'b/c' })
+ })
+
+ it('falls back to fuzzy layout matching when wildcard param parsing fails', () => {
+ const tree = {
+ id: '__root__',
+ fullPath: '/',
+ path: '/',
+ isRoot: true,
+ options: {},
+ children: [
+ {
+ id: '/a',
+ fullPath: '/a',
+ path: 'a',
+ },
+ {
+ id: '/a/$',
+ fullPath: '/a/$',
+ path: 'a/$',
+ options: {
+ params: {
+ parse: () => {
+ throw new Error('skip')
+ },
+ },
+ skipRouteOnParseError: { params: true },
+ },
+ },
+ ],
+ }
+ const { processedTree } = processRouteTree(tree)
+ const match = findRouteMatch('/a/b/c', processedTree, true)
+ expect(match?.route.id).toBe('/a')
+ expect(match?.rawParams).toEqual({ '**': 'b/c' })
+ })
+
+ it('falls back to exact layout matching when empty wildcard param parsing fails', () => {
+ const tree = {
+ id: '__root__',
+ fullPath: '/',
+ path: '/',
+ isRoot: true,
+ options: {},
+ children: [
+ {
+ id: '/a',
+ fullPath: '/a',
+ path: 'a',
+ },
+ {
+ id: '/a/$',
+ fullPath: '/a/$',
+ path: 'a/$',
+ options: {
+ params: {
+ parse: () => {
+ throw new Error('skip')
+ },
+ },
+ skipRouteOnParseError: { params: true },
+ },
+ },
+ ],
+ }
+ const { processedTree } = processRouteTree(tree)
+ expect(findRouteMatch('/a', processedTree)?.route.id).toBe('/a')
+ })
})
describe('param extraction', () => {
@@ -886,9 +1017,305 @@ describe('findRouteMatch', () => {
expect(result?.route.id).toBe('/{-$foo}/bar/$')
expect(result?.rawParams).toEqual({ '*': 'rest', _splat: 'rest' })
})
+ it('validates a stacked wildcard route once', () => {
+ let calls = 0
+ const tree = {
+ id: '__root__',
+ fullPath: '/',
+ path: '/',
+ isRoot: true,
+ options: {},
+ children: [
+ {
+ id: '/a/$',
+ fullPath: '/a/$',
+ path: 'a/$',
+ isRoot: false,
+ options: {
+ params: {
+ parse: (params: Record) => {
+ calls++
+ return params
+ },
+ },
+ skipRouteOnParseError: { params: true },
+ },
+ },
+ ],
+ }
+ const { processedTree } = processRouteTree(tree)
+ const result = findRouteMatch('/a/rest', processedTree)
+ expect(result?.route.id).toBe('/a/$')
+ expect(result?.rawParams).toEqual({ '*': 'rest', _splat: 'rest' })
+ expect(calls).toBe(1)
+ })
+ it('can fall back to a lower-priority wildcard when wildcard param parsing fails', () => {
+ const tree = {
+ id: '__root__',
+ fullPath: '/',
+ path: '/',
+ isRoot: true,
+ options: {},
+ children: [
+ {
+ id: '/a/foo{$}',
+ fullPath: '/a/foo{$}',
+ path: 'a/foo{$}',
+ isRoot: false,
+ options: {
+ params: {
+ parse: () => {
+ throw new Error('skip')
+ },
+ },
+ skipRouteOnParseError: { params: true },
+ },
+ },
+ {
+ id: '/a/$',
+ fullPath: '/a/$',
+ path: 'a/$',
+ isRoot: false,
+ options: {},
+ },
+ ],
+ }
+ const { processedTree } = processRouteTree(tree)
+ const result = findRouteMatch('/a/foobar', processedTree)
+ expect(result?.route.id).toBe('/a/$')
+ expect(result?.rawParams).toEqual({ '*': 'foobar', _splat: 'foobar' })
+ })
+ it('falls back to the next matching wildcard by priority when the best wildcard parse fails', () => {
+ const tree = {
+ id: '__root__',
+ fullPath: '/',
+ path: '/',
+ isRoot: true,
+ options: {},
+ children: [
+ {
+ id: '/a/foo{$}bar',
+ fullPath: '/a/foo{$}bar',
+ path: 'a/foo{$}bar',
+ isRoot: false,
+ options: {
+ params: {
+ parse: () => {
+ throw new Error('skip')
+ },
+ },
+ skipRouteOnParseError: { params: true },
+ },
+ },
+ {
+ id: '/a/foo{$}',
+ fullPath: '/a/foo{$}',
+ path: 'a/foo{$}',
+ isRoot: false,
+ options: {},
+ },
+ {
+ id: '/a/$',
+ fullPath: '/a/$',
+ path: 'a/$',
+ isRoot: false,
+ options: {},
+ },
+ ],
+ }
+ const { processedTree } = processRouteTree(tree)
+ const result = findRouteMatch('/a/fooxbar', processedTree)
+ expect(result?.route.id).toBe('/a/foo{$}')
+ expect(result?.rawParams).toEqual({ '*': 'xbar', _splat: 'xbar' })
+ })
+ it('does not validate a lower-priority wildcard after a better wildcard matches', () => {
+ let higherPriorityCalls = 0
+ let lowerPriorityCalls = 0
+ const tree = {
+ id: '__root__',
+ fullPath: '/',
+ path: '/',
+ isRoot: true,
+ options: {},
+ children: [
+ {
+ id: '/a/foo{$}',
+ fullPath: '/a/foo{$}',
+ path: 'a/foo{$}',
+ isRoot: false,
+ options: {
+ params: {
+ parse: (params: Record) => {
+ higherPriorityCalls++
+ return params
+ },
+ },
+ skipRouteOnParseError: { params: true, priority: 1 },
+ },
+ },
+ {
+ id: '/a/$',
+ fullPath: '/a/$',
+ path: 'a/$',
+ isRoot: false,
+ options: {
+ params: {
+ parse: (params: Record) => {
+ lowerPriorityCalls++
+ return params
+ },
+ },
+ skipRouteOnParseError: { params: true },
+ },
+ },
+ ],
+ }
+ const { processedTree } = processRouteTree(tree)
+ const result = findRouteMatch('/a/foobar', processedTree)
+ expect(result?.route.id).toBe('/a/foo{$}')
+ expect(result?.rawParams).toEqual({ '*': 'bar', _splat: 'bar' })
+ expect(higherPriorityCalls).toBe(1)
+ expect(lowerPriorityCalls).toBe(0)
+ })
+ it('does not validate wildcard fallback after a static sibling matches', () => {
+ let calls = 0
+ const tree = {
+ id: '__root__',
+ fullPath: '/',
+ path: '/',
+ isRoot: true,
+ options: {},
+ children: [
+ {
+ id: '/a/b',
+ fullPath: '/a/b',
+ path: 'a/b',
+ isRoot: false,
+ options: {},
+ },
+ {
+ id: '/a/$',
+ fullPath: '/a/$',
+ path: 'a/$',
+ isRoot: false,
+ options: {
+ params: {
+ parse: (params: Record) => {
+ calls++
+ return params
+ },
+ },
+ skipRouteOnParseError: { params: true },
+ },
+ },
+ ],
+ }
+ const { processedTree } = processRouteTree(tree)
+ const result = findRouteMatch('/a/b', processedTree)
+ expect(result?.route.id).toBe('/a/b')
+ expect(calls).toBe(0)
+ })
+ it('does not validate empty wildcard fallback after an index sibling matches', () => {
+ let calls = 0
+ const tree = {
+ id: '__root__',
+ fullPath: '/',
+ path: '/',
+ isRoot: true,
+ options: {},
+ children: [
+ {
+ id: '/a/',
+ fullPath: '/a/',
+ path: 'a/',
+ isRoot: false,
+ options: {},
+ },
+ {
+ id: '/a/$',
+ fullPath: '/a/$',
+ path: 'a/$',
+ isRoot: false,
+ options: {
+ params: {
+ parse: (params: Record) => {
+ calls++
+ return params
+ },
+ },
+ skipRouteOnParseError: { params: true },
+ },
+ },
+ ],
+ }
+ const { processedTree } = processRouteTree(tree)
+ const result = findRouteMatch('/a', processedTree)
+ expect(result?.route.id).toBe('/a/')
+ expect(calls).toBe(0)
+ })
+ it('preserves parsed params from a stacked wildcard route', () => {
+ const tree = {
+ id: '__root__',
+ fullPath: '/',
+ path: '/',
+ isRoot: true,
+ options: {},
+ children: [
+ {
+ id: '/a/$',
+ fullPath: '/a/$',
+ path: 'a/$',
+ isRoot: false,
+ options: {
+ params: {
+ parse: (params: Record) => ({
+ length: params._splat!.length,
+ }),
+ },
+ skipRouteOnParseError: { params: true },
+ },
+ },
+ ],
+ }
+ const { processedTree } = processRouteTree(tree)
+ const result = findRouteMatch('/a/foo/bar', processedTree)
+ expect(result?.route.id).toBe('/a/$')
+ expect(result?.rawParams).toEqual({ '*': 'foo/bar', _splat: 'foo/bar' })
+ expect(result?.parsedParams).toEqual({ length: 7 })
+ })
})
})
describe('pathless routes', () => {
+ it('pathless nodes do not shift positional priority scores', () => {
+ const tree = {
+ id: '__root__',
+ fullPath: '/',
+ path: '/',
+ isRoot: true,
+ children: [
+ {
+ id: '/_layout',
+ fullPath: '/',
+ children: [
+ {
+ id: '/_layout/a/b',
+ fullPath: '/a/b',
+ path: 'a/b',
+ },
+ ],
+ },
+ {
+ id: '/a/$',
+ fullPath: '/a/$',
+ path: 'a/$',
+ },
+ ],
+ }
+ const { processedTree } = processRouteTree(tree)
+ expect(findRouteMatch('/a/b', processedTree)?.route.id).toBe(
+ '/_layout/a/b',
+ )
+ })
it('builds segment tree correctly', () => {
const tree = {
path: '/',
From 128542291602d4ae752f19e88f68353622d17dd3 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Mon, 27 Apr 2026 07:57:51 +0000
Subject: [PATCH 010/551] ci: changeset release
---
.changeset/loud-women-end.md | 5 -
.../package.json | 4 +-
.../react/authenticated-routes/package.json | 4 +-
.../basic-default-search-params/package.json | 2 +-
.../react/basic-devtools-panel/package.json | 2 +-
examples/react/basic-file-based/package.json | 4 +-
.../basic-non-nested-devtools/package.json | 2 +-
.../basic-react-query-file-based/package.json | 4 +-
examples/react/basic-react-query/package.json | 2 +-
.../react/basic-ssr-file-based/package.json | 4 +-
.../package.json | 4 +-
.../basic-virtual-file-based/package.json | 4 +-
.../package.json | 4 +-
examples/react/basic/package.json | 2 +-
examples/react/deferred-data/package.json | 2 +-
examples/react/i18n-paraglide/package.json | 4 +-
.../kitchen-sink-file-based/package.json | 4 +-
.../package.json | 4 +-
.../kitchen-sink-react-query/package.json | 2 +-
examples/react/kitchen-sink/package.json | 2 +-
examples/react/large-file-based/package.json | 4 +-
examples/react/location-masking/package.json | 2 +-
.../react/navigation-blocking/package.json | 2 +-
.../package.json | 4 +-
.../react/quickstart-file-based/package.json | 4 +-
.../quickstart-rspack-file-based/package.json | 4 +-
.../package.json | 4 +-
examples/react/quickstart/package.json | 2 +-
.../router-monorepo-react-query/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../router-monorepo-simple-lazy/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../react/router-monorepo-simple/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../react/scroll-restoration/package.json | 2 +-
.../search-validator-adapters/package.json | 4 +-
examples/react/start-bare/package.json | 4 +-
examples/react/start-basic-auth/package.json | 4 +-
.../react/start-basic-authjs/package.json | 4 +-
.../react/start-basic-cloudflare/package.json | 4 +-
.../start-basic-react-query/package.json | 4 +-
.../react/start-basic-static/package.json | 6 +-
examples/react/start-basic/package.json | 4 +-
examples/react/start-bun/package.json | 6 +-
examples/react/start-clerk-basic/package.json | 4 +-
.../react/start-convex-trellaux/package.json | 4 +-
examples/react/start-counter/package.json | 4 +-
.../react/start-i18n-paraglide/package.json | 4 +-
examples/react/start-large/package.json | 4 +-
examples/react/start-material-ui/package.json | 4 +-
examples/react/start-rscs/package.json | 4 +-
.../package.json | 4 +-
.../react/start-supabase-basic/package.json | 4 +-
examples/react/start-tailwind-v4/package.json | 4 +-
examples/react/start-trellaux/package.json | 4 +-
examples/react/start-workos/package.json | 4 +-
examples/react/view-transitions/package.json | 4 +-
.../react/with-framer-motion/package.json | 2 +-
.../react/with-trpc-react-query/package.json | 4 +-
examples/react/with-trpc/package.json | 4 +-
.../package.json | 4 +-
.../solid/authenticated-routes/package.json | 4 +-
.../basic-default-search-params/package.json | 2 +-
.../solid/basic-devtools-panel/package.json | 2 +-
examples/solid/basic-file-based/package.json | 4 +-
.../basic-non-nested-devtools/package.json | 2 +-
.../basic-solid-query-file-based/package.json | 4 +-
examples/solid/basic-solid-query/package.json | 4 +-
.../solid/basic-ssr-file-based/package.json | 4 +-
.../package.json | 4 +-
.../basic-virtual-file-based/package.json | 4 +-
.../package.json | 4 +-
examples/solid/basic/package.json | 2 +-
examples/solid/deferred-data/package.json | 2 +-
examples/solid/i18n-paraglide/package.json | 4 +-
.../kitchen-sink-file-based/package.json | 4 +-
.../package.json | 4 +-
.../kitchen-sink-solid-query/package.json | 2 +-
examples/solid/kitchen-sink/package.json | 2 +-
examples/solid/large-file-based/package.json | 4 +-
examples/solid/location-masking/package.json | 2 +-
.../solid/navigation-blocking/package.json | 2 +-
.../package.json | 4 +-
.../solid/quickstart-file-based/package.json | 4 +-
.../quickstart-rspack-file-based/package.json | 4 +-
.../package.json | 4 +-
examples/solid/quickstart/package.json | 2 +-
.../router-monorepo-simple-lazy/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../solid/router-monorepo-simple/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../router-monorepo-solid-query/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../solid/scroll-restoration/package.json | 2 +-
.../search-validator-adapters/package.json | 4 +-
examples/solid/start-basic-auth/package.json | 4 +-
.../solid/start-basic-authjs/package.json | 4 +-
.../solid/start-basic-cloudflare/package.json | 4 +-
.../solid/start-basic-netlify/package.json | 4 +-
examples/solid/start-basic-nitro/package.json | 4 +-
.../start-basic-solid-query/package.json | 4 +-
.../solid/start-basic-static/package.json | 6 +-
examples/solid/start-basic/package.json | 4 +-
examples/solid/start-bun/package.json | 6 +-
.../start-convex-better-auth/package.json | 4 +-
examples/solid/start-counter/package.json | 4 +-
.../solid/start-i18n-paraglide/package.json | 4 +-
examples/solid/start-large/package.json | 4 +-
.../package.json | 4 +-
.../solid/start-supabase-basic/package.json | 4 +-
examples/solid/start-tailwind-v4/package.json | 4 +-
examples/solid/view-transitions/package.json | 4 +-
.../solid/with-framer-motion/package.json | 2 +-
examples/solid/with-trpc/package.json | 4 +-
.../vue/basic-file-based-jsx/package.json | 4 +-
.../vue/basic-file-based-sfc/package.json | 4 +-
examples/vue/basic/package.json | 2 +-
packages/react-router/CHANGELOG.md | 7 ++
packages/react-router/package.json | 2 +-
packages/react-start-client/CHANGELOG.md | 9 ++
packages/react-start-client/package.json | 2 +-
packages/react-start-rsc/CHANGELOG.md | 13 +++
packages/react-start-rsc/package.json | 2 +-
packages/react-start-server/CHANGELOG.md | 10 ++
packages/react-start-server/package.json | 2 +-
packages/react-start/CHANGELOG.md | 13 +++
packages/react-start/package.json | 2 +-
packages/router-cli/CHANGELOG.md | 7 ++
packages/router-cli/package.json | 2 +-
packages/router-core/CHANGELOG.md | 6 ++
packages/router-core/package.json | 2 +-
packages/router-generator/CHANGELOG.md | 7 ++
packages/router-generator/package.json | 2 +-
packages/router-plugin/CHANGELOG.md | 9 ++
packages/router-plugin/package.json | 2 +-
packages/router-vite-plugin/CHANGELOG.md | 7 ++
packages/router-vite-plugin/package.json | 2 +-
packages/solid-router/CHANGELOG.md | 7 ++
packages/solid-router/package.json | 2 +-
packages/solid-start-client/CHANGELOG.md | 9 ++
packages/solid-start-client/package.json | 2 +-
packages/solid-start-server/CHANGELOG.md | 10 ++
packages/solid-start-server/package.json | 2 +-
packages/solid-start/CHANGELOG.md | 12 +++
packages/solid-start/package.json | 2 +-
packages/start-client-core/CHANGELOG.md | 8 ++
packages/start-client-core/package.json | 2 +-
packages/start-plugin-core/CHANGELOG.md | 11 ++
packages/start-plugin-core/package.json | 2 +-
packages/start-server-core/CHANGELOG.md | 9 ++
packages/start-server-core/package.json | 2 +-
.../CHANGELOG.md | 9 ++
.../package.json | 2 +-
packages/start-storage-context/CHANGELOG.md | 7 ++
packages/start-storage-context/package.json | 2 +-
packages/vue-router/CHANGELOG.md | 7 ++
packages/vue-router/package.json | 2 +-
packages/vue-start-client/CHANGELOG.md | 9 ++
packages/vue-start-client/package.json | 2 +-
packages/vue-start-server/CHANGELOG.md | 10 ++
packages/vue-start-server/package.json | 2 +-
packages/vue-start/CHANGELOG.md | 12 +++
packages/vue-start/package.json | 2 +-
pnpm-lock.yaml | 102 +++++++++---------
164 files changed, 492 insertions(+), 289 deletions(-)
delete mode 100644 .changeset/loud-women-end.md
diff --git a/.changeset/loud-women-end.md b/.changeset/loud-women-end.md
deleted file mode 100644
index 4b9c4c9721..0000000000
--- a/.changeset/loud-women-end.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/router-core': patch
----
-
-wildcard nodes have the same priority rules as other nodes in route matching
diff --git a/examples/react/authenticated-routes-firebase/package.json b/examples/react/authenticated-routes-firebase/package.json
index 2bdb03f55e..0bd3e2d174 100644
--- a/examples/react/authenticated-routes-firebase/package.json
+++ b/examples/react/authenticated-routes-firebase/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"firebase": "^11.4.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/authenticated-routes/package.json b/examples/react/authenticated-routes/package.json
index dbb648eea3..fd1871e00e 100644
--- a/examples/react/authenticated-routes/package.json
+++ b/examples/react/authenticated-routes/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"react": "^19.0.0",
"react-dom": "^19.0.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 cab2e82189..8c07aa5049 100644
--- a/examples/react/basic-default-search-params/package.json
+++ b/examples/react/basic-default-search-params/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-devtools-panel/package.json b/examples/react/basic-devtools-panel/package.json
index b4f52f5a43..6fde053e99 100644
--- a/examples/react/basic-devtools-panel/package.json
+++ b/examples/react/basic-devtools-panel/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query-devtools": "^5.67.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-file-based/package.json b/examples/react/basic-file-based/package.json
index 54ef95bd0c..d5a87c6a52 100644
--- a/examples/react/basic-file-based/package.json
+++ b/examples/react/basic-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-non-nested-devtools/package.json b/examples/react/basic-non-nested-devtools/package.json
index 80277d3db7..cdefc505ee 100644
--- a/examples/react/basic-non-nested-devtools/package.json
+++ b/examples/react/basic-non-nested-devtools/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-react-query-file-based/package.json b/examples/react/basic-react-query-file-based/package.json
index 1cf10722f3..50f9e5644e 100644
--- a/examples/react/basic-react-query-file-based/package.json
+++ b/examples/react/basic-react-query-file-based/package.json
@@ -12,9 +12,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-react-query/package.json b/examples/react/basic-react-query/package.json
index 8a55dadac6..2b020365b5 100644
--- a/examples/react/basic-react-query/package.json
+++ b/examples/react/basic-react-query/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-ssr-file-based/package.json b/examples/react/basic-ssr-file-based/package.json
index d05755ece7..e6d47a6e4a 100644
--- a/examples/react/basic-ssr-file-based/package.json
+++ b/examples/react/basic-ssr-file-based/package.json
@@ -11,8 +11,8 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/react-router": "^1.168.25",
+ "@tanstack/router-plugin": "^1.167.28",
"compression": "^1.8.0",
"express": "^4.21.2",
"get-port": "^7.1.0",
diff --git a/examples/react/basic-ssr-streaming-file-based/package.json b/examples/react/basic-ssr-streaming-file-based/package.json
index 93cad8f5dd..897f7a9bdb 100644
--- a/examples/react/basic-ssr-streaming-file-based/package.json
+++ b/examples/react/basic-ssr-streaming-file-based/package.json
@@ -11,8 +11,8 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/react-router": "^1.168.25",
+ "@tanstack/router-plugin": "^1.167.28",
"compression": "^1.8.0",
"express": "^4.21.2",
"get-port": "^7.1.0",
diff --git a/examples/react/basic-virtual-file-based/package.json b/examples/react/basic-virtual-file-based/package.json
index 8c396a80a9..04ac8c25f5 100644
--- a/examples/react/basic-virtual-file-based/package.json
+++ b/examples/react/basic-virtual-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"@tanstack/virtual-file-routes": "^1.161.7",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-virtual-inside-file-based/package.json b/examples/react/basic-virtual-inside-file-based/package.json
index 3cd0f6615b..7c0685a4fd 100644
--- a/examples/react/basic-virtual-inside-file-based/package.json
+++ b/examples/react/basic-virtual-inside-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"@tanstack/virtual-file-routes": "^1.161.7",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic/package.json b/examples/react/basic/package.json
index 2d288352c9..f4c6855a09 100644
--- a/examples/react/basic/package.json
+++ b/examples/react/basic/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/deferred-data/package.json b/examples/react/deferred-data/package.json
index 34a22c3125..4313a2edc1 100644
--- a/examples/react/deferred-data/package.json
+++ b/examples/react/deferred-data/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/i18n-paraglide/package.json b/examples/react/i18n-paraglide/package.json
index b83dc01652..0e2c6a8360 100644
--- a/examples/react/i18n-paraglide/package.json
+++ b/examples/react/i18n-paraglide/package.json
@@ -11,8 +11,8 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/react-router": "^1.168.25",
+ "@tanstack/router-plugin": "^1.167.28",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"tailwindcss": "^4.2.2"
diff --git a/examples/react/kitchen-sink-file-based/package.json b/examples/react/kitchen-sink-file-based/package.json
index 2454184d1c..312dceeffa 100644
--- a/examples/react/kitchen-sink-file-based/package.json
+++ b/examples/react/kitchen-sink-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"immer": "^10.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.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 c3a399fc10..b78ae5e0c7 100644
--- a/examples/react/kitchen-sink-react-query-file-based/package.json
+++ b/examples/react/kitchen-sink-react-query-file-based/package.json
@@ -12,9 +12,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"immer": "^10.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/kitchen-sink-react-query/package.json b/examples/react/kitchen-sink-react-query/package.json
index 77865d4d33..9a1c022281 100644
--- a/examples/react/kitchen-sink-react-query/package.json
+++ b/examples/react/kitchen-sink-react-query/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"react": "^19.0.0",
diff --git a/examples/react/kitchen-sink/package.json b/examples/react/kitchen-sink/package.json
index 0d99742e97..3db753bffa 100644
--- a/examples/react/kitchen-sink/package.json
+++ b/examples/react/kitchen-sink/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"react": "^19.0.0",
diff --git a/examples/react/large-file-based/package.json b/examples/react/large-file-based/package.json
index aaa8d62993..17841d7b84 100644
--- a/examples/react/large-file-based/package.json
+++ b/examples/react/large-file-based/package.json
@@ -13,9 +13,9 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/location-masking/package.json b/examples/react/location-masking/package.json
index 736409f23d..45b4f3512d 100644
--- a/examples/react/location-masking/package.json
+++ b/examples/react/location-masking/package.json
@@ -12,7 +12,7 @@
"@radix-ui/react-dialog": "^1.1.6",
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/navigation-blocking/package.json b/examples/react/navigation-blocking/package.json
index e3847182ed..ef8ba6cc8a 100644
--- a/examples/react/navigation-blocking/package.json
+++ b/examples/react/navigation-blocking/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/quickstart-esbuild-file-based/package.json b/examples/react/quickstart-esbuild-file-based/package.json
index 08d60316bb..7319f31a77 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.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/quickstart-file-based/package.json b/examples/react/quickstart-file-based/package.json
index d0b5103490..5830e32b89 100644
--- a/examples/react/quickstart-file-based/package.json
+++ b/examples/react/quickstart-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"react": "^19.0.0",
"react-dom": "^19.0.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 f6fd1136bb..3e0c33ecfd 100644
--- a/examples/react/quickstart-rspack-file-based/package.json
+++ b/examples/react/quickstart-rspack-file-based/package.json
@@ -9,7 +9,7 @@
},
"dependencies": {
"@tailwindcss/postcss": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"postcss": "^8.5.1",
"react": "^19.0.0",
@@ -19,7 +19,7 @@
"devDependencies": {
"@rsbuild/core": "^2.0.1",
"@rsbuild/plugin-react": "^2.0.0",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"typescript": "^6.0.2"
diff --git a/examples/react/quickstart-webpack-file-based/package.json b/examples/react/quickstart-webpack-file-based/package.json
index 829868dcd2..dbe065ebff 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.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@swc/core": "^1.10.15",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"html-webpack-plugin": "^5.6.3",
diff --git a/examples/react/quickstart/package.json b/examples/react/quickstart/package.json
index 852dd12c5a..4f5adf411d 100644
--- a/examples/react/quickstart/package.json
+++ b/examples/react/quickstart/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/router-monorepo-react-query/package.json b/examples/react/router-monorepo-react-query/package.json
index 020bad3fe6..17a9b637dd 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.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
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 7fb5c8a810..75324d1a0b 100644
--- a/examples/react/router-monorepo-react-query/packages/router/package.json
+++ b/examples/react/router-monorepo-react-query/packages/router/package.json
@@ -10,8 +10,8 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/react-router": "^1.168.25",
+ "@tanstack/router-plugin": "^1.167.28",
"@router-mono-react-query/post-query": "workspace:*",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
diff --git a/examples/react/router-monorepo-simple-lazy/package.json b/examples/react/router-monorepo-simple-lazy/package.json
index 55aee0afc8..a959811e42 100644
--- a/examples/react/router-monorepo-simple-lazy/package.json
+++ b/examples/react/router-monorepo-simple-lazy/package.json
@@ -8,9 +8,9 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/router-monorepo-simple-lazy/packages/router/package.json b/examples/react/router-monorepo-simple-lazy/packages/router/package.json
index fa7becfaaa..8aadf37535 100644
--- a/examples/react/router-monorepo-simple-lazy/packages/router/package.json
+++ b/examples/react/router-monorepo-simple-lazy/packages/router/package.json
@@ -9,8 +9,8 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/react-router": "^1.168.25",
+ "@tanstack/router-plugin": "^1.167.28",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"react": "^19.0.0",
diff --git a/examples/react/router-monorepo-simple/package.json b/examples/react/router-monorepo-simple/package.json
index f67fb1635c..74242a9c68 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.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/router-monorepo-simple/packages/router/package.json b/examples/react/router-monorepo-simple/packages/router/package.json
index 43db885b2e..93d1992c3e 100644
--- a/examples/react/router-monorepo-simple/packages/router/package.json
+++ b/examples/react/router-monorepo-simple/packages/router/package.json
@@ -9,8 +9,8 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/react-router": "^1.168.25",
+ "@tanstack/router-plugin": "^1.167.28",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"react": "^19.0.0",
diff --git a/examples/react/scroll-restoration/package.json b/examples/react/scroll-restoration/package.json
index b3529251aa..cb0e314543 100644
--- a/examples/react/scroll-restoration/package.json
+++ b/examples/react/scroll-restoration/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-virtual": "^3.13.0",
"react": "^19.0.0",
diff --git a/examples/react/search-validator-adapters/package.json b/examples/react/search-validator-adapters/package.json
index 332e495938..3d8da01d2d 100644
--- a/examples/react/search-validator-adapters/package.json
+++ b/examples/react/search-validator-adapters/package.json
@@ -13,9 +13,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/arktype-adapter": "^1.166.9",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"@tanstack/valibot-adapter": "^1.166.9",
"@tanstack/zod-adapter": "^1.166.9",
"arktype": "^2.1.7",
diff --git a/examples/react/start-bare/package.json b/examples/react/start-bare/package.json
index e806d98920..d8638def63 100644
--- a/examples/react/start-bare/package.json
+++ b/examples/react/start-bare/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"zod": "^3.24.2"
diff --git a/examples/react/start-basic-auth/package.json b/examples/react/start-basic-auth/package.json
index 4492e5d037..a91f8a8c5d 100644
--- a/examples/react/start-basic-auth/package.json
+++ b/examples/react/start-basic-auth/package.json
@@ -14,9 +14,9 @@
"@libsql/client": "^0.15.15",
"@prisma/adapter-libsql": "^7.0.0",
"@prisma/client": "^7.0.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic-authjs/package.json b/examples/react/start-basic-authjs/package.json
index 8c5b8a543f..5416dacf00 100644
--- a/examples/react/start-basic-authjs/package.json
+++ b/examples/react/start-basic-authjs/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@auth/core": "^0.41.1",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"start-authjs": "^1.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-basic-cloudflare/package.json b/examples/react/start-basic-cloudflare/package.json
index 337d8ac987..208a66723d 100644
--- a/examples/react/start-basic-cloudflare/package.json
+++ b/examples/react/start-basic-cloudflare/package.json
@@ -12,9 +12,9 @@
"postinstall": "npm run cf-typegen"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
diff --git a/examples/react/start-basic-react-query/package.json b/examples/react/start-basic-react-query/package.json
index 63fbc7cbbd..9f667cf966 100644
--- a/examples/react/start-basic-react-query/package.json
+++ b/examples/react/start-basic-react-query/package.json
@@ -12,10 +12,10 @@
"dependencies": {
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic-static/package.json b/examples/react/start-basic-static/package.json
index 609a4118e7..09551368a5 100644
--- a/examples/react/start-basic-static/package.json
+++ b/examples/react/start-basic-static/package.json
@@ -10,10 +10,10 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
- "@tanstack/start-static-server-functions": "^1.166.35",
+ "@tanstack/react-start": "^1.167.50",
+ "@tanstack/start-static-server-functions": "^1.166.36",
"@vitejs/plugin-react": "^6.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-basic/package.json b/examples/react/start-basic/package.json
index 0ca54be73b..e8e0568a57 100644
--- a/examples/react/start-basic/package.json
+++ b/examples/react/start-basic/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^2.6.0",
diff --git a/examples/react/start-bun/package.json b/examples/react/start-bun/package.json
index 6e58ee3036..6216083433 100644
--- a/examples/react/start-bun/package.json
+++ b/examples/react/start-bun/package.json
@@ -15,11 +15,11 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-devtools": "^0.7.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.49",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/react-start": "^1.167.50",
+ "@tanstack/router-plugin": "^1.167.28",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"tailwindcss": "^4.2.2"
diff --git a/examples/react/start-clerk-basic/package.json b/examples/react/start-clerk-basic/package.json
index f4edca7d24..7cb27ff5da 100644
--- a/examples/react/start-clerk-basic/package.json
+++ b/examples/react/start-clerk-basic/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@clerk/tanstack-react-start": "^0.27.14",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"@vitejs/plugin-react": "^6.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-convex-trellaux/package.json b/examples/react/start-convex-trellaux/package.json
index ab367c17a9..2d94a61b0d 100644
--- a/examples/react/start-convex-trellaux/package.json
+++ b/examples/react/start-convex-trellaux/package.json
@@ -15,10 +15,10 @@
"@convex-dev/react-query": "0.0.0-alpha.8",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"concurrently": "^8.2.2",
"convex": "^1.19.0",
"ky": "^1.7.4",
diff --git a/examples/react/start-counter/package.json b/examples/react/start-counter/package.json
index e654e4c014..249a68e4d3 100644
--- a/examples/react/start-counter/package.json
+++ b/examples/react/start-counter/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
diff --git a/examples/react/start-i18n-paraglide/package.json b/examples/react/start-i18n-paraglide/package.json
index 075ffeac83..3991783ef0 100644
--- a/examples/react/start-i18n-paraglide/package.json
+++ b/examples/react/start-i18n-paraglide/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tanstack/react-devtools": "^0.7.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"react": "^19.1.1",
"react-dom": "^19.1.1"
},
diff --git a/examples/react/start-large/package.json b/examples/react/start-large/package.json
index 662e404638..feee60d44b 100644
--- a/examples/react/start-large/package.json
+++ b/examples/react/start-large/package.json
@@ -13,9 +13,9 @@
},
"dependencies": {
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-material-ui/package.json b/examples/react/start-material-ui/package.json
index 23953bd607..8766f83fae 100644
--- a/examples/react/start-material-ui/package.json
+++ b/examples/react/start-material-ui/package.json
@@ -15,8 +15,8 @@
"@emotion/styled": "11.14.0",
"@fontsource-variable/roboto": "5.2.5",
"@mui/material": "6.4.7",
- "@tanstack/react-router": "^1.168.24",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-start": "^1.167.50",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-rscs/package.json b/examples/react/start-rscs/package.json
index 2ba3cf530f..f83bd115aa 100644
--- a/examples/react/start-rscs/package.json
+++ b/examples/react/start-rscs/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"dexie": "^4.0.10",
"react": "^19.2.0",
"react-dom": "^19.2.0",
diff --git a/examples/react/start-streaming-data-from-server-functions/package.json b/examples/react/start-streaming-data-from-server-functions/package.json
index 520a0200e6..5724eb8315 100644
--- a/examples/react/start-streaming-data-from-server-functions/package.json
+++ b/examples/react/start-streaming-data-from-server-functions/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"zod": "^3.24.2"
diff --git a/examples/react/start-supabase-basic/package.json b/examples/react/start-supabase-basic/package.json
index 8045f94b82..32722a61d9 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.48.1",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/start-tailwind-v4/package.json b/examples/react/start-tailwind-v4/package.json
index fde5670b9f..e8f11f1433 100644
--- a/examples/react/start-tailwind-v4/package.json
+++ b/examples/react/start-tailwind-v4/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^2.6.0",
diff --git a/examples/react/start-trellaux/package.json b/examples/react/start-trellaux/package.json
index 020815f4db..f2eb581ebd 100644
--- a/examples/react/start-trellaux/package.json
+++ b/examples/react/start-trellaux/package.json
@@ -12,10 +12,10 @@
"dependencies": {
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"ky": "^1.7.4",
"msw": "^2.7.0",
"react": "^19.0.0",
diff --git a/examples/react/start-workos/package.json b/examples/react/start-workos/package.json
index a0de8694d7..b768d3c2d3 100644
--- a/examples/react/start-workos/package.json
+++ b/examples/react/start-workos/package.json
@@ -14,9 +14,9 @@
"license": "MIT",
"dependencies": {
"@radix-ui/themes": "^3.3.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.49",
+ "@tanstack/react-start": "^1.167.50",
"@workos/authkit-tanstack-react-start": "^0.5.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
diff --git a/examples/react/view-transitions/package.json b/examples/react/view-transitions/package.json
index a8d22c88b1..17e23be31a 100644
--- a/examples/react/view-transitions/package.json
+++ b/examples/react/view-transitions/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/with-framer-motion/package.json b/examples/react/with-framer-motion/package.json
index 50ce961759..ccd254e619 100644
--- a/examples/react/with-framer-motion/package.json
+++ b/examples/react/with-framer-motion/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"framer-motion": "^11.18.2",
"react": "^19.0.0",
diff --git a/examples/react/with-trpc-react-query/package.json b/examples/react/with-trpc-react-query/package.json
index 2caf43630b..d2baada199 100644
--- a/examples/react/with-trpc-react-query/package.json
+++ b/examples/react/with-trpc-react-query/package.json
@@ -13,9 +13,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"@trpc/client": "^11.4.3",
"@trpc/server": "^11.4.3",
"@trpc/tanstack-react-query": "^11.4.3",
diff --git a/examples/react/with-trpc/package.json b/examples/react/with-trpc/package.json
index bf0c13b130..9d9f4730bf 100644
--- a/examples/react/with-trpc/package.json
+++ b/examples/react/with-trpc/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"@trpc/client": "^11.4.3",
"@trpc/server": "^11.4.3",
"express": "^4.21.2",
diff --git a/examples/solid/authenticated-routes-firebase/package.json b/examples/solid/authenticated-routes-firebase/package.json
index 2713a775ee..b2a9ea016b 100644
--- a/examples/solid/authenticated-routes-firebase/package.json
+++ b/examples/solid/authenticated-routes-firebase/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"firebase": "^11.4.0",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/authenticated-routes/package.json b/examples/solid/authenticated-routes/package.json
index fe97c64ae6..d8d82347c0 100644
--- a/examples/solid/authenticated-routes/package.json
+++ b/examples/solid/authenticated-routes/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/basic-default-search-params/package.json b/examples/solid/basic-default-search-params/package.json
index 7988599890..f512b05f71 100644
--- a/examples/solid/basic-default-search-params/package.json
+++ b/examples/solid/basic-default-search-params/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/basic-devtools-panel/package.json b/examples/solid/basic-devtools-panel/package.json
index e684d8b91c..f51888a26b 100644
--- a/examples/solid/basic-devtools-panel/package.json
+++ b/examples/solid/basic-devtools-panel/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-file-based/package.json b/examples/solid/basic-file-based/package.json
index 6f2da91303..2d4fa97730 100644
--- a/examples/solid/basic-file-based/package.json
+++ b/examples/solid/basic-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
@@ -18,7 +18,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/basic-non-nested-devtools/package.json b/examples/solid/basic-non-nested-devtools/package.json
index 70713c44f2..059733994f 100644
--- a/examples/solid/basic-non-nested-devtools/package.json
+++ b/examples/solid/basic-non-nested-devtools/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-solid-query-file-based/package.json b/examples/solid/basic-solid-query-file-based/package.json
index d2cc4fe9ee..33a8b0e62d 100644
--- a/examples/solid/basic-solid-query-file-based/package.json
+++ b/examples/solid/basic-solid-query-file-based/package.json
@@ -13,7 +13,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
@@ -21,7 +21,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/basic-solid-query/package.json b/examples/solid/basic-solid-query/package.json
index 0605e4cc49..66916fbd4f 100644
--- a/examples/solid/basic-solid-query/package.json
+++ b/examples/solid/basic-solid-query/package.json
@@ -12,14 +12,14 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/basic-ssr-file-based/package.json b/examples/solid/basic-ssr-file-based/package.json
index a8a8200be7..8059eb5f53 100644
--- a/examples/solid/basic-ssr-file-based/package.json
+++ b/examples/solid/basic-ssr-file-based/package.json
@@ -11,8 +11,8 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/router-plugin": "^1.167.28",
"compression": "^1.8.0",
"express": "^4.21.2",
"get-port": "^7.1.0",
diff --git a/examples/solid/basic-ssr-streaming-file-based/package.json b/examples/solid/basic-ssr-streaming-file-based/package.json
index 1b59c695b0..3079eb1066 100644
--- a/examples/solid/basic-ssr-streaming-file-based/package.json
+++ b/examples/solid/basic-ssr-streaming-file-based/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"compression": "^1.8.0",
"express": "^4.21.2",
@@ -24,7 +24,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"@types/express": "^4.17.23",
"typescript": "^6.0.2",
"vite": "^8.0.0",
diff --git a/examples/solid/basic-virtual-file-based/package.json b/examples/solid/basic-virtual-file-based/package.json
index b64a86d874..deeee23849 100644
--- a/examples/solid/basic-virtual-file-based/package.json
+++ b/examples/solid/basic-virtual-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"@tanstack/virtual-file-routes": "^1.161.7",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/basic-virtual-inside-file-based/package.json b/examples/solid/basic-virtual-inside-file-based/package.json
index 3426670950..23ab925176 100644
--- a/examples/solid/basic-virtual-inside-file-based/package.json
+++ b/examples/solid/basic-virtual-inside-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"@tanstack/virtual-file-routes": "^1.161.7",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/basic/package.json b/examples/solid/basic/package.json
index 3ef393d4c3..aefe637792 100644
--- a/examples/solid/basic/package.json
+++ b/examples/solid/basic/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/deferred-data/package.json b/examples/solid/deferred-data/package.json
index 71033f03e0..009480ba66 100644
--- a/examples/solid/deferred-data/package.json
+++ b/examples/solid/deferred-data/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/i18n-paraglide/package.json b/examples/solid/i18n-paraglide/package.json
index 5c64adc71e..9dabdcadee 100644
--- a/examples/solid/i18n-paraglide/package.json
+++ b/examples/solid/i18n-paraglide/package.json
@@ -11,8 +11,8 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/router-plugin": "^1.167.28",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
},
diff --git a/examples/solid/kitchen-sink-file-based/package.json b/examples/solid/kitchen-sink-file-based/package.json
index 46eaa733a1..5c8a92dd6e 100644
--- a/examples/solid/kitchen-sink-file-based/package.json
+++ b/examples/solid/kitchen-sink-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
@@ -19,7 +19,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/kitchen-sink-solid-query-file-based/package.json b/examples/solid/kitchen-sink-solid-query-file-based/package.json
index 98f3fc377c..f9568cbfa6 100644
--- a/examples/solid/kitchen-sink-solid-query-file-based/package.json
+++ b/examples/solid/kitchen-sink-solid-query-file-based/package.json
@@ -10,10 +10,10 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
diff --git a/examples/solid/kitchen-sink-solid-query/package.json b/examples/solid/kitchen-sink-solid-query/package.json
index d3c1bbac2f..f912314f45 100644
--- a/examples/solid/kitchen-sink-solid-query/package.json
+++ b/examples/solid/kitchen-sink-solid-query/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
diff --git a/examples/solid/kitchen-sink/package.json b/examples/solid/kitchen-sink/package.json
index c42eb0841b..b584d834f9 100644
--- a/examples/solid/kitchen-sink/package.json
+++ b/examples/solid/kitchen-sink/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/large-file-based/package.json b/examples/solid/large-file-based/package.json
index 358c0ebe26..6dd1e6ff03 100644
--- a/examples/solid/large-file-based/package.json
+++ b/examples/solid/large-file-based/package.json
@@ -13,9 +13,9 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/location-masking/package.json b/examples/solid/location-masking/package.json
index 88ee0fc5ed..0190d6c910 100644
--- a/examples/solid/location-masking/package.json
+++ b/examples/solid/location-masking/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/navigation-blocking/package.json b/examples/solid/navigation-blocking/package.json
index 0af6113ccc..030eca45eb 100644
--- a/examples/solid/navigation-blocking/package.json
+++ b/examples/solid/navigation-blocking/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/quickstart-esbuild-file-based/package.json b/examples/solid/quickstart-esbuild-file-based/package.json
index aa5d43cc17..6fe39fb3c5 100644
--- a/examples/solid/quickstart-esbuild-file-based/package.json
+++ b/examples/solid/quickstart-esbuild-file-based/package.json
@@ -9,8 +9,8 @@
"start": "dev"
},
"dependencies": {
- "@tanstack/router-plugin": "^1.167.27",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/quickstart-file-based/package.json b/examples/solid/quickstart-file-based/package.json
index da25d004d3..789053fde2 100644
--- a/examples/solid/quickstart-file-based/package.json
+++ b/examples/solid/quickstart-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
@@ -18,7 +18,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/quickstart-rspack-file-based/package.json b/examples/solid/quickstart-rspack-file-based/package.json
index 99fad14387..6f48ba6a12 100644
--- a/examples/solid/quickstart-rspack-file-based/package.json
+++ b/examples/solid/quickstart-rspack-file-based/package.json
@@ -9,7 +9,7 @@
},
"dependencies": {
"@tailwindcss/postcss": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"postcss": "^8.5.1",
"solid-js": "^1.9.10",
@@ -19,7 +19,7 @@
"@rsbuild/core": "^2.0.1",
"@rsbuild/plugin-babel": "^1.1.2",
"@rsbuild/plugin-solid": "^1.1.1",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"typescript": "^6.0.2"
}
}
diff --git a/examples/solid/quickstart-webpack-file-based/package.json b/examples/solid/quickstart-webpack-file-based/package.json
index cc61bcab83..aa86a9b106 100644
--- a/examples/solid/quickstart-webpack-file-based/package.json
+++ b/examples/solid/quickstart-webpack-file-based/package.json
@@ -7,7 +7,7 @@
"build": "webpack build && tsc --noEmit"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
@@ -15,7 +15,7 @@
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/preset-typescript": "^7.27.1",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"babel-loader": "^10.0.0",
"babel-preset-solid": "^1.9.10",
"css-loader": "^7.1.2",
diff --git a/examples/solid/quickstart/package.json b/examples/solid/quickstart/package.json
index aef0f30baa..f7bd07eb94 100644
--- a/examples/solid/quickstart/package.json
+++ b/examples/solid/quickstart/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
diff --git a/examples/solid/router-monorepo-simple-lazy/package.json b/examples/solid/router-monorepo-simple-lazy/package.json
index 8c166a2325..2ed3242480 100644
--- a/examples/solid/router-monorepo-simple-lazy/package.json
+++ b/examples/solid/router-monorepo-simple-lazy/package.json
@@ -8,9 +8,9 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/router-monorepo-simple-lazy/packages/router/package.json b/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
index b126d4e798..de5540a5d2 100644
--- a/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
+++ b/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
@@ -9,8 +9,8 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/solid-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/router-plugin": "^1.167.28",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"solid-js": "^1.9.10"
diff --git a/examples/solid/router-monorepo-simple/package.json b/examples/solid/router-monorepo-simple/package.json
index add801e745..467fd9a303 100644
--- a/examples/solid/router-monorepo-simple/package.json
+++ b/examples/solid/router-monorepo-simple/package.json
@@ -8,9 +8,9 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/router-monorepo-simple/packages/router/package.json b/examples/solid/router-monorepo-simple/packages/router/package.json
index 288b6b5f17..2434852ce2 100644
--- a/examples/solid/router-monorepo-simple/packages/router/package.json
+++ b/examples/solid/router-monorepo-simple/packages/router/package.json
@@ -9,8 +9,8 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/solid-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/router-plugin": "^1.167.28",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"solid-js": "^1.9.10"
diff --git a/examples/solid/router-monorepo-solid-query/package.json b/examples/solid/router-monorepo-solid-query/package.json
index 72a004d5a3..58c69ea4f5 100644
--- a/examples/solid/router-monorepo-solid-query/package.json
+++ b/examples/solid/router-monorepo-solid-query/package.json
@@ -12,9 +12,9 @@
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/router-monorepo-solid-query/packages/router/package.json b/examples/solid/router-monorepo-solid-query/packages/router/package.json
index 58989ed5d9..93b534b624 100644
--- a/examples/solid/router-monorepo-solid-query/packages/router/package.json
+++ b/examples/solid/router-monorepo-solid-query/packages/router/package.json
@@ -10,8 +10,8 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/router-plugin": "^1.167.28",
"@router-solid-mono-solid-query/post-query": "workspace:*",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
diff --git a/examples/solid/scroll-restoration/package.json b/examples/solid/scroll-restoration/package.json
index 187278e07d..45fd55fe32 100644
--- a/examples/solid/scroll-restoration/package.json
+++ b/examples/solid/scroll-restoration/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-virtual": "^3.13.0",
"solid-js": "^1.9.10",
diff --git a/examples/solid/search-validator-adapters/package.json b/examples/solid/search-validator-adapters/package.json
index 81f7e53d4a..41e9037ef8 100644
--- a/examples/solid/search-validator-adapters/package.json
+++ b/examples/solid/search-validator-adapters/package.json
@@ -13,9 +13,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/arktype-adapter": "^1.166.9",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"@tanstack/valibot-adapter": "^1.166.9",
"@tanstack/zod-adapter": "^1.166.9",
"arktype": "^2.1.7",
diff --git a/examples/solid/start-basic-auth/package.json b/examples/solid/start-basic-auth/package.json
index b2539f3a07..428cdbb4d0 100644
--- a/examples/solid/start-basic-auth/package.json
+++ b/examples/solid/start-basic-auth/package.json
@@ -14,9 +14,9 @@
"@libsql/client": "^0.15.15",
"@prisma/adapter-libsql": "^7.0.0",
"@prisma/client": "^7.0.0",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.47",
+ "@tanstack/solid-start": "^1.167.48",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-authjs/package.json b/examples/solid/start-basic-authjs/package.json
index cc12770412..6ae883ae6c 100644
--- a/examples/solid/start-basic-authjs/package.json
+++ b/examples/solid/start-basic-authjs/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@auth/core": "^0.41.1",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.47",
+ "@tanstack/solid-start": "^1.167.48",
"start-authjs": "^1.0.0",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-cloudflare/package.json b/examples/solid/start-basic-cloudflare/package.json
index fae30a2868..5bdea2a104 100644
--- a/examples/solid/start-basic-cloudflare/package.json
+++ b/examples/solid/start-basic-cloudflare/package.json
@@ -12,9 +12,9 @@
"postinstall": "npm run cf-typegen"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.47",
+ "@tanstack/solid-start": "^1.167.48",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-netlify/package.json b/examples/solid/start-basic-netlify/package.json
index 56a420960e..963693161b 100644
--- a/examples/solid/start-basic-netlify/package.json
+++ b/examples/solid/start-basic-netlify/package.json
@@ -9,9 +9,9 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.47",
+ "@tanstack/solid-start": "^1.167.48",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-nitro/package.json b/examples/solid/start-basic-nitro/package.json
index 6df3b522a6..fcd2efb082 100644
--- a/examples/solid/start-basic-nitro/package.json
+++ b/examples/solid/start-basic-nitro/package.json
@@ -9,9 +9,9 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.47",
+ "@tanstack/solid-start": "^1.167.48",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-solid-query/package.json b/examples/solid/start-basic-solid-query/package.json
index b08cc180c6..d99967dd46 100644
--- a/examples/solid/start-basic-solid-query/package.json
+++ b/examples/solid/start-basic-solid-query/package.json
@@ -12,10 +12,10 @@
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.47",
+ "@tanstack/solid-start": "^1.167.48",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-static/package.json b/examples/solid/start-basic-static/package.json
index aef6a83ef8..e6ea9b8a54 100644
--- a/examples/solid/start-basic-static/package.json
+++ b/examples/solid/start-basic-static/package.json
@@ -10,10 +10,10 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.47",
- "@tanstack/start-static-server-functions": "^1.166.35",
+ "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/start-static-server-functions": "^1.166.36",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic/package.json b/examples/solid/start-basic/package.json
index dc80489aba..464de338d2 100644
--- a/examples/solid/start-basic/package.json
+++ b/examples/solid/start-basic/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.47",
+ "@tanstack/solid-start": "^1.167.48",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-bun/package.json b/examples/solid/start-bun/package.json
index 10089d6631..e2e9dc5e42 100644
--- a/examples/solid/start-bun/package.json
+++ b/examples/solid/start-bun/package.json
@@ -15,11 +15,11 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-devtools": "^0.7.0",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.47",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/router-plugin": "^1.167.28",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
},
diff --git a/examples/solid/start-convex-better-auth/package.json b/examples/solid/start-convex-better-auth/package.json
index 9b0b6dcc20..7b25247369 100644
--- a/examples/solid/start-convex-better-auth/package.json
+++ b/examples/solid/start-convex-better-auth/package.json
@@ -13,9 +13,9 @@
"dependencies": {
"@convex-dev/better-auth": "^0.9.7",
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.47",
+ "@tanstack/solid-start": "^1.167.48",
"better-auth": "^1.3.27",
"clsx": "^2.1.1",
"convex": "^1.28.2",
diff --git a/examples/solid/start-counter/package.json b/examples/solid/start-counter/package.json
index bef200bb03..2bc0f6462f 100644
--- a/examples/solid/start-counter/package.json
+++ b/examples/solid/start-counter/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.47",
+ "@tanstack/solid-start": "^1.167.48",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-i18n-paraglide/package.json b/examples/solid/start-i18n-paraglide/package.json
index 4dc1794132..989bc80c06 100644
--- a/examples/solid/start-i18n-paraglide/package.json
+++ b/examples/solid/start-i18n-paraglide/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tanstack/solid-devtools": "^0.7.0",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.47",
+ "@tanstack/solid-start": "^1.167.48",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-large/package.json b/examples/solid/start-large/package.json
index bf95e8bc24..414183e1bb 100644
--- a/examples/solid/start-large/package.json
+++ b/examples/solid/start-large/package.json
@@ -13,9 +13,9 @@
},
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.47",
+ "@tanstack/solid-start": "^1.167.48",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-streaming-data-from-server-functions/package.json b/examples/solid/start-streaming-data-from-server-functions/package.json
index c60822c305..5e8c7777b0 100644
--- a/examples/solid/start-streaming-data-from-server-functions/package.json
+++ b/examples/solid/start-streaming-data-from-server-functions/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.47",
+ "@tanstack/solid-start": "^1.167.48",
"solid-js": "^1.9.10",
"zod": "^3.24.2"
},
diff --git a/examples/solid/start-supabase-basic/package.json b/examples/solid/start-supabase-basic/package.json
index e27db3fb62..7f862f6e11 100644
--- a/examples/solid/start-supabase-basic/package.json
+++ b/examples/solid/start-supabase-basic/package.json
@@ -14,9 +14,9 @@
"dependencies": {
"@supabase/ssr": "^0.5.2",
"@supabase/supabase-js": "^2.48.1",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.47",
+ "@tanstack/solid-start": "^1.167.48",
"solid-js": "^1.9.9",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/start-tailwind-v4/package.json b/examples/solid/start-tailwind-v4/package.json
index ce07deeec4..bdae511edd 100644
--- a/examples/solid/start-tailwind-v4/package.json
+++ b/examples/solid/start-tailwind-v4/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.47",
+ "@tanstack/solid-start": "^1.167.48",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0",
"zod": "^3.24.2"
diff --git a/examples/solid/view-transitions/package.json b/examples/solid/view-transitions/package.json
index 9c27b4b5e5..557a08cd4d 100644
--- a/examples/solid/view-transitions/package.json
+++ b/examples/solid/view-transitions/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/with-framer-motion/package.json b/examples/solid/with-framer-motion/package.json
index 2a86294442..ca719c3011 100644
--- a/examples/solid/with-framer-motion/package.json
+++ b/examples/solid/with-framer-motion/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/with-trpc/package.json b/examples/solid/with-trpc/package.json
index 531a8e2ae2..faec534372 100644
--- a/examples/solid/with-trpc/package.json
+++ b/examples/solid/with-trpc/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.24",
+ "@tanstack/solid-router": "^1.168.25",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/router-plugin": "^1.167.28",
"@trpc/client": "^11.4.3",
"@trpc/server": "^11.4.3",
"express": "^4.21.2",
diff --git a/examples/vue/basic-file-based-jsx/package.json b/examples/vue/basic-file-based-jsx/package.json
index 791403fa67..e2f38158e3 100644
--- a/examples/vue/basic-file-based-jsx/package.json
+++ b/examples/vue/basic-file-based-jsx/package.json
@@ -10,8 +10,8 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.27",
- "@tanstack/vue-router": "^1.168.20",
+ "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/vue-router": "^1.168.21",
"@tanstack/vue-router-devtools": "^1.166.13",
"@tanstack/zod-adapter": "^1.166.9",
"redaxios": "^0.5.1",
diff --git a/examples/vue/basic-file-based-sfc/package.json b/examples/vue/basic-file-based-sfc/package.json
index 7334f38460..ca563f8df1 100644
--- a/examples/vue/basic-file-based-sfc/package.json
+++ b/examples/vue/basic-file-based-sfc/package.json
@@ -10,8 +10,8 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.27",
- "@tanstack/vue-router": "^1.168.20",
+ "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/vue-router": "^1.168.21",
"@tanstack/vue-router-devtools": "^1.166.13",
"@tanstack/zod-adapter": "^1.166.9",
"redaxios": "^0.5.1",
diff --git a/examples/vue/basic/package.json b/examples/vue/basic/package.json
index 529b3c8c2f..21ee6c78a5 100644
--- a/examples/vue/basic/package.json
+++ b/examples/vue/basic/package.json
@@ -9,7 +9,7 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/vue-router": "^1.168.20",
+ "@tanstack/vue-router": "^1.168.21",
"@tanstack/vue-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"vue": "^3.5.13",
diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md
index b68f391425..99cc1dc253 100644
--- a/packages/react-router/CHANGELOG.md
+++ b/packages/react-router/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/react-router
+## 1.168.25
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+
## 1.168.24
### Patch Changes
diff --git a/packages/react-router/package.json b/packages/react-router/package.json
index 3444127fee..48da5e1bac 100644
--- a/packages/react-router/package.json
+++ b/packages/react-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-router",
- "version": "1.168.24",
+ "version": "1.168.25",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start-client/CHANGELOG.md b/packages/react-start-client/CHANGELOG.md
index 64de5ff5e7..5b37cf4333 100644
--- a/packages/react-start-client/CHANGELOG.md
+++ b/packages/react-start-client/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/react-start-client
+## 1.166.43
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+ - @tanstack/react-router@1.168.25
+ - @tanstack/start-client-core@1.167.20
+
## 1.166.42
### Patch Changes
diff --git a/packages/react-start-client/package.json b/packages/react-start-client/package.json
index 75f82cd2ca..453014d5c2 100644
--- a/packages/react-start-client/package.json
+++ b/packages/react-start-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start-client",
- "version": "1.166.42",
+ "version": "1.166.43",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start-rsc/CHANGELOG.md b/packages/react-start-rsc/CHANGELOG.md
index bb62d41f87..84ae380665 100644
--- a/packages/react-start-rsc/CHANGELOG.md
+++ b/packages/react-start-rsc/CHANGELOG.md
@@ -1,5 +1,18 @@
# @tanstack/react-start-rsc
+## 0.0.29
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+ - @tanstack/react-router@1.168.25
+ - @tanstack/react-start-server@1.166.44
+ - @tanstack/start-client-core@1.167.20
+ - @tanstack/start-plugin-core@1.169.6
+ - @tanstack/start-server-core@1.167.22
+ - @tanstack/start-storage-context@1.166.31
+
## 0.0.28
### Patch Changes
diff --git a/packages/react-start-rsc/package.json b/packages/react-start-rsc/package.json
index 2bd23abd9b..40ece345ce 100644
--- a/packages/react-start-rsc/package.json
+++ b/packages/react-start-rsc/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start-rsc",
- "version": "0.0.28",
+ "version": "0.0.29",
"description": "React Server Components support for TanStack Start",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start-server/CHANGELOG.md b/packages/react-start-server/CHANGELOG.md
index 2854ae3762..a6d08fdc60 100644
--- a/packages/react-start-server/CHANGELOG.md
+++ b/packages/react-start-server/CHANGELOG.md
@@ -1,5 +1,15 @@
# @tanstack/react-start-server
+## 1.166.44
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+ - @tanstack/react-router@1.168.25
+ - @tanstack/start-client-core@1.167.20
+ - @tanstack/start-server-core@1.167.22
+
## 1.166.43
### Patch Changes
diff --git a/packages/react-start-server/package.json b/packages/react-start-server/package.json
index ec46c467ab..04ae13a39e 100644
--- a/packages/react-start-server/package.json
+++ b/packages/react-start-server/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start-server",
- "version": "1.166.43",
+ "version": "1.166.44",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start/CHANGELOG.md b/packages/react-start/CHANGELOG.md
index ce0c1c9a1d..4bd59aa259 100644
--- a/packages/react-start/CHANGELOG.md
+++ b/packages/react-start/CHANGELOG.md
@@ -1,5 +1,18 @@
# @tanstack/react-start
+## 1.167.50
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/react-router@1.168.25
+ - @tanstack/react-start-client@1.166.43
+ - @tanstack/react-start-rsc@0.0.29
+ - @tanstack/react-start-server@1.166.44
+ - @tanstack/start-client-core@1.167.20
+ - @tanstack/start-plugin-core@1.169.6
+ - @tanstack/start-server-core@1.167.22
+
## 1.167.49
### Patch Changes
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index 6d790197d5..0e6a5f5dee 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.167.49",
+ "version": "1.167.50",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-cli/CHANGELOG.md b/packages/router-cli/CHANGELOG.md
index 6892cb8b57..84da63d3fc 100644
--- a/packages/router-cli/CHANGELOG.md
+++ b/packages/router-cli/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-cli
+## 1.166.37
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/router-generator@1.166.36
+
## 1.166.36
### Patch Changes
diff --git a/packages/router-cli/package.json b/packages/router-cli/package.json
index 5ca365f4d9..e00a73f3d3 100644
--- a/packages/router-cli/package.json
+++ b/packages/router-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-cli",
- "version": "1.166.36",
+ "version": "1.166.37",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-core/CHANGELOG.md b/packages/router-core/CHANGELOG.md
index bc543bd2ba..de6c58d925 100644
--- a/packages/router-core/CHANGELOG.md
+++ b/packages/router-core/CHANGELOG.md
@@ -1,5 +1,11 @@
# @tanstack/router-core
+## 1.168.17
+
+### Patch Changes
+
+- wildcard nodes have the same priority rules as other nodes in route matching ([#7273](https://github.com/TanStack/router/pull/7273))
+
## 1.168.16
### Patch Changes
diff --git a/packages/router-core/package.json b/packages/router-core/package.json
index 0b69768fcd..2c47eaa743 100644
--- a/packages/router-core/package.json
+++ b/packages/router-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-core",
- "version": "1.168.16",
+ "version": "1.168.17",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-generator/CHANGELOG.md b/packages/router-generator/CHANGELOG.md
index aa4338d066..3660abe810 100644
--- a/packages/router-generator/CHANGELOG.md
+++ b/packages/router-generator/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-generator
+## 1.166.36
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+
## 1.166.35
### Patch Changes
diff --git a/packages/router-generator/package.json b/packages/router-generator/package.json
index 284b5aa276..3e9aac843a 100644
--- a/packages/router-generator/package.json
+++ b/packages/router-generator/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-generator",
- "version": "1.166.35",
+ "version": "1.166.36",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-plugin/CHANGELOG.md b/packages/router-plugin/CHANGELOG.md
index 97d4f6db42..75edc4a16c 100644
--- a/packages/router-plugin/CHANGELOG.md
+++ b/packages/router-plugin/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/router-plugin
+## 1.167.28
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+ - @tanstack/react-router@1.168.25
+ - @tanstack/router-generator@1.166.36
+
## 1.167.27
### Patch Changes
diff --git a/packages/router-plugin/package.json b/packages/router-plugin/package.json
index b8ef3c89d8..44964145ac 100644
--- a/packages/router-plugin/package.json
+++ b/packages/router-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-plugin",
- "version": "1.167.27",
+ "version": "1.167.28",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-vite-plugin/CHANGELOG.md b/packages/router-vite-plugin/CHANGELOG.md
index 015920a79f..b199f8829d 100644
--- a/packages/router-vite-plugin/CHANGELOG.md
+++ b/packages/router-vite-plugin/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-vite-plugin
+## 1.166.43
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/router-plugin@1.167.28
+
## 1.166.42
### Patch Changes
diff --git a/packages/router-vite-plugin/package.json b/packages/router-vite-plugin/package.json
index 90693f809e..5e7bd60805 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.166.42",
+ "version": "1.166.43",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-router/CHANGELOG.md b/packages/solid-router/CHANGELOG.md
index cdee32550b..d0422a27b5 100644
--- a/packages/solid-router/CHANGELOG.md
+++ b/packages/solid-router/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/solid-router
+## 1.168.25
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+
## 1.168.24
### Patch Changes
diff --git a/packages/solid-router/package.json b/packages/solid-router/package.json
index 7a85e9da3e..33a1d536b7 100644
--- a/packages/solid-router/package.json
+++ b/packages/solid-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-router",
- "version": "1.168.24",
+ "version": "1.168.25",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start-client/CHANGELOG.md b/packages/solid-start-client/CHANGELOG.md
index d4934120f2..ced8d17aca 100644
--- a/packages/solid-start-client/CHANGELOG.md
+++ b/packages/solid-start-client/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/solid-start-client
+## 1.166.42
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+ - @tanstack/solid-router@1.168.25
+ - @tanstack/start-client-core@1.167.20
+
## 1.166.41
### Patch Changes
diff --git a/packages/solid-start-client/package.json b/packages/solid-start-client/package.json
index 6fc66b24a2..b1a899c6a1 100644
--- a/packages/solid-start-client/package.json
+++ b/packages/solid-start-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start-client",
- "version": "1.166.41",
+ "version": "1.166.42",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start-server/CHANGELOG.md b/packages/solid-start-server/CHANGELOG.md
index b27dc7db36..68e05e8538 100644
--- a/packages/solid-start-server/CHANGELOG.md
+++ b/packages/solid-start-server/CHANGELOG.md
@@ -1,5 +1,15 @@
# @tanstack/solid-start-server
+## 1.166.43
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+ - @tanstack/solid-router@1.168.25
+ - @tanstack/start-client-core@1.167.20
+ - @tanstack/start-server-core@1.167.22
+
## 1.166.42
### Patch Changes
diff --git a/packages/solid-start-server/package.json b/packages/solid-start-server/package.json
index e260e47b23..dad84f1827 100644
--- a/packages/solid-start-server/package.json
+++ b/packages/solid-start-server/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start-server",
- "version": "1.166.42",
+ "version": "1.166.43",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start/CHANGELOG.md b/packages/solid-start/CHANGELOG.md
index 944cb96445..e4ac2127a6 100644
--- a/packages/solid-start/CHANGELOG.md
+++ b/packages/solid-start/CHANGELOG.md
@@ -1,5 +1,17 @@
# @tanstack/solid-start
+## 1.167.48
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/solid-router@1.168.25
+ - @tanstack/solid-start-client@1.166.42
+ - @tanstack/solid-start-server@1.166.43
+ - @tanstack/start-client-core@1.167.20
+ - @tanstack/start-plugin-core@1.169.6
+ - @tanstack/start-server-core@1.167.22
+
## 1.167.47
### Patch Changes
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index dc458bef0d..4063e9bb0d 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.167.47",
+ "version": "1.167.48",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-client-core/CHANGELOG.md b/packages/start-client-core/CHANGELOG.md
index 52e10ae4dd..42184ccc34 100644
--- a/packages/start-client-core/CHANGELOG.md
+++ b/packages/start-client-core/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/start-client-core
+## 1.167.20
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+ - @tanstack/start-storage-context@1.166.31
+
## 1.167.19
### Patch Changes
diff --git a/packages/start-client-core/package.json b/packages/start-client-core/package.json
index 71dc34e532..2a2445ab4e 100644
--- a/packages/start-client-core/package.json
+++ b/packages/start-client-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-client-core",
- "version": "1.167.19",
+ "version": "1.167.20",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-plugin-core/CHANGELOG.md b/packages/start-plugin-core/CHANGELOG.md
index b89433d3dc..6d9e134993 100644
--- a/packages/start-plugin-core/CHANGELOG.md
+++ b/packages/start-plugin-core/CHANGELOG.md
@@ -1,5 +1,16 @@
# @tanstack/start-plugin-core
+## 1.169.6
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+ - @tanstack/router-generator@1.166.36
+ - @tanstack/router-plugin@1.167.28
+ - @tanstack/start-client-core@1.167.20
+ - @tanstack/start-server-core@1.167.22
+
## 1.169.5
### Patch Changes
diff --git a/packages/start-plugin-core/package.json b/packages/start-plugin-core/package.json
index a02c6a15e7..5614ab4767 100644
--- a/packages/start-plugin-core/package.json
+++ b/packages/start-plugin-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-plugin-core",
- "version": "1.169.5",
+ "version": "1.169.6",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-server-core/CHANGELOG.md b/packages/start-server-core/CHANGELOG.md
index a3803503a6..4413f624b3 100644
--- a/packages/start-server-core/CHANGELOG.md
+++ b/packages/start-server-core/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/start-server-core
+## 1.167.22
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+ - @tanstack/start-client-core@1.167.20
+ - @tanstack/start-storage-context@1.166.31
+
## 1.167.21
### Patch Changes
diff --git a/packages/start-server-core/package.json b/packages/start-server-core/package.json
index 67c58eb1ed..0fe43ec99a 100644
--- a/packages/start-server-core/package.json
+++ b/packages/start-server-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-server-core",
- "version": "1.167.21",
+ "version": "1.167.22",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-static-server-functions/CHANGELOG.md b/packages/start-static-server-functions/CHANGELOG.md
index 3bd8243fba..a7b6da6183 100644
--- a/packages/start-static-server-functions/CHANGELOG.md
+++ b/packages/start-static-server-functions/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/start-static-server-functions
+## 1.166.36
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/start-client-core@1.167.20
+ - @tanstack/react-start@1.167.50
+ - @tanstack/solid-start@1.167.48
+
## 1.166.35
### Patch Changes
diff --git a/packages/start-static-server-functions/package.json b/packages/start-static-server-functions/package.json
index a6bf71985e..08da0c9ca0 100644
--- a/packages/start-static-server-functions/package.json
+++ b/packages/start-static-server-functions/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-static-server-functions",
- "version": "1.166.35",
+ "version": "1.166.36",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-storage-context/CHANGELOG.md b/packages/start-storage-context/CHANGELOG.md
index f0f9b388fb..a29ed29422 100644
--- a/packages/start-storage-context/CHANGELOG.md
+++ b/packages/start-storage-context/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/start-storage-context
+## 1.166.31
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+
## 1.166.30
### Patch Changes
diff --git a/packages/start-storage-context/package.json b/packages/start-storage-context/package.json
index 76b97acb1f..cbb51ce5e9 100644
--- a/packages/start-storage-context/package.json
+++ b/packages/start-storage-context/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-storage-context",
- "version": "1.166.30",
+ "version": "1.166.31",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-router/CHANGELOG.md b/packages/vue-router/CHANGELOG.md
index 0e590e7795..794144eda1 100644
--- a/packages/vue-router/CHANGELOG.md
+++ b/packages/vue-router/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/vue-router
+## 1.168.21
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+
## 1.168.20
### Patch Changes
diff --git a/packages/vue-router/package.json b/packages/vue-router/package.json
index 626500486b..0165ef256c 100644
--- a/packages/vue-router/package.json
+++ b/packages/vue-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-router",
- "version": "1.168.20",
+ "version": "1.168.21",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-start-client/CHANGELOG.md b/packages/vue-start-client/CHANGELOG.md
index 2e987b9d83..e8b80b67df 100644
--- a/packages/vue-start-client/CHANGELOG.md
+++ b/packages/vue-start-client/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/vue-start-client
+## 1.166.38
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+ - @tanstack/start-client-core@1.167.20
+ - @tanstack/vue-router@1.168.21
+
## 1.166.37
### Patch Changes
diff --git a/packages/vue-start-client/package.json b/packages/vue-start-client/package.json
index 1b69fcbce8..f7fa8fdaf7 100644
--- a/packages/vue-start-client/package.json
+++ b/packages/vue-start-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start-client",
- "version": "1.166.37",
+ "version": "1.166.38",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-start-server/CHANGELOG.md b/packages/vue-start-server/CHANGELOG.md
index 5648e553fc..d7c7b2b3d8 100644
--- a/packages/vue-start-server/CHANGELOG.md
+++ b/packages/vue-start-server/CHANGELOG.md
@@ -1,5 +1,15 @@
# @tanstack/vue-start-server
+## 1.166.39
+
+### Patch Changes
+
+- Updated dependencies [[`493148b`](https://github.com/TanStack/router/commit/493148bc5378b7f9de1544d87f6aaa425c12eb34)]:
+ - @tanstack/router-core@1.168.17
+ - @tanstack/start-client-core@1.167.20
+ - @tanstack/start-server-core@1.167.22
+ - @tanstack/vue-router@1.168.21
+
## 1.166.38
### Patch Changes
diff --git a/packages/vue-start-server/package.json b/packages/vue-start-server/package.json
index 920cbba708..369009e5e6 100644
--- a/packages/vue-start-server/package.json
+++ b/packages/vue-start-server/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start-server",
- "version": "1.166.38",
+ "version": "1.166.39",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-start/CHANGELOG.md b/packages/vue-start/CHANGELOG.md
index dfc83c6e99..1b37064be1 100644
--- a/packages/vue-start/CHANGELOG.md
+++ b/packages/vue-start/CHANGELOG.md
@@ -1,5 +1,17 @@
# @tanstack/vue-start
+## 1.167.44
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/start-client-core@1.167.20
+ - @tanstack/start-plugin-core@1.169.6
+ - @tanstack/start-server-core@1.167.22
+ - @tanstack/vue-router@1.168.21
+ - @tanstack/vue-start-client@1.166.38
+ - @tanstack/vue-start-server@1.166.39
+
## 1.167.43
### Patch Changes
diff --git a/packages/vue-start/package.json b/packages/vue-start/package.json
index 5d46d62c03..e2f1d4b284 100644
--- a/packages/vue-start/package.json
+++ b/packages/vue-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start",
- "version": "1.167.43",
+ "version": "1.167.44",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 81d86de720..738c0f673c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -9936,7 +9936,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -9973,7 +9973,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10013,7 +10013,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10053,7 +10053,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10087,7 +10087,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10118,7 +10118,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10155,7 +10155,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10198,7 +10198,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10238,7 +10238,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10275,7 +10275,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
compression:
specifier: ^1.8.0
@@ -10315,7 +10315,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10370,7 +10370,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10410,7 +10410,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10447,7 +10447,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10484,7 +10484,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
solid-js:
specifier: 1.9.12
@@ -10515,7 +10515,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10552,7 +10552,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10598,7 +10598,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10644,7 +10644,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10687,7 +10687,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10724,7 +10724,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10758,7 +10758,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10789,7 +10789,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10817,7 +10817,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10848,7 +10848,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10885,7 +10885,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10919,7 +10919,7 @@ importers:
examples/solid/quickstart-webpack-file-based:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10980,7 +10980,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11014,7 +11014,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11054,7 +11054,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11088,7 +11088,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11128,7 +11128,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11174,7 +11174,7 @@ importers:
examples/solid/start-basic:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11226,7 +11226,7 @@ importers:
specifier: ^7.0.0
version: 7.0.0(prisma@7.0.0(@types/react@19.2.9)(magicast@0.3.5)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(typescript@6.0.2))(typescript@6.0.2)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11275,7 +11275,7 @@ importers:
specifier: ^0.41.1
version: 0.41.1
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11315,7 +11315,7 @@ importers:
examples/solid/start-basic-cloudflare:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11355,7 +11355,7 @@ importers:
examples/solid/start-basic-netlify:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11392,7 +11392,7 @@ importers:
examples/solid/start-basic-nitro:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11435,7 +11435,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11478,7 +11478,7 @@ importers:
examples/solid/start-basic-static:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11530,7 +11530,7 @@ importers:
specifier: ^0.7.0
version: 0.7.14(csstype@3.2.3)(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11594,7 +11594,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11649,7 +11649,7 @@ importers:
examples/solid/start-counter:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11692,7 +11692,7 @@ importers:
specifier: ^0.7.0
version: 0.7.14(csstype@3.2.3)(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11732,7 +11732,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11775,7 +11775,7 @@ importers:
examples/solid/start-streaming-data-from-server-functions:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11812,7 +11812,7 @@ importers:
specifier: ^2.48.1
version: 2.48.1
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11849,7 +11849,7 @@ importers:
examples/solid/start-tailwind-v4:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11895,7 +11895,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11929,7 +11929,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11969,7 +11969,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.24
+ specifier: ^1.168.25
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
From b86b06125364a2ec8207f599fb5a5130f9d16cc7 Mon Sep 17 00:00:00 2001
From: Birk Skyum
Date: Mon, 27 Apr 2026 20:47:27 +0200
Subject: [PATCH 011/551] fix(solid-router): enable route component HMR for
Solid
---
.changeset/solid-router-plugin-hmr.md | 5 +
.../plugins/framework-plugins.ts | 34 ++--
...ponents.ts => refresh-route-components.ts} | 10 +-
...s => stable-hmr-split-route-components.ts} | 4 +-
.../snapshots/solid/arrow-function@true.tsx | 12 +-
...createRootRoute-inline-component@false.tsx | 5 +
.../createRootRoute-inline-component@true.tsx | 141 +++++++++++++++
.../snapshots/solid/destructuring@false.tsx | 11 ++
.../snapshots/solid/destructuring@true.tsx | 11 ++
.../explicit-undefined-component@false.tsx | 5 +
.../explicit-undefined-component@true.tsx | 140 +++++++++++++++
.../solid/function-declaration@false.tsx | 8 +
.../solid/function-declaration@true.tsx | 152 ++++++++++++++++
.../snapshots/solid/multi-component@false.tsx | 10 ++
.../snapshots/solid/multi-component@true.tsx | 162 ++++++++++++++++++
.../solid/string-literal-keys@false.tsx | 10 ++
.../solid/string-literal-keys@true.tsx | 162 ++++++++++++++++++
.../createRootRoute-inline-component.tsx | 5 +
.../test-files/solid/destructuring.tsx | 11 ++
.../solid/explicit-undefined-component.tsx | 5 +
.../test-files/solid/function-declaration.tsx | 39 +++++
.../test-files/solid/multi-component.tsx | 18 ++
.../test-files/solid/string-literal-keys.tsx | 18 ++
23 files changed, 956 insertions(+), 22 deletions(-)
create mode 100644 .changeset/solid-router-plugin-hmr.md
rename packages/router-plugin/src/core/code-splitter/plugins/{react-refresh-route-components.ts => refresh-route-components.ts} (85%)
rename packages/router-plugin/src/core/code-splitter/plugins/{react-stable-hmr-split-route-components.ts => stable-hmr-split-route-components.ts} (94%)
create mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@false.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@true.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@false.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@true.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@false.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@true.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@false.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@true.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@false.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@true.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@false.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@true.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/test-files/solid/createRootRoute-inline-component.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/test-files/solid/destructuring.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/test-files/solid/explicit-undefined-component.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/test-files/solid/function-declaration.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/test-files/solid/multi-component.tsx
create mode 100644 packages/router-plugin/tests/add-hmr/test-files/solid/string-literal-keys.tsx
diff --git a/.changeset/solid-router-plugin-hmr.md b/.changeset/solid-router-plugin-hmr.md
new file mode 100644
index 0000000000..d3a1092106
--- /dev/null
+++ b/.changeset/solid-router-plugin-hmr.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/router-plugin': patch
+---
+
+fix(solid-router): enable route component HMR for Solid
\ No newline at end of file
diff --git a/packages/router-plugin/src/core/code-splitter/plugins/framework-plugins.ts b/packages/router-plugin/src/core/code-splitter/plugins/framework-plugins.ts
index de8195853a..f827d5e37d 100644
--- a/packages/router-plugin/src/core/code-splitter/plugins/framework-plugins.ts
+++ b/packages/router-plugin/src/core/code-splitter/plugins/framework-plugins.ts
@@ -1,6 +1,6 @@
import { createReactRefreshIgnoredRouteExportsPlugin } from './react-refresh-ignored-route-exports'
-import { createReactRefreshRouteComponentsPlugin } from './react-refresh-route-components'
-import { createReactStableHmrSplitRouteComponentsPlugin } from './react-stable-hmr-split-route-components'
+import { createRefreshRouteComponentsPlugin } from './refresh-route-components'
+import { createStableHmrSplitRouteComponentsPlugin } from './stable-hmr-split-route-components'
import type { ReferenceRouteCompilerPlugin } from '../plugins'
import type { Config, HmrStyle } from '../../config'
@@ -9,19 +9,27 @@ export function getReferenceRouteCompilerPlugins(opts: {
addHmr?: boolean
hmrStyle?: HmrStyle
}): Array | undefined {
+ if (!opts.addHmr) {
+ return undefined
+ }
+
+ const hmrStyle = opts.hmrStyle ?? 'vite'
+
switch (opts.targetFramework) {
case 'react': {
- if (opts.addHmr) {
- const hmrStyle = opts.hmrStyle ?? 'vite'
- return [
- ...(hmrStyle === 'vite'
- ? [createReactRefreshIgnoredRouteExportsPlugin()]
- : []),
- createReactRefreshRouteComponentsPlugin(),
- createReactStableHmrSplitRouteComponentsPlugin({ hmrStyle }),
- ]
- }
- return undefined
+ return [
+ ...(hmrStyle === 'vite'
+ ? [createReactRefreshIgnoredRouteExportsPlugin()]
+ : []),
+ createRefreshRouteComponentsPlugin(),
+ createStableHmrSplitRouteComponentsPlugin({ hmrStyle }),
+ ]
+ }
+ case 'solid': {
+ return [
+ createRefreshRouteComponentsPlugin(),
+ createStableHmrSplitRouteComponentsPlugin({ hmrStyle }),
+ ]
}
default:
return undefined
diff --git a/packages/router-plugin/src/core/code-splitter/plugins/react-refresh-route-components.ts b/packages/router-plugin/src/core/code-splitter/plugins/refresh-route-components.ts
similarity index 85%
rename from packages/router-plugin/src/core/code-splitter/plugins/react-refresh-route-components.ts
rename to packages/router-plugin/src/core/code-splitter/plugins/refresh-route-components.ts
index f7c4bca338..96760b671a 100644
--- a/packages/router-plugin/src/core/code-splitter/plugins/react-refresh-route-components.ts
+++ b/packages/router-plugin/src/core/code-splitter/plugins/refresh-route-components.ts
@@ -5,7 +5,7 @@ import {
} from '../../utils'
import type { ReferenceRouteCompilerPlugin } from '../plugins'
-const REACT_REFRESH_ROUTE_COMPONENT_IDENTS = new Set([
+const ROUTE_COMPONENT_OPTION_KEYS = new Set([
'component',
'shellComponent',
'pendingComponent',
@@ -27,7 +27,7 @@ function hoistInlineRouteComponents(ctx: {
const key = getObjectPropertyKeyName(prop)
- if (!key || !REACT_REFRESH_ROUTE_COMPONENT_IDENTS.has(key)) {
+ if (!key || !ROUTE_COMPONENT_OPTION_KEYS.has(key)) {
return
}
@@ -60,11 +60,11 @@ function hoistInlineRouteComponents(ctx: {
return true
}
-export function createReactRefreshRouteComponentsPlugin(): ReferenceRouteCompilerPlugin {
+export function createRefreshRouteComponentsPlugin(): ReferenceRouteCompilerPlugin {
return {
- name: 'react-refresh-route-components',
+ name: 'refresh-route-components',
getStableRouteOptionKeys() {
- return [...REACT_REFRESH_ROUTE_COMPONENT_IDENTS]
+ return [...ROUTE_COMPONENT_OPTION_KEYS]
},
onUnsplittableRoute(ctx) {
if (!ctx.opts.addHmr) {
diff --git a/packages/router-plugin/src/core/code-splitter/plugins/react-stable-hmr-split-route-components.ts b/packages/router-plugin/src/core/code-splitter/plugins/stable-hmr-split-route-components.ts
similarity index 94%
rename from packages/router-plugin/src/core/code-splitter/plugins/react-stable-hmr-split-route-components.ts
rename to packages/router-plugin/src/core/code-splitter/plugins/stable-hmr-split-route-components.ts
index 99448f452a..b4df8001b2 100644
--- a/packages/router-plugin/src/core/code-splitter/plugins/react-stable-hmr-split-route-components.ts
+++ b/packages/router-plugin/src/core/code-splitter/plugins/stable-hmr-split-route-components.ts
@@ -34,11 +34,11 @@ function hotExpressionAstFor(hmrStyle: HmrStyle): t.Expression {
)
}
-export function createReactStableHmrSplitRouteComponentsPlugin(opts: {
+export function createStableHmrSplitRouteComponentsPlugin(opts: {
hmrStyle: HmrStyle
}): ReferenceRouteCompilerPlugin {
return {
- name: 'react-stable-hmr-split-route-components',
+ name: 'stable-hmr-split-route-components',
onSplitRouteProperty(ctx) {
if (ctx.splitNodeMeta.splitStrategy !== 'lazyRouteComponent') {
return
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/arrow-function@true.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/arrow-function@true.tsx
index ff5afe1806..0ddc839bdc 100644
--- a/packages/router-plugin/tests/add-hmr/snapshots/solid/arrow-function@true.tsx
+++ b/packages/router-plugin/tests/add-hmr/snapshots/solid/arrow-function@true.tsx
@@ -2,9 +2,17 @@ const $$splitComponentImporter = () => import('arrow-function.tsx?tsr-split=comp
import { lazyRouteComponent } from '@tanstack/solid-router';
import { createFileRoute } from '@tanstack/solid-router';
import { fetchPosts } from '../posts';
+const TSRSplitComponent = (() => {
+ const hot = import.meta.hot;
+ const hotData = hot ? hot.data ??= {} : undefined;
+ return hotData?.["tsr-split-component:component"] ?? lazyRouteComponent($$splitComponentImporter, "component");
+})();
+if (import.meta.hot) {
+ (import.meta.hot.data ??= {})["tsr-split-component:component"] = TSRSplitComponent;
+}
export const Route = createFileRoute('/posts')({
loader: fetchPosts,
- component: lazyRouteComponent($$splitComponentImporter, 'component')
+ component: TSRSplitComponent
});
if (import.meta.hot) {
const hot = import.meta.hot;
@@ -32,7 +40,7 @@ if (import.meta.hot) {
const oldHasShellComponent = "shellComponent" in oldRoute.options;
const newHasShellComponent = "shellComponent" in newRoute.options;
const preserveComponentIdentity = oldHasShellComponent === newHasShellComponent;
- const componentKeys = [];
+ const componentKeys = ["component", "shellComponent", "pendingComponent", "errorComponent", "notFoundComponent"];
if (preserveComponentIdentity) {
componentKeys.forEach(key => {
if (key in oldRoute.options && key in newRoute.options) {
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@false.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@false.tsx
new file mode 100644
index 0000000000..9e9b2120f3
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@false.tsx
@@ -0,0 +1,5 @@
+import { createRootRoute } from '@tanstack/solid-router'
+
+export const Route = createRootRoute({
+ component: () => root hmr
,
+})
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@true.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@true.tsx
new file mode 100644
index 0000000000..f8a4ba61be
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@true.tsx
@@ -0,0 +1,141 @@
+import { createRootRoute } from '@tanstack/solid-router';
+const TSRComponent = () => root hmr
;
+export const Route = createRootRoute({
+ component: TSRComponent
+});
+if (import.meta.hot) {
+ const hot = import.meta.hot;
+ const hotData = hot.data ??= {};
+ hot.accept(newModule => {
+ if (Route && newModule && newModule.Route) {
+ const routeId = hotData['tsr-route-id'] ?? Route.id;
+ if (routeId) {
+ hotData['tsr-route-id'] = routeId;
+ }
+ (function handleRouteUpdate(routeId, newRoute) {
+ const router = window.__TSR_ROUTER__;
+ const oldRoute = router.routesById[routeId];
+ if (!oldRoute) {
+ return;
+ }
+ ;
+ const removedKeys = new Set();
+ Object.keys(oldRoute.options).forEach(key => {
+ if (!(key in newRoute.options)) {
+ removedKeys.add(key);
+ delete oldRoute.options[key];
+ }
+ });
+ const oldHasShellComponent = "shellComponent" in oldRoute.options;
+ const newHasShellComponent = "shellComponent" in newRoute.options;
+ const preserveComponentIdentity = oldHasShellComponent === newHasShellComponent;
+ const componentKeys = ["component", "shellComponent", "pendingComponent", "errorComponent", "notFoundComponent"];
+ if (preserveComponentIdentity) {
+ componentKeys.forEach(key => {
+ if (key in oldRoute.options && key in newRoute.options) {
+ newRoute.options[key] = oldRoute.options[key];
+ }
+ });
+ }
+ ;
+ oldRoute.options = newRoute.options;
+ oldRoute.update(newRoute.options);
+ oldRoute._componentsPromise = undefined;
+ oldRoute._lazyPromise = undefined;
+ router.routesById[oldRoute.id] = oldRoute;
+ router.routesByPath[oldRoute.fullPath] = oldRoute;
+ router.processedTree.matchCache.clear();
+ router.processedTree.flatCache?.clear();
+ router.processedTree.singleCache.clear();
+ router.resolvePathCache.clear();
+ walkReplaceSegmentTree(oldRoute, router.processedTree.segmentTree);
+ const filter = m => m.routeId === oldRoute.id;
+ const activeMatch = router.stores.matches.get().find(filter);
+ const pendingMatch = router.stores.pendingMatches.get().find(filter);
+ const cachedMatches = router.stores.cachedMatches.get().filter(filter);
+ if (activeMatch || pendingMatch || cachedMatches.length > 0) {
+ if (removedKeys.has("loader") || removedKeys.has("beforeLoad")) {
+ const matchIds = [activeMatch?.id, pendingMatch?.id, ...cachedMatches.map(match => match.id)].filter(Boolean);
+ router.batch(() => {
+ for (const matchId of matchIds) {
+ const store = router.stores.pendingMatchStores.get(matchId) || router.stores.matchStores.get(matchId) || router.stores.cachedMatchStores.get(matchId);
+ if (store) {
+ store.set(prev => {
+ const next = {
+ ...prev
+ };
+ if (removedKeys.has("loader")) {
+ next.loaderData = undefined;
+ }
+ ;
+ if (removedKeys.has("beforeLoad")) {
+ next.__beforeLoadContext = undefined;
+ next.context = rebuildMatchContextWithoutBeforeLoad(next);
+ }
+ ;
+ return next;
+ });
+ }
+ }
+ });
+ }
+ ;
+ router.invalidate({
+ filter,
+ sync: true
+ });
+ }
+ ;
+ function walkReplaceSegmentTree(route, node) {
+ if (node.route?.id === route.id) node.route = route;
+ if (node.index) walkReplaceSegmentTree(route, node.index);
+ node.static?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.staticInsensitive?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.dynamic?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.optional?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.wildcard?.forEach(child => walkReplaceSegmentTree(route, child));
+ }
+ function getStoreMatch(matchId) {
+ return router.stores.pendingMatchStores.get(matchId)?.get() || router.stores.matchStores.get(matchId)?.get() || router.stores.cachedMatchStores.get(matchId)?.get();
+ }
+ function getMatchList(matchId) {
+ const pendingMatches = router.stores.pendingMatches.get();
+ if (pendingMatches.some(match => match.id === matchId)) {
+ return pendingMatches;
+ }
+ ;
+ const activeMatches = router.stores.matches.get();
+ if (activeMatches.some(match => match.id === matchId)) {
+ return activeMatches;
+ }
+ ;
+ const cachedMatches = router.stores.cachedMatches.get();
+ if (cachedMatches.some(match => match.id === matchId)) {
+ return cachedMatches;
+ }
+ ;
+ return [];
+ }
+ function getParentMatch(match) {
+ const matchList = getMatchList(match.id);
+ const matchIndex = matchList.findIndex(item => item.id === match.id);
+ if (matchIndex <= 0) {
+ return undefined;
+ }
+ ;
+ const parentMatch = matchList[matchIndex - 1];
+ return getStoreMatch(parentMatch.id) || parentMatch;
+ }
+ function rebuildMatchContextWithoutBeforeLoad(match) {
+ const parentMatch = getParentMatch(match);
+ const getParentContext = router.getParentContext;
+ const parentContext = getParentContext ? getParentContext.call(router, parentMatch) : parentMatch?.context ?? router.options.context;
+ return {
+ ...(parentContext ?? {}),
+ ...(match.__routeContext ?? {})
+ };
+ }
+ })(routeId, newModule.Route);
+ }
+ });
+}
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@false.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@false.tsx
new file mode 100644
index 0000000000..d80f17484f
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@false.tsx
@@ -0,0 +1,11 @@
+import thing from 'thing'
+
+export function test() {
+ const {
+ foo: {
+ bar: { destructured },
+ },
+ } = thing
+
+ return destructured
+}
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@true.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@true.tsx
new file mode 100644
index 0000000000..d80f17484f
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@true.tsx
@@ -0,0 +1,11 @@
+import thing from 'thing'
+
+export function test() {
+ const {
+ foo: {
+ bar: { destructured },
+ },
+ } = thing
+
+ return destructured
+}
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@false.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@false.tsx
new file mode 100644
index 0000000000..beaf8ba472
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@false.tsx
@@ -0,0 +1,5 @@
+import { createFileRoute } from '@tanstack/solid-router'
+
+export const Route = createFileRoute('/')({
+ component: undefined,
+})
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@true.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@true.tsx
new file mode 100644
index 0000000000..0c1675e518
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@true.tsx
@@ -0,0 +1,140 @@
+import { createFileRoute } from '@tanstack/solid-router';
+export const Route = createFileRoute('/')({
+ component: undefined
+});
+if (import.meta.hot) {
+ const hot = import.meta.hot;
+ const hotData = hot.data ??= {};
+ hot.accept(newModule => {
+ if (Route && newModule && newModule.Route) {
+ const routeId = hotData['tsr-route-id'] ?? Route.id;
+ if (routeId) {
+ hotData['tsr-route-id'] = routeId;
+ }
+ (function handleRouteUpdate(routeId, newRoute) {
+ const router = window.__TSR_ROUTER__;
+ const oldRoute = router.routesById[routeId];
+ if (!oldRoute) {
+ return;
+ }
+ ;
+ const removedKeys = new Set();
+ Object.keys(oldRoute.options).forEach(key => {
+ if (!(key in newRoute.options)) {
+ removedKeys.add(key);
+ delete oldRoute.options[key];
+ }
+ });
+ const oldHasShellComponent = "shellComponent" in oldRoute.options;
+ const newHasShellComponent = "shellComponent" in newRoute.options;
+ const preserveComponentIdentity = oldHasShellComponent === newHasShellComponent;
+ const componentKeys = ["component", "shellComponent", "pendingComponent", "errorComponent", "notFoundComponent"];
+ if (preserveComponentIdentity) {
+ componentKeys.forEach(key => {
+ if (key in oldRoute.options && key in newRoute.options) {
+ newRoute.options[key] = oldRoute.options[key];
+ }
+ });
+ }
+ ;
+ oldRoute.options = newRoute.options;
+ oldRoute.update(newRoute.options);
+ oldRoute._componentsPromise = undefined;
+ oldRoute._lazyPromise = undefined;
+ router.routesById[oldRoute.id] = oldRoute;
+ router.routesByPath[oldRoute.fullPath] = oldRoute;
+ router.processedTree.matchCache.clear();
+ router.processedTree.flatCache?.clear();
+ router.processedTree.singleCache.clear();
+ router.resolvePathCache.clear();
+ walkReplaceSegmentTree(oldRoute, router.processedTree.segmentTree);
+ const filter = m => m.routeId === oldRoute.id;
+ const activeMatch = router.stores.matches.get().find(filter);
+ const pendingMatch = router.stores.pendingMatches.get().find(filter);
+ const cachedMatches = router.stores.cachedMatches.get().filter(filter);
+ if (activeMatch || pendingMatch || cachedMatches.length > 0) {
+ if (removedKeys.has("loader") || removedKeys.has("beforeLoad")) {
+ const matchIds = [activeMatch?.id, pendingMatch?.id, ...cachedMatches.map(match => match.id)].filter(Boolean);
+ router.batch(() => {
+ for (const matchId of matchIds) {
+ const store = router.stores.pendingMatchStores.get(matchId) || router.stores.matchStores.get(matchId) || router.stores.cachedMatchStores.get(matchId);
+ if (store) {
+ store.set(prev => {
+ const next = {
+ ...prev
+ };
+ if (removedKeys.has("loader")) {
+ next.loaderData = undefined;
+ }
+ ;
+ if (removedKeys.has("beforeLoad")) {
+ next.__beforeLoadContext = undefined;
+ next.context = rebuildMatchContextWithoutBeforeLoad(next);
+ }
+ ;
+ return next;
+ });
+ }
+ }
+ });
+ }
+ ;
+ router.invalidate({
+ filter,
+ sync: true
+ });
+ }
+ ;
+ function walkReplaceSegmentTree(route, node) {
+ if (node.route?.id === route.id) node.route = route;
+ if (node.index) walkReplaceSegmentTree(route, node.index);
+ node.static?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.staticInsensitive?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.dynamic?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.optional?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.wildcard?.forEach(child => walkReplaceSegmentTree(route, child));
+ }
+ function getStoreMatch(matchId) {
+ return router.stores.pendingMatchStores.get(matchId)?.get() || router.stores.matchStores.get(matchId)?.get() || router.stores.cachedMatchStores.get(matchId)?.get();
+ }
+ function getMatchList(matchId) {
+ const pendingMatches = router.stores.pendingMatches.get();
+ if (pendingMatches.some(match => match.id === matchId)) {
+ return pendingMatches;
+ }
+ ;
+ const activeMatches = router.stores.matches.get();
+ if (activeMatches.some(match => match.id === matchId)) {
+ return activeMatches;
+ }
+ ;
+ const cachedMatches = router.stores.cachedMatches.get();
+ if (cachedMatches.some(match => match.id === matchId)) {
+ return cachedMatches;
+ }
+ ;
+ return [];
+ }
+ function getParentMatch(match) {
+ const matchList = getMatchList(match.id);
+ const matchIndex = matchList.findIndex(item => item.id === match.id);
+ if (matchIndex <= 0) {
+ return undefined;
+ }
+ ;
+ const parentMatch = matchList[matchIndex - 1];
+ return getStoreMatch(parentMatch.id) || parentMatch;
+ }
+ function rebuildMatchContextWithoutBeforeLoad(match) {
+ const parentMatch = getParentMatch(match);
+ const getParentContext = router.getParentContext;
+ const parentContext = getParentContext ? getParentContext.call(router, parentMatch) : parentMatch?.context ?? router.options.context;
+ return {
+ ...(parentContext ?? {}),
+ ...(match.__routeContext ?? {})
+ };
+ }
+ })(routeId, newModule.Route);
+ }
+ });
+}
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@false.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@false.tsx
new file mode 100644
index 0000000000..559e624cea
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@false.tsx
@@ -0,0 +1,8 @@
+const $$splitComponentImporter = () => import('function-declaration.tsx?tsr-split=component');
+import { lazyRouteComponent } from '@tanstack/solid-router';
+import { createFileRoute } from '@tanstack/solid-router';
+import { fetchPosts } from '../posts';
+export const Route = createFileRoute('/posts')({
+ loader: fetchPosts,
+ component: lazyRouteComponent($$splitComponentImporter, 'component')
+});
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@true.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@true.tsx
new file mode 100644
index 0000000000..62f05ee5ab
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@true.tsx
@@ -0,0 +1,152 @@
+const $$splitComponentImporter = () => import('function-declaration.tsx?tsr-split=component');
+import { lazyRouteComponent } from '@tanstack/solid-router';
+import { createFileRoute } from '@tanstack/solid-router';
+import { fetchPosts } from '../posts';
+const TSRSplitComponent = (() => {
+ const hot = import.meta.hot;
+ const hotData = hot ? hot.data ??= {} : undefined;
+ return hotData?.["tsr-split-component:component"] ?? lazyRouteComponent($$splitComponentImporter, "component");
+})();
+if (import.meta.hot) {
+ (import.meta.hot.data ??= {})["tsr-split-component:component"] = TSRSplitComponent;
+}
+export const Route = createFileRoute('/posts')({
+ loader: fetchPosts,
+ component: TSRSplitComponent
+});
+if (import.meta.hot) {
+ const hot = import.meta.hot;
+ const hotData = hot.data ??= {};
+ hot.accept(newModule => {
+ if (Route && newModule && newModule.Route) {
+ const routeId = hotData['tsr-route-id'] ?? Route.id;
+ if (routeId) {
+ hotData['tsr-route-id'] = routeId;
+ }
+ (function handleRouteUpdate(routeId, newRoute) {
+ const router = window.__TSR_ROUTER__;
+ const oldRoute = router.routesById[routeId];
+ if (!oldRoute) {
+ return;
+ }
+ ;
+ const removedKeys = new Set();
+ Object.keys(oldRoute.options).forEach(key => {
+ if (!(key in newRoute.options)) {
+ removedKeys.add(key);
+ delete oldRoute.options[key];
+ }
+ });
+ const oldHasShellComponent = "shellComponent" in oldRoute.options;
+ const newHasShellComponent = "shellComponent" in newRoute.options;
+ const preserveComponentIdentity = oldHasShellComponent === newHasShellComponent;
+ const componentKeys = ["component", "shellComponent", "pendingComponent", "errorComponent", "notFoundComponent"];
+ if (preserveComponentIdentity) {
+ componentKeys.forEach(key => {
+ if (key in oldRoute.options && key in newRoute.options) {
+ newRoute.options[key] = oldRoute.options[key];
+ }
+ });
+ }
+ ;
+ oldRoute.options = newRoute.options;
+ oldRoute.update(newRoute.options);
+ oldRoute._componentsPromise = undefined;
+ oldRoute._lazyPromise = undefined;
+ router.routesById[oldRoute.id] = oldRoute;
+ router.routesByPath[oldRoute.fullPath] = oldRoute;
+ router.processedTree.matchCache.clear();
+ router.processedTree.flatCache?.clear();
+ router.processedTree.singleCache.clear();
+ router.resolvePathCache.clear();
+ walkReplaceSegmentTree(oldRoute, router.processedTree.segmentTree);
+ const filter = m => m.routeId === oldRoute.id;
+ const activeMatch = router.stores.matches.get().find(filter);
+ const pendingMatch = router.stores.pendingMatches.get().find(filter);
+ const cachedMatches = router.stores.cachedMatches.get().filter(filter);
+ if (activeMatch || pendingMatch || cachedMatches.length > 0) {
+ if (removedKeys.has("loader") || removedKeys.has("beforeLoad")) {
+ const matchIds = [activeMatch?.id, pendingMatch?.id, ...cachedMatches.map(match => match.id)].filter(Boolean);
+ router.batch(() => {
+ for (const matchId of matchIds) {
+ const store = router.stores.pendingMatchStores.get(matchId) || router.stores.matchStores.get(matchId) || router.stores.cachedMatchStores.get(matchId);
+ if (store) {
+ store.set(prev => {
+ const next = {
+ ...prev
+ };
+ if (removedKeys.has("loader")) {
+ next.loaderData = undefined;
+ }
+ ;
+ if (removedKeys.has("beforeLoad")) {
+ next.__beforeLoadContext = undefined;
+ next.context = rebuildMatchContextWithoutBeforeLoad(next);
+ }
+ ;
+ return next;
+ });
+ }
+ }
+ });
+ }
+ ;
+ router.invalidate({
+ filter,
+ sync: true
+ });
+ }
+ ;
+ function walkReplaceSegmentTree(route, node) {
+ if (node.route?.id === route.id) node.route = route;
+ if (node.index) walkReplaceSegmentTree(route, node.index);
+ node.static?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.staticInsensitive?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.dynamic?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.optional?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.wildcard?.forEach(child => walkReplaceSegmentTree(route, child));
+ }
+ function getStoreMatch(matchId) {
+ return router.stores.pendingMatchStores.get(matchId)?.get() || router.stores.matchStores.get(matchId)?.get() || router.stores.cachedMatchStores.get(matchId)?.get();
+ }
+ function getMatchList(matchId) {
+ const pendingMatches = router.stores.pendingMatches.get();
+ if (pendingMatches.some(match => match.id === matchId)) {
+ return pendingMatches;
+ }
+ ;
+ const activeMatches = router.stores.matches.get();
+ if (activeMatches.some(match => match.id === matchId)) {
+ return activeMatches;
+ }
+ ;
+ const cachedMatches = router.stores.cachedMatches.get();
+ if (cachedMatches.some(match => match.id === matchId)) {
+ return cachedMatches;
+ }
+ ;
+ return [];
+ }
+ function getParentMatch(match) {
+ const matchList = getMatchList(match.id);
+ const matchIndex = matchList.findIndex(item => item.id === match.id);
+ if (matchIndex <= 0) {
+ return undefined;
+ }
+ ;
+ const parentMatch = matchList[matchIndex - 1];
+ return getStoreMatch(parentMatch.id) || parentMatch;
+ }
+ function rebuildMatchContextWithoutBeforeLoad(match) {
+ const parentMatch = getParentMatch(match);
+ const getParentContext = router.getParentContext;
+ const parentContext = getParentContext ? getParentContext.call(router, parentMatch) : parentMatch?.context ?? router.options.context;
+ return {
+ ...(parentContext ?? {}),
+ ...(match.__routeContext ?? {})
+ };
+ }
+ })(routeId, newModule.Route);
+ }
+ });
+}
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@false.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@false.tsx
new file mode 100644
index 0000000000..eb8987c2d5
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@false.tsx
@@ -0,0 +1,10 @@
+const $$splitErrorComponentImporter = () => import('multi-component.tsx?tsr-split=errorComponent');
+const $$splitComponentImporter = () => import('multi-component.tsx?tsr-split=component');
+import { lazyRouteComponent } from '@tanstack/solid-router';
+import { createFileRoute } from '@tanstack/solid-router';
+import { fetchPosts } from '../posts';
+export const Route = createFileRoute('/posts')({
+ loader: fetchPosts,
+ component: lazyRouteComponent($$splitComponentImporter, 'component'),
+ errorComponent: lazyRouteComponent($$splitErrorComponentImporter, 'errorComponent')
+});
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@true.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@true.tsx
new file mode 100644
index 0000000000..4250e7471c
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@true.tsx
@@ -0,0 +1,162 @@
+const $$splitErrorComponentImporter = () => import('multi-component.tsx?tsr-split=errorComponent');
+const $$splitComponentImporter = () => import('multi-component.tsx?tsr-split=component');
+import { lazyRouteComponent } from '@tanstack/solid-router';
+import { createFileRoute } from '@tanstack/solid-router';
+import { fetchPosts } from '../posts';
+const TSRSplitComponent = (() => {
+ const hot = import.meta.hot;
+ const hotData = hot ? hot.data ??= {} : undefined;
+ return hotData?.["tsr-split-component:component"] ?? lazyRouteComponent($$splitComponentImporter, "component");
+})();
+if (import.meta.hot) {
+ (import.meta.hot.data ??= {})["tsr-split-component:component"] = TSRSplitComponent;
+}
+const TSRSplitErrorComponent = (() => {
+ const hot = import.meta.hot;
+ const hotData = hot ? hot.data ??= {} : undefined;
+ return hotData?.["tsr-split-component:errorComponent"] ?? lazyRouteComponent($$splitErrorComponentImporter, "errorComponent");
+})();
+if (import.meta.hot) {
+ (import.meta.hot.data ??= {})["tsr-split-component:errorComponent"] = TSRSplitErrorComponent;
+}
+export const Route = createFileRoute('/posts')({
+ loader: fetchPosts,
+ component: TSRSplitComponent,
+ errorComponent: TSRSplitErrorComponent
+});
+if (import.meta.hot) {
+ const hot = import.meta.hot;
+ const hotData = hot.data ??= {};
+ hot.accept(newModule => {
+ if (Route && newModule && newModule.Route) {
+ const routeId = hotData['tsr-route-id'] ?? Route.id;
+ if (routeId) {
+ hotData['tsr-route-id'] = routeId;
+ }
+ (function handleRouteUpdate(routeId, newRoute) {
+ const router = window.__TSR_ROUTER__;
+ const oldRoute = router.routesById[routeId];
+ if (!oldRoute) {
+ return;
+ }
+ ;
+ const removedKeys = new Set();
+ Object.keys(oldRoute.options).forEach(key => {
+ if (!(key in newRoute.options)) {
+ removedKeys.add(key);
+ delete oldRoute.options[key];
+ }
+ });
+ const oldHasShellComponent = "shellComponent" in oldRoute.options;
+ const newHasShellComponent = "shellComponent" in newRoute.options;
+ const preserveComponentIdentity = oldHasShellComponent === newHasShellComponent;
+ const componentKeys = ["component", "shellComponent", "pendingComponent", "errorComponent", "notFoundComponent"];
+ if (preserveComponentIdentity) {
+ componentKeys.forEach(key => {
+ if (key in oldRoute.options && key in newRoute.options) {
+ newRoute.options[key] = oldRoute.options[key];
+ }
+ });
+ }
+ ;
+ oldRoute.options = newRoute.options;
+ oldRoute.update(newRoute.options);
+ oldRoute._componentsPromise = undefined;
+ oldRoute._lazyPromise = undefined;
+ router.routesById[oldRoute.id] = oldRoute;
+ router.routesByPath[oldRoute.fullPath] = oldRoute;
+ router.processedTree.matchCache.clear();
+ router.processedTree.flatCache?.clear();
+ router.processedTree.singleCache.clear();
+ router.resolvePathCache.clear();
+ walkReplaceSegmentTree(oldRoute, router.processedTree.segmentTree);
+ const filter = m => m.routeId === oldRoute.id;
+ const activeMatch = router.stores.matches.get().find(filter);
+ const pendingMatch = router.stores.pendingMatches.get().find(filter);
+ const cachedMatches = router.stores.cachedMatches.get().filter(filter);
+ if (activeMatch || pendingMatch || cachedMatches.length > 0) {
+ if (removedKeys.has("loader") || removedKeys.has("beforeLoad")) {
+ const matchIds = [activeMatch?.id, pendingMatch?.id, ...cachedMatches.map(match => match.id)].filter(Boolean);
+ router.batch(() => {
+ for (const matchId of matchIds) {
+ const store = router.stores.pendingMatchStores.get(matchId) || router.stores.matchStores.get(matchId) || router.stores.cachedMatchStores.get(matchId);
+ if (store) {
+ store.set(prev => {
+ const next = {
+ ...prev
+ };
+ if (removedKeys.has("loader")) {
+ next.loaderData = undefined;
+ }
+ ;
+ if (removedKeys.has("beforeLoad")) {
+ next.__beforeLoadContext = undefined;
+ next.context = rebuildMatchContextWithoutBeforeLoad(next);
+ }
+ ;
+ return next;
+ });
+ }
+ }
+ });
+ }
+ ;
+ router.invalidate({
+ filter,
+ sync: true
+ });
+ }
+ ;
+ function walkReplaceSegmentTree(route, node) {
+ if (node.route?.id === route.id) node.route = route;
+ if (node.index) walkReplaceSegmentTree(route, node.index);
+ node.static?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.staticInsensitive?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.dynamic?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.optional?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.wildcard?.forEach(child => walkReplaceSegmentTree(route, child));
+ }
+ function getStoreMatch(matchId) {
+ return router.stores.pendingMatchStores.get(matchId)?.get() || router.stores.matchStores.get(matchId)?.get() || router.stores.cachedMatchStores.get(matchId)?.get();
+ }
+ function getMatchList(matchId) {
+ const pendingMatches = router.stores.pendingMatches.get();
+ if (pendingMatches.some(match => match.id === matchId)) {
+ return pendingMatches;
+ }
+ ;
+ const activeMatches = router.stores.matches.get();
+ if (activeMatches.some(match => match.id === matchId)) {
+ return activeMatches;
+ }
+ ;
+ const cachedMatches = router.stores.cachedMatches.get();
+ if (cachedMatches.some(match => match.id === matchId)) {
+ return cachedMatches;
+ }
+ ;
+ return [];
+ }
+ function getParentMatch(match) {
+ const matchList = getMatchList(match.id);
+ const matchIndex = matchList.findIndex(item => item.id === match.id);
+ if (matchIndex <= 0) {
+ return undefined;
+ }
+ ;
+ const parentMatch = matchList[matchIndex - 1];
+ return getStoreMatch(parentMatch.id) || parentMatch;
+ }
+ function rebuildMatchContextWithoutBeforeLoad(match) {
+ const parentMatch = getParentMatch(match);
+ const getParentContext = router.getParentContext;
+ const parentContext = getParentContext ? getParentContext.call(router, parentMatch) : parentMatch?.context ?? router.options.context;
+ return {
+ ...(parentContext ?? {}),
+ ...(match.__routeContext ?? {})
+ };
+ }
+ })(routeId, newModule.Route);
+ }
+ });
+}
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@false.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@false.tsx
new file mode 100644
index 0000000000..3cdec81671
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@false.tsx
@@ -0,0 +1,10 @@
+const $$splitErrorComponentImporter = () => import('string-literal-keys.tsx?tsr-split=errorComponent');
+const $$splitComponentImporter = () => import('string-literal-keys.tsx?tsr-split=component');
+import { lazyRouteComponent } from '@tanstack/solid-router';
+import { createFileRoute } from '@tanstack/solid-router';
+import { fetchPosts } from '../posts';
+export const Route = createFileRoute('/posts')({
+ loader: fetchPosts,
+ 'component': lazyRouteComponent($$splitComponentImporter, 'component'),
+ 'errorComponent': lazyRouteComponent($$splitErrorComponentImporter, 'errorComponent')
+});
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@true.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@true.tsx
new file mode 100644
index 0000000000..74f6d631d0
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@true.tsx
@@ -0,0 +1,162 @@
+const $$splitErrorComponentImporter = () => import('string-literal-keys.tsx?tsr-split=errorComponent');
+const $$splitComponentImporter = () => import('string-literal-keys.tsx?tsr-split=component');
+import { lazyRouteComponent } from '@tanstack/solid-router';
+import { createFileRoute } from '@tanstack/solid-router';
+import { fetchPosts } from '../posts';
+const TSRSplitComponent = (() => {
+ const hot = import.meta.hot;
+ const hotData = hot ? hot.data ??= {} : undefined;
+ return hotData?.["tsr-split-component:component"] ?? lazyRouteComponent($$splitComponentImporter, "component");
+})();
+if (import.meta.hot) {
+ (import.meta.hot.data ??= {})["tsr-split-component:component"] = TSRSplitComponent;
+}
+const TSRSplitErrorComponent = (() => {
+ const hot = import.meta.hot;
+ const hotData = hot ? hot.data ??= {} : undefined;
+ return hotData?.["tsr-split-component:errorComponent"] ?? lazyRouteComponent($$splitErrorComponentImporter, "errorComponent");
+})();
+if (import.meta.hot) {
+ (import.meta.hot.data ??= {})["tsr-split-component:errorComponent"] = TSRSplitErrorComponent;
+}
+export const Route = createFileRoute('/posts')({
+ loader: fetchPosts,
+ 'component': TSRSplitComponent,
+ 'errorComponent': TSRSplitErrorComponent
+});
+if (import.meta.hot) {
+ const hot = import.meta.hot;
+ const hotData = hot.data ??= {};
+ hot.accept(newModule => {
+ if (Route && newModule && newModule.Route) {
+ const routeId = hotData['tsr-route-id'] ?? Route.id;
+ if (routeId) {
+ hotData['tsr-route-id'] = routeId;
+ }
+ (function handleRouteUpdate(routeId, newRoute) {
+ const router = window.__TSR_ROUTER__;
+ const oldRoute = router.routesById[routeId];
+ if (!oldRoute) {
+ return;
+ }
+ ;
+ const removedKeys = new Set();
+ Object.keys(oldRoute.options).forEach(key => {
+ if (!(key in newRoute.options)) {
+ removedKeys.add(key);
+ delete oldRoute.options[key];
+ }
+ });
+ const oldHasShellComponent = "shellComponent" in oldRoute.options;
+ const newHasShellComponent = "shellComponent" in newRoute.options;
+ const preserveComponentIdentity = oldHasShellComponent === newHasShellComponent;
+ const componentKeys = ["component", "shellComponent", "pendingComponent", "errorComponent", "notFoundComponent"];
+ if (preserveComponentIdentity) {
+ componentKeys.forEach(key => {
+ if (key in oldRoute.options && key in newRoute.options) {
+ newRoute.options[key] = oldRoute.options[key];
+ }
+ });
+ }
+ ;
+ oldRoute.options = newRoute.options;
+ oldRoute.update(newRoute.options);
+ oldRoute._componentsPromise = undefined;
+ oldRoute._lazyPromise = undefined;
+ router.routesById[oldRoute.id] = oldRoute;
+ router.routesByPath[oldRoute.fullPath] = oldRoute;
+ router.processedTree.matchCache.clear();
+ router.processedTree.flatCache?.clear();
+ router.processedTree.singleCache.clear();
+ router.resolvePathCache.clear();
+ walkReplaceSegmentTree(oldRoute, router.processedTree.segmentTree);
+ const filter = m => m.routeId === oldRoute.id;
+ const activeMatch = router.stores.matches.get().find(filter);
+ const pendingMatch = router.stores.pendingMatches.get().find(filter);
+ const cachedMatches = router.stores.cachedMatches.get().filter(filter);
+ if (activeMatch || pendingMatch || cachedMatches.length > 0) {
+ if (removedKeys.has("loader") || removedKeys.has("beforeLoad")) {
+ const matchIds = [activeMatch?.id, pendingMatch?.id, ...cachedMatches.map(match => match.id)].filter(Boolean);
+ router.batch(() => {
+ for (const matchId of matchIds) {
+ const store = router.stores.pendingMatchStores.get(matchId) || router.stores.matchStores.get(matchId) || router.stores.cachedMatchStores.get(matchId);
+ if (store) {
+ store.set(prev => {
+ const next = {
+ ...prev
+ };
+ if (removedKeys.has("loader")) {
+ next.loaderData = undefined;
+ }
+ ;
+ if (removedKeys.has("beforeLoad")) {
+ next.__beforeLoadContext = undefined;
+ next.context = rebuildMatchContextWithoutBeforeLoad(next);
+ }
+ ;
+ return next;
+ });
+ }
+ }
+ });
+ }
+ ;
+ router.invalidate({
+ filter,
+ sync: true
+ });
+ }
+ ;
+ function walkReplaceSegmentTree(route, node) {
+ if (node.route?.id === route.id) node.route = route;
+ if (node.index) walkReplaceSegmentTree(route, node.index);
+ node.static?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.staticInsensitive?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.dynamic?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.optional?.forEach(child => walkReplaceSegmentTree(route, child));
+ node.wildcard?.forEach(child => walkReplaceSegmentTree(route, child));
+ }
+ function getStoreMatch(matchId) {
+ return router.stores.pendingMatchStores.get(matchId)?.get() || router.stores.matchStores.get(matchId)?.get() || router.stores.cachedMatchStores.get(matchId)?.get();
+ }
+ function getMatchList(matchId) {
+ const pendingMatches = router.stores.pendingMatches.get();
+ if (pendingMatches.some(match => match.id === matchId)) {
+ return pendingMatches;
+ }
+ ;
+ const activeMatches = router.stores.matches.get();
+ if (activeMatches.some(match => match.id === matchId)) {
+ return activeMatches;
+ }
+ ;
+ const cachedMatches = router.stores.cachedMatches.get();
+ if (cachedMatches.some(match => match.id === matchId)) {
+ return cachedMatches;
+ }
+ ;
+ return [];
+ }
+ function getParentMatch(match) {
+ const matchList = getMatchList(match.id);
+ const matchIndex = matchList.findIndex(item => item.id === match.id);
+ if (matchIndex <= 0) {
+ return undefined;
+ }
+ ;
+ const parentMatch = matchList[matchIndex - 1];
+ return getStoreMatch(parentMatch.id) || parentMatch;
+ }
+ function rebuildMatchContextWithoutBeforeLoad(match) {
+ const parentMatch = getParentMatch(match);
+ const getParentContext = router.getParentContext;
+ const parentContext = getParentContext ? getParentContext.call(router, parentMatch) : parentMatch?.context ?? router.options.context;
+ return {
+ ...(parentContext ?? {}),
+ ...(match.__routeContext ?? {})
+ };
+ }
+ })(routeId, newModule.Route);
+ }
+ });
+}
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/test-files/solid/createRootRoute-inline-component.tsx b/packages/router-plugin/tests/add-hmr/test-files/solid/createRootRoute-inline-component.tsx
new file mode 100644
index 0000000000..9e9b2120f3
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/test-files/solid/createRootRoute-inline-component.tsx
@@ -0,0 +1,5 @@
+import { createRootRoute } from '@tanstack/solid-router'
+
+export const Route = createRootRoute({
+ component: () => root hmr
,
+})
diff --git a/packages/router-plugin/tests/add-hmr/test-files/solid/destructuring.tsx b/packages/router-plugin/tests/add-hmr/test-files/solid/destructuring.tsx
new file mode 100644
index 0000000000..d80f17484f
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/test-files/solid/destructuring.tsx
@@ -0,0 +1,11 @@
+import thing from 'thing'
+
+export function test() {
+ const {
+ foo: {
+ bar: { destructured },
+ },
+ } = thing
+
+ return destructured
+}
diff --git a/packages/router-plugin/tests/add-hmr/test-files/solid/explicit-undefined-component.tsx b/packages/router-plugin/tests/add-hmr/test-files/solid/explicit-undefined-component.tsx
new file mode 100644
index 0000000000..beaf8ba472
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/test-files/solid/explicit-undefined-component.tsx
@@ -0,0 +1,5 @@
+import { createFileRoute } from '@tanstack/solid-router'
+
+export const Route = createFileRoute('/')({
+ component: undefined,
+})
diff --git a/packages/router-plugin/tests/add-hmr/test-files/solid/function-declaration.tsx b/packages/router-plugin/tests/add-hmr/test-files/solid/function-declaration.tsx
new file mode 100644
index 0000000000..f51586fb0c
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/test-files/solid/function-declaration.tsx
@@ -0,0 +1,39 @@
+import * as Solid from 'solid-js'
+import { createFileRoute, Link, Outlet } from '@tanstack/solid-router'
+import { fetchPosts } from '../posts'
+
+export const Route = createFileRoute('/posts')({
+ loader: fetchPosts,
+ component: PostsComponent,
+})
+
+function PostsComponent() {
+ const posts = Route.useLoaderData()
+
+ return (
+
+
+
+ {(post) => {
+ return (
+ -
+
+
{post.title.substring(0, 20)}
+
+
+ )
+ }}
+
+
+
+
+
+ )
+}
diff --git a/packages/router-plugin/tests/add-hmr/test-files/solid/multi-component.tsx b/packages/router-plugin/tests/add-hmr/test-files/solid/multi-component.tsx
new file mode 100644
index 0000000000..15766dc98d
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/test-files/solid/multi-component.tsx
@@ -0,0 +1,18 @@
+import { createFileRoute } from '@tanstack/solid-router'
+import { fetchPosts } from '../posts'
+
+export const Route = createFileRoute('/posts')({
+ loader: fetchPosts,
+ component: PostsComponent,
+ errorComponent: PostsErrorComponent,
+})
+
+function PostsComponent() {
+ const posts = Route.useLoaderData()
+
+ return {posts().length} posts
+}
+
+function PostsErrorComponent() {
+ return Error loading posts
+}
diff --git a/packages/router-plugin/tests/add-hmr/test-files/solid/string-literal-keys.tsx b/packages/router-plugin/tests/add-hmr/test-files/solid/string-literal-keys.tsx
new file mode 100644
index 0000000000..0622a9ca15
--- /dev/null
+++ b/packages/router-plugin/tests/add-hmr/test-files/solid/string-literal-keys.tsx
@@ -0,0 +1,18 @@
+import { createFileRoute } from '@tanstack/solid-router'
+import { fetchPosts } from '../posts'
+
+export const Route = createFileRoute('/posts')({
+ loader: fetchPosts,
+ 'component': PostsComponent,
+ 'errorComponent': PostsErrorComponent,
+})
+
+function PostsComponent() {
+ const posts = Route.useLoaderData()
+
+ return {posts().length} posts
+}
+
+function PostsErrorComponent() {
+ return Error loading posts
+}
From 7122f28bab1352b7cc9db32254a5ee15db1c3cd0 Mon Sep 17 00:00:00 2001
From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com>
Date: Mon, 27 Apr 2026 18:50:03 +0000
Subject: [PATCH 012/551] ci: apply automated fixes
---
.changeset/solid-router-plugin-hmr.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.changeset/solid-router-plugin-hmr.md b/.changeset/solid-router-plugin-hmr.md
index d3a1092106..33f13c0341 100644
--- a/.changeset/solid-router-plugin-hmr.md
+++ b/.changeset/solid-router-plugin-hmr.md
@@ -2,4 +2,4 @@
'@tanstack/router-plugin': patch
---
-fix(solid-router): enable route component HMR for Solid
\ No newline at end of file
+fix(solid-router): enable route component HMR for Solid
From 8eb951bf7a851177064a5402eee43014c148f220 Mon Sep 17 00:00:00 2001
From: Birk Skyum
Date: Mon, 27 Apr 2026 21:18:03 +0200
Subject: [PATCH 013/551] Revert "ci: apply automated fixes"
This reverts commit 7122f28bab1352b7cc9db32254a5ee15db1c3cd0.
---
.changeset/solid-router-plugin-hmr.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.changeset/solid-router-plugin-hmr.md b/.changeset/solid-router-plugin-hmr.md
index 33f13c0341..d3a1092106 100644
--- a/.changeset/solid-router-plugin-hmr.md
+++ b/.changeset/solid-router-plugin-hmr.md
@@ -2,4 +2,4 @@
'@tanstack/router-plugin': patch
---
-fix(solid-router): enable route component HMR for Solid
+fix(solid-router): enable route component HMR for Solid
\ No newline at end of file
From b0024d6310f123736ea18a7f8692b45265cdee74 Mon Sep 17 00:00:00 2001
From: Birk Skyum
Date: Mon, 27 Apr 2026 21:18:08 +0200
Subject: [PATCH 014/551] Revert "fix(solid-router): enable route component HMR
for Solid"
This reverts commit b86b06125364a2ec8207f599fb5a5130f9d16cc7.
---
.changeset/solid-router-plugin-hmr.md | 5 -
.../plugins/framework-plugins.ts | 34 ++--
...s.ts => react-refresh-route-components.ts} | 10 +-
...eact-stable-hmr-split-route-components.ts} | 4 +-
.../snapshots/solid/arrow-function@true.tsx | 12 +-
...createRootRoute-inline-component@false.tsx | 5 -
.../createRootRoute-inline-component@true.tsx | 141 ---------------
.../snapshots/solid/destructuring@false.tsx | 11 --
.../snapshots/solid/destructuring@true.tsx | 11 --
.../explicit-undefined-component@false.tsx | 5 -
.../explicit-undefined-component@true.tsx | 140 ---------------
.../solid/function-declaration@false.tsx | 8 -
.../solid/function-declaration@true.tsx | 152 ----------------
.../snapshots/solid/multi-component@false.tsx | 10 --
.../snapshots/solid/multi-component@true.tsx | 162 ------------------
.../solid/string-literal-keys@false.tsx | 10 --
.../solid/string-literal-keys@true.tsx | 162 ------------------
.../createRootRoute-inline-component.tsx | 5 -
.../test-files/solid/destructuring.tsx | 11 --
.../solid/explicit-undefined-component.tsx | 5 -
.../test-files/solid/function-declaration.tsx | 39 -----
.../test-files/solid/multi-component.tsx | 18 --
.../test-files/solid/string-literal-keys.tsx | 18 --
23 files changed, 22 insertions(+), 956 deletions(-)
delete mode 100644 .changeset/solid-router-plugin-hmr.md
rename packages/router-plugin/src/core/code-splitter/plugins/{refresh-route-components.ts => react-refresh-route-components.ts} (85%)
rename packages/router-plugin/src/core/code-splitter/plugins/{stable-hmr-split-route-components.ts => react-stable-hmr-split-route-components.ts} (94%)
delete mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@false.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@true.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@false.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@true.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@false.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@true.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@false.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@true.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@false.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@true.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@false.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@true.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/test-files/solid/createRootRoute-inline-component.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/test-files/solid/destructuring.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/test-files/solid/explicit-undefined-component.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/test-files/solid/function-declaration.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/test-files/solid/multi-component.tsx
delete mode 100644 packages/router-plugin/tests/add-hmr/test-files/solid/string-literal-keys.tsx
diff --git a/.changeset/solid-router-plugin-hmr.md b/.changeset/solid-router-plugin-hmr.md
deleted file mode 100644
index d3a1092106..0000000000
--- a/.changeset/solid-router-plugin-hmr.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/router-plugin': patch
----
-
-fix(solid-router): enable route component HMR for Solid
\ No newline at end of file
diff --git a/packages/router-plugin/src/core/code-splitter/plugins/framework-plugins.ts b/packages/router-plugin/src/core/code-splitter/plugins/framework-plugins.ts
index f827d5e37d..de8195853a 100644
--- a/packages/router-plugin/src/core/code-splitter/plugins/framework-plugins.ts
+++ b/packages/router-plugin/src/core/code-splitter/plugins/framework-plugins.ts
@@ -1,6 +1,6 @@
import { createReactRefreshIgnoredRouteExportsPlugin } from './react-refresh-ignored-route-exports'
-import { createRefreshRouteComponentsPlugin } from './refresh-route-components'
-import { createStableHmrSplitRouteComponentsPlugin } from './stable-hmr-split-route-components'
+import { createReactRefreshRouteComponentsPlugin } from './react-refresh-route-components'
+import { createReactStableHmrSplitRouteComponentsPlugin } from './react-stable-hmr-split-route-components'
import type { ReferenceRouteCompilerPlugin } from '../plugins'
import type { Config, HmrStyle } from '../../config'
@@ -9,27 +9,19 @@ export function getReferenceRouteCompilerPlugins(opts: {
addHmr?: boolean
hmrStyle?: HmrStyle
}): Array | undefined {
- if (!opts.addHmr) {
- return undefined
- }
-
- const hmrStyle = opts.hmrStyle ?? 'vite'
-
switch (opts.targetFramework) {
case 'react': {
- return [
- ...(hmrStyle === 'vite'
- ? [createReactRefreshIgnoredRouteExportsPlugin()]
- : []),
- createRefreshRouteComponentsPlugin(),
- createStableHmrSplitRouteComponentsPlugin({ hmrStyle }),
- ]
- }
- case 'solid': {
- return [
- createRefreshRouteComponentsPlugin(),
- createStableHmrSplitRouteComponentsPlugin({ hmrStyle }),
- ]
+ if (opts.addHmr) {
+ const hmrStyle = opts.hmrStyle ?? 'vite'
+ return [
+ ...(hmrStyle === 'vite'
+ ? [createReactRefreshIgnoredRouteExportsPlugin()]
+ : []),
+ createReactRefreshRouteComponentsPlugin(),
+ createReactStableHmrSplitRouteComponentsPlugin({ hmrStyle }),
+ ]
+ }
+ return undefined
}
default:
return undefined
diff --git a/packages/router-plugin/src/core/code-splitter/plugins/refresh-route-components.ts b/packages/router-plugin/src/core/code-splitter/plugins/react-refresh-route-components.ts
similarity index 85%
rename from packages/router-plugin/src/core/code-splitter/plugins/refresh-route-components.ts
rename to packages/router-plugin/src/core/code-splitter/plugins/react-refresh-route-components.ts
index 96760b671a..f7c4bca338 100644
--- a/packages/router-plugin/src/core/code-splitter/plugins/refresh-route-components.ts
+++ b/packages/router-plugin/src/core/code-splitter/plugins/react-refresh-route-components.ts
@@ -5,7 +5,7 @@ import {
} from '../../utils'
import type { ReferenceRouteCompilerPlugin } from '../plugins'
-const ROUTE_COMPONENT_OPTION_KEYS = new Set([
+const REACT_REFRESH_ROUTE_COMPONENT_IDENTS = new Set([
'component',
'shellComponent',
'pendingComponent',
@@ -27,7 +27,7 @@ function hoistInlineRouteComponents(ctx: {
const key = getObjectPropertyKeyName(prop)
- if (!key || !ROUTE_COMPONENT_OPTION_KEYS.has(key)) {
+ if (!key || !REACT_REFRESH_ROUTE_COMPONENT_IDENTS.has(key)) {
return
}
@@ -60,11 +60,11 @@ function hoistInlineRouteComponents(ctx: {
return true
}
-export function createRefreshRouteComponentsPlugin(): ReferenceRouteCompilerPlugin {
+export function createReactRefreshRouteComponentsPlugin(): ReferenceRouteCompilerPlugin {
return {
- name: 'refresh-route-components',
+ name: 'react-refresh-route-components',
getStableRouteOptionKeys() {
- return [...ROUTE_COMPONENT_OPTION_KEYS]
+ return [...REACT_REFRESH_ROUTE_COMPONENT_IDENTS]
},
onUnsplittableRoute(ctx) {
if (!ctx.opts.addHmr) {
diff --git a/packages/router-plugin/src/core/code-splitter/plugins/stable-hmr-split-route-components.ts b/packages/router-plugin/src/core/code-splitter/plugins/react-stable-hmr-split-route-components.ts
similarity index 94%
rename from packages/router-plugin/src/core/code-splitter/plugins/stable-hmr-split-route-components.ts
rename to packages/router-plugin/src/core/code-splitter/plugins/react-stable-hmr-split-route-components.ts
index b4df8001b2..99448f452a 100644
--- a/packages/router-plugin/src/core/code-splitter/plugins/stable-hmr-split-route-components.ts
+++ b/packages/router-plugin/src/core/code-splitter/plugins/react-stable-hmr-split-route-components.ts
@@ -34,11 +34,11 @@ function hotExpressionAstFor(hmrStyle: HmrStyle): t.Expression {
)
}
-export function createStableHmrSplitRouteComponentsPlugin(opts: {
+export function createReactStableHmrSplitRouteComponentsPlugin(opts: {
hmrStyle: HmrStyle
}): ReferenceRouteCompilerPlugin {
return {
- name: 'stable-hmr-split-route-components',
+ name: 'react-stable-hmr-split-route-components',
onSplitRouteProperty(ctx) {
if (ctx.splitNodeMeta.splitStrategy !== 'lazyRouteComponent') {
return
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/arrow-function@true.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/arrow-function@true.tsx
index 0ddc839bdc..ff5afe1806 100644
--- a/packages/router-plugin/tests/add-hmr/snapshots/solid/arrow-function@true.tsx
+++ b/packages/router-plugin/tests/add-hmr/snapshots/solid/arrow-function@true.tsx
@@ -2,17 +2,9 @@ const $$splitComponentImporter = () => import('arrow-function.tsx?tsr-split=comp
import { lazyRouteComponent } from '@tanstack/solid-router';
import { createFileRoute } from '@tanstack/solid-router';
import { fetchPosts } from '../posts';
-const TSRSplitComponent = (() => {
- const hot = import.meta.hot;
- const hotData = hot ? hot.data ??= {} : undefined;
- return hotData?.["tsr-split-component:component"] ?? lazyRouteComponent($$splitComponentImporter, "component");
-})();
-if (import.meta.hot) {
- (import.meta.hot.data ??= {})["tsr-split-component:component"] = TSRSplitComponent;
-}
export const Route = createFileRoute('/posts')({
loader: fetchPosts,
- component: TSRSplitComponent
+ component: lazyRouteComponent($$splitComponentImporter, 'component')
});
if (import.meta.hot) {
const hot = import.meta.hot;
@@ -40,7 +32,7 @@ if (import.meta.hot) {
const oldHasShellComponent = "shellComponent" in oldRoute.options;
const newHasShellComponent = "shellComponent" in newRoute.options;
const preserveComponentIdentity = oldHasShellComponent === newHasShellComponent;
- const componentKeys = ["component", "shellComponent", "pendingComponent", "errorComponent", "notFoundComponent"];
+ const componentKeys = [];
if (preserveComponentIdentity) {
componentKeys.forEach(key => {
if (key in oldRoute.options && key in newRoute.options) {
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@false.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@false.tsx
deleted file mode 100644
index 9e9b2120f3..0000000000
--- a/packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@false.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-import { createRootRoute } from '@tanstack/solid-router'
-
-export const Route = createRootRoute({
- component: () => root hmr
,
-})
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@true.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@true.tsx
deleted file mode 100644
index f8a4ba61be..0000000000
--- a/packages/router-plugin/tests/add-hmr/snapshots/solid/createRootRoute-inline-component@true.tsx
+++ /dev/null
@@ -1,141 +0,0 @@
-import { createRootRoute } from '@tanstack/solid-router';
-const TSRComponent = () => root hmr
;
-export const Route = createRootRoute({
- component: TSRComponent
-});
-if (import.meta.hot) {
- const hot = import.meta.hot;
- const hotData = hot.data ??= {};
- hot.accept(newModule => {
- if (Route && newModule && newModule.Route) {
- const routeId = hotData['tsr-route-id'] ?? Route.id;
- if (routeId) {
- hotData['tsr-route-id'] = routeId;
- }
- (function handleRouteUpdate(routeId, newRoute) {
- const router = window.__TSR_ROUTER__;
- const oldRoute = router.routesById[routeId];
- if (!oldRoute) {
- return;
- }
- ;
- const removedKeys = new Set();
- Object.keys(oldRoute.options).forEach(key => {
- if (!(key in newRoute.options)) {
- removedKeys.add(key);
- delete oldRoute.options[key];
- }
- });
- const oldHasShellComponent = "shellComponent" in oldRoute.options;
- const newHasShellComponent = "shellComponent" in newRoute.options;
- const preserveComponentIdentity = oldHasShellComponent === newHasShellComponent;
- const componentKeys = ["component", "shellComponent", "pendingComponent", "errorComponent", "notFoundComponent"];
- if (preserveComponentIdentity) {
- componentKeys.forEach(key => {
- if (key in oldRoute.options && key in newRoute.options) {
- newRoute.options[key] = oldRoute.options[key];
- }
- });
- }
- ;
- oldRoute.options = newRoute.options;
- oldRoute.update(newRoute.options);
- oldRoute._componentsPromise = undefined;
- oldRoute._lazyPromise = undefined;
- router.routesById[oldRoute.id] = oldRoute;
- router.routesByPath[oldRoute.fullPath] = oldRoute;
- router.processedTree.matchCache.clear();
- router.processedTree.flatCache?.clear();
- router.processedTree.singleCache.clear();
- router.resolvePathCache.clear();
- walkReplaceSegmentTree(oldRoute, router.processedTree.segmentTree);
- const filter = m => m.routeId === oldRoute.id;
- const activeMatch = router.stores.matches.get().find(filter);
- const pendingMatch = router.stores.pendingMatches.get().find(filter);
- const cachedMatches = router.stores.cachedMatches.get().filter(filter);
- if (activeMatch || pendingMatch || cachedMatches.length > 0) {
- if (removedKeys.has("loader") || removedKeys.has("beforeLoad")) {
- const matchIds = [activeMatch?.id, pendingMatch?.id, ...cachedMatches.map(match => match.id)].filter(Boolean);
- router.batch(() => {
- for (const matchId of matchIds) {
- const store = router.stores.pendingMatchStores.get(matchId) || router.stores.matchStores.get(matchId) || router.stores.cachedMatchStores.get(matchId);
- if (store) {
- store.set(prev => {
- const next = {
- ...prev
- };
- if (removedKeys.has("loader")) {
- next.loaderData = undefined;
- }
- ;
- if (removedKeys.has("beforeLoad")) {
- next.__beforeLoadContext = undefined;
- next.context = rebuildMatchContextWithoutBeforeLoad(next);
- }
- ;
- return next;
- });
- }
- }
- });
- }
- ;
- router.invalidate({
- filter,
- sync: true
- });
- }
- ;
- function walkReplaceSegmentTree(route, node) {
- if (node.route?.id === route.id) node.route = route;
- if (node.index) walkReplaceSegmentTree(route, node.index);
- node.static?.forEach(child => walkReplaceSegmentTree(route, child));
- node.staticInsensitive?.forEach(child => walkReplaceSegmentTree(route, child));
- node.dynamic?.forEach(child => walkReplaceSegmentTree(route, child));
- node.optional?.forEach(child => walkReplaceSegmentTree(route, child));
- node.wildcard?.forEach(child => walkReplaceSegmentTree(route, child));
- }
- function getStoreMatch(matchId) {
- return router.stores.pendingMatchStores.get(matchId)?.get() || router.stores.matchStores.get(matchId)?.get() || router.stores.cachedMatchStores.get(matchId)?.get();
- }
- function getMatchList(matchId) {
- const pendingMatches = router.stores.pendingMatches.get();
- if (pendingMatches.some(match => match.id === matchId)) {
- return pendingMatches;
- }
- ;
- const activeMatches = router.stores.matches.get();
- if (activeMatches.some(match => match.id === matchId)) {
- return activeMatches;
- }
- ;
- const cachedMatches = router.stores.cachedMatches.get();
- if (cachedMatches.some(match => match.id === matchId)) {
- return cachedMatches;
- }
- ;
- return [];
- }
- function getParentMatch(match) {
- const matchList = getMatchList(match.id);
- const matchIndex = matchList.findIndex(item => item.id === match.id);
- if (matchIndex <= 0) {
- return undefined;
- }
- ;
- const parentMatch = matchList[matchIndex - 1];
- return getStoreMatch(parentMatch.id) || parentMatch;
- }
- function rebuildMatchContextWithoutBeforeLoad(match) {
- const parentMatch = getParentMatch(match);
- const getParentContext = router.getParentContext;
- const parentContext = getParentContext ? getParentContext.call(router, parentMatch) : parentMatch?.context ?? router.options.context;
- return {
- ...(parentContext ?? {}),
- ...(match.__routeContext ?? {})
- };
- }
- })(routeId, newModule.Route);
- }
- });
-}
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@false.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@false.tsx
deleted file mode 100644
index d80f17484f..0000000000
--- a/packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@false.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-import thing from 'thing'
-
-export function test() {
- const {
- foo: {
- bar: { destructured },
- },
- } = thing
-
- return destructured
-}
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@true.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@true.tsx
deleted file mode 100644
index d80f17484f..0000000000
--- a/packages/router-plugin/tests/add-hmr/snapshots/solid/destructuring@true.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-import thing from 'thing'
-
-export function test() {
- const {
- foo: {
- bar: { destructured },
- },
- } = thing
-
- return destructured
-}
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@false.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@false.tsx
deleted file mode 100644
index beaf8ba472..0000000000
--- a/packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@false.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-import { createFileRoute } from '@tanstack/solid-router'
-
-export const Route = createFileRoute('/')({
- component: undefined,
-})
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@true.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@true.tsx
deleted file mode 100644
index 0c1675e518..0000000000
--- a/packages/router-plugin/tests/add-hmr/snapshots/solid/explicit-undefined-component@true.tsx
+++ /dev/null
@@ -1,140 +0,0 @@
-import { createFileRoute } from '@tanstack/solid-router';
-export const Route = createFileRoute('/')({
- component: undefined
-});
-if (import.meta.hot) {
- const hot = import.meta.hot;
- const hotData = hot.data ??= {};
- hot.accept(newModule => {
- if (Route && newModule && newModule.Route) {
- const routeId = hotData['tsr-route-id'] ?? Route.id;
- if (routeId) {
- hotData['tsr-route-id'] = routeId;
- }
- (function handleRouteUpdate(routeId, newRoute) {
- const router = window.__TSR_ROUTER__;
- const oldRoute = router.routesById[routeId];
- if (!oldRoute) {
- return;
- }
- ;
- const removedKeys = new Set();
- Object.keys(oldRoute.options).forEach(key => {
- if (!(key in newRoute.options)) {
- removedKeys.add(key);
- delete oldRoute.options[key];
- }
- });
- const oldHasShellComponent = "shellComponent" in oldRoute.options;
- const newHasShellComponent = "shellComponent" in newRoute.options;
- const preserveComponentIdentity = oldHasShellComponent === newHasShellComponent;
- const componentKeys = ["component", "shellComponent", "pendingComponent", "errorComponent", "notFoundComponent"];
- if (preserveComponentIdentity) {
- componentKeys.forEach(key => {
- if (key in oldRoute.options && key in newRoute.options) {
- newRoute.options[key] = oldRoute.options[key];
- }
- });
- }
- ;
- oldRoute.options = newRoute.options;
- oldRoute.update(newRoute.options);
- oldRoute._componentsPromise = undefined;
- oldRoute._lazyPromise = undefined;
- router.routesById[oldRoute.id] = oldRoute;
- router.routesByPath[oldRoute.fullPath] = oldRoute;
- router.processedTree.matchCache.clear();
- router.processedTree.flatCache?.clear();
- router.processedTree.singleCache.clear();
- router.resolvePathCache.clear();
- walkReplaceSegmentTree(oldRoute, router.processedTree.segmentTree);
- const filter = m => m.routeId === oldRoute.id;
- const activeMatch = router.stores.matches.get().find(filter);
- const pendingMatch = router.stores.pendingMatches.get().find(filter);
- const cachedMatches = router.stores.cachedMatches.get().filter(filter);
- if (activeMatch || pendingMatch || cachedMatches.length > 0) {
- if (removedKeys.has("loader") || removedKeys.has("beforeLoad")) {
- const matchIds = [activeMatch?.id, pendingMatch?.id, ...cachedMatches.map(match => match.id)].filter(Boolean);
- router.batch(() => {
- for (const matchId of matchIds) {
- const store = router.stores.pendingMatchStores.get(matchId) || router.stores.matchStores.get(matchId) || router.stores.cachedMatchStores.get(matchId);
- if (store) {
- store.set(prev => {
- const next = {
- ...prev
- };
- if (removedKeys.has("loader")) {
- next.loaderData = undefined;
- }
- ;
- if (removedKeys.has("beforeLoad")) {
- next.__beforeLoadContext = undefined;
- next.context = rebuildMatchContextWithoutBeforeLoad(next);
- }
- ;
- return next;
- });
- }
- }
- });
- }
- ;
- router.invalidate({
- filter,
- sync: true
- });
- }
- ;
- function walkReplaceSegmentTree(route, node) {
- if (node.route?.id === route.id) node.route = route;
- if (node.index) walkReplaceSegmentTree(route, node.index);
- node.static?.forEach(child => walkReplaceSegmentTree(route, child));
- node.staticInsensitive?.forEach(child => walkReplaceSegmentTree(route, child));
- node.dynamic?.forEach(child => walkReplaceSegmentTree(route, child));
- node.optional?.forEach(child => walkReplaceSegmentTree(route, child));
- node.wildcard?.forEach(child => walkReplaceSegmentTree(route, child));
- }
- function getStoreMatch(matchId) {
- return router.stores.pendingMatchStores.get(matchId)?.get() || router.stores.matchStores.get(matchId)?.get() || router.stores.cachedMatchStores.get(matchId)?.get();
- }
- function getMatchList(matchId) {
- const pendingMatches = router.stores.pendingMatches.get();
- if (pendingMatches.some(match => match.id === matchId)) {
- return pendingMatches;
- }
- ;
- const activeMatches = router.stores.matches.get();
- if (activeMatches.some(match => match.id === matchId)) {
- return activeMatches;
- }
- ;
- const cachedMatches = router.stores.cachedMatches.get();
- if (cachedMatches.some(match => match.id === matchId)) {
- return cachedMatches;
- }
- ;
- return [];
- }
- function getParentMatch(match) {
- const matchList = getMatchList(match.id);
- const matchIndex = matchList.findIndex(item => item.id === match.id);
- if (matchIndex <= 0) {
- return undefined;
- }
- ;
- const parentMatch = matchList[matchIndex - 1];
- return getStoreMatch(parentMatch.id) || parentMatch;
- }
- function rebuildMatchContextWithoutBeforeLoad(match) {
- const parentMatch = getParentMatch(match);
- const getParentContext = router.getParentContext;
- const parentContext = getParentContext ? getParentContext.call(router, parentMatch) : parentMatch?.context ?? router.options.context;
- return {
- ...(parentContext ?? {}),
- ...(match.__routeContext ?? {})
- };
- }
- })(routeId, newModule.Route);
- }
- });
-}
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@false.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@false.tsx
deleted file mode 100644
index 559e624cea..0000000000
--- a/packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@false.tsx
+++ /dev/null
@@ -1,8 +0,0 @@
-const $$splitComponentImporter = () => import('function-declaration.tsx?tsr-split=component');
-import { lazyRouteComponent } from '@tanstack/solid-router';
-import { createFileRoute } from '@tanstack/solid-router';
-import { fetchPosts } from '../posts';
-export const Route = createFileRoute('/posts')({
- loader: fetchPosts,
- component: lazyRouteComponent($$splitComponentImporter, 'component')
-});
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@true.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@true.tsx
deleted file mode 100644
index 62f05ee5ab..0000000000
--- a/packages/router-plugin/tests/add-hmr/snapshots/solid/function-declaration@true.tsx
+++ /dev/null
@@ -1,152 +0,0 @@
-const $$splitComponentImporter = () => import('function-declaration.tsx?tsr-split=component');
-import { lazyRouteComponent } from '@tanstack/solid-router';
-import { createFileRoute } from '@tanstack/solid-router';
-import { fetchPosts } from '../posts';
-const TSRSplitComponent = (() => {
- const hot = import.meta.hot;
- const hotData = hot ? hot.data ??= {} : undefined;
- return hotData?.["tsr-split-component:component"] ?? lazyRouteComponent($$splitComponentImporter, "component");
-})();
-if (import.meta.hot) {
- (import.meta.hot.data ??= {})["tsr-split-component:component"] = TSRSplitComponent;
-}
-export const Route = createFileRoute('/posts')({
- loader: fetchPosts,
- component: TSRSplitComponent
-});
-if (import.meta.hot) {
- const hot = import.meta.hot;
- const hotData = hot.data ??= {};
- hot.accept(newModule => {
- if (Route && newModule && newModule.Route) {
- const routeId = hotData['tsr-route-id'] ?? Route.id;
- if (routeId) {
- hotData['tsr-route-id'] = routeId;
- }
- (function handleRouteUpdate(routeId, newRoute) {
- const router = window.__TSR_ROUTER__;
- const oldRoute = router.routesById[routeId];
- if (!oldRoute) {
- return;
- }
- ;
- const removedKeys = new Set();
- Object.keys(oldRoute.options).forEach(key => {
- if (!(key in newRoute.options)) {
- removedKeys.add(key);
- delete oldRoute.options[key];
- }
- });
- const oldHasShellComponent = "shellComponent" in oldRoute.options;
- const newHasShellComponent = "shellComponent" in newRoute.options;
- const preserveComponentIdentity = oldHasShellComponent === newHasShellComponent;
- const componentKeys = ["component", "shellComponent", "pendingComponent", "errorComponent", "notFoundComponent"];
- if (preserveComponentIdentity) {
- componentKeys.forEach(key => {
- if (key in oldRoute.options && key in newRoute.options) {
- newRoute.options[key] = oldRoute.options[key];
- }
- });
- }
- ;
- oldRoute.options = newRoute.options;
- oldRoute.update(newRoute.options);
- oldRoute._componentsPromise = undefined;
- oldRoute._lazyPromise = undefined;
- router.routesById[oldRoute.id] = oldRoute;
- router.routesByPath[oldRoute.fullPath] = oldRoute;
- router.processedTree.matchCache.clear();
- router.processedTree.flatCache?.clear();
- router.processedTree.singleCache.clear();
- router.resolvePathCache.clear();
- walkReplaceSegmentTree(oldRoute, router.processedTree.segmentTree);
- const filter = m => m.routeId === oldRoute.id;
- const activeMatch = router.stores.matches.get().find(filter);
- const pendingMatch = router.stores.pendingMatches.get().find(filter);
- const cachedMatches = router.stores.cachedMatches.get().filter(filter);
- if (activeMatch || pendingMatch || cachedMatches.length > 0) {
- if (removedKeys.has("loader") || removedKeys.has("beforeLoad")) {
- const matchIds = [activeMatch?.id, pendingMatch?.id, ...cachedMatches.map(match => match.id)].filter(Boolean);
- router.batch(() => {
- for (const matchId of matchIds) {
- const store = router.stores.pendingMatchStores.get(matchId) || router.stores.matchStores.get(matchId) || router.stores.cachedMatchStores.get(matchId);
- if (store) {
- store.set(prev => {
- const next = {
- ...prev
- };
- if (removedKeys.has("loader")) {
- next.loaderData = undefined;
- }
- ;
- if (removedKeys.has("beforeLoad")) {
- next.__beforeLoadContext = undefined;
- next.context = rebuildMatchContextWithoutBeforeLoad(next);
- }
- ;
- return next;
- });
- }
- }
- });
- }
- ;
- router.invalidate({
- filter,
- sync: true
- });
- }
- ;
- function walkReplaceSegmentTree(route, node) {
- if (node.route?.id === route.id) node.route = route;
- if (node.index) walkReplaceSegmentTree(route, node.index);
- node.static?.forEach(child => walkReplaceSegmentTree(route, child));
- node.staticInsensitive?.forEach(child => walkReplaceSegmentTree(route, child));
- node.dynamic?.forEach(child => walkReplaceSegmentTree(route, child));
- node.optional?.forEach(child => walkReplaceSegmentTree(route, child));
- node.wildcard?.forEach(child => walkReplaceSegmentTree(route, child));
- }
- function getStoreMatch(matchId) {
- return router.stores.pendingMatchStores.get(matchId)?.get() || router.stores.matchStores.get(matchId)?.get() || router.stores.cachedMatchStores.get(matchId)?.get();
- }
- function getMatchList(matchId) {
- const pendingMatches = router.stores.pendingMatches.get();
- if (pendingMatches.some(match => match.id === matchId)) {
- return pendingMatches;
- }
- ;
- const activeMatches = router.stores.matches.get();
- if (activeMatches.some(match => match.id === matchId)) {
- return activeMatches;
- }
- ;
- const cachedMatches = router.stores.cachedMatches.get();
- if (cachedMatches.some(match => match.id === matchId)) {
- return cachedMatches;
- }
- ;
- return [];
- }
- function getParentMatch(match) {
- const matchList = getMatchList(match.id);
- const matchIndex = matchList.findIndex(item => item.id === match.id);
- if (matchIndex <= 0) {
- return undefined;
- }
- ;
- const parentMatch = matchList[matchIndex - 1];
- return getStoreMatch(parentMatch.id) || parentMatch;
- }
- function rebuildMatchContextWithoutBeforeLoad(match) {
- const parentMatch = getParentMatch(match);
- const getParentContext = router.getParentContext;
- const parentContext = getParentContext ? getParentContext.call(router, parentMatch) : parentMatch?.context ?? router.options.context;
- return {
- ...(parentContext ?? {}),
- ...(match.__routeContext ?? {})
- };
- }
- })(routeId, newModule.Route);
- }
- });
-}
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@false.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@false.tsx
deleted file mode 100644
index eb8987c2d5..0000000000
--- a/packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@false.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-const $$splitErrorComponentImporter = () => import('multi-component.tsx?tsr-split=errorComponent');
-const $$splitComponentImporter = () => import('multi-component.tsx?tsr-split=component');
-import { lazyRouteComponent } from '@tanstack/solid-router';
-import { createFileRoute } from '@tanstack/solid-router';
-import { fetchPosts } from '../posts';
-export const Route = createFileRoute('/posts')({
- loader: fetchPosts,
- component: lazyRouteComponent($$splitComponentImporter, 'component'),
- errorComponent: lazyRouteComponent($$splitErrorComponentImporter, 'errorComponent')
-});
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@true.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@true.tsx
deleted file mode 100644
index 4250e7471c..0000000000
--- a/packages/router-plugin/tests/add-hmr/snapshots/solid/multi-component@true.tsx
+++ /dev/null
@@ -1,162 +0,0 @@
-const $$splitErrorComponentImporter = () => import('multi-component.tsx?tsr-split=errorComponent');
-const $$splitComponentImporter = () => import('multi-component.tsx?tsr-split=component');
-import { lazyRouteComponent } from '@tanstack/solid-router';
-import { createFileRoute } from '@tanstack/solid-router';
-import { fetchPosts } from '../posts';
-const TSRSplitComponent = (() => {
- const hot = import.meta.hot;
- const hotData = hot ? hot.data ??= {} : undefined;
- return hotData?.["tsr-split-component:component"] ?? lazyRouteComponent($$splitComponentImporter, "component");
-})();
-if (import.meta.hot) {
- (import.meta.hot.data ??= {})["tsr-split-component:component"] = TSRSplitComponent;
-}
-const TSRSplitErrorComponent = (() => {
- const hot = import.meta.hot;
- const hotData = hot ? hot.data ??= {} : undefined;
- return hotData?.["tsr-split-component:errorComponent"] ?? lazyRouteComponent($$splitErrorComponentImporter, "errorComponent");
-})();
-if (import.meta.hot) {
- (import.meta.hot.data ??= {})["tsr-split-component:errorComponent"] = TSRSplitErrorComponent;
-}
-export const Route = createFileRoute('/posts')({
- loader: fetchPosts,
- component: TSRSplitComponent,
- errorComponent: TSRSplitErrorComponent
-});
-if (import.meta.hot) {
- const hot = import.meta.hot;
- const hotData = hot.data ??= {};
- hot.accept(newModule => {
- if (Route && newModule && newModule.Route) {
- const routeId = hotData['tsr-route-id'] ?? Route.id;
- if (routeId) {
- hotData['tsr-route-id'] = routeId;
- }
- (function handleRouteUpdate(routeId, newRoute) {
- const router = window.__TSR_ROUTER__;
- const oldRoute = router.routesById[routeId];
- if (!oldRoute) {
- return;
- }
- ;
- const removedKeys = new Set();
- Object.keys(oldRoute.options).forEach(key => {
- if (!(key in newRoute.options)) {
- removedKeys.add(key);
- delete oldRoute.options[key];
- }
- });
- const oldHasShellComponent = "shellComponent" in oldRoute.options;
- const newHasShellComponent = "shellComponent" in newRoute.options;
- const preserveComponentIdentity = oldHasShellComponent === newHasShellComponent;
- const componentKeys = ["component", "shellComponent", "pendingComponent", "errorComponent", "notFoundComponent"];
- if (preserveComponentIdentity) {
- componentKeys.forEach(key => {
- if (key in oldRoute.options && key in newRoute.options) {
- newRoute.options[key] = oldRoute.options[key];
- }
- });
- }
- ;
- oldRoute.options = newRoute.options;
- oldRoute.update(newRoute.options);
- oldRoute._componentsPromise = undefined;
- oldRoute._lazyPromise = undefined;
- router.routesById[oldRoute.id] = oldRoute;
- router.routesByPath[oldRoute.fullPath] = oldRoute;
- router.processedTree.matchCache.clear();
- router.processedTree.flatCache?.clear();
- router.processedTree.singleCache.clear();
- router.resolvePathCache.clear();
- walkReplaceSegmentTree(oldRoute, router.processedTree.segmentTree);
- const filter = m => m.routeId === oldRoute.id;
- const activeMatch = router.stores.matches.get().find(filter);
- const pendingMatch = router.stores.pendingMatches.get().find(filter);
- const cachedMatches = router.stores.cachedMatches.get().filter(filter);
- if (activeMatch || pendingMatch || cachedMatches.length > 0) {
- if (removedKeys.has("loader") || removedKeys.has("beforeLoad")) {
- const matchIds = [activeMatch?.id, pendingMatch?.id, ...cachedMatches.map(match => match.id)].filter(Boolean);
- router.batch(() => {
- for (const matchId of matchIds) {
- const store = router.stores.pendingMatchStores.get(matchId) || router.stores.matchStores.get(matchId) || router.stores.cachedMatchStores.get(matchId);
- if (store) {
- store.set(prev => {
- const next = {
- ...prev
- };
- if (removedKeys.has("loader")) {
- next.loaderData = undefined;
- }
- ;
- if (removedKeys.has("beforeLoad")) {
- next.__beforeLoadContext = undefined;
- next.context = rebuildMatchContextWithoutBeforeLoad(next);
- }
- ;
- return next;
- });
- }
- }
- });
- }
- ;
- router.invalidate({
- filter,
- sync: true
- });
- }
- ;
- function walkReplaceSegmentTree(route, node) {
- if (node.route?.id === route.id) node.route = route;
- if (node.index) walkReplaceSegmentTree(route, node.index);
- node.static?.forEach(child => walkReplaceSegmentTree(route, child));
- node.staticInsensitive?.forEach(child => walkReplaceSegmentTree(route, child));
- node.dynamic?.forEach(child => walkReplaceSegmentTree(route, child));
- node.optional?.forEach(child => walkReplaceSegmentTree(route, child));
- node.wildcard?.forEach(child => walkReplaceSegmentTree(route, child));
- }
- function getStoreMatch(matchId) {
- return router.stores.pendingMatchStores.get(matchId)?.get() || router.stores.matchStores.get(matchId)?.get() || router.stores.cachedMatchStores.get(matchId)?.get();
- }
- function getMatchList(matchId) {
- const pendingMatches = router.stores.pendingMatches.get();
- if (pendingMatches.some(match => match.id === matchId)) {
- return pendingMatches;
- }
- ;
- const activeMatches = router.stores.matches.get();
- if (activeMatches.some(match => match.id === matchId)) {
- return activeMatches;
- }
- ;
- const cachedMatches = router.stores.cachedMatches.get();
- if (cachedMatches.some(match => match.id === matchId)) {
- return cachedMatches;
- }
- ;
- return [];
- }
- function getParentMatch(match) {
- const matchList = getMatchList(match.id);
- const matchIndex = matchList.findIndex(item => item.id === match.id);
- if (matchIndex <= 0) {
- return undefined;
- }
- ;
- const parentMatch = matchList[matchIndex - 1];
- return getStoreMatch(parentMatch.id) || parentMatch;
- }
- function rebuildMatchContextWithoutBeforeLoad(match) {
- const parentMatch = getParentMatch(match);
- const getParentContext = router.getParentContext;
- const parentContext = getParentContext ? getParentContext.call(router, parentMatch) : parentMatch?.context ?? router.options.context;
- return {
- ...(parentContext ?? {}),
- ...(match.__routeContext ?? {})
- };
- }
- })(routeId, newModule.Route);
- }
- });
-}
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@false.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@false.tsx
deleted file mode 100644
index 3cdec81671..0000000000
--- a/packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@false.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-const $$splitErrorComponentImporter = () => import('string-literal-keys.tsx?tsr-split=errorComponent');
-const $$splitComponentImporter = () => import('string-literal-keys.tsx?tsr-split=component');
-import { lazyRouteComponent } from '@tanstack/solid-router';
-import { createFileRoute } from '@tanstack/solid-router';
-import { fetchPosts } from '../posts';
-export const Route = createFileRoute('/posts')({
- loader: fetchPosts,
- 'component': lazyRouteComponent($$splitComponentImporter, 'component'),
- 'errorComponent': lazyRouteComponent($$splitErrorComponentImporter, 'errorComponent')
-});
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@true.tsx b/packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@true.tsx
deleted file mode 100644
index 74f6d631d0..0000000000
--- a/packages/router-plugin/tests/add-hmr/snapshots/solid/string-literal-keys@true.tsx
+++ /dev/null
@@ -1,162 +0,0 @@
-const $$splitErrorComponentImporter = () => import('string-literal-keys.tsx?tsr-split=errorComponent');
-const $$splitComponentImporter = () => import('string-literal-keys.tsx?tsr-split=component');
-import { lazyRouteComponent } from '@tanstack/solid-router';
-import { createFileRoute } from '@tanstack/solid-router';
-import { fetchPosts } from '../posts';
-const TSRSplitComponent = (() => {
- const hot = import.meta.hot;
- const hotData = hot ? hot.data ??= {} : undefined;
- return hotData?.["tsr-split-component:component"] ?? lazyRouteComponent($$splitComponentImporter, "component");
-})();
-if (import.meta.hot) {
- (import.meta.hot.data ??= {})["tsr-split-component:component"] = TSRSplitComponent;
-}
-const TSRSplitErrorComponent = (() => {
- const hot = import.meta.hot;
- const hotData = hot ? hot.data ??= {} : undefined;
- return hotData?.["tsr-split-component:errorComponent"] ?? lazyRouteComponent($$splitErrorComponentImporter, "errorComponent");
-})();
-if (import.meta.hot) {
- (import.meta.hot.data ??= {})["tsr-split-component:errorComponent"] = TSRSplitErrorComponent;
-}
-export const Route = createFileRoute('/posts')({
- loader: fetchPosts,
- 'component': TSRSplitComponent,
- 'errorComponent': TSRSplitErrorComponent
-});
-if (import.meta.hot) {
- const hot = import.meta.hot;
- const hotData = hot.data ??= {};
- hot.accept(newModule => {
- if (Route && newModule && newModule.Route) {
- const routeId = hotData['tsr-route-id'] ?? Route.id;
- if (routeId) {
- hotData['tsr-route-id'] = routeId;
- }
- (function handleRouteUpdate(routeId, newRoute) {
- const router = window.__TSR_ROUTER__;
- const oldRoute = router.routesById[routeId];
- if (!oldRoute) {
- return;
- }
- ;
- const removedKeys = new Set();
- Object.keys(oldRoute.options).forEach(key => {
- if (!(key in newRoute.options)) {
- removedKeys.add(key);
- delete oldRoute.options[key];
- }
- });
- const oldHasShellComponent = "shellComponent" in oldRoute.options;
- const newHasShellComponent = "shellComponent" in newRoute.options;
- const preserveComponentIdentity = oldHasShellComponent === newHasShellComponent;
- const componentKeys = ["component", "shellComponent", "pendingComponent", "errorComponent", "notFoundComponent"];
- if (preserveComponentIdentity) {
- componentKeys.forEach(key => {
- if (key in oldRoute.options && key in newRoute.options) {
- newRoute.options[key] = oldRoute.options[key];
- }
- });
- }
- ;
- oldRoute.options = newRoute.options;
- oldRoute.update(newRoute.options);
- oldRoute._componentsPromise = undefined;
- oldRoute._lazyPromise = undefined;
- router.routesById[oldRoute.id] = oldRoute;
- router.routesByPath[oldRoute.fullPath] = oldRoute;
- router.processedTree.matchCache.clear();
- router.processedTree.flatCache?.clear();
- router.processedTree.singleCache.clear();
- router.resolvePathCache.clear();
- walkReplaceSegmentTree(oldRoute, router.processedTree.segmentTree);
- const filter = m => m.routeId === oldRoute.id;
- const activeMatch = router.stores.matches.get().find(filter);
- const pendingMatch = router.stores.pendingMatches.get().find(filter);
- const cachedMatches = router.stores.cachedMatches.get().filter(filter);
- if (activeMatch || pendingMatch || cachedMatches.length > 0) {
- if (removedKeys.has("loader") || removedKeys.has("beforeLoad")) {
- const matchIds = [activeMatch?.id, pendingMatch?.id, ...cachedMatches.map(match => match.id)].filter(Boolean);
- router.batch(() => {
- for (const matchId of matchIds) {
- const store = router.stores.pendingMatchStores.get(matchId) || router.stores.matchStores.get(matchId) || router.stores.cachedMatchStores.get(matchId);
- if (store) {
- store.set(prev => {
- const next = {
- ...prev
- };
- if (removedKeys.has("loader")) {
- next.loaderData = undefined;
- }
- ;
- if (removedKeys.has("beforeLoad")) {
- next.__beforeLoadContext = undefined;
- next.context = rebuildMatchContextWithoutBeforeLoad(next);
- }
- ;
- return next;
- });
- }
- }
- });
- }
- ;
- router.invalidate({
- filter,
- sync: true
- });
- }
- ;
- function walkReplaceSegmentTree(route, node) {
- if (node.route?.id === route.id) node.route = route;
- if (node.index) walkReplaceSegmentTree(route, node.index);
- node.static?.forEach(child => walkReplaceSegmentTree(route, child));
- node.staticInsensitive?.forEach(child => walkReplaceSegmentTree(route, child));
- node.dynamic?.forEach(child => walkReplaceSegmentTree(route, child));
- node.optional?.forEach(child => walkReplaceSegmentTree(route, child));
- node.wildcard?.forEach(child => walkReplaceSegmentTree(route, child));
- }
- function getStoreMatch(matchId) {
- return router.stores.pendingMatchStores.get(matchId)?.get() || router.stores.matchStores.get(matchId)?.get() || router.stores.cachedMatchStores.get(matchId)?.get();
- }
- function getMatchList(matchId) {
- const pendingMatches = router.stores.pendingMatches.get();
- if (pendingMatches.some(match => match.id === matchId)) {
- return pendingMatches;
- }
- ;
- const activeMatches = router.stores.matches.get();
- if (activeMatches.some(match => match.id === matchId)) {
- return activeMatches;
- }
- ;
- const cachedMatches = router.stores.cachedMatches.get();
- if (cachedMatches.some(match => match.id === matchId)) {
- return cachedMatches;
- }
- ;
- return [];
- }
- function getParentMatch(match) {
- const matchList = getMatchList(match.id);
- const matchIndex = matchList.findIndex(item => item.id === match.id);
- if (matchIndex <= 0) {
- return undefined;
- }
- ;
- const parentMatch = matchList[matchIndex - 1];
- return getStoreMatch(parentMatch.id) || parentMatch;
- }
- function rebuildMatchContextWithoutBeforeLoad(match) {
- const parentMatch = getParentMatch(match);
- const getParentContext = router.getParentContext;
- const parentContext = getParentContext ? getParentContext.call(router, parentMatch) : parentMatch?.context ?? router.options.context;
- return {
- ...(parentContext ?? {}),
- ...(match.__routeContext ?? {})
- };
- }
- })(routeId, newModule.Route);
- }
- });
-}
\ No newline at end of file
diff --git a/packages/router-plugin/tests/add-hmr/test-files/solid/createRootRoute-inline-component.tsx b/packages/router-plugin/tests/add-hmr/test-files/solid/createRootRoute-inline-component.tsx
deleted file mode 100644
index 9e9b2120f3..0000000000
--- a/packages/router-plugin/tests/add-hmr/test-files/solid/createRootRoute-inline-component.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-import { createRootRoute } from '@tanstack/solid-router'
-
-export const Route = createRootRoute({
- component: () => root hmr
,
-})
diff --git a/packages/router-plugin/tests/add-hmr/test-files/solid/destructuring.tsx b/packages/router-plugin/tests/add-hmr/test-files/solid/destructuring.tsx
deleted file mode 100644
index d80f17484f..0000000000
--- a/packages/router-plugin/tests/add-hmr/test-files/solid/destructuring.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-import thing from 'thing'
-
-export function test() {
- const {
- foo: {
- bar: { destructured },
- },
- } = thing
-
- return destructured
-}
diff --git a/packages/router-plugin/tests/add-hmr/test-files/solid/explicit-undefined-component.tsx b/packages/router-plugin/tests/add-hmr/test-files/solid/explicit-undefined-component.tsx
deleted file mode 100644
index beaf8ba472..0000000000
--- a/packages/router-plugin/tests/add-hmr/test-files/solid/explicit-undefined-component.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-import { createFileRoute } from '@tanstack/solid-router'
-
-export const Route = createFileRoute('/')({
- component: undefined,
-})
diff --git a/packages/router-plugin/tests/add-hmr/test-files/solid/function-declaration.tsx b/packages/router-plugin/tests/add-hmr/test-files/solid/function-declaration.tsx
deleted file mode 100644
index f51586fb0c..0000000000
--- a/packages/router-plugin/tests/add-hmr/test-files/solid/function-declaration.tsx
+++ /dev/null
@@ -1,39 +0,0 @@
-import * as Solid from 'solid-js'
-import { createFileRoute, Link, Outlet } from '@tanstack/solid-router'
-import { fetchPosts } from '../posts'
-
-export const Route = createFileRoute('/posts')({
- loader: fetchPosts,
- component: PostsComponent,
-})
-
-function PostsComponent() {
- const posts = Route.useLoaderData()
-
- return (
-
-
-
- {(post) => {
- return (
- -
-
-
{post.title.substring(0, 20)}
-
-
- )
- }}
-
-
-
-
-
- )
-}
diff --git a/packages/router-plugin/tests/add-hmr/test-files/solid/multi-component.tsx b/packages/router-plugin/tests/add-hmr/test-files/solid/multi-component.tsx
deleted file mode 100644
index 15766dc98d..0000000000
--- a/packages/router-plugin/tests/add-hmr/test-files/solid/multi-component.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import { createFileRoute } from '@tanstack/solid-router'
-import { fetchPosts } from '../posts'
-
-export const Route = createFileRoute('/posts')({
- loader: fetchPosts,
- component: PostsComponent,
- errorComponent: PostsErrorComponent,
-})
-
-function PostsComponent() {
- const posts = Route.useLoaderData()
-
- return {posts().length} posts
-}
-
-function PostsErrorComponent() {
- return Error loading posts
-}
diff --git a/packages/router-plugin/tests/add-hmr/test-files/solid/string-literal-keys.tsx b/packages/router-plugin/tests/add-hmr/test-files/solid/string-literal-keys.tsx
deleted file mode 100644
index 0622a9ca15..0000000000
--- a/packages/router-plugin/tests/add-hmr/test-files/solid/string-literal-keys.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import { createFileRoute } from '@tanstack/solid-router'
-import { fetchPosts } from '../posts'
-
-export const Route = createFileRoute('/posts')({
- loader: fetchPosts,
- 'component': PostsComponent,
- 'errorComponent': PostsErrorComponent,
-})
-
-function PostsComponent() {
- const posts = Route.useLoaderData()
-
- return {posts().length} posts
-}
-
-function PostsErrorComponent() {
- return Error loading posts
-}
From d6decca41807e9ca28279e2db6640e7a8bdc1229 Mon Sep 17 00:00:00 2001
From: Keven Arroyo
Date: Tue, 28 Apr 2026 11:58:05 -0700
Subject: [PATCH 015/551] fix(react-start-rsc): re-export renderable types from
public entries (#7278)
* fix(react-start-rsc): re-export renderable types from public entries
* changeset - patch
---
.changeset/eight-dingos-occur.md | 5 +++++
packages/react-start-rsc/src/index.rsc.ts | 8 +++++++-
packages/react-start-rsc/src/index.ts | 8 +++++++-
3 files changed, 19 insertions(+), 2 deletions(-)
create mode 100644 .changeset/eight-dingos-occur.md
diff --git a/.changeset/eight-dingos-occur.md b/.changeset/eight-dingos-occur.md
new file mode 100644
index 0000000000..32fffb3f41
--- /dev/null
+++ b/.changeset/eight-dingos-occur.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/react-start-rsc': patch
+---
+
+Re-export `RenderableServerComponent`, `RenderableServerComponentAttributes`, `RenderableServerComponentBuilder`, and `AnyRenderableServerComponent` from the package's public entries. Without these, consumers with `declaration: true` hit TS2742 on `renderServerComponent` calls and are forced to annotate handlers as `Promise`.
diff --git a/packages/react-start-rsc/src/index.rsc.ts b/packages/react-start-rsc/src/index.rsc.ts
index 3563333d8f..6873fc4a0e 100644
--- a/packages/react-start-rsc/src/index.rsc.ts
+++ b/packages/react-start-rsc/src/index.rsc.ts
@@ -2,7 +2,13 @@
// This file is used when importing from RSC (React Server Components) context
// Types are always available
-export type { AnyCompositeComponent } from './ServerComponentTypes'
+export type {
+ AnyCompositeComponent,
+ AnyRenderableServerComponent,
+ RenderableServerComponent,
+ RenderableServerComponentAttributes,
+ RenderableServerComponentBuilder,
+} from './ServerComponentTypes'
// New API: renderServerComponent - renders element to renderable proxy
export { renderServerComponent } from './renderServerComponent.js'
diff --git a/packages/react-start-rsc/src/index.ts b/packages/react-start-rsc/src/index.ts
index fcb28c4c1c..f70e324082 100644
--- a/packages/react-start-rsc/src/index.ts
+++ b/packages/react-start-rsc/src/index.ts
@@ -2,7 +2,13 @@
// This file is used when importing outside of RSC (React Server Components) context
// Types are always available
-export type { AnyCompositeComponent } from './ServerComponentTypes'
+export type {
+ AnyCompositeComponent,
+ AnyRenderableServerComponent,
+ RenderableServerComponent,
+ RenderableServerComponentAttributes,
+ RenderableServerComponentBuilder,
+} from './ServerComponentTypes'
// CSS hrefs symbol for type-safe access
export { SERVER_COMPONENT_CSS_HREFS } from './ServerComponentTypes'
From d406d1a4507659301ccf1a8a1f8ffc71b21a5af4 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Wed, 29 Apr 2026 16:00:53 +0000
Subject: [PATCH 016/551] ci: changeset release
---
.changeset/eight-dingos-occur.md | 5 -----
examples/react/start-bare/package.json | 2 +-
examples/react/start-basic-auth/package.json | 2 +-
examples/react/start-basic-authjs/package.json | 2 +-
examples/react/start-basic-cloudflare/package.json | 2 +-
examples/react/start-basic-react-query/package.json | 2 +-
examples/react/start-basic-static/package.json | 2 +-
examples/react/start-basic/package.json | 2 +-
examples/react/start-bun/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-i18n-paraglide/package.json | 2 +-
examples/react/start-large/package.json | 2 +-
examples/react/start-material-ui/package.json | 2 +-
examples/react/start-rscs/package.json | 2 +-
.../package.json | 2 +-
examples/react/start-supabase-basic/package.json | 2 +-
examples/react/start-tailwind-v4/package.json | 2 +-
examples/react/start-trellaux/package.json | 2 +-
examples/react/start-workos/package.json | 2 +-
packages/react-start-rsc/CHANGELOG.md | 6 ++++++
packages/react-start-rsc/package.json | 2 +-
packages/react-start/CHANGELOG.md | 7 +++++++
packages/react-start/package.json | 2 +-
25 files changed, 35 insertions(+), 27 deletions(-)
delete mode 100644 .changeset/eight-dingos-occur.md
diff --git a/.changeset/eight-dingos-occur.md b/.changeset/eight-dingos-occur.md
deleted file mode 100644
index 32fffb3f41..0000000000
--- a/.changeset/eight-dingos-occur.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/react-start-rsc': patch
----
-
-Re-export `RenderableServerComponent`, `RenderableServerComponentAttributes`, `RenderableServerComponentBuilder`, and `AnyRenderableServerComponent` from the package's public entries. Without these, consumers with `declaration: true` hit TS2742 on `renderServerComponent` calls and are forced to annotate handlers as `Promise`.
diff --git a/examples/react/start-bare/package.json b/examples/react/start-bare/package.json
index d8638def63..e3732ec5d9 100644
--- a/examples/react/start-bare/package.json
+++ b/examples/react/start-bare/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"zod": "^3.24.2"
diff --git a/examples/react/start-basic-auth/package.json b/examples/react/start-basic-auth/package.json
index a91f8a8c5d..d83cbf82a2 100644
--- a/examples/react/start-basic-auth/package.json
+++ b/examples/react/start-basic-auth/package.json
@@ -16,7 +16,7 @@
"@prisma/client": "^7.0.0",
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic-authjs/package.json b/examples/react/start-basic-authjs/package.json
index 5416dacf00..f444a771ef 100644
--- a/examples/react/start-basic-authjs/package.json
+++ b/examples/react/start-basic-authjs/package.json
@@ -13,7 +13,7 @@
"@auth/core": "^0.41.1",
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"start-authjs": "^1.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-basic-cloudflare/package.json b/examples/react/start-basic-cloudflare/package.json
index 208a66723d..942e87be69 100644
--- a/examples/react/start-basic-cloudflare/package.json
+++ b/examples/react/start-basic-cloudflare/package.json
@@ -14,7 +14,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
diff --git a/examples/react/start-basic-react-query/package.json b/examples/react/start-basic-react-query/package.json
index 9f667cf966..8ea913ce08 100644
--- a/examples/react/start-basic-react-query/package.json
+++ b/examples/react/start-basic-react-query/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic-static/package.json b/examples/react/start-basic-static/package.json
index 09551368a5..7c09284430 100644
--- a/examples/react/start-basic-static/package.json
+++ b/examples/react/start-basic-static/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"@tanstack/start-static-server-functions": "^1.166.36",
"@vitejs/plugin-react": "^6.0.1",
"react": "^19.0.0",
diff --git a/examples/react/start-basic/package.json b/examples/react/start-basic/package.json
index e8e0568a57..d54c4ce445 100644
--- a/examples/react/start-basic/package.json
+++ b/examples/react/start-basic/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^2.6.0",
diff --git a/examples/react/start-bun/package.json b/examples/react/start-bun/package.json
index 6216083433..b334b801d5 100644
--- a/examples/react/start-bun/package.json
+++ b/examples/react/start-bun/package.json
@@ -18,7 +18,7 @@
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"@tanstack/router-plugin": "^1.167.28",
"react": "^19.1.1",
"react-dom": "^19.1.1",
diff --git a/examples/react/start-clerk-basic/package.json b/examples/react/start-clerk-basic/package.json
index 7cb27ff5da..38903ee57b 100644
--- a/examples/react/start-clerk-basic/package.json
+++ b/examples/react/start-clerk-basic/package.json
@@ -13,7 +13,7 @@
"@clerk/tanstack-react-start": "^0.27.14",
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"@vitejs/plugin-react": "^6.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-convex-trellaux/package.json b/examples/react/start-convex-trellaux/package.json
index 2d94a61b0d..54bbc6807e 100644
--- a/examples/react/start-convex-trellaux/package.json
+++ b/examples/react/start-convex-trellaux/package.json
@@ -18,7 +18,7 @@
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"concurrently": "^8.2.2",
"convex": "^1.19.0",
"ky": "^1.7.4",
diff --git a/examples/react/start-counter/package.json b/examples/react/start-counter/package.json
index 249a68e4d3..988af9746f 100644
--- a/examples/react/start-counter/package.json
+++ b/examples/react/start-counter/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
diff --git a/examples/react/start-i18n-paraglide/package.json b/examples/react/start-i18n-paraglide/package.json
index 3991783ef0..9c2955e2dd 100644
--- a/examples/react/start-i18n-paraglide/package.json
+++ b/examples/react/start-i18n-paraglide/package.json
@@ -12,7 +12,7 @@
"@tanstack/react-devtools": "^0.7.0",
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"react": "^19.1.1",
"react-dom": "^19.1.1"
},
diff --git a/examples/react/start-large/package.json b/examples/react/start-large/package.json
index feee60d44b..c68785f774 100644
--- a/examples/react/start-large/package.json
+++ b/examples/react/start-large/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-material-ui/package.json b/examples/react/start-material-ui/package.json
index 8766f83fae..3b467c9e5e 100644
--- a/examples/react/start-material-ui/package.json
+++ b/examples/react/start-material-ui/package.json
@@ -16,7 +16,7 @@
"@fontsource-variable/roboto": "5.2.5",
"@mui/material": "6.4.7",
"@tanstack/react-router": "^1.168.25",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-rscs/package.json b/examples/react/start-rscs/package.json
index f83bd115aa..20885fe1c3 100644
--- a/examples/react/start-rscs/package.json
+++ b/examples/react/start-rscs/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"dexie": "^4.0.10",
"react": "^19.2.0",
"react-dom": "^19.2.0",
diff --git a/examples/react/start-streaming-data-from-server-functions/package.json b/examples/react/start-streaming-data-from-server-functions/package.json
index 5724eb8315..92577974df 100644
--- a/examples/react/start-streaming-data-from-server-functions/package.json
+++ b/examples/react/start-streaming-data-from-server-functions/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"zod": "^3.24.2"
diff --git a/examples/react/start-supabase-basic/package.json b/examples/react/start-supabase-basic/package.json
index 32722a61d9..c5da905331 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.48.1",
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/start-tailwind-v4/package.json b/examples/react/start-tailwind-v4/package.json
index e8f11f1433..437a485977 100644
--- a/examples/react/start-tailwind-v4/package.json
+++ b/examples/react/start-tailwind-v4/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^2.6.0",
diff --git a/examples/react/start-trellaux/package.json b/examples/react/start-trellaux/package.json
index f2eb581ebd..c295adf320 100644
--- a/examples/react/start-trellaux/package.json
+++ b/examples/react/start-trellaux/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"ky": "^1.7.4",
"msw": "^2.7.0",
"react": "^19.0.0",
diff --git a/examples/react/start-workos/package.json b/examples/react/start-workos/package.json
index b768d3c2d3..db043be411 100644
--- a/examples/react/start-workos/package.json
+++ b/examples/react/start-workos/package.json
@@ -16,7 +16,7 @@
"@radix-ui/themes": "^3.3.0",
"@tanstack/react-router": "^1.168.25",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.50",
+ "@tanstack/react-start": "^1.167.51",
"@workos/authkit-tanstack-react-start": "^0.5.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
diff --git a/packages/react-start-rsc/CHANGELOG.md b/packages/react-start-rsc/CHANGELOG.md
index 84ae380665..e4cda2a80e 100644
--- a/packages/react-start-rsc/CHANGELOG.md
+++ b/packages/react-start-rsc/CHANGELOG.md
@@ -1,5 +1,11 @@
# @tanstack/react-start-rsc
+## 0.0.30
+
+### Patch Changes
+
+- Re-export `RenderableServerComponent`, `RenderableServerComponentAttributes`, `RenderableServerComponentBuilder`, and `AnyRenderableServerComponent` from the package's public entries. Without these, consumers with `declaration: true` hit TS2742 on `renderServerComponent` calls and are forced to annotate handlers as `Promise`. ([#7278](https://github.com/TanStack/router/pull/7278))
+
## 0.0.29
### Patch Changes
diff --git a/packages/react-start-rsc/package.json b/packages/react-start-rsc/package.json
index 40ece345ce..db9a251ef0 100644
--- a/packages/react-start-rsc/package.json
+++ b/packages/react-start-rsc/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start-rsc",
- "version": "0.0.29",
+ "version": "0.0.30",
"description": "React Server Components support for TanStack Start",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start/CHANGELOG.md b/packages/react-start/CHANGELOG.md
index 4bd59aa259..02ef601fc2 100644
--- a/packages/react-start/CHANGELOG.md
+++ b/packages/react-start/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/react-start
+## 1.167.51
+
+### Patch Changes
+
+- Updated dependencies [[`d6decca`](https://github.com/TanStack/router/commit/d6decca41807e9ca28279e2db6640e7a8bdc1229)]:
+ - @tanstack/react-start-rsc@0.0.30
+
## 1.167.50
### Patch Changes
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index 0e6a5f5dee..0b242f479d 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.167.50",
+ "version": "1.167.51",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
From b5c4183ab8b44be8a75647b7f7b588ad7c146ece Mon Sep 17 00:00:00 2001
From: Manuel Schiller
Date: Wed, 29 Apr 2026 22:15:40 +0200
Subject: [PATCH 017/551] fix: disabled topLevelVar (#7293)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
---
.changeset/slow-seahorses-grab.md | 5 +++++
packages/router-core/vite.config.ts | 7 +++++++
2 files changed, 12 insertions(+)
create mode 100644 .changeset/slow-seahorses-grab.md
diff --git a/.changeset/slow-seahorses-grab.md b/.changeset/slow-seahorses-grab.md
new file mode 100644
index 0000000000..aa269d7597
--- /dev/null
+++ b/.changeset/slow-seahorses-grab.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/router-core': patch
+---
+
+prevent isServer exports from being transformed to top-level vars so rspack can dead-code eliminate them
diff --git a/packages/router-core/vite.config.ts b/packages/router-core/vite.config.ts
index 816b0602b8..413c56c404 100644
--- a/packages/router-core/vite.config.ts
+++ b/packages/router-core/vite.config.ts
@@ -7,6 +7,13 @@ import type { ViteUserConfig } from 'vitest/config'
const config = defineConfig({
plugins: [minifyScriptPlugin()] as ViteUserConfig['plugins'],
+ build: {
+ rolldownOptions: {
+ output: {
+ topLevelVar: false,
+ },
+ },
+ },
test: {
name: packageJson.name,
dir: './tests',
From a7300947bd4009a7d85ab1200aac1c8ef0bd3fa7 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Wed, 29 Apr 2026 20:18:33 +0000
Subject: [PATCH 018/551] ci: changeset release
---
.changeset/slow-seahorses-grab.md | 5 -
.../package.json | 4 +-
.../react/authenticated-routes/package.json | 4 +-
.../basic-default-search-params/package.json | 2 +-
.../react/basic-devtools-panel/package.json | 2 +-
examples/react/basic-file-based/package.json | 4 +-
.../basic-non-nested-devtools/package.json | 2 +-
.../basic-react-query-file-based/package.json | 4 +-
examples/react/basic-react-query/package.json | 2 +-
.../react/basic-ssr-file-based/package.json | 4 +-
.../package.json | 4 +-
.../basic-virtual-file-based/package.json | 4 +-
.../package.json | 4 +-
examples/react/basic/package.json | 2 +-
examples/react/deferred-data/package.json | 2 +-
examples/react/i18n-paraglide/package.json | 4 +-
.../kitchen-sink-file-based/package.json | 4 +-
.../package.json | 4 +-
.../kitchen-sink-react-query/package.json | 2 +-
examples/react/kitchen-sink/package.json | 2 +-
examples/react/large-file-based/package.json | 4 +-
examples/react/location-masking/package.json | 2 +-
.../react/navigation-blocking/package.json | 2 +-
.../package.json | 4 +-
.../react/quickstart-file-based/package.json | 4 +-
.../quickstart-rspack-file-based/package.json | 4 +-
.../package.json | 4 +-
examples/react/quickstart/package.json | 2 +-
.../router-monorepo-react-query/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../router-monorepo-simple-lazy/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../react/router-monorepo-simple/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../react/scroll-restoration/package.json | 2 +-
.../search-validator-adapters/package.json | 4 +-
examples/react/start-bare/package.json | 4 +-
examples/react/start-basic-auth/package.json | 4 +-
.../react/start-basic-authjs/package.json | 4 +-
.../react/start-basic-cloudflare/package.json | 4 +-
.../start-basic-react-query/package.json | 4 +-
.../react/start-basic-static/package.json | 6 +-
examples/react/start-basic/package.json | 4 +-
examples/react/start-bun/package.json | 6 +-
examples/react/start-clerk-basic/package.json | 4 +-
.../react/start-convex-trellaux/package.json | 4 +-
examples/react/start-counter/package.json | 4 +-
.../react/start-i18n-paraglide/package.json | 4 +-
examples/react/start-large/package.json | 4 +-
examples/react/start-material-ui/package.json | 4 +-
examples/react/start-rscs/package.json | 4 +-
.../package.json | 4 +-
.../react/start-supabase-basic/package.json | 4 +-
examples/react/start-tailwind-v4/package.json | 4 +-
examples/react/start-trellaux/package.json | 4 +-
examples/react/start-workos/package.json | 4 +-
examples/react/view-transitions/package.json | 4 +-
.../react/with-framer-motion/package.json | 2 +-
.../react/with-trpc-react-query/package.json | 4 +-
examples/react/with-trpc/package.json | 4 +-
.../package.json | 4 +-
.../solid/authenticated-routes/package.json | 4 +-
.../basic-default-search-params/package.json | 2 +-
.../solid/basic-devtools-panel/package.json | 2 +-
examples/solid/basic-file-based/package.json | 4 +-
.../basic-non-nested-devtools/package.json | 2 +-
.../basic-solid-query-file-based/package.json | 4 +-
examples/solid/basic-solid-query/package.json | 4 +-
.../solid/basic-ssr-file-based/package.json | 4 +-
.../package.json | 4 +-
.../basic-virtual-file-based/package.json | 4 +-
.../package.json | 4 +-
examples/solid/basic/package.json | 2 +-
examples/solid/deferred-data/package.json | 2 +-
examples/solid/i18n-paraglide/package.json | 4 +-
.../kitchen-sink-file-based/package.json | 4 +-
.../package.json | 4 +-
.../kitchen-sink-solid-query/package.json | 2 +-
examples/solid/kitchen-sink/package.json | 2 +-
examples/solid/large-file-based/package.json | 4 +-
examples/solid/location-masking/package.json | 2 +-
.../solid/navigation-blocking/package.json | 2 +-
.../package.json | 4 +-
.../solid/quickstart-file-based/package.json | 4 +-
.../quickstart-rspack-file-based/package.json | 4 +-
.../package.json | 4 +-
examples/solid/quickstart/package.json | 2 +-
.../router-monorepo-simple-lazy/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../solid/router-monorepo-simple/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../router-monorepo-solid-query/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../solid/scroll-restoration/package.json | 2 +-
.../search-validator-adapters/package.json | 4 +-
examples/solid/start-basic-auth/package.json | 4 +-
.../solid/start-basic-authjs/package.json | 4 +-
.../solid/start-basic-cloudflare/package.json | 4 +-
.../solid/start-basic-netlify/package.json | 4 +-
examples/solid/start-basic-nitro/package.json | 4 +-
.../start-basic-solid-query/package.json | 4 +-
.../solid/start-basic-static/package.json | 6 +-
examples/solid/start-basic/package.json | 4 +-
examples/solid/start-bun/package.json | 6 +-
.../start-convex-better-auth/package.json | 4 +-
examples/solid/start-counter/package.json | 4 +-
.../solid/start-i18n-paraglide/package.json | 4 +-
examples/solid/start-large/package.json | 4 +-
.../package.json | 4 +-
.../solid/start-supabase-basic/package.json | 4 +-
examples/solid/start-tailwind-v4/package.json | 4 +-
examples/solid/view-transitions/package.json | 4 +-
.../solid/with-framer-motion/package.json | 2 +-
examples/solid/with-trpc/package.json | 4 +-
.../vue/basic-file-based-jsx/package.json | 4 +-
.../vue/basic-file-based-sfc/package.json | 4 +-
examples/vue/basic/package.json | 2 +-
packages/react-router/CHANGELOG.md | 7 ++
packages/react-router/package.json | 2 +-
packages/react-start-client/CHANGELOG.md | 9 ++
packages/react-start-client/package.json | 2 +-
packages/react-start-rsc/CHANGELOG.md | 13 +++
packages/react-start-rsc/package.json | 2 +-
packages/react-start-server/CHANGELOG.md | 10 ++
packages/react-start-server/package.json | 2 +-
packages/react-start/CHANGELOG.md | 13 +++
packages/react-start/package.json | 2 +-
packages/router-cli/CHANGELOG.md | 7 ++
packages/router-cli/package.json | 2 +-
packages/router-core/CHANGELOG.md | 6 ++
packages/router-core/package.json | 2 +-
packages/router-generator/CHANGELOG.md | 7 ++
packages/router-generator/package.json | 2 +-
packages/router-plugin/CHANGELOG.md | 9 ++
packages/router-plugin/package.json | 2 +-
packages/router-vite-plugin/CHANGELOG.md | 7 ++
packages/router-vite-plugin/package.json | 2 +-
packages/solid-router/CHANGELOG.md | 7 ++
packages/solid-router/package.json | 2 +-
packages/solid-start-client/CHANGELOG.md | 9 ++
packages/solid-start-client/package.json | 2 +-
packages/solid-start-server/CHANGELOG.md | 10 ++
packages/solid-start-server/package.json | 2 +-
packages/solid-start/CHANGELOG.md | 12 +++
packages/solid-start/package.json | 2 +-
packages/start-client-core/CHANGELOG.md | 8 ++
packages/start-client-core/package.json | 2 +-
packages/start-plugin-core/CHANGELOG.md | 11 ++
packages/start-plugin-core/package.json | 2 +-
packages/start-server-core/CHANGELOG.md | 9 ++
packages/start-server-core/package.json | 2 +-
.../CHANGELOG.md | 9 ++
.../package.json | 2 +-
packages/start-storage-context/CHANGELOG.md | 7 ++
packages/start-storage-context/package.json | 2 +-
packages/vue-router/CHANGELOG.md | 7 ++
packages/vue-router/package.json | 2 +-
packages/vue-start-client/CHANGELOG.md | 9 ++
packages/vue-start-client/package.json | 2 +-
packages/vue-start-server/CHANGELOG.md | 10 ++
packages/vue-start-server/package.json | 2 +-
packages/vue-start/CHANGELOG.md | 12 +++
packages/vue-start/package.json | 2 +-
pnpm-lock.yaml | 102 +++++++++---------
164 files changed, 492 insertions(+), 289 deletions(-)
delete mode 100644 .changeset/slow-seahorses-grab.md
diff --git a/.changeset/slow-seahorses-grab.md b/.changeset/slow-seahorses-grab.md
deleted file mode 100644
index aa269d7597..0000000000
--- a/.changeset/slow-seahorses-grab.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/router-core': patch
----
-
-prevent isServer exports from being transformed to top-level vars so rspack can dead-code eliminate them
diff --git a/examples/react/authenticated-routes-firebase/package.json b/examples/react/authenticated-routes-firebase/package.json
index 0bd3e2d174..6834d56100 100644
--- a/examples/react/authenticated-routes-firebase/package.json
+++ b/examples/react/authenticated-routes-firebase/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"firebase": "^11.4.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/authenticated-routes/package.json b/examples/react/authenticated-routes/package.json
index fd1871e00e..71e6f4ed04 100644
--- a/examples/react/authenticated-routes/package.json
+++ b/examples/react/authenticated-routes/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"react": "^19.0.0",
"react-dom": "^19.0.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 8c07aa5049..c5aee8b96e 100644
--- a/examples/react/basic-default-search-params/package.json
+++ b/examples/react/basic-default-search-params/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-devtools-panel/package.json b/examples/react/basic-devtools-panel/package.json
index 6fde053e99..b27a380e62 100644
--- a/examples/react/basic-devtools-panel/package.json
+++ b/examples/react/basic-devtools-panel/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query-devtools": "^5.67.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-file-based/package.json b/examples/react/basic-file-based/package.json
index d5a87c6a52..45526aae81 100644
--- a/examples/react/basic-file-based/package.json
+++ b/examples/react/basic-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-non-nested-devtools/package.json b/examples/react/basic-non-nested-devtools/package.json
index cdefc505ee..0060b6d840 100644
--- a/examples/react/basic-non-nested-devtools/package.json
+++ b/examples/react/basic-non-nested-devtools/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-react-query-file-based/package.json b/examples/react/basic-react-query-file-based/package.json
index 50f9e5644e..c611fc9808 100644
--- a/examples/react/basic-react-query-file-based/package.json
+++ b/examples/react/basic-react-query-file-based/package.json
@@ -12,9 +12,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-react-query/package.json b/examples/react/basic-react-query/package.json
index 2b020365b5..1b9a092d9a 100644
--- a/examples/react/basic-react-query/package.json
+++ b/examples/react/basic-react-query/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-ssr-file-based/package.json b/examples/react/basic-ssr-file-based/package.json
index e6d47a6e4a..422bd88880 100644
--- a/examples/react/basic-ssr-file-based/package.json
+++ b/examples/react/basic-ssr-file-based/package.json
@@ -11,8 +11,8 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.25",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/react-router": "^1.168.26",
+ "@tanstack/router-plugin": "^1.167.29",
"compression": "^1.8.0",
"express": "^4.21.2",
"get-port": "^7.1.0",
diff --git a/examples/react/basic-ssr-streaming-file-based/package.json b/examples/react/basic-ssr-streaming-file-based/package.json
index 897f7a9bdb..bd9e1c55ea 100644
--- a/examples/react/basic-ssr-streaming-file-based/package.json
+++ b/examples/react/basic-ssr-streaming-file-based/package.json
@@ -11,8 +11,8 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.25",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/react-router": "^1.168.26",
+ "@tanstack/router-plugin": "^1.167.29",
"compression": "^1.8.0",
"express": "^4.21.2",
"get-port": "^7.1.0",
diff --git a/examples/react/basic-virtual-file-based/package.json b/examples/react/basic-virtual-file-based/package.json
index 04ac8c25f5..fdff4437df 100644
--- a/examples/react/basic-virtual-file-based/package.json
+++ b/examples/react/basic-virtual-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"@tanstack/virtual-file-routes": "^1.161.7",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-virtual-inside-file-based/package.json b/examples/react/basic-virtual-inside-file-based/package.json
index 7c0685a4fd..4bfad17708 100644
--- a/examples/react/basic-virtual-inside-file-based/package.json
+++ b/examples/react/basic-virtual-inside-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"@tanstack/virtual-file-routes": "^1.161.7",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic/package.json b/examples/react/basic/package.json
index f4c6855a09..92de132c00 100644
--- a/examples/react/basic/package.json
+++ b/examples/react/basic/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/deferred-data/package.json b/examples/react/deferred-data/package.json
index 4313a2edc1..59ad6564a9 100644
--- a/examples/react/deferred-data/package.json
+++ b/examples/react/deferred-data/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/i18n-paraglide/package.json b/examples/react/i18n-paraglide/package.json
index 0e2c6a8360..9c9ba057f3 100644
--- a/examples/react/i18n-paraglide/package.json
+++ b/examples/react/i18n-paraglide/package.json
@@ -11,8 +11,8 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/react-router": "^1.168.26",
+ "@tanstack/router-plugin": "^1.167.29",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"tailwindcss": "^4.2.2"
diff --git a/examples/react/kitchen-sink-file-based/package.json b/examples/react/kitchen-sink-file-based/package.json
index 312dceeffa..09435aa5fb 100644
--- a/examples/react/kitchen-sink-file-based/package.json
+++ b/examples/react/kitchen-sink-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"immer": "^10.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.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 b78ae5e0c7..5c2a8986f3 100644
--- a/examples/react/kitchen-sink-react-query-file-based/package.json
+++ b/examples/react/kitchen-sink-react-query-file-based/package.json
@@ -12,9 +12,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"immer": "^10.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/kitchen-sink-react-query/package.json b/examples/react/kitchen-sink-react-query/package.json
index 9a1c022281..2ca488afc9 100644
--- a/examples/react/kitchen-sink-react-query/package.json
+++ b/examples/react/kitchen-sink-react-query/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"react": "^19.0.0",
diff --git a/examples/react/kitchen-sink/package.json b/examples/react/kitchen-sink/package.json
index 3db753bffa..5bf9fe95a0 100644
--- a/examples/react/kitchen-sink/package.json
+++ b/examples/react/kitchen-sink/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"react": "^19.0.0",
diff --git a/examples/react/large-file-based/package.json b/examples/react/large-file-based/package.json
index 17841d7b84..e62c742b4a 100644
--- a/examples/react/large-file-based/package.json
+++ b/examples/react/large-file-based/package.json
@@ -13,9 +13,9 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/location-masking/package.json b/examples/react/location-masking/package.json
index 45b4f3512d..1c99d695d3 100644
--- a/examples/react/location-masking/package.json
+++ b/examples/react/location-masking/package.json
@@ -12,7 +12,7 @@
"@radix-ui/react-dialog": "^1.1.6",
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/navigation-blocking/package.json b/examples/react/navigation-blocking/package.json
index ef8ba6cc8a..63af46dbd4 100644
--- a/examples/react/navigation-blocking/package.json
+++ b/examples/react/navigation-blocking/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/quickstart-esbuild-file-based/package.json b/examples/react/quickstart-esbuild-file-based/package.json
index 7319f31a77..7e60b5f0eb 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.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/quickstart-file-based/package.json b/examples/react/quickstart-file-based/package.json
index 5830e32b89..ad8bd76b50 100644
--- a/examples/react/quickstart-file-based/package.json
+++ b/examples/react/quickstart-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"react": "^19.0.0",
"react-dom": "^19.0.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 3e0c33ecfd..fb224469d9 100644
--- a/examples/react/quickstart-rspack-file-based/package.json
+++ b/examples/react/quickstart-rspack-file-based/package.json
@@ -9,7 +9,7 @@
},
"dependencies": {
"@tailwindcss/postcss": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"postcss": "^8.5.1",
"react": "^19.0.0",
@@ -19,7 +19,7 @@
"devDependencies": {
"@rsbuild/core": "^2.0.1",
"@rsbuild/plugin-react": "^2.0.0",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"typescript": "^6.0.2"
diff --git a/examples/react/quickstart-webpack-file-based/package.json b/examples/react/quickstart-webpack-file-based/package.json
index dbe065ebff..1ec5703662 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.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@swc/core": "^1.10.15",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"html-webpack-plugin": "^5.6.3",
diff --git a/examples/react/quickstart/package.json b/examples/react/quickstart/package.json
index 4f5adf411d..e8a0f31eca 100644
--- a/examples/react/quickstart/package.json
+++ b/examples/react/quickstart/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/router-monorepo-react-query/package.json b/examples/react/router-monorepo-react-query/package.json
index 17a9b637dd..29e49bfcbd 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.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
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 75324d1a0b..481a4fbc23 100644
--- a/examples/react/router-monorepo-react-query/packages/router/package.json
+++ b/examples/react/router-monorepo-react-query/packages/router/package.json
@@ -10,8 +10,8 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/react-router": "^1.168.26",
+ "@tanstack/router-plugin": "^1.167.29",
"@router-mono-react-query/post-query": "workspace:*",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
diff --git a/examples/react/router-monorepo-simple-lazy/package.json b/examples/react/router-monorepo-simple-lazy/package.json
index a959811e42..b93279d526 100644
--- a/examples/react/router-monorepo-simple-lazy/package.json
+++ b/examples/react/router-monorepo-simple-lazy/package.json
@@ -8,9 +8,9 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/router-monorepo-simple-lazy/packages/router/package.json b/examples/react/router-monorepo-simple-lazy/packages/router/package.json
index 8aadf37535..63221ad8a6 100644
--- a/examples/react/router-monorepo-simple-lazy/packages/router/package.json
+++ b/examples/react/router-monorepo-simple-lazy/packages/router/package.json
@@ -9,8 +9,8 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/react-router": "^1.168.25",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/react-router": "^1.168.26",
+ "@tanstack/router-plugin": "^1.167.29",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"react": "^19.0.0",
diff --git a/examples/react/router-monorepo-simple/package.json b/examples/react/router-monorepo-simple/package.json
index 74242a9c68..e4d4bbd5d2 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.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/router-monorepo-simple/packages/router/package.json b/examples/react/router-monorepo-simple/packages/router/package.json
index 93d1992c3e..dcca691782 100644
--- a/examples/react/router-monorepo-simple/packages/router/package.json
+++ b/examples/react/router-monorepo-simple/packages/router/package.json
@@ -9,8 +9,8 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/react-router": "^1.168.25",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/react-router": "^1.168.26",
+ "@tanstack/router-plugin": "^1.167.29",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"react": "^19.0.0",
diff --git a/examples/react/scroll-restoration/package.json b/examples/react/scroll-restoration/package.json
index cb0e314543..99fcfd031c 100644
--- a/examples/react/scroll-restoration/package.json
+++ b/examples/react/scroll-restoration/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-virtual": "^3.13.0",
"react": "^19.0.0",
diff --git a/examples/react/search-validator-adapters/package.json b/examples/react/search-validator-adapters/package.json
index 3d8da01d2d..a70edeba7e 100644
--- a/examples/react/search-validator-adapters/package.json
+++ b/examples/react/search-validator-adapters/package.json
@@ -13,9 +13,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/arktype-adapter": "^1.166.9",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"@tanstack/valibot-adapter": "^1.166.9",
"@tanstack/zod-adapter": "^1.166.9",
"arktype": "^2.1.7",
diff --git a/examples/react/start-bare/package.json b/examples/react/start-bare/package.json
index e3732ec5d9..fa8652f34e 100644
--- a/examples/react/start-bare/package.json
+++ b/examples/react/start-bare/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"zod": "^3.24.2"
diff --git a/examples/react/start-basic-auth/package.json b/examples/react/start-basic-auth/package.json
index d83cbf82a2..d70ca3f6ee 100644
--- a/examples/react/start-basic-auth/package.json
+++ b/examples/react/start-basic-auth/package.json
@@ -14,9 +14,9 @@
"@libsql/client": "^0.15.15",
"@prisma/adapter-libsql": "^7.0.0",
"@prisma/client": "^7.0.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic-authjs/package.json b/examples/react/start-basic-authjs/package.json
index f444a771ef..fd83b4d80d 100644
--- a/examples/react/start-basic-authjs/package.json
+++ b/examples/react/start-basic-authjs/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@auth/core": "^0.41.1",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"start-authjs": "^1.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-basic-cloudflare/package.json b/examples/react/start-basic-cloudflare/package.json
index 942e87be69..dbdc0ff46f 100644
--- a/examples/react/start-basic-cloudflare/package.json
+++ b/examples/react/start-basic-cloudflare/package.json
@@ -12,9 +12,9 @@
"postinstall": "npm run cf-typegen"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
diff --git a/examples/react/start-basic-react-query/package.json b/examples/react/start-basic-react-query/package.json
index 8ea913ce08..76875f6c47 100644
--- a/examples/react/start-basic-react-query/package.json
+++ b/examples/react/start-basic-react-query/package.json
@@ -12,10 +12,10 @@
"dependencies": {
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic-static/package.json b/examples/react/start-basic-static/package.json
index 7c09284430..d650f224bf 100644
--- a/examples/react/start-basic-static/package.json
+++ b/examples/react/start-basic-static/package.json
@@ -10,10 +10,10 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
- "@tanstack/start-static-server-functions": "^1.166.36",
+ "@tanstack/react-start": "^1.167.52",
+ "@tanstack/start-static-server-functions": "^1.166.37",
"@vitejs/plugin-react": "^6.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-basic/package.json b/examples/react/start-basic/package.json
index d54c4ce445..7795060d5e 100644
--- a/examples/react/start-basic/package.json
+++ b/examples/react/start-basic/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^2.6.0",
diff --git a/examples/react/start-bun/package.json b/examples/react/start-bun/package.json
index b334b801d5..60a03e52f3 100644
--- a/examples/react/start-bun/package.json
+++ b/examples/react/start-bun/package.json
@@ -15,11 +15,11 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-devtools": "^0.7.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.51",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/react-start": "^1.167.52",
+ "@tanstack/router-plugin": "^1.167.29",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"tailwindcss": "^4.2.2"
diff --git a/examples/react/start-clerk-basic/package.json b/examples/react/start-clerk-basic/package.json
index 38903ee57b..6aca8a39fc 100644
--- a/examples/react/start-clerk-basic/package.json
+++ b/examples/react/start-clerk-basic/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@clerk/tanstack-react-start": "^0.27.14",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"@vitejs/plugin-react": "^6.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-convex-trellaux/package.json b/examples/react/start-convex-trellaux/package.json
index 54bbc6807e..3476f4f83f 100644
--- a/examples/react/start-convex-trellaux/package.json
+++ b/examples/react/start-convex-trellaux/package.json
@@ -15,10 +15,10 @@
"@convex-dev/react-query": "0.0.0-alpha.8",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"concurrently": "^8.2.2",
"convex": "^1.19.0",
"ky": "^1.7.4",
diff --git a/examples/react/start-counter/package.json b/examples/react/start-counter/package.json
index 988af9746f..ef2d573abe 100644
--- a/examples/react/start-counter/package.json
+++ b/examples/react/start-counter/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
diff --git a/examples/react/start-i18n-paraglide/package.json b/examples/react/start-i18n-paraglide/package.json
index 9c2955e2dd..3a8e5fcfb6 100644
--- a/examples/react/start-i18n-paraglide/package.json
+++ b/examples/react/start-i18n-paraglide/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tanstack/react-devtools": "^0.7.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"react": "^19.1.1",
"react-dom": "^19.1.1"
},
diff --git a/examples/react/start-large/package.json b/examples/react/start-large/package.json
index c68785f774..46a24fca7a 100644
--- a/examples/react/start-large/package.json
+++ b/examples/react/start-large/package.json
@@ -13,9 +13,9 @@
},
"dependencies": {
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-material-ui/package.json b/examples/react/start-material-ui/package.json
index 3b467c9e5e..6073c57a2a 100644
--- a/examples/react/start-material-ui/package.json
+++ b/examples/react/start-material-ui/package.json
@@ -15,8 +15,8 @@
"@emotion/styled": "11.14.0",
"@fontsource-variable/roboto": "5.2.5",
"@mui/material": "6.4.7",
- "@tanstack/react-router": "^1.168.25",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-start": "^1.167.52",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-rscs/package.json b/examples/react/start-rscs/package.json
index 20885fe1c3..4b4ce18244 100644
--- a/examples/react/start-rscs/package.json
+++ b/examples/react/start-rscs/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"dexie": "^4.0.10",
"react": "^19.2.0",
"react-dom": "^19.2.0",
diff --git a/examples/react/start-streaming-data-from-server-functions/package.json b/examples/react/start-streaming-data-from-server-functions/package.json
index 92577974df..3fe393719b 100644
--- a/examples/react/start-streaming-data-from-server-functions/package.json
+++ b/examples/react/start-streaming-data-from-server-functions/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"zod": "^3.24.2"
diff --git a/examples/react/start-supabase-basic/package.json b/examples/react/start-supabase-basic/package.json
index c5da905331..9668c77506 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.48.1",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/start-tailwind-v4/package.json b/examples/react/start-tailwind-v4/package.json
index 437a485977..22fdd54e94 100644
--- a/examples/react/start-tailwind-v4/package.json
+++ b/examples/react/start-tailwind-v4/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^2.6.0",
diff --git a/examples/react/start-trellaux/package.json b/examples/react/start-trellaux/package.json
index c295adf320..4f64da4295 100644
--- a/examples/react/start-trellaux/package.json
+++ b/examples/react/start-trellaux/package.json
@@ -12,10 +12,10 @@
"dependencies": {
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"ky": "^1.7.4",
"msw": "^2.7.0",
"react": "^19.0.0",
diff --git a/examples/react/start-workos/package.json b/examples/react/start-workos/package.json
index db043be411..85276dd91c 100644
--- a/examples/react/start-workos/package.json
+++ b/examples/react/start-workos/package.json
@@ -14,9 +14,9 @@
"license": "MIT",
"dependencies": {
"@radix-ui/themes": "^3.3.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.51",
+ "@tanstack/react-start": "^1.167.52",
"@workos/authkit-tanstack-react-start": "^0.5.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
diff --git a/examples/react/view-transitions/package.json b/examples/react/view-transitions/package.json
index 17e23be31a..94f9be0a0b 100644
--- a/examples/react/view-transitions/package.json
+++ b/examples/react/view-transitions/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/with-framer-motion/package.json b/examples/react/with-framer-motion/package.json
index ccd254e619..d13f6149b2 100644
--- a/examples/react/with-framer-motion/package.json
+++ b/examples/react/with-framer-motion/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
"framer-motion": "^11.18.2",
"react": "^19.0.0",
diff --git a/examples/react/with-trpc-react-query/package.json b/examples/react/with-trpc-react-query/package.json
index d2baada199..dbd96cbe1b 100644
--- a/examples/react/with-trpc-react-query/package.json
+++ b/examples/react/with-trpc-react-query/package.json
@@ -13,9 +13,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"@trpc/client": "^11.4.3",
"@trpc/server": "^11.4.3",
"@trpc/tanstack-react-query": "^11.4.3",
diff --git a/examples/react/with-trpc/package.json b/examples/react/with-trpc/package.json
index 9d9f4730bf..ff0ed662f0 100644
--- a/examples/react/with-trpc/package.json
+++ b/examples/react/with-trpc/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.25",
+ "@tanstack/react-router": "^1.168.26",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"@trpc/client": "^11.4.3",
"@trpc/server": "^11.4.3",
"express": "^4.21.2",
diff --git a/examples/solid/authenticated-routes-firebase/package.json b/examples/solid/authenticated-routes-firebase/package.json
index b2a9ea016b..849fc137d6 100644
--- a/examples/solid/authenticated-routes-firebase/package.json
+++ b/examples/solid/authenticated-routes-firebase/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"firebase": "^11.4.0",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/authenticated-routes/package.json b/examples/solid/authenticated-routes/package.json
index d8d82347c0..42882be030 100644
--- a/examples/solid/authenticated-routes/package.json
+++ b/examples/solid/authenticated-routes/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/basic-default-search-params/package.json b/examples/solid/basic-default-search-params/package.json
index f512b05f71..eb24e2e856 100644
--- a/examples/solid/basic-default-search-params/package.json
+++ b/examples/solid/basic-default-search-params/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/basic-devtools-panel/package.json b/examples/solid/basic-devtools-panel/package.json
index f51888a26b..257f8e8c2b 100644
--- a/examples/solid/basic-devtools-panel/package.json
+++ b/examples/solid/basic-devtools-panel/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-file-based/package.json b/examples/solid/basic-file-based/package.json
index 2d4fa97730..843cf31709 100644
--- a/examples/solid/basic-file-based/package.json
+++ b/examples/solid/basic-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
@@ -18,7 +18,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/basic-non-nested-devtools/package.json b/examples/solid/basic-non-nested-devtools/package.json
index 059733994f..c7665945c8 100644
--- a/examples/solid/basic-non-nested-devtools/package.json
+++ b/examples/solid/basic-non-nested-devtools/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-solid-query-file-based/package.json b/examples/solid/basic-solid-query-file-based/package.json
index 33a8b0e62d..486b63a7a0 100644
--- a/examples/solid/basic-solid-query-file-based/package.json
+++ b/examples/solid/basic-solid-query-file-based/package.json
@@ -13,7 +13,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
@@ -21,7 +21,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/basic-solid-query/package.json b/examples/solid/basic-solid-query/package.json
index 66916fbd4f..2dd396922c 100644
--- a/examples/solid/basic-solid-query/package.json
+++ b/examples/solid/basic-solid-query/package.json
@@ -12,14 +12,14 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/basic-ssr-file-based/package.json b/examples/solid/basic-ssr-file-based/package.json
index 8059eb5f53..19da66c2b2 100644
--- a/examples/solid/basic-ssr-file-based/package.json
+++ b/examples/solid/basic-ssr-file-based/package.json
@@ -11,8 +11,8 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.25",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/router-plugin": "^1.167.29",
"compression": "^1.8.0",
"express": "^4.21.2",
"get-port": "^7.1.0",
diff --git a/examples/solid/basic-ssr-streaming-file-based/package.json b/examples/solid/basic-ssr-streaming-file-based/package.json
index 3079eb1066..26ea8908fe 100644
--- a/examples/solid/basic-ssr-streaming-file-based/package.json
+++ b/examples/solid/basic-ssr-streaming-file-based/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"compression": "^1.8.0",
"express": "^4.21.2",
@@ -24,7 +24,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"@types/express": "^4.17.23",
"typescript": "^6.0.2",
"vite": "^8.0.0",
diff --git a/examples/solid/basic-virtual-file-based/package.json b/examples/solid/basic-virtual-file-based/package.json
index deeee23849..802086aa0c 100644
--- a/examples/solid/basic-virtual-file-based/package.json
+++ b/examples/solid/basic-virtual-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"@tanstack/virtual-file-routes": "^1.161.7",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/basic-virtual-inside-file-based/package.json b/examples/solid/basic-virtual-inside-file-based/package.json
index 23ab925176..3dbcf288be 100644
--- a/examples/solid/basic-virtual-inside-file-based/package.json
+++ b/examples/solid/basic-virtual-inside-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"@tanstack/virtual-file-routes": "^1.161.7",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/basic/package.json b/examples/solid/basic/package.json
index aefe637792..5d67dbaec3 100644
--- a/examples/solid/basic/package.json
+++ b/examples/solid/basic/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/deferred-data/package.json b/examples/solid/deferred-data/package.json
index 009480ba66..dd7926faa7 100644
--- a/examples/solid/deferred-data/package.json
+++ b/examples/solid/deferred-data/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/i18n-paraglide/package.json b/examples/solid/i18n-paraglide/package.json
index 9dabdcadee..4ab4633c02 100644
--- a/examples/solid/i18n-paraglide/package.json
+++ b/examples/solid/i18n-paraglide/package.json
@@ -11,8 +11,8 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/router-plugin": "^1.167.29",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
},
diff --git a/examples/solid/kitchen-sink-file-based/package.json b/examples/solid/kitchen-sink-file-based/package.json
index 5c8a92dd6e..cf2eae24d0 100644
--- a/examples/solid/kitchen-sink-file-based/package.json
+++ b/examples/solid/kitchen-sink-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
@@ -19,7 +19,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/kitchen-sink-solid-query-file-based/package.json b/examples/solid/kitchen-sink-solid-query-file-based/package.json
index f9568cbfa6..51e4ddca85 100644
--- a/examples/solid/kitchen-sink-solid-query-file-based/package.json
+++ b/examples/solid/kitchen-sink-solid-query-file-based/package.json
@@ -10,10 +10,10 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
diff --git a/examples/solid/kitchen-sink-solid-query/package.json b/examples/solid/kitchen-sink-solid-query/package.json
index f912314f45..dc70ff8d35 100644
--- a/examples/solid/kitchen-sink-solid-query/package.json
+++ b/examples/solid/kitchen-sink-solid-query/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
diff --git a/examples/solid/kitchen-sink/package.json b/examples/solid/kitchen-sink/package.json
index b584d834f9..8a313b4768 100644
--- a/examples/solid/kitchen-sink/package.json
+++ b/examples/solid/kitchen-sink/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/large-file-based/package.json b/examples/solid/large-file-based/package.json
index 6dd1e6ff03..3cb1fda68b 100644
--- a/examples/solid/large-file-based/package.json
+++ b/examples/solid/large-file-based/package.json
@@ -13,9 +13,9 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/location-masking/package.json b/examples/solid/location-masking/package.json
index 0190d6c910..bf6ac8b4f5 100644
--- a/examples/solid/location-masking/package.json
+++ b/examples/solid/location-masking/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/navigation-blocking/package.json b/examples/solid/navigation-blocking/package.json
index 030eca45eb..dde7532600 100644
--- a/examples/solid/navigation-blocking/package.json
+++ b/examples/solid/navigation-blocking/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/quickstart-esbuild-file-based/package.json b/examples/solid/quickstart-esbuild-file-based/package.json
index 6fe39fb3c5..ee5f281eb0 100644
--- a/examples/solid/quickstart-esbuild-file-based/package.json
+++ b/examples/solid/quickstart-esbuild-file-based/package.json
@@ -9,8 +9,8 @@
"start": "dev"
},
"dependencies": {
- "@tanstack/router-plugin": "^1.167.28",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/quickstart-file-based/package.json b/examples/solid/quickstart-file-based/package.json
index 789053fde2..9980315ecf 100644
--- a/examples/solid/quickstart-file-based/package.json
+++ b/examples/solid/quickstart-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
@@ -18,7 +18,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/quickstart-rspack-file-based/package.json b/examples/solid/quickstart-rspack-file-based/package.json
index 6f48ba6a12..d95335dda0 100644
--- a/examples/solid/quickstart-rspack-file-based/package.json
+++ b/examples/solid/quickstart-rspack-file-based/package.json
@@ -9,7 +9,7 @@
},
"dependencies": {
"@tailwindcss/postcss": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"postcss": "^8.5.1",
"solid-js": "^1.9.10",
@@ -19,7 +19,7 @@
"@rsbuild/core": "^2.0.1",
"@rsbuild/plugin-babel": "^1.1.2",
"@rsbuild/plugin-solid": "^1.1.1",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"typescript": "^6.0.2"
}
}
diff --git a/examples/solid/quickstart-webpack-file-based/package.json b/examples/solid/quickstart-webpack-file-based/package.json
index aa86a9b106..c69bae8af8 100644
--- a/examples/solid/quickstart-webpack-file-based/package.json
+++ b/examples/solid/quickstart-webpack-file-based/package.json
@@ -7,7 +7,7 @@
"build": "webpack build && tsc --noEmit"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
@@ -15,7 +15,7 @@
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/preset-typescript": "^7.27.1",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"babel-loader": "^10.0.0",
"babel-preset-solid": "^1.9.10",
"css-loader": "^7.1.2",
diff --git a/examples/solid/quickstart/package.json b/examples/solid/quickstart/package.json
index f7bd07eb94..a910b6c223 100644
--- a/examples/solid/quickstart/package.json
+++ b/examples/solid/quickstart/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
diff --git a/examples/solid/router-monorepo-simple-lazy/package.json b/examples/solid/router-monorepo-simple-lazy/package.json
index 2ed3242480..581c2bbc94 100644
--- a/examples/solid/router-monorepo-simple-lazy/package.json
+++ b/examples/solid/router-monorepo-simple-lazy/package.json
@@ -8,9 +8,9 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/router-monorepo-simple-lazy/packages/router/package.json b/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
index de5540a5d2..b7df2d4581 100644
--- a/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
+++ b/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
@@ -9,8 +9,8 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/solid-router": "^1.168.25",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/router-plugin": "^1.167.29",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"solid-js": "^1.9.10"
diff --git a/examples/solid/router-monorepo-simple/package.json b/examples/solid/router-monorepo-simple/package.json
index 467fd9a303..33d1b21790 100644
--- a/examples/solid/router-monorepo-simple/package.json
+++ b/examples/solid/router-monorepo-simple/package.json
@@ -8,9 +8,9 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/router-monorepo-simple/packages/router/package.json b/examples/solid/router-monorepo-simple/packages/router/package.json
index 2434852ce2..0dfb61c3eb 100644
--- a/examples/solid/router-monorepo-simple/packages/router/package.json
+++ b/examples/solid/router-monorepo-simple/packages/router/package.json
@@ -9,8 +9,8 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/solid-router": "^1.168.25",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/router-plugin": "^1.167.29",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"solid-js": "^1.9.10"
diff --git a/examples/solid/router-monorepo-solid-query/package.json b/examples/solid/router-monorepo-solid-query/package.json
index 58c69ea4f5..fd54a0f41f 100644
--- a/examples/solid/router-monorepo-solid-query/package.json
+++ b/examples/solid/router-monorepo-solid-query/package.json
@@ -12,9 +12,9 @@
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/router-monorepo-solid-query/packages/router/package.json b/examples/solid/router-monorepo-solid-query/packages/router/package.json
index 93b534b624..8e17778cf5 100644
--- a/examples/solid/router-monorepo-solid-query/packages/router/package.json
+++ b/examples/solid/router-monorepo-solid-query/packages/router/package.json
@@ -10,8 +10,8 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.25",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/router-plugin": "^1.167.29",
"@router-solid-mono-solid-query/post-query": "workspace:*",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
diff --git a/examples/solid/scroll-restoration/package.json b/examples/solid/scroll-restoration/package.json
index 45fd55fe32..133e02837a 100644
--- a/examples/solid/scroll-restoration/package.json
+++ b/examples/solid/scroll-restoration/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-virtual": "^3.13.0",
"solid-js": "^1.9.10",
diff --git a/examples/solid/search-validator-adapters/package.json b/examples/solid/search-validator-adapters/package.json
index 41e9037ef8..b80374b89e 100644
--- a/examples/solid/search-validator-adapters/package.json
+++ b/examples/solid/search-validator-adapters/package.json
@@ -13,9 +13,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/arktype-adapter": "^1.166.9",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"@tanstack/valibot-adapter": "^1.166.9",
"@tanstack/zod-adapter": "^1.166.9",
"arktype": "^2.1.7",
diff --git a/examples/solid/start-basic-auth/package.json b/examples/solid/start-basic-auth/package.json
index 428cdbb4d0..68a9adf83a 100644
--- a/examples/solid/start-basic-auth/package.json
+++ b/examples/solid/start-basic-auth/package.json
@@ -14,9 +14,9 @@
"@libsql/client": "^0.15.15",
"@prisma/adapter-libsql": "^7.0.0",
"@prisma/client": "^7.0.0",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/solid-start": "^1.167.49",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-authjs/package.json b/examples/solid/start-basic-authjs/package.json
index 6ae883ae6c..893274c7a5 100644
--- a/examples/solid/start-basic-authjs/package.json
+++ b/examples/solid/start-basic-authjs/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@auth/core": "^0.41.1",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/solid-start": "^1.167.49",
"start-authjs": "^1.0.0",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-cloudflare/package.json b/examples/solid/start-basic-cloudflare/package.json
index 5bdea2a104..40e57b0580 100644
--- a/examples/solid/start-basic-cloudflare/package.json
+++ b/examples/solid/start-basic-cloudflare/package.json
@@ -12,9 +12,9 @@
"postinstall": "npm run cf-typegen"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/solid-start": "^1.167.49",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-netlify/package.json b/examples/solid/start-basic-netlify/package.json
index 963693161b..f625bd144e 100644
--- a/examples/solid/start-basic-netlify/package.json
+++ b/examples/solid/start-basic-netlify/package.json
@@ -9,9 +9,9 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/solid-start": "^1.167.49",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-nitro/package.json b/examples/solid/start-basic-nitro/package.json
index fcd2efb082..144374b049 100644
--- a/examples/solid/start-basic-nitro/package.json
+++ b/examples/solid/start-basic-nitro/package.json
@@ -9,9 +9,9 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/solid-start": "^1.167.49",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-solid-query/package.json b/examples/solid/start-basic-solid-query/package.json
index d99967dd46..743a07320a 100644
--- a/examples/solid/start-basic-solid-query/package.json
+++ b/examples/solid/start-basic-solid-query/package.json
@@ -12,10 +12,10 @@
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/solid-start": "^1.167.49",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-static/package.json b/examples/solid/start-basic-static/package.json
index e6ea9b8a54..3ffe2e3f5b 100644
--- a/examples/solid/start-basic-static/package.json
+++ b/examples/solid/start-basic-static/package.json
@@ -10,10 +10,10 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.48",
- "@tanstack/start-static-server-functions": "^1.166.36",
+ "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/start-static-server-functions": "^1.166.37",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic/package.json b/examples/solid/start-basic/package.json
index 464de338d2..2ba16e90bf 100644
--- a/examples/solid/start-basic/package.json
+++ b/examples/solid/start-basic/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/solid-start": "^1.167.49",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-bun/package.json b/examples/solid/start-bun/package.json
index e2e9dc5e42..f3ce8fa90b 100644
--- a/examples/solid/start-bun/package.json
+++ b/examples/solid/start-bun/package.json
@@ -15,11 +15,11 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-devtools": "^0.7.0",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.48",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/router-plugin": "^1.167.29",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
},
diff --git a/examples/solid/start-convex-better-auth/package.json b/examples/solid/start-convex-better-auth/package.json
index 7b25247369..f661b653af 100644
--- a/examples/solid/start-convex-better-auth/package.json
+++ b/examples/solid/start-convex-better-auth/package.json
@@ -13,9 +13,9 @@
"dependencies": {
"@convex-dev/better-auth": "^0.9.7",
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/solid-start": "^1.167.49",
"better-auth": "^1.3.27",
"clsx": "^2.1.1",
"convex": "^1.28.2",
diff --git a/examples/solid/start-counter/package.json b/examples/solid/start-counter/package.json
index 2bc0f6462f..c8c17e37de 100644
--- a/examples/solid/start-counter/package.json
+++ b/examples/solid/start-counter/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/solid-start": "^1.167.49",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-i18n-paraglide/package.json b/examples/solid/start-i18n-paraglide/package.json
index 989bc80c06..aa36a5eb2a 100644
--- a/examples/solid/start-i18n-paraglide/package.json
+++ b/examples/solid/start-i18n-paraglide/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tanstack/solid-devtools": "^0.7.0",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/solid-start": "^1.167.49",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-large/package.json b/examples/solid/start-large/package.json
index 414183e1bb..a4d1feb0dd 100644
--- a/examples/solid/start-large/package.json
+++ b/examples/solid/start-large/package.json
@@ -13,9 +13,9 @@
},
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/solid-start": "^1.167.49",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-streaming-data-from-server-functions/package.json b/examples/solid/start-streaming-data-from-server-functions/package.json
index 5e8c7777b0..f29a1ac94e 100644
--- a/examples/solid/start-streaming-data-from-server-functions/package.json
+++ b/examples/solid/start-streaming-data-from-server-functions/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/solid-start": "^1.167.49",
"solid-js": "^1.9.10",
"zod": "^3.24.2"
},
diff --git a/examples/solid/start-supabase-basic/package.json b/examples/solid/start-supabase-basic/package.json
index 7f862f6e11..ebe59a0195 100644
--- a/examples/solid/start-supabase-basic/package.json
+++ b/examples/solid/start-supabase-basic/package.json
@@ -14,9 +14,9 @@
"dependencies": {
"@supabase/ssr": "^0.5.2",
"@supabase/supabase-js": "^2.48.1",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/solid-start": "^1.167.49",
"solid-js": "^1.9.9",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/start-tailwind-v4/package.json b/examples/solid/start-tailwind-v4/package.json
index bdae511edd..9c9b8ad364 100644
--- a/examples/solid/start-tailwind-v4/package.json
+++ b/examples/solid/start-tailwind-v4/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.48",
+ "@tanstack/solid-start": "^1.167.49",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0",
"zod": "^3.24.2"
diff --git a/examples/solid/view-transitions/package.json b/examples/solid/view-transitions/package.json
index 557a08cd4d..a6e4f4a721 100644
--- a/examples/solid/view-transitions/package.json
+++ b/examples/solid/view-transitions/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/with-framer-motion/package.json b/examples/solid/with-framer-motion/package.json
index ca719c3011..bb45b17808 100644
--- a/examples/solid/with-framer-motion/package.json
+++ b/examples/solid/with-framer-motion/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/with-trpc/package.json b/examples/solid/with-trpc/package.json
index faec534372..54e57db023 100644
--- a/examples/solid/with-trpc/package.json
+++ b/examples/solid/with-trpc/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.25",
+ "@tanstack/solid-router": "^1.168.26",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.28",
+ "@tanstack/router-plugin": "^1.167.29",
"@trpc/client": "^11.4.3",
"@trpc/server": "^11.4.3",
"express": "^4.21.2",
diff --git a/examples/vue/basic-file-based-jsx/package.json b/examples/vue/basic-file-based-jsx/package.json
index e2f38158e3..f6683544b7 100644
--- a/examples/vue/basic-file-based-jsx/package.json
+++ b/examples/vue/basic-file-based-jsx/package.json
@@ -10,8 +10,8 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.28",
- "@tanstack/vue-router": "^1.168.21",
+ "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/vue-router": "^1.168.22",
"@tanstack/vue-router-devtools": "^1.166.13",
"@tanstack/zod-adapter": "^1.166.9",
"redaxios": "^0.5.1",
diff --git a/examples/vue/basic-file-based-sfc/package.json b/examples/vue/basic-file-based-sfc/package.json
index ca563f8df1..afb1f169c1 100644
--- a/examples/vue/basic-file-based-sfc/package.json
+++ b/examples/vue/basic-file-based-sfc/package.json
@@ -10,8 +10,8 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.28",
- "@tanstack/vue-router": "^1.168.21",
+ "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/vue-router": "^1.168.22",
"@tanstack/vue-router-devtools": "^1.166.13",
"@tanstack/zod-adapter": "^1.166.9",
"redaxios": "^0.5.1",
diff --git a/examples/vue/basic/package.json b/examples/vue/basic/package.json
index 21ee6c78a5..d32e9e6395 100644
--- a/examples/vue/basic/package.json
+++ b/examples/vue/basic/package.json
@@ -9,7 +9,7 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/vue-router": "^1.168.21",
+ "@tanstack/vue-router": "^1.168.22",
"@tanstack/vue-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"vue": "^3.5.13",
diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md
index 99cc1dc253..2e99154e78 100644
--- a/packages/react-router/CHANGELOG.md
+++ b/packages/react-router/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/react-router
+## 1.168.26
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+
## 1.168.25
### Patch Changes
diff --git a/packages/react-router/package.json b/packages/react-router/package.json
index 48da5e1bac..a618f2fa8a 100644
--- a/packages/react-router/package.json
+++ b/packages/react-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-router",
- "version": "1.168.25",
+ "version": "1.168.26",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start-client/CHANGELOG.md b/packages/react-start-client/CHANGELOG.md
index 5b37cf4333..8775999e4c 100644
--- a/packages/react-start-client/CHANGELOG.md
+++ b/packages/react-start-client/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/react-start-client
+## 1.166.44
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+ - @tanstack/react-router@1.168.26
+ - @tanstack/start-client-core@1.167.21
+
## 1.166.43
### Patch Changes
diff --git a/packages/react-start-client/package.json b/packages/react-start-client/package.json
index 453014d5c2..080b3d7f0d 100644
--- a/packages/react-start-client/package.json
+++ b/packages/react-start-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start-client",
- "version": "1.166.43",
+ "version": "1.166.44",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start-rsc/CHANGELOG.md b/packages/react-start-rsc/CHANGELOG.md
index e4cda2a80e..734e6a3a21 100644
--- a/packages/react-start-rsc/CHANGELOG.md
+++ b/packages/react-start-rsc/CHANGELOG.md
@@ -1,5 +1,18 @@
# @tanstack/react-start-rsc
+## 0.0.31
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+ - @tanstack/react-router@1.168.26
+ - @tanstack/react-start-server@1.166.45
+ - @tanstack/start-client-core@1.167.21
+ - @tanstack/start-plugin-core@1.169.7
+ - @tanstack/start-server-core@1.167.23
+ - @tanstack/start-storage-context@1.166.32
+
## 0.0.30
### Patch Changes
diff --git a/packages/react-start-rsc/package.json b/packages/react-start-rsc/package.json
index db9a251ef0..d52e8d8de7 100644
--- a/packages/react-start-rsc/package.json
+++ b/packages/react-start-rsc/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start-rsc",
- "version": "0.0.30",
+ "version": "0.0.31",
"description": "React Server Components support for TanStack Start",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start-server/CHANGELOG.md b/packages/react-start-server/CHANGELOG.md
index a6d08fdc60..3b3c41726f 100644
--- a/packages/react-start-server/CHANGELOG.md
+++ b/packages/react-start-server/CHANGELOG.md
@@ -1,5 +1,15 @@
# @tanstack/react-start-server
+## 1.166.45
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+ - @tanstack/react-router@1.168.26
+ - @tanstack/start-client-core@1.167.21
+ - @tanstack/start-server-core@1.167.23
+
## 1.166.44
### Patch Changes
diff --git a/packages/react-start-server/package.json b/packages/react-start-server/package.json
index 04ae13a39e..04bdd12e00 100644
--- a/packages/react-start-server/package.json
+++ b/packages/react-start-server/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start-server",
- "version": "1.166.44",
+ "version": "1.166.45",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start/CHANGELOG.md b/packages/react-start/CHANGELOG.md
index 02ef601fc2..8b35767509 100644
--- a/packages/react-start/CHANGELOG.md
+++ b/packages/react-start/CHANGELOG.md
@@ -1,5 +1,18 @@
# @tanstack/react-start
+## 1.167.52
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/react-router@1.168.26
+ - @tanstack/react-start-client@1.166.44
+ - @tanstack/react-start-rsc@0.0.31
+ - @tanstack/react-start-server@1.166.45
+ - @tanstack/start-client-core@1.167.21
+ - @tanstack/start-plugin-core@1.169.7
+ - @tanstack/start-server-core@1.167.23
+
## 1.167.51
### Patch Changes
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index 0b242f479d..fc84a4eb05 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.167.51",
+ "version": "1.167.52",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-cli/CHANGELOG.md b/packages/router-cli/CHANGELOG.md
index 84da63d3fc..c3abc7538a 100644
--- a/packages/router-cli/CHANGELOG.md
+++ b/packages/router-cli/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-cli
+## 1.166.38
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/router-generator@1.166.37
+
## 1.166.37
### Patch Changes
diff --git a/packages/router-cli/package.json b/packages/router-cli/package.json
index e00a73f3d3..ad98195ab2 100644
--- a/packages/router-cli/package.json
+++ b/packages/router-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-cli",
- "version": "1.166.37",
+ "version": "1.166.38",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-core/CHANGELOG.md b/packages/router-core/CHANGELOG.md
index de6c58d925..d65bf03364 100644
--- a/packages/router-core/CHANGELOG.md
+++ b/packages/router-core/CHANGELOG.md
@@ -1,5 +1,11 @@
# @tanstack/router-core
+## 1.168.18
+
+### Patch Changes
+
+- prevent isServer exports from being transformed to top-level vars so rspack can dead-code eliminate them ([#7293](https://github.com/TanStack/router/pull/7293))
+
## 1.168.17
### Patch Changes
diff --git a/packages/router-core/package.json b/packages/router-core/package.json
index 2c47eaa743..8d03d3ade3 100644
--- a/packages/router-core/package.json
+++ b/packages/router-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-core",
- "version": "1.168.17",
+ "version": "1.168.18",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-generator/CHANGELOG.md b/packages/router-generator/CHANGELOG.md
index 3660abe810..6f28cb0cfb 100644
--- a/packages/router-generator/CHANGELOG.md
+++ b/packages/router-generator/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-generator
+## 1.166.37
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+
## 1.166.36
### Patch Changes
diff --git a/packages/router-generator/package.json b/packages/router-generator/package.json
index 3e9aac843a..86ea1bc835 100644
--- a/packages/router-generator/package.json
+++ b/packages/router-generator/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-generator",
- "version": "1.166.36",
+ "version": "1.166.37",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-plugin/CHANGELOG.md b/packages/router-plugin/CHANGELOG.md
index 75edc4a16c..7efa3e4528 100644
--- a/packages/router-plugin/CHANGELOG.md
+++ b/packages/router-plugin/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/router-plugin
+## 1.167.29
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+ - @tanstack/react-router@1.168.26
+ - @tanstack/router-generator@1.166.37
+
## 1.167.28
### Patch Changes
diff --git a/packages/router-plugin/package.json b/packages/router-plugin/package.json
index 44964145ac..c92271496e 100644
--- a/packages/router-plugin/package.json
+++ b/packages/router-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-plugin",
- "version": "1.167.28",
+ "version": "1.167.29",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-vite-plugin/CHANGELOG.md b/packages/router-vite-plugin/CHANGELOG.md
index b199f8829d..12a8072beb 100644
--- a/packages/router-vite-plugin/CHANGELOG.md
+++ b/packages/router-vite-plugin/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-vite-plugin
+## 1.166.44
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/router-plugin@1.167.29
+
## 1.166.43
### Patch Changes
diff --git a/packages/router-vite-plugin/package.json b/packages/router-vite-plugin/package.json
index 5e7bd60805..96f1ba7850 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.166.43",
+ "version": "1.166.44",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-router/CHANGELOG.md b/packages/solid-router/CHANGELOG.md
index d0422a27b5..dd1d071518 100644
--- a/packages/solid-router/CHANGELOG.md
+++ b/packages/solid-router/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/solid-router
+## 1.168.26
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+
## 1.168.25
### Patch Changes
diff --git a/packages/solid-router/package.json b/packages/solid-router/package.json
index 33a1d536b7..2e44f368c7 100644
--- a/packages/solid-router/package.json
+++ b/packages/solid-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-router",
- "version": "1.168.25",
+ "version": "1.168.26",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start-client/CHANGELOG.md b/packages/solid-start-client/CHANGELOG.md
index ced8d17aca..82dc600fed 100644
--- a/packages/solid-start-client/CHANGELOG.md
+++ b/packages/solid-start-client/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/solid-start-client
+## 1.166.43
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+ - @tanstack/solid-router@1.168.26
+ - @tanstack/start-client-core@1.167.21
+
## 1.166.42
### Patch Changes
diff --git a/packages/solid-start-client/package.json b/packages/solid-start-client/package.json
index b1a899c6a1..2e12b693c0 100644
--- a/packages/solid-start-client/package.json
+++ b/packages/solid-start-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start-client",
- "version": "1.166.42",
+ "version": "1.166.43",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start-server/CHANGELOG.md b/packages/solid-start-server/CHANGELOG.md
index 68e05e8538..f86befad7f 100644
--- a/packages/solid-start-server/CHANGELOG.md
+++ b/packages/solid-start-server/CHANGELOG.md
@@ -1,5 +1,15 @@
# @tanstack/solid-start-server
+## 1.166.44
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+ - @tanstack/solid-router@1.168.26
+ - @tanstack/start-client-core@1.167.21
+ - @tanstack/start-server-core@1.167.23
+
## 1.166.43
### Patch Changes
diff --git a/packages/solid-start-server/package.json b/packages/solid-start-server/package.json
index dad84f1827..f1dab39776 100644
--- a/packages/solid-start-server/package.json
+++ b/packages/solid-start-server/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start-server",
- "version": "1.166.43",
+ "version": "1.166.44",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start/CHANGELOG.md b/packages/solid-start/CHANGELOG.md
index e4ac2127a6..c918dfc0fc 100644
--- a/packages/solid-start/CHANGELOG.md
+++ b/packages/solid-start/CHANGELOG.md
@@ -1,5 +1,17 @@
# @tanstack/solid-start
+## 1.167.49
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/solid-router@1.168.26
+ - @tanstack/solid-start-client@1.166.43
+ - @tanstack/solid-start-server@1.166.44
+ - @tanstack/start-client-core@1.167.21
+ - @tanstack/start-plugin-core@1.169.7
+ - @tanstack/start-server-core@1.167.23
+
## 1.167.48
### Patch Changes
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index 4063e9bb0d..dccf4c5071 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.167.48",
+ "version": "1.167.49",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-client-core/CHANGELOG.md b/packages/start-client-core/CHANGELOG.md
index 42184ccc34..983927d437 100644
--- a/packages/start-client-core/CHANGELOG.md
+++ b/packages/start-client-core/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/start-client-core
+## 1.167.21
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+ - @tanstack/start-storage-context@1.166.32
+
## 1.167.20
### Patch Changes
diff --git a/packages/start-client-core/package.json b/packages/start-client-core/package.json
index 2a2445ab4e..61a8d19acb 100644
--- a/packages/start-client-core/package.json
+++ b/packages/start-client-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-client-core",
- "version": "1.167.20",
+ "version": "1.167.21",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-plugin-core/CHANGELOG.md b/packages/start-plugin-core/CHANGELOG.md
index 6d9e134993..7b4f57c509 100644
--- a/packages/start-plugin-core/CHANGELOG.md
+++ b/packages/start-plugin-core/CHANGELOG.md
@@ -1,5 +1,16 @@
# @tanstack/start-plugin-core
+## 1.169.7
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+ - @tanstack/router-generator@1.166.37
+ - @tanstack/router-plugin@1.167.29
+ - @tanstack/start-client-core@1.167.21
+ - @tanstack/start-server-core@1.167.23
+
## 1.169.6
### Patch Changes
diff --git a/packages/start-plugin-core/package.json b/packages/start-plugin-core/package.json
index 5614ab4767..8adc97823c 100644
--- a/packages/start-plugin-core/package.json
+++ b/packages/start-plugin-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-plugin-core",
- "version": "1.169.6",
+ "version": "1.169.7",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-server-core/CHANGELOG.md b/packages/start-server-core/CHANGELOG.md
index 4413f624b3..6157d43080 100644
--- a/packages/start-server-core/CHANGELOG.md
+++ b/packages/start-server-core/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/start-server-core
+## 1.167.23
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+ - @tanstack/start-client-core@1.167.21
+ - @tanstack/start-storage-context@1.166.32
+
## 1.167.22
### Patch Changes
diff --git a/packages/start-server-core/package.json b/packages/start-server-core/package.json
index 0fe43ec99a..95e17d4a2b 100644
--- a/packages/start-server-core/package.json
+++ b/packages/start-server-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-server-core",
- "version": "1.167.22",
+ "version": "1.167.23",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-static-server-functions/CHANGELOG.md b/packages/start-static-server-functions/CHANGELOG.md
index a7b6da6183..f1755aa1c8 100644
--- a/packages/start-static-server-functions/CHANGELOG.md
+++ b/packages/start-static-server-functions/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/start-static-server-functions
+## 1.166.37
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/start-client-core@1.167.21
+ - @tanstack/react-start@1.167.52
+ - @tanstack/solid-start@1.167.49
+
## 1.166.36
### Patch Changes
diff --git a/packages/start-static-server-functions/package.json b/packages/start-static-server-functions/package.json
index 08da0c9ca0..0b7be1a46d 100644
--- a/packages/start-static-server-functions/package.json
+++ b/packages/start-static-server-functions/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-static-server-functions",
- "version": "1.166.36",
+ "version": "1.166.37",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-storage-context/CHANGELOG.md b/packages/start-storage-context/CHANGELOG.md
index a29ed29422..c4f84cee0f 100644
--- a/packages/start-storage-context/CHANGELOG.md
+++ b/packages/start-storage-context/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/start-storage-context
+## 1.166.32
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+
## 1.166.31
### Patch Changes
diff --git a/packages/start-storage-context/package.json b/packages/start-storage-context/package.json
index cbb51ce5e9..527ae60d84 100644
--- a/packages/start-storage-context/package.json
+++ b/packages/start-storage-context/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-storage-context",
- "version": "1.166.31",
+ "version": "1.166.32",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-router/CHANGELOG.md b/packages/vue-router/CHANGELOG.md
index 794144eda1..f488dee8fa 100644
--- a/packages/vue-router/CHANGELOG.md
+++ b/packages/vue-router/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/vue-router
+## 1.168.22
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+
## 1.168.21
### Patch Changes
diff --git a/packages/vue-router/package.json b/packages/vue-router/package.json
index 0165ef256c..d67d29140e 100644
--- a/packages/vue-router/package.json
+++ b/packages/vue-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-router",
- "version": "1.168.21",
+ "version": "1.168.22",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-start-client/CHANGELOG.md b/packages/vue-start-client/CHANGELOG.md
index e8b80b67df..7229160aca 100644
--- a/packages/vue-start-client/CHANGELOG.md
+++ b/packages/vue-start-client/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/vue-start-client
+## 1.166.39
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+ - @tanstack/start-client-core@1.167.21
+ - @tanstack/vue-router@1.168.22
+
## 1.166.38
### Patch Changes
diff --git a/packages/vue-start-client/package.json b/packages/vue-start-client/package.json
index f7fa8fdaf7..73f6baefb4 100644
--- a/packages/vue-start-client/package.json
+++ b/packages/vue-start-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start-client",
- "version": "1.166.38",
+ "version": "1.166.39",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-start-server/CHANGELOG.md b/packages/vue-start-server/CHANGELOG.md
index d7c7b2b3d8..23227a05b2 100644
--- a/packages/vue-start-server/CHANGELOG.md
+++ b/packages/vue-start-server/CHANGELOG.md
@@ -1,5 +1,15 @@
# @tanstack/vue-start-server
+## 1.166.40
+
+### Patch Changes
+
+- Updated dependencies [[`b5c4183`](https://github.com/TanStack/router/commit/b5c4183ab8b44be8a75647b7f7b588ad7c146ece)]:
+ - @tanstack/router-core@1.168.18
+ - @tanstack/start-client-core@1.167.21
+ - @tanstack/start-server-core@1.167.23
+ - @tanstack/vue-router@1.168.22
+
## 1.166.39
### Patch Changes
diff --git a/packages/vue-start-server/package.json b/packages/vue-start-server/package.json
index 369009e5e6..179e844551 100644
--- a/packages/vue-start-server/package.json
+++ b/packages/vue-start-server/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start-server",
- "version": "1.166.39",
+ "version": "1.166.40",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-start/CHANGELOG.md b/packages/vue-start/CHANGELOG.md
index 1b37064be1..8e4c12e4f0 100644
--- a/packages/vue-start/CHANGELOG.md
+++ b/packages/vue-start/CHANGELOG.md
@@ -1,5 +1,17 @@
# @tanstack/vue-start
+## 1.167.45
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/start-client-core@1.167.21
+ - @tanstack/start-plugin-core@1.169.7
+ - @tanstack/start-server-core@1.167.23
+ - @tanstack/vue-router@1.168.22
+ - @tanstack/vue-start-client@1.166.39
+ - @tanstack/vue-start-server@1.166.40
+
## 1.167.44
### Patch Changes
diff --git a/packages/vue-start/package.json b/packages/vue-start/package.json
index e2f1d4b284..bc813f8540 100644
--- a/packages/vue-start/package.json
+++ b/packages/vue-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start",
- "version": "1.167.44",
+ "version": "1.167.45",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 738c0f673c..699acab423 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -9936,7 +9936,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -9973,7 +9973,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10013,7 +10013,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10053,7 +10053,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10087,7 +10087,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10118,7 +10118,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10155,7 +10155,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10198,7 +10198,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10238,7 +10238,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10275,7 +10275,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
compression:
specifier: ^1.8.0
@@ -10315,7 +10315,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10370,7 +10370,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10410,7 +10410,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10447,7 +10447,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10484,7 +10484,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
solid-js:
specifier: 1.9.12
@@ -10515,7 +10515,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10552,7 +10552,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10598,7 +10598,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10644,7 +10644,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10687,7 +10687,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10724,7 +10724,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10758,7 +10758,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10789,7 +10789,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10817,7 +10817,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10848,7 +10848,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10885,7 +10885,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10919,7 +10919,7 @@ importers:
examples/solid/quickstart-webpack-file-based:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10980,7 +10980,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11014,7 +11014,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11054,7 +11054,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11088,7 +11088,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11128,7 +11128,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11174,7 +11174,7 @@ importers:
examples/solid/start-basic:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11226,7 +11226,7 @@ importers:
specifier: ^7.0.0
version: 7.0.0(prisma@7.0.0(@types/react@19.2.9)(magicast@0.3.5)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(typescript@6.0.2))(typescript@6.0.2)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11275,7 +11275,7 @@ importers:
specifier: ^0.41.1
version: 0.41.1
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11315,7 +11315,7 @@ importers:
examples/solid/start-basic-cloudflare:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11355,7 +11355,7 @@ importers:
examples/solid/start-basic-netlify:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11392,7 +11392,7 @@ importers:
examples/solid/start-basic-nitro:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11435,7 +11435,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11478,7 +11478,7 @@ importers:
examples/solid/start-basic-static:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11530,7 +11530,7 @@ importers:
specifier: ^0.7.0
version: 0.7.14(csstype@3.2.3)(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11594,7 +11594,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11649,7 +11649,7 @@ importers:
examples/solid/start-counter:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11692,7 +11692,7 @@ importers:
specifier: ^0.7.0
version: 0.7.14(csstype@3.2.3)(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11732,7 +11732,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11775,7 +11775,7 @@ importers:
examples/solid/start-streaming-data-from-server-functions:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11812,7 +11812,7 @@ importers:
specifier: ^2.48.1
version: 2.48.1
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11849,7 +11849,7 @@ importers:
examples/solid/start-tailwind-v4:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11895,7 +11895,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11929,7 +11929,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11969,7 +11969,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.25
+ specifier: ^1.168.26
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
From 7fa0f39cabf4407aa1cb99e369566e8ea85554a2 Mon Sep 17 00:00:00 2001
From: Manuel Schiller
Date: Wed, 29 Apr 2026 22:22:15 +0200
Subject: [PATCH 019/551] fix: fix exports for react-start so useServerFn is
available with RSC (#7292)
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
---
.changeset/angry-flies-taste.md | 5 +++
e2e/react-start/rsc/src/routeTree.gen.ts | 21 +++++++++++
.../rsc/src/routes/rsc-use-server-fn.tsx | 37 +++++++++++++++++++
.../rsc/tests/rsc-use-server-fn.spec.ts | 22 +++++++++++
packages/react-start/package.json | 4 +-
packages/react-start/src/index.rsc.ts | 1 -
packages/react-start/vite.config.ts | 1 -
7 files changed, 87 insertions(+), 4 deletions(-)
create mode 100644 .changeset/angry-flies-taste.md
create mode 100644 e2e/react-start/rsc/src/routes/rsc-use-server-fn.tsx
create mode 100644 e2e/react-start/rsc/tests/rsc-use-server-fn.spec.ts
delete mode 100644 packages/react-start/src/index.rsc.ts
diff --git a/.changeset/angry-flies-taste.md b/.changeset/angry-flies-taste.md
new file mode 100644
index 0000000000..03045f78e4
--- /dev/null
+++ b/.changeset/angry-flies-taste.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/react-start': patch
+---
+
+fix exports for react-start so useServerFn is available with RSC
diff --git a/e2e/react-start/rsc/src/routeTree.gen.ts b/e2e/react-start/rsc/src/routeTree.gen.ts
index c06c950ea2..d053db0f94 100644
--- a/e2e/react-start/rsc/src/routeTree.gen.ts
+++ b/e2e/react-start/rsc/src/routeTree.gen.ts
@@ -9,6 +9,7 @@
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
import { Route as rootRouteImport } from './routes/__root'
+import { Route as RscUseServerFnRouteImport } from './routes/rsc-use-server-fn'
import { Route as RscTreeRouteImport } from './routes/rsc-tree'
import { Route as RscSuspenseRouteImport } from './routes/rsc-suspense'
import { Route as RscStreamingRouteImport } from './routes/rsc-streaming'
@@ -55,6 +56,11 @@ import { Route as RscParamIdRouteImport } from './routes/rsc-param/$id'
import { Route as RscCssConditionalBranchRouteImport } from './routes/rsc-css-conditional.$branch'
import { Route as ApiRscFlightRouteImport } from './routes/api.rsc-flight'
+const RscUseServerFnRoute = RscUseServerFnRouteImport.update({
+ id: '/rsc-use-server-fn',
+ path: '/rsc-use-server-fn',
+ getParentRoute: () => rootRouteImport,
+} as any)
const RscTreeRoute = RscTreeRouteImport.update({
id: '/rsc-tree',
path: '/rsc-tree',
@@ -322,6 +328,7 @@ export interface FileRoutesByFullPath {
'/rsc-streaming': typeof RscStreamingRoute
'/rsc-suspense': typeof RscSuspenseRoute
'/rsc-tree': typeof RscTreeRoute
+ '/rsc-use-server-fn': typeof RscUseServerFnRoute
'/api/rsc-flight': typeof ApiRscFlightRoute
'/rsc-css-conditional/$branch': typeof RscCssConditionalBranchRoute
'/rsc-param/$id': typeof RscParamIdRoute
@@ -369,6 +376,7 @@ export interface FileRoutesByTo {
'/rsc-streaming': typeof RscStreamingRoute
'/rsc-suspense': typeof RscSuspenseRoute
'/rsc-tree': typeof RscTreeRoute
+ '/rsc-use-server-fn': typeof RscUseServerFnRoute
'/api/rsc-flight': typeof ApiRscFlightRoute
'/rsc-css-conditional/$branch': typeof RscCssConditionalBranchRoute
'/rsc-param/$id': typeof RscParamIdRoute
@@ -417,6 +425,7 @@ export interface FileRoutesById {
'/rsc-streaming': typeof RscStreamingRoute
'/rsc-suspense': typeof RscSuspenseRoute
'/rsc-tree': typeof RscTreeRoute
+ '/rsc-use-server-fn': typeof RscUseServerFnRoute
'/api/rsc-flight': typeof ApiRscFlightRoute
'/rsc-css-conditional/$branch': typeof RscCssConditionalBranchRoute
'/rsc-param/$id': typeof RscParamIdRoute
@@ -466,6 +475,7 @@ export interface FileRouteTypes {
| '/rsc-streaming'
| '/rsc-suspense'
| '/rsc-tree'
+ | '/rsc-use-server-fn'
| '/api/rsc-flight'
| '/rsc-css-conditional/$branch'
| '/rsc-param/$id'
@@ -513,6 +523,7 @@ export interface FileRouteTypes {
| '/rsc-streaming'
| '/rsc-suspense'
| '/rsc-tree'
+ | '/rsc-use-server-fn'
| '/api/rsc-flight'
| '/rsc-css-conditional/$branch'
| '/rsc-param/$id'
@@ -560,6 +571,7 @@ export interface FileRouteTypes {
| '/rsc-streaming'
| '/rsc-suspense'
| '/rsc-tree'
+ | '/rsc-use-server-fn'
| '/api/rsc-flight'
| '/rsc-css-conditional/$branch'
| '/rsc-param/$id'
@@ -608,6 +620,7 @@ export interface RootRouteChildren {
RscStreamingRoute: typeof RscStreamingRoute
RscSuspenseRoute: typeof RscSuspenseRoute
RscTreeRoute: typeof RscTreeRoute
+ RscUseServerFnRoute: typeof RscUseServerFnRoute
ApiRscFlightRoute: typeof ApiRscFlightRoute
RscCssConditionalBranchRoute: typeof RscCssConditionalBranchRoute
RscParamIdRoute: typeof RscParamIdRoute
@@ -617,6 +630,13 @@ export interface RootRouteChildren {
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
+ '/rsc-use-server-fn': {
+ id: '/rsc-use-server-fn'
+ path: '/rsc-use-server-fn'
+ fullPath: '/rsc-use-server-fn'
+ preLoaderRoute: typeof RscUseServerFnRouteImport
+ parentRoute: typeof rootRouteImport
+ }
'/rsc-tree': {
id: '/rsc-tree'
path: '/rsc-tree'
@@ -976,6 +996,7 @@ const rootRouteChildren: RootRouteChildren = {
RscStreamingRoute: RscStreamingRoute,
RscSuspenseRoute: RscSuspenseRoute,
RscTreeRoute: RscTreeRoute,
+ RscUseServerFnRoute: RscUseServerFnRoute,
ApiRscFlightRoute: ApiRscFlightRoute,
RscCssConditionalBranchRoute: RscCssConditionalBranchRoute,
RscParamIdRoute: RscParamIdRoute,
diff --git a/e2e/react-start/rsc/src/routes/rsc-use-server-fn.tsx b/e2e/react-start/rsc/src/routes/rsc-use-server-fn.tsx
new file mode 100644
index 0000000000..5db269da42
--- /dev/null
+++ b/e2e/react-start/rsc/src/routes/rsc-use-server-fn.tsx
@@ -0,0 +1,37 @@
+import * as React from 'react'
+import { createFileRoute } from '@tanstack/react-router'
+import { createServerFn, useServerFn } from '@tanstack/react-start'
+import { pageStyles } from '~/utils/styles'
+
+const getMessage = createServerFn({ method: 'GET' }).handler(async () => {
+ return 'useServerFn works with RSC builds'
+})
+
+export const Route = createFileRoute('/rsc-use-server-fn')({
+ component: RscUseServerFnComponent,
+})
+
+function RscUseServerFnComponent() {
+ const getMessageFn = useServerFn(getMessage)
+ const [message, setMessage] = React.useState('')
+
+ return (
+
+
+ useServerFn with RSC
+
+
+
+ {message || 'No message yet'}
+
+
+ )
+}
diff --git a/e2e/react-start/rsc/tests/rsc-use-server-fn.spec.ts b/e2e/react-start/rsc/tests/rsc-use-server-fn.spec.ts
new file mode 100644
index 0000000000..206d23255b
--- /dev/null
+++ b/e2e/react-start/rsc/tests/rsc-use-server-fn.spec.ts
@@ -0,0 +1,22 @@
+import { expect } from '@playwright/test'
+import { test } from '@tanstack/router-e2e-utils'
+import { waitForHydration } from './hydration'
+
+test.describe('RSC useServerFn Tests', () => {
+ test('useServerFn can be imported and called in an RSC app', async ({
+ page,
+ }) => {
+ await page.goto('/rsc-use-server-fn')
+ await page.waitForURL('/rsc-use-server-fn')
+ await waitForHydration(page)
+
+ await expect(page.getByTestId('rsc-use-server-fn-title')).toHaveText(
+ 'useServerFn with RSC',
+ )
+
+ await page.getByTestId('rsc-use-server-fn-button').click()
+ await expect(page.getByTestId('rsc-use-server-fn-message')).toHaveText(
+ 'useServerFn works with RSC builds',
+ )
+ })
+})
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index fc84a4eb05..43a65d0477 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -34,8 +34,8 @@
"exports": {
".": {
"react-server": {
- "types": "./dist/esm/index.rsc.d.ts",
- "default": "./dist/esm/index.rsc.js"
+ "types": "./dist/esm/index.d.ts",
+ "default": "./dist/esm/index.js"
},
"import": {
"types": "./dist/esm/index.d.ts",
diff --git a/packages/react-start/src/index.rsc.ts b/packages/react-start/src/index.rsc.ts
deleted file mode 100644
index 450c2a3414..0000000000
--- a/packages/react-start/src/index.rsc.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from '@tanstack/start-client-core'
diff --git a/packages/react-start/vite.config.ts b/packages/react-start/vite.config.ts
index 4583f2b5be..0995b1f9b4 100644
--- a/packages/react-start/vite.config.ts
+++ b/packages/react-start/vite.config.ts
@@ -26,7 +26,6 @@ export default mergeConfig(
exclude: ['./src/default-entry'],
entry: [
'./src/index.ts',
- './src/index.rsc.ts',
'./src/client.tsx',
'./src/client-rpc.ts',
'./src/server.tsx',
From c992495bf4010ff4c3597bb1f3b1ba02594e857e Mon Sep 17 00:00:00 2001
From: Manuel Schiller
Date: Thu, 30 Apr 2026 19:47:07 +0200
Subject: [PATCH 020/551] feat: match params (#7263)
---
.changeset/clean-routes-match.md | 8 +
docs/router/api/router/RouteOptionsType.md | 5 +-
e2e/react-router/match-params/.gitignore | 11 +
e2e/react-router/match-params/index.html | 12 +
e2e/react-router/match-params/package.json | 23 +
.../match-params/playwright.config.ts | 27 +
e2e/react-router/match-params/src/main.tsx | 229 +++++
.../match-params/tests/match-params.spec.ts | 81 ++
e2e/react-router/match-params/tsconfig.json | 15 +
e2e/react-router/match-params/vite.config.js | 3 +
packages/react-router/src/RouterProvider.tsx | 3 +-
packages/react-router/src/link.tsx | 5 +-
.../react-router/tests/useParams.test.tsx | 3 +-
packages/router-core/src/index.ts | 1 +
.../router-core/src/new-process-route-tree.ts | 119 +--
packages/router-core/src/path.ts | 28 +-
packages/router-core/src/route.ts | 39 +-
packages/router-core/src/router.ts | 128 +--
packages/router-core/src/utils.ts | 7 +
.../router-core/tests/build-location.test.ts | 169 ++++
.../router-core/tests/match-params.test.ts | 655 +++++++++++++
.../tests/new-process-route-tree.test.ts | 100 +-
packages/router-core/tests/path.test.ts | 24 +
.../tests/skip-route-on-parse-error.test.ts | 890 ------------------
.../src/BaseTanStackRouterDevtoolsPanel.tsx | 11 +-
packages/solid-router/src/link.tsx | 3 +-
.../solid-router/tests/useParams.test.tsx | 3 +-
.../start-plugin-core/src/rsbuild/plugin.ts | 3 +-
.../start-compiler/handleCreateServerFn.ts | 7 +-
packages/vue-router/src/link.tsx | 3 +-
packages/vue-router/tests/useParams.test.tsx | 3 +-
pnpm-lock.yaml | 28 +
32 files changed, 1499 insertions(+), 1147 deletions(-)
create mode 100644 .changeset/clean-routes-match.md
create mode 100644 e2e/react-router/match-params/.gitignore
create mode 100644 e2e/react-router/match-params/index.html
create mode 100644 e2e/react-router/match-params/package.json
create mode 100644 e2e/react-router/match-params/playwright.config.ts
create mode 100644 e2e/react-router/match-params/src/main.tsx
create mode 100644 e2e/react-router/match-params/tests/match-params.spec.ts
create mode 100644 e2e/react-router/match-params/tsconfig.json
create mode 100644 e2e/react-router/match-params/vite.config.js
create mode 100644 packages/router-core/tests/match-params.test.ts
delete mode 100644 packages/router-core/tests/skip-route-on-parse-error.test.ts
diff --git a/.changeset/clean-routes-match.md b/.changeset/clean-routes-match.md
new file mode 100644
index 0000000000..22b72afb9c
--- /dev/null
+++ b/.changeset/clean-routes-match.md
@@ -0,0 +1,8 @@
+---
+'@tanstack/router-core': minor
+'@tanstack/react-router': minor
+'@tanstack/solid-router': minor
+'@tanstack/vue-router': minor
+---
+
+Allow `params.parse` to experimentally return `false` to skip an incoming route candidate during path matching. Thrown parse errors still surface on the selected match instead of falling through, and outgoing typed route-template links continue to use exact route lookup followed by `params.stringify` for URL generation.
diff --git a/docs/router/api/router/RouteOptionsType.md b/docs/router/api/router/RouteOptionsType.md
index 3e575832de..b4dececc5c 100644
--- a/docs/router/api/router/RouteOptionsType.md
+++ b/docs/router/api/router/RouteOptionsType.md
@@ -79,9 +79,10 @@ The `RouteOptions` type accepts an object with the following properties:
### `params.parse` method
-- Type: `(rawParams: Record) => TParams`
+- Type: `(rawParams: Record) => TParams | false`
- Optional
-- A function that will be called when this route is matched and passed the raw params from the current location and return valid parsed params. If this function throws, the route will be put into an error state and the error will be thrown during render. If this function does not throw, its return value will be used as the route's params and the return type will be inferred into the rest of the router.
+- A function that will be called when this route is matched and passed the raw params from the current location and return valid parsed params. If this function throws, the route will be put into an error state and the error will be thrown during render. If this function returns parsed params, its return value will be used as the route's params and the return type will be inferred into the rest of the router.
+- Experimental: returning `false` during incoming route matching skips this route and allows matching to continue to another candidate route.
### `params.stringify` method
diff --git a/e2e/react-router/match-params/.gitignore b/e2e/react-router/match-params/.gitignore
new file mode 100644
index 0000000000..4d2da67b50
--- /dev/null
+++ b/e2e/react-router/match-params/.gitignore
@@ -0,0 +1,11 @@
+node_modules
+.DS_Store
+dist
+dist-hash
+dist-ssr
+*.local
+
+/test-results/
+/playwright-report/
+/blob-report/
+/playwright/.cache/
diff --git a/e2e/react-router/match-params/index.html b/e2e/react-router/match-params/index.html
new file mode 100644
index 0000000000..cee534dbdb
--- /dev/null
+++ b/e2e/react-router/match-params/index.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+ Match Params
+
+
+
+
+
+
diff --git a/e2e/react-router/match-params/package.json b/e2e/react-router/match-params/package.json
new file mode 100644
index 0000000000..1ac2773d13
--- /dev/null
+++ b/e2e/react-router/match-params/package.json
@@ -0,0 +1,23 @@
+{
+ "name": "tanstack-router-e2e-react-match-params",
+ "private": true,
+ "type": "module",
+ "scripts": {
+ "dev": "vite --port 3000",
+ "build": "vite build && tsc --noEmit",
+ "preview": "vite preview",
+ "test:e2e": "rm -rf port*.txt; playwright test --project=chromium"
+ },
+ "dependencies": {
+ "@tanstack/react-router": "workspace:^",
+ "react": "^19.0.0",
+ "react-dom": "^19.0.0"
+ },
+ "devDependencies": {
+ "@playwright/test": "^1.50.1",
+ "@tanstack/router-e2e-utils": "workspace:^",
+ "@types/react": "^19.0.8",
+ "@types/react-dom": "^19.0.3",
+ "vite": "^8.0.0"
+ }
+}
diff --git a/e2e/react-router/match-params/playwright.config.ts b/e2e/react-router/match-params/playwright.config.ts
new file mode 100644
index 0000000000..246cf40060
--- /dev/null
+++ b/e2e/react-router/match-params/playwright.config.ts
@@ -0,0 +1,27 @@
+import { defineConfig, devices } from '@playwright/test'
+import { getTestServerPort } from '@tanstack/router-e2e-utils'
+import packageJson from './package.json' with { type: 'json' }
+
+const PORT = await getTestServerPort(packageJson.name)
+const baseURL = `http://localhost:${PORT}`
+
+export default defineConfig({
+ testDir: './tests',
+ workers: 1,
+ reporter: [['line']],
+ use: {
+ baseURL,
+ },
+ webServer: {
+ command: `pnpm build && pnpm preview --port ${PORT}`,
+ url: baseURL,
+ reuseExistingServer: !process.env.CI,
+ stdout: 'pipe',
+ },
+ projects: [
+ {
+ name: 'chromium',
+ use: { ...devices['Desktop Chrome'] },
+ },
+ ],
+})
diff --git a/e2e/react-router/match-params/src/main.tsx b/e2e/react-router/match-params/src/main.tsx
new file mode 100644
index 0000000000..33709cfcc2
--- /dev/null
+++ b/e2e/react-router/match-params/src/main.tsx
@@ -0,0 +1,229 @@
+import ReactDOM from 'react-dom/client'
+import {
+ Link,
+ Outlet,
+ RouterProvider,
+ createRootRoute,
+ createRoute,
+ createRouter,
+} from '@tanstack/react-router'
+
+const rootRoute = createRootRoute({
+ component: RootComponent,
+ notFoundComponent: () => Root not found
,
+})
+
+function RootComponent() {
+ return (
+ <>
+
+
+ >
+ )
+}
+
+const indexRoute = createRoute({
+ getParentRoute: () => rootRoute,
+ path: '/',
+ component: () => Match params e2e
,
+})
+
+const matchLanguageRoute = createRoute({
+ getParentRoute: () => rootRoute,
+ path: '/match/{$language}',
+ params: {
+ parse: ({ language }) => {
+ if (language === 'en') return { language: 'en-US' as const }
+ if (language === 'pl') return { language: 'pl-PL' as const }
+ return false
+ },
+ stringify: ({ language }) => {
+ if (language === 'en-US') return { language: 'en' }
+ if (language === 'pl-PL') return { language: 'pl' }
+ return { language }
+ },
+ },
+ component: MatchLanguageComponent,
+})
+
+function MatchLanguageComponent() {
+ const params = matchLanguageRoute.useParams()
+ return Match language {params.language}
+}
+
+const usersRoute = createRoute({
+ getParentRoute: () => rootRoute,
+ path: '/users',
+})
+
+const numericUserRoute = createRoute({
+ getParentRoute: () => usersRoute,
+ path: '$userId',
+ params: {
+ parse: ({ userId }) => {
+ const parsed = Number(userId)
+ if (!Number.isInteger(parsed)) return false
+ return { userId: parsed }
+ },
+ stringify: ({ userId }) => ({ userId: String(userId) }),
+ },
+ component: NumericUserComponent,
+})
+
+function NumericUserComponent() {
+ const params = numericUserRoute.useParams()
+ return Numeric user {params.userId}
+}
+
+const usernameRoute = createRoute({
+ getParentRoute: () => usersRoute,
+ path: '$username',
+ component: UsernameComponent,
+})
+
+function UsernameComponent() {
+ const params = usernameRoute.useParams()
+ return Username {params.username}
+}
+
+const numericOrgRoute = createRoute({
+ getParentRoute: () => rootRoute,
+ path: '/orgs/$orgId',
+ params: {
+ parse: ({ orgId }) => {
+ const parsed = Number(orgId)
+ if (!Number.isInteger(parsed)) return false
+ return { orgId: parsed }
+ },
+ stringify: ({ orgId }) => ({ orgId: String(orgId) }),
+ },
+})
+
+const orgSettingsRoute = createRoute({
+ getParentRoute: () => numericOrgRoute,
+ path: 'settings',
+ component: OrgSettingsComponent,
+})
+
+function OrgSettingsComponent() {
+ const params = orgSettingsRoute.useParams()
+ return Org settings {params.orgId}
+}
+
+const orgAboutRoute = createRoute({
+ getParentRoute: () => rootRoute,
+ path: '/orgs/$slug/about',
+ component: OrgAboutComponent,
+})
+
+function OrgAboutComponent() {
+ const params = orgAboutRoute.useParams()
+ return Org about {params.slug}
+}
+
+const ambiguousRoute = createRoute({
+ getParentRoute: () => rootRoute,
+ path: '/ambiguous',
+})
+
+const ambiguousDollarRoute = createRoute({
+ getParentRoute: () => ambiguousRoute,
+ path: '$value',
+ params: {
+ parse: ({ value }) => {
+ if (!value.startsWith('dollar-')) return false
+ return { value: value.slice(7) }
+ },
+ stringify: ({ value }) => ({ value: `dollar-${value}` }),
+ },
+ component: AmbiguousDollarComponent,
+})
+
+function AmbiguousDollarComponent() {
+ const params = ambiguousDollarRoute.useParams()
+ return Dollar {params.value}
+}
+
+const ambiguousCurlyRoute = createRoute({
+ getParentRoute: () => ambiguousRoute,
+ path: '{$value}',
+ params: {
+ parse: ({ value }) => {
+ if (!value.startsWith('curly-')) return false
+ return { value: value.slice(6) }
+ },
+ stringify: ({ value }) => ({ value: `curly-${value}` }),
+ },
+ component: AmbiguousCurlyComponent,
+})
+
+function AmbiguousCurlyComponent() {
+ const params = ambiguousCurlyRoute.useParams()
+ return Curly {params.value}
+}
+
+const routeTree = rootRoute.addChildren([
+ indexRoute,
+ matchLanguageRoute,
+ usersRoute.addChildren([numericUserRoute, usernameRoute]),
+ numericOrgRoute.addChildren([orgSettingsRoute]),
+ orgAboutRoute,
+ ambiguousRoute.addChildren([ambiguousDollarRoute, ambiguousCurlyRoute]),
+])
+
+const router = createRouter({ routeTree })
+
+declare module '@tanstack/react-router' {
+ interface Register {
+ router: typeof router
+ }
+}
+
+const rootElement = document.getElementById('app')!
+
+if (!rootElement.innerHTML) {
+ ReactDOM.createRoot(rootElement).render()
+}
diff --git a/e2e/react-router/match-params/tests/match-params.spec.ts b/e2e/react-router/match-params/tests/match-params.spec.ts
new file mode 100644
index 0000000000..9b57061911
--- /dev/null
+++ b/e2e/react-router/match-params/tests/match-params.spec.ts
@@ -0,0 +1,81 @@
+import { expect, test } from '@playwright/test'
+
+test.beforeEach(async ({ page }) => {
+ await page.goto('/')
+})
+
+test('params.parse stringifies links and parses concrete params', async ({
+ page,
+}) => {
+ await expect(page.getByTestId('match-en-link')).toHaveAttribute(
+ 'href',
+ '/match/en',
+ )
+
+ await page.getByTestId('match-en-link').click()
+ await expect(page.getByTestId('match-language')).toHaveText(
+ 'Match language en-US',
+ )
+
+ await page.goto('/match/pl')
+ await expect(page.getByTestId('match-language')).toHaveText(
+ 'Match language pl-PL',
+ )
+
+ await page.goto('/match/en-US')
+ await expect(page.getByTestId('not-found')).toHaveText('Root not found')
+})
+
+test('params.parse can fall through to sibling dynamic routes', async ({
+ page,
+}) => {
+ await expect(page.getByTestId('numeric-user-link')).toHaveAttribute(
+ 'href',
+ '/users/456',
+ )
+ await expect(page.getByTestId('username-link')).toHaveAttribute(
+ 'href',
+ '/users/alice',
+ )
+
+ await page.goto('/users/123')
+ await expect(page.getByTestId('numeric-user')).toHaveText('Numeric user 123')
+
+ await page.goto('/users/alice')
+ await expect(page.getByTestId('username')).toHaveText('Username alice')
+})
+
+test('params.parse can gate child routes', async ({ page }) => {
+ await expect(page.getByTestId('org-settings-link')).toHaveAttribute(
+ 'href',
+ '/orgs/42/settings',
+ )
+
+ await page.goto('/orgs/42/settings')
+ await expect(page.getByTestId('org-settings')).toHaveText('Org settings 42')
+
+ await page.goto('/orgs/acme/about')
+ await expect(page.getByTestId('org-about')).toHaveText('Org about acme')
+
+ await page.goto('/orgs/acme/settings')
+ await expect(page.getByTestId('not-found')).toHaveText('Root not found')
+})
+
+test('buildLocation uses exact route templates before matching paths', async ({
+ page,
+}) => {
+ await expect(page.getByTestId('ambiguous-dollar-link')).toHaveAttribute(
+ 'href',
+ '/ambiguous/dollar-alpha',
+ )
+ await expect(page.getByTestId('ambiguous-curly-link')).toHaveAttribute(
+ 'href',
+ '/ambiguous/curly-alpha',
+ )
+
+ await page.getByTestId('ambiguous-dollar-link').click()
+ await expect(page.getByTestId('ambiguous-dollar')).toHaveText('Dollar alpha')
+
+ await page.getByTestId('ambiguous-curly-link').click()
+ await expect(page.getByTestId('ambiguous-curly')).toHaveText('Curly alpha')
+})
diff --git a/e2e/react-router/match-params/tsconfig.json b/e2e/react-router/match-params/tsconfig.json
new file mode 100644
index 0000000000..4f6089bc08
--- /dev/null
+++ b/e2e/react-router/match-params/tsconfig.json
@@ -0,0 +1,15 @@
+{
+ "compilerOptions": {
+ "strict": true,
+ "esModuleInterop": true,
+ "jsx": "react-jsx",
+ "target": "ESNext",
+ "moduleResolution": "Bundler",
+ "module": "ESNext",
+ "resolveJsonModule": true,
+ "allowJs": true,
+ "skipLibCheck": true,
+ "types": ["vite/client"]
+ },
+ "exclude": ["node_modules", "dist"]
+}
diff --git a/e2e/react-router/match-params/vite.config.js b/e2e/react-router/match-params/vite.config.js
new file mode 100644
index 0000000000..4f1b25a0c3
--- /dev/null
+++ b/e2e/react-router/match-params/vite.config.js
@@ -0,0 +1,3 @@
+import { defineConfig } from 'vite'
+
+export default defineConfig({})
diff --git a/packages/react-router/src/RouterProvider.tsx b/packages/react-router/src/RouterProvider.tsx
index d79d30c9f0..4846ab17fc 100644
--- a/packages/react-router/src/RouterProvider.tsx
+++ b/packages/react-router/src/RouterProvider.tsx
@@ -1,6 +1,7 @@
'use client'
import * as React from 'react'
+import { hasKeys } from '@tanstack/router-core'
import { Matches } from './Matches'
import { routerContext } from './routerContext'
import type {
@@ -23,7 +24,7 @@ export function RouterContextProvider<
}: RouterProps & {
children: React.ReactNode
}) {
- if (Object.keys(rest).length > 0) {
+ if (hasKeys(rest)) {
// Allow the router to update options on the router instance
router.update({
...router.options,
diff --git a/packages/react-router/src/link.tsx b/packages/react-router/src/link.tsx
index 9e05e6f8e8..eddc0ac0b3 100644
--- a/packages/react-router/src/link.tsx
+++ b/packages/react-router/src/link.tsx
@@ -7,6 +7,7 @@ import {
deepEqual,
exactPathTest,
functionalUpdate,
+ hasKeys,
isDangerousProtocol,
preloadWarning,
removeTrailingSlash,
@@ -246,11 +247,11 @@ export function useLinkProps<
const currentSearchEmpty =
!currentLocation.search ||
(typeof currentLocation.search === 'object' &&
- Object.keys(currentLocation.search).length === 0)
+ !hasKeys(currentLocation.search))
const nextSearchEmpty =
!next.search ||
(typeof next.search === 'object' &&
- Object.keys(next.search).length === 0)
+ !hasKeys(next.search as Record))
if (!(currentSearchEmpty && nextSearchEmpty)) {
const searchTest = deepEqual(currentLocation.search, next.search, {
diff --git a/packages/react-router/tests/useParams.test.tsx b/packages/react-router/tests/useParams.test.tsx
index 22ac646cd8..19cf096ea0 100644
--- a/packages/react-router/tests/useParams.test.tsx
+++ b/packages/react-router/tests/useParams.test.tsx
@@ -189,7 +189,8 @@ test('useParams must return parsed result if applicable.', async () => {
expect(window.location.pathname).toBe('/posts/category_first')
expect(await screen.findByTestId('post-category-heading')).toBeInTheDocument()
- expect(mockedfn).not.toHaveBeenCalled()
+ // Dev-only buildLocation roundtrip validation uses normal matching for links.
+ expect(mockedfn).toHaveBeenCalled()
mockedfn.mockClear()
await act(() => fireEvent.click(firstPostLink))
diff --git a/packages/router-core/src/index.ts b/packages/router-core/src/index.ts
index 2ec3f273cb..ded15fff6d 100644
--- a/packages/router-core/src/index.ts
+++ b/packages/router-core/src/index.ts
@@ -289,6 +289,7 @@ export type { OptionalStructuralSharing } from './structuralSharing'
export {
functionalUpdate,
+ hasKeys,
replaceEqualDeep,
isPlainObject,
isPlainArray,
diff --git a/packages/router-core/src/new-process-route-tree.ts b/packages/router-core/src/new-process-route-tree.ts
index e4c900d2ed..73bb76875c 100644
--- a/packages/router-core/src/new-process-route-tree.ts
+++ b/packages/router-core/src/new-process-route-tree.ts
@@ -207,10 +207,8 @@ function parseSegments(
const path = route.fullPath ?? route.from
const length = path.length
const caseSensitive = route.options?.caseSensitive ?? defaultCaseSensitive
- const skipOnParamError = !!(
- route.options?.params?.parse &&
- route.options?.skipRouteOnParseError?.params
- )
+ const parseParams =
+ route.options?.params?.parse ?? route.options?.parseParams
while (cursor < length) {
const segment = parseSegment(path, cursor, data)
let nextNode: AnySegmentNode
@@ -270,10 +268,10 @@ function parseSegments(
? suffix_raw
: suffix_raw.toLowerCase()
const existingNode =
- !skipOnParamError &&
+ !parseParams &&
node.dynamic?.find(
(s) =>
- !s.skipOnParamError &&
+ !s.parse &&
s.caseSensitive === actuallyCaseSensitive &&
s.prefix === prefix &&
s.suffix === suffix,
@@ -312,10 +310,10 @@ function parseSegments(
? suffix_raw
: suffix_raw.toLowerCase()
const existingNode =
- !skipOnParamError &&
+ !parseParams &&
node.optional?.find(
(s) =>
- !s.skipOnParamError &&
+ !s.parse &&
s.caseSensitive === actuallyCaseSensitive &&
s.prefix === prefix &&
s.suffix === suffix,
@@ -372,7 +370,7 @@ function parseSegments(
// create pathless node
if (
- skipOnParamError &&
+ parseParams &&
route.children &&
!route.isRoot &&
route.id &&
@@ -404,9 +402,7 @@ function parseSegments(
node = indexNode
}
- node.parse = route.options?.params?.parse ?? null
- node.skipOnParamError = skipOnParamError
- node.parsingPriority = route.options?.skipRouteOnParseError?.priority ?? 0
+ node.parse = parseParams ?? null
// make node "matchable"
if (isLeaf && !node.route) {
@@ -433,25 +429,17 @@ function sortDynamic(
prefix?: string
suffix?: string
caseSensitive: boolean
- skipOnParamError: boolean
- parsingPriority: number
+ parse: null | ((params: Record) => unknown)
},
b: {
prefix?: string
suffix?: string
caseSensitive: boolean
- skipOnParamError: boolean
- parsingPriority: number
+ parse: null | ((params: Record) => unknown)
},
) {
- if (a.skipOnParamError && !b.skipOnParamError) return -1
- if (!a.skipOnParamError && b.skipOnParamError) return 1
- if (
- a.skipOnParamError &&
- b.skipOnParamError &&
- (a.parsingPriority || b.parsingPriority)
- )
- return b.parsingPriority - a.parsingPriority
+ if (a.parse && !b.parse) return -1
+ if (!a.parse && b.parse) return 1
if (a.prefix && b.prefix && a.prefix !== b.prefix) {
if (a.prefix.startsWith(b.prefix)) return -1
if (b.prefix.startsWith(a.prefix)) return 1
@@ -467,8 +455,7 @@ function sortDynamic(
if (a.caseSensitive && !b.caseSensitive) return -1
if (!a.caseSensitive && b.caseSensitive) return 1
- // we don't need a tiebreaker here
- // at this point the 2 nodes cannot conflict during matching
+ // Equal specificity preserves route declaration order through stable sort.
return 0
}
@@ -525,8 +512,6 @@ function createStaticNode(
fullPath,
parent: null,
parse: null,
- skipOnParamError: false,
- parsingPriority: 0,
}
}
@@ -558,8 +543,6 @@ function createDynamicNode(
fullPath,
parent: null,
parse: null,
- skipOnParamError: false,
- parsingPriority: 0,
caseSensitive,
prefix,
suffix,
@@ -621,13 +604,7 @@ type SegmentNode = {
depth: number
/** route.options.params.parse function, set on the last node of the route */
- parse: null | ((params: Record) => any)
-
- /** options.skipRouteOnParseError.params ?? false */
- skipOnParamError: boolean
-
- /** options.skipRouteOnParseError.priority ?? 0 */
- parsingPriority: number
+ parse: null | ((params: Record) => unknown)
}
type RouteLike = {
@@ -637,13 +614,10 @@ type RouteLike = {
parentRoute?: RouteLike // parent route,
isRoot?: boolean
options?: {
- skipRouteOnParseError?: {
- params?: boolean
- priority?: number
- }
caseSensitive?: boolean
+ parseParams?: (params: Record) => unknown
params?: {
- parse?: (params: Record) => any
+ parse?: (params: Record) => unknown
}
}
} &
@@ -734,7 +708,6 @@ export function findSingleMatch(
type RouteMatch> = {
route: T
rawParams: Record
- parsedParams?: Record
branch: ReadonlyArray
}
@@ -858,11 +831,6 @@ function findMatch(
* This will be the exhaustive list of all params defined in the route's path.
*/
rawParams: Record
- /**
- * The accumlulated parsed params of each route in the branch that had `skipRouteOnParseError` enabled.
- * Will not contain all params defined in the route's path. Those w/ a `params.parse` but no `skipRouteOnParseError` will need to be parsed separately.
- */
- parsedParams?: Record
} | null {
const parts = path.split('/')
const leaf = getNodeMatch(path, parts, segmentTree, fuzzy)
@@ -871,7 +839,6 @@ function findMatch(
return {
route: leaf.node.route!,
rawParams,
- parsedParams: leaf.parsedParams,
}
}
@@ -991,7 +958,7 @@ function extractParams(
]
}
-function buildRouteBranch(route: T) {
+export function buildRouteBranch(route: T) {
const list = [route]
while (route.parentRoute) {
route = route.parentRoute as T
@@ -1031,7 +998,6 @@ type MatchStackFrame = {
extract?: ParamExtractionState
/** intermediary params from param extraction */
rawParams?: Record
- parsedParams?: Record
}
function getNodeMatch(
@@ -1045,7 +1011,7 @@ function getNodeMatch(
if (path === '/' && segmentTree.index)
return { node: segmentTree.index, skipped: 0 } as Pick<
Frame,
- 'node' | 'skipped' | 'parsedParams'
+ 'node' | 'skipped'
>
const trailingSlash = !last(parts)
@@ -1079,7 +1045,7 @@ function getNodeMatch(
while (stack.length) {
const frame = stack.pop()!
const { node, index, skipped, depth, statics, dynamics, optionals } = frame
- let { extract, rawParams, parsedParams } = frame
+ let { extract, rawParams } = frame
// Wildcard candidates are pushed speculatively as fallbacks in case a
// higher-priority wildcard later fails params.parse. If a better wildcard
@@ -1093,12 +1059,11 @@ function getNodeMatch(
continue
}
- if (node.skipOnParamError) {
- const result = validateMatchParams(path, parts, frame)
+ if (node.parse) {
+ const result = validateParseParams(path, parts, frame)
if (!result) continue
rawParams = frame.rawParams
extract = frame.extract
- parsedParams = frame.parsedParams
}
// In fuzzy mode, track the best partial match we've found so far
@@ -1142,11 +1107,10 @@ function getNodeMatch(
optionals,
extract,
rawParams,
- parsedParams,
}
let indexValid = true
- if (node.index.skipOnParamError) {
- const result = validateMatchParams(path, parts, indexFrame)
+ if (node.index.parse) {
+ const result = validateParseParams(path, parts, indexFrame)
if (!result) indexValid = false
}
if (indexValid) {
@@ -1196,7 +1160,6 @@ function getNodeMatch(
optionals,
extract,
rawParams,
- parsedParams,
})
}
}
@@ -1218,7 +1181,6 @@ function getNodeMatch(
optionals,
extract,
rawParams,
- parsedParams,
}) // enqueue skipping the optional
}
if (!isBeyondPath) {
@@ -1242,7 +1204,6 @@ function getNodeMatch(
optionals: optionals + segmentScore(partsLength, index),
extract,
rawParams,
- parsedParams,
})
}
}
@@ -1270,7 +1231,6 @@ function getNodeMatch(
optionals,
extract,
rawParams,
- parsedParams,
})
}
}
@@ -1291,7 +1251,6 @@ function getNodeMatch(
optionals,
extract,
rawParams,
- parsedParams,
})
}
}
@@ -1310,7 +1269,6 @@ function getNodeMatch(
optionals,
extract,
rawParams,
- parsedParams,
})
}
}
@@ -1330,7 +1288,6 @@ function getNodeMatch(
optionals,
extract,
rawParams,
- parsedParams,
})
}
}
@@ -1365,25 +1322,33 @@ function isPerfectStaticMatch(statics: number, partsLength: number): boolean {
return statics === 2 ** (partsLength - 1) - 1
}
-function validateMatchParams(
+function validateParseParams(
path: string,
parts: Array,
frame: MatchStackFrame,
) {
+ let rawParams: Record
+ let state: ParamExtractionState
+
try {
- const [rawParams, state] = extractParams(path, parts, frame)
- frame.rawParams = rawParams
- frame.extract = state
- const parsed = frame.node.parse!(rawParams)
- frame.parsedParams = Object.assign(
- Object.create(null),
- frame.parsedParams,
- parsed,
- )
- return true
+ ;[rawParams, state] = extractParams(path, parts, frame)
} catch {
return null
}
+
+ frame.rawParams = rawParams
+ frame.extract = state
+
+ if (!frame.node.parse) return true
+
+ try {
+ if (frame.node.parse(rawParams) === false) return null
+ } catch {
+ // Thrown parse errors should be surfaced on the selected match by
+ // extractStrictParams, not used as fallback route selection.
+ }
+
+ return true
}
function isFrameMoreSpecific(
diff --git a/packages/router-core/src/path.ts b/packages/router-core/src/path.ts
index 70709e6045..577ce00ecf 100644
--- a/packages/router-core/src/path.ts
+++ b/packages/router-core/src/path.ts
@@ -167,33 +167,7 @@ export function resolvePath({
}
}
- let segment
- let joined = ''
- for (let i = 0; i < baseSegments.length; i++) {
- if (i > 0) joined += '/'
- const part = baseSegments[i]!
- if (!part) continue
- segment = parseSegment(part, 0, segment)
- const kind = segment[0]
- if (kind === SEGMENT_TYPE_PATHNAME) {
- joined += part
- continue
- }
- const end = segment[5]
- const prefix = part.substring(0, segment[1])
- const suffix = part.substring(segment[4], end)
- const value = part.substring(segment[2], segment[3])
- if (kind === SEGMENT_TYPE_PARAM) {
- joined += prefix || suffix ? `${prefix}{$${value}}${suffix}` : `$${value}`
- } else if (kind === SEGMENT_TYPE_WILDCARD) {
- joined += prefix || suffix ? `${prefix}{$}${suffix}` : '$'
- } else {
- // SEGMENT_TYPE_OPTIONAL_PARAM
- joined += `${prefix}{-$${value}}${suffix}`
- }
- }
- joined = cleanPath(joined)
- const result = joined || '/'
+ const result = cleanPath(baseSegments.join('/')) || '/'
if (key && cache) cache.set(key, result)
return result
}
diff --git a/packages/router-core/src/route.ts b/packages/router-core/src/route.ts
index 7217f883ab..73a5bfac38 100644
--- a/packages/router-core/src/route.ts
+++ b/packages/router-core/src/route.ts
@@ -173,9 +173,11 @@ export type ResolveParams<
export type ParseParamsFn = (
rawParams: Expand>,
-) => TParams extends ResolveParams
- ? TParams
- : ResolveParams
+) =>
+ | (TParams extends ResolveParams
+ ? TParams
+ : ResolveParams)
+ | false
export type StringifyParamsFn = (
params: TParams,
@@ -1248,37 +1250,6 @@ export interface UpdatableRouteOptions<
in out TBeforeLoadFn,
>
extends UpdatableStaticRouteOption, UpdatableRouteOptionsExtensions {
- /**
- * Options to control route matching behavior with runtime code.
- *
- * @experimental 🚧 this feature is subject to change
- *
- * @link https://tanstack.com/router/latest/docs/framework/react/api/router/RouteOptionsType
- */
- skipRouteOnParseError?: {
- /**
- * If `true`, skip this route during matching if `params.parse` fails.
- *
- * Without this option, a `/$param` route could match *any* value for `param`,
- * and only later during the route lifecycle would `params.parse` run and potentially
- * show the `errorComponent` if validation failed.
- *
- * With this option enabled, the route will only match if `params.parse` succeeds.
- * If it fails, the router will continue trying to match other routes, potentially
- * finding a different route that works, or ultimately showing the `notFoundComponent`.
- *
- * @default false
- */
- params?: boolean
- /**
- * In cases where multiple routes would need to run `params.parse` during matching
- * to determine which route to pick, this priority number can be used as a tie-breaker
- * for which route to try first. Higher number = higher priority.
- *
- * @default 0
- */
- priority?: number
- }
/**
* If true, this route will be matched as case-sensitive
*
diff --git a/packages/router-core/src/router.ts b/packages/router-core/src/router.ts
index 25f833c7fc..bd8a2898ec 100644
--- a/packages/router-core/src/router.ts
+++ b/packages/router-core/src/router.ts
@@ -8,12 +8,14 @@ import {
encodePathLikeUrl,
findLast,
functionalUpdate,
+ hasKeys,
isDangerousProtocol,
last,
nullReplaceEqualDeep,
replaceEqualDeep,
} from './utils'
import {
+ buildRouteBranch,
findFlatMatch,
findRouteMatch,
findSingleMatch,
@@ -732,8 +734,6 @@ export type GetMatchRoutesFn = (pathname: string) => {
matchedRoutes: ReadonlyArray
/** exhaustive params, still in their string form */
routeParams: Record
- /** partial params, parsed from routeParams during matching */
- parsedParams: Record | undefined
foundRoute: AnyRoute | undefined
parseError?: unknown
}
@@ -972,6 +972,7 @@ export class RouterCore<
routesByPath!: RoutesByPath
processedTree!: ProcessedTree
resolvePathCache!: LRUCache
+ private routeBranchCache = new WeakMap>()
isServer!: boolean
pathParamsDecoder?: (encoded: string) => string
protocolAllowlist!: Set
@@ -1343,15 +1344,23 @@ export class RouterCore<
return location
}
- /** Resolve a path against the router basepath and trailing-slash policy. */
+ /** Resolve a path using the router's trailing-slash policy. */
resolvePathWithBase = (from: string, path: string) => {
- const resolvedPath = resolvePath({
+ return resolvePath({
base: from,
- to: cleanPath(path),
+ to: path.includes('//') ? cleanPath(path) : path,
trailingSlash: this.options.trailingSlash,
cache: this.resolvePathCache,
})
- return resolvedPath
+ }
+
+ private getRouteBranch(route: AnyRoute) {
+ let branch = this.routeBranchCache.get(route)
+ if (!branch) {
+ branch = buildRouteBranch(route)
+ this.routeBranchCache.set(route, branch)
+ }
+ return branch
}
get looseRoutesById() {
@@ -1391,7 +1400,7 @@ export class RouterCore<
opts?: MatchRoutesOpts,
): Array {
const matchedRoutesResult = this.getMatchedRoutes(next.pathname)
- const { foundRoute, routeParams, parsedParams } = matchedRoutesResult
+ const { foundRoute, routeParams } = matchedRoutesResult
let { matchedRoutes } = matchedRoutesResult
let isGlobalNotFound = false
@@ -1517,7 +1526,7 @@ export class RouterCore<
if (!existingMatch) {
try {
- extractStrictParams(route, usedParams, parsedParams!, strictParams)
+ extractStrictParams(route, strictParams)
} catch (err: any) {
if (isNotFound(err) || isRedirect(err)) {
paramsError = err
@@ -1687,7 +1696,7 @@ export class RouterCore<
search: Record
params: Record
} {
- const { matchedRoutes, routeParams, parsedParams } = this.getMatchedRoutes(
+ const { matchedRoutes, routeParams } = this.getMatchedRoutes(
location.pathname,
)
const lastRoute = last(matchedRoutes)!
@@ -1734,12 +1743,7 @@ export class RouterCore<
)
for (const route of matchedRoutes) {
try {
- extractStrictParams(
- route,
- routeParams,
- parsedParams ?? {},
- strictParams,
- )
+ extractStrictParams(route, strictParams)
} catch {
// Ignore errors, we're not actually routing
}
@@ -1835,9 +1839,7 @@ export class RouterCore<
dest.unsafeRelative === 'path'
? currentLocation.pathname
: (dest.from ?? lightweightResult.fullPath)
-
- // ensure this includes the basePath if set
- const fromPath = this.resolvePathWithBase(defaultedFromPath, '.')
+ const destTo = dest.to ? `${dest.to}` : undefined
// From search should always use the current location
const fromSearch = lightweightResult.search
@@ -1847,11 +1849,15 @@ export class RouterCore<
lightweightResult.params,
)
- // Resolve the next to
- // ensure this includes the basePath if set
- const nextTo = dest.to
- ? this.resolvePathWithBase(fromPath, `${dest.to}`)
- : this.resolvePathWithBase(fromPath, '.')
+ const isAbsoluteTo = destTo?.charCodeAt(0) === 47
+ const sourcePath = isAbsoluteTo
+ ? '/'
+ : this.resolvePathWithBase(defaultedFromPath, '.')
+
+ // Resolve the destination. Absolute destinations don't need the source path.
+ const nextTo = destTo
+ ? this.resolvePathWithBase(sourcePath, destTo)
+ : sourcePath
// Resolve the next params
const nextParams =
@@ -1864,24 +1870,33 @@ export class RouterCore<
functionalUpdate(dest.params as any, fromParams),
)
- // Use lightweight getMatchedRoutes instead of matchRoutesInternal
- // This avoids creating full match objects (AbortController, ControlledPromise, etc.)
- // which are expensive and not needed for buildLocation
- const destMatchResult = this.getMatchedRoutes(nextTo)
- let destRoutes = destMatchResult.matchedRoutes
+ const destRoute = this.routesByPath[
+ trimPathRight(nextTo) as keyof typeof this.routesByPath
+ ] as AnyRoute | undefined
- // Compute globalNotFoundRouteId using the same logic as matchRoutesInternal
- const isGlobalNotFound =
- !destMatchResult.foundRoute ||
- (destMatchResult.foundRoute.path !== '/' &&
- destMatchResult.routeParams['**'])
+ let destRoutes: ReadonlyArray
+ if (destRoute) {
+ destRoutes = this.getRouteBranch(destRoute)
+ } else if (nextTo.includes('$')) {
+ // Route templates must match routesByPath exactly. A miss here is a
+ // typed destination mismatch, not a concrete URL to route-match.
+ destRoutes = []
+ } else {
+ const destMatchResult = this.getMatchedRoutes(nextTo)
+ destRoutes = destMatchResult.matchedRoutes
- if (isGlobalNotFound && this.options.notFoundRoute) {
- destRoutes = [...destRoutes, this.options.notFoundRoute]
+ if (
+ this.options.notFoundRoute &&
+ (!destMatchResult.foundRoute ||
+ (destMatchResult.foundRoute.path !== '/' &&
+ destMatchResult.routeParams['**']))
+ ) {
+ destRoutes = [...destRoutes, this.options.notFoundRoute]
+ }
}
// If there are any params, we need to stringify them
- if (Object.keys(nextParams).length > 0) {
+ if (destRoutes.length && hasKeys(nextParams)) {
for (const route of destRoutes) {
const fn =
route.options.params?.stringify ?? route.options.stringifyParams
@@ -1900,8 +1915,7 @@ export class RouterCore<
}
const nextPathname = opts.leaveParams
- ? // Use the original template path for interpolation
- // This preserves the original parameter syntax including optional parameters
+ ? // Keep path params uninterpolated for matchRoute/template matching.
nextTo
: decodePath(
interpolatePath({
@@ -1912,6 +1926,24 @@ export class RouterCore<
}).interpolatedPath,
).path
+ if (
+ process.env.NODE_ENV !== 'production' &&
+ destRoute &&
+ !opts.leaveParams
+ ) {
+ try {
+ const roundTrip = this.getMatchedRoutes(nextPathname)
+ if (roundTrip.foundRoute?.id !== destRoute.id) {
+ console.warn(
+ `Generated path "${nextPathname}" for route "${destRoute.id}" did not match the same route after params.stringify.`,
+ )
+ }
+ } catch {
+ // Ignore roundtrip validation errors. The generated location will be
+ // handled by the normal navigation flow.
+ }
+ }
+
// Resolve the next search
let nextSearch = fromSearch
if (opts._includeValidateSearch && this.options.search?.strict) {
@@ -3015,17 +3047,15 @@ export function getMatchedRoutes({
const trimmedPath = trimPathRight(pathname)
let foundRoute: TRouteLike | undefined = undefined
- let parsedParams: Record | undefined = undefined
const match = findRouteMatch(trimmedPath, processedTree, true)
if (match) {
foundRoute = match.route
Object.assign(routeParams, match.rawParams) // Copy params, because they're cached
- parsedParams = Object.assign(Object.create(null), match.parsedParams)
}
const matchedRoutes = match?.branch || [routesById[rootRouteId]!]
- return { matchedRoutes, routeParams, foundRoute, parsedParams }
+ return { matchedRoutes, routeParams, foundRoute }
}
/**
@@ -3177,22 +3207,14 @@ function findGlobalNotFoundRouteId(
function extractStrictParams(
route: AnyRoute,
- referenceParams: Record,
- parsedParams: Record,
accumulatedParams: Record,
) {
const parseParams = route.options.params?.parse ?? route.options.parseParams
if (parseParams) {
- if (route.options.skipRouteOnParseError) {
- // Use pre-parsed params from route matching for skipRouteOnParseError routes
- for (const key in referenceParams) {
- if (key in parsedParams) {
- accumulatedParams[key] = parsedParams[key]
- }
- }
- } else {
- const result = parseParams(accumulatedParams as Record)
- Object.assign(accumulatedParams, result)
+ const result = parseParams(accumulatedParams as Record)
+ if (result === false) {
+ throw new Error('Route params.parse returned false for a matched route')
}
+ Object.assign(accumulatedParams, result)
}
}
diff --git a/packages/router-core/src/utils.ts b/packages/router-core/src/utils.ts
index 3a283e270c..81a3de6a8f 100644
--- a/packages/router-core/src/utils.ts
+++ b/packages/router-core/src/utils.ts
@@ -215,6 +215,13 @@ export function functionalUpdate(
const hasOwn = Object.prototype.hasOwnProperty
const isEnumerable = Object.prototype.propertyIsEnumerable
+export function hasKeys(obj: Record) {
+ for (const key in obj) {
+ if (hasOwn.call(obj, key)) return true
+ }
+ return false
+}
+
const createNull = () => Object.create(null)
export const nullReplaceEqualDeep: typeof replaceEqualDeep = (prev, next) =>
replaceEqualDeep(prev, next, createNull)
diff --git a/packages/router-core/tests/build-location.test.ts b/packages/router-core/tests/build-location.test.ts
index 6aca9b3b6a..c8c12ce42e 100644
--- a/packages/router-core/tests/build-location.test.ts
+++ b/packages/router-core/tests/build-location.test.ts
@@ -1103,6 +1103,175 @@ describe('buildLocation - params edge cases', () => {
expect(location.pathname).toBe('/users/000042')
})
+ test('params.stringify should run for params.parse route templates', async () => {
+ const rootRoute = new BaseRootRoute({})
+ const languageRoute = new BaseRoute({
+ getParentRoute: () => rootRoute,
+ path: '/{$language}',
+ params: {
+ parse: ({ language }: { language: string }) => {
+ if (language === 'en') return { language: 'en-US' as const }
+ if (language === 'pl') return { language: 'pl-PL' as const }
+ return false
+ },
+ stringify: ({ language }: { language: 'en-US' | 'pl-PL' }) => {
+ if (language === 'en-US') return { language: 'en' }
+ if (language === 'pl-PL') return { language: 'pl' }
+ return { language }
+ },
+ },
+ })
+
+ const routeTree = rootRoute.addChildren([languageRoute])
+
+ const router = createTestRouter({
+ routeTree,
+ history: createMemoryHistory({ initialEntries: ['/en'] }),
+ })
+
+ await router.load()
+
+ const location = router.buildLocation({
+ to: '/{$language}',
+ params: { language: 'pl-PL' },
+ })
+
+ expect(location.pathname).toBe('/pl')
+
+ const currentRouteLocation = router.buildLocation({
+ params: { language: 'pl-PL' },
+ } as any)
+
+ expect(currentRouteLocation.pathname).toBe('/pl')
+ })
+
+ test('params.stringify should use the exact route template over path matching priority', async () => {
+ const rootRoute = new BaseRootRoute({})
+ const dollarRoute = new BaseRoute({
+ getParentRoute: () => rootRoute,
+ path: '/$value',
+ params: {
+ parse: ({ value }: { value: string }) => {
+ if (value.startsWith('dollar-')) return { value }
+ return false
+ },
+ stringify: ({ value }: { value: string }) => ({
+ value: `dollar-${value}`,
+ }),
+ },
+ })
+ const curlyRoute = new BaseRoute({
+ getParentRoute: () => rootRoute,
+ path: '/{$value}',
+ params: {
+ parse: ({ value }: { value: string }) => {
+ if (value.startsWith('curly-')) return { value }
+ return false
+ },
+ stringify: ({ value }: { value: string }) => ({
+ value: `curly-${value}`,
+ }),
+ },
+ })
+
+ const routeTree = rootRoute.addChildren([dollarRoute, curlyRoute])
+
+ const router = createTestRouter({
+ routeTree,
+ history: createMemoryHistory({ initialEntries: ['/dollar-home'] }),
+ })
+
+ await router.load()
+
+ const curlyLocation = router.buildLocation({
+ to: '/{$value}',
+ params: { value: 'alpha' },
+ })
+ const dollarLocation = router.buildLocation({
+ to: '/$value',
+ params: { value: 'alpha' },
+ })
+
+ expect(curlyLocation.pathname).toBe('/curly-alpha')
+ expect(dollarLocation.pathname).toBe('/dollar-alpha')
+ })
+
+ test('params.parse should gate path matching and provide typed params', async () => {
+ const rootRoute = new BaseRootRoute({})
+ const userRoute = new BaseRoute({
+ getParentRoute: () => rootRoute,
+ path: '/users/$userId',
+ params: {
+ parse: ({ userId }: { userId: string }) => {
+ const parsed = Number(userId)
+ if (!Number.isInteger(parsed)) return false
+ return { userId: parsed }
+ },
+ stringify: ({ userId }: { userId: number }) => ({
+ userId: String(userId),
+ }),
+ },
+ })
+
+ const routeTree = rootRoute.addChildren([userRoute])
+
+ const router = createTestRouter({
+ routeTree,
+ history: createMemoryHistory({ initialEntries: ['/users/123'] }),
+ })
+
+ await router.load()
+
+ expect(router.state.matches.at(-1)?.params).toEqual({ userId: 123 })
+
+ const location = router.buildLocation({
+ to: '/users/$userId',
+ params: { userId: 456 },
+ })
+
+ expect(location.pathname).toBe('/users/456')
+ })
+
+ test('buildLocation should warn in development when stringified params do not match the target route', async () => {
+ const rootRoute = new BaseRootRoute({})
+ const staticRoute = new BaseRoute({
+ getParentRoute: () => rootRoute,
+ path: '/no',
+ })
+ const dynamicRoute = new BaseRoute({
+ getParentRoute: () => rootRoute,
+ path: '/$foo',
+ params: {
+ stringify: () => ({ foo: 'no' }),
+ },
+ })
+
+ const routeTree = rootRoute.addChildren([staticRoute, dynamicRoute])
+
+ const router = createTestRouter({
+ routeTree,
+ history: createMemoryHistory({ initialEntries: ['/yes'] }),
+ })
+
+ await router.load()
+
+ const warn = vi.spyOn(console, 'warn').mockImplementation(() => {})
+
+ try {
+ const location = router.buildLocation({
+ to: '/$foo',
+ params: { foo: 'yes' },
+ })
+
+ expect(location.pathname).toBe('/no')
+ expect(warn).toHaveBeenCalledWith(
+ 'Generated path "/no" for route "/$foo" did not match the same route after params.stringify.',
+ )
+ } finally {
+ warn.mockRestore()
+ }
+ })
+
test('params.stringify in nested routes should all be applied', async () => {
const rootRoute = new BaseRootRoute({})
const orgRoute = new BaseRoute({
diff --git a/packages/router-core/tests/match-params.test.ts b/packages/router-core/tests/match-params.test.ts
new file mode 100644
index 0000000000..fd5c36cb4b
--- /dev/null
+++ b/packages/router-core/tests/match-params.test.ts
@@ -0,0 +1,655 @@
+import { describe, expect, it, vi } from 'vitest'
+import { createMemoryHistory } from '@tanstack/history'
+import { findRouteMatch, processRouteTree } from '../src/new-process-route-tree'
+import { BaseRootRoute, BaseRoute, PathParamError } from '../src'
+import { createTestRouter } from './routerTestUtils'
+
+type TestRoute = {
+ id: string
+ fullPath: string
+ path?: string
+ isRoot?: boolean
+ options?: {
+ params?: {
+ parse?: (params: Record) => unknown
+ }
+ }
+ children?: Array
+}
+
+const root = (children: Array): TestRoute => ({
+ id: '__root__',
+ isRoot: true,
+ fullPath: '/',
+ path: '/',
+ children,
+})
+
+const parseWhen = (predicate: (params: Record) => boolean) => {
+ return (params: Record) =>
+ predicate(params) ? params : false
+}
+
+const integerParse = (key: string) =>
+ parseWhen((params) => {
+ const value = Number(params[key])
+ return Number.isInteger(value)
+ })
+
+describe('params.parse route selection', () => {
+ describe('basic matching', () => {
+ it('matches route when params.parse returns params', () => {
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/$id',
+ fullPath: '/$id',
+ path: '$id',
+ options: {
+ params: {
+ parse: integerParse('id'),
+ },
+ },
+ },
+ ]),
+ )
+
+ const result = findRouteMatch('/123', processedTree)
+ expect(result?.route.id).toBe('/$id')
+ expect(result?.rawParams).toEqual({ id: '123' })
+ })
+
+ it('skips route when params.parse returns false and finds no alternative', () => {
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/$id',
+ fullPath: '/$id',
+ path: '$id',
+ options: {
+ params: {
+ parse: integerParse('id'),
+ },
+ },
+ },
+ ]),
+ )
+
+ const result = findRouteMatch('/abc', processedTree)
+ expect(result).toBeNull()
+ })
+
+ it('skips route when params.parse returns false and finds an alternative', () => {
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/$id',
+ fullPath: '/$id',
+ path: '$id',
+ options: {
+ params: {
+ parse: integerParse('id'),
+ },
+ },
+ },
+ {
+ id: '/$slug',
+ fullPath: '/$slug',
+ path: '$slug',
+ },
+ ]),
+ )
+
+ const result = findRouteMatch('/hello-world', processedTree)
+ expect(result?.route.id).toBe('/$slug')
+ expect(result?.rawParams).toEqual({ slug: 'hello-world' })
+ })
+
+ it('does not skip route when params.parse throws', () => {
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/$id',
+ fullPath: '/$id',
+ path: '$id',
+ options: {
+ params: {
+ parse: () => {
+ throw 'invalid id'
+ },
+ },
+ },
+ },
+ {
+ id: '/$slug',
+ fullPath: '/$slug',
+ path: '$slug',
+ },
+ ]),
+ )
+
+ const result = findRouteMatch('/hello-world', processedTree)
+ expect(result?.route.id).toBe('/$id')
+ })
+
+ it('skips only false returns, not thrown params.parse errors', () => {
+ const parse = vi.fn(({ id }: Record) => {
+ if (id === 'skip') return false
+ if (id === 'boom') throw new Error('invalid id')
+ return { id }
+ })
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/$id',
+ fullPath: '/$id',
+ path: '$id',
+ options: {
+ params: {
+ parse,
+ },
+ },
+ },
+ {
+ id: '/$slug',
+ fullPath: '/$slug',
+ path: '$slug',
+ },
+ ]),
+ )
+
+ expect(findRouteMatch('/ok', processedTree)?.route.id).toBe('/$id')
+ expect(findRouteMatch('/skip', processedTree)?.route.id).toBe('/$slug')
+ expect(findRouteMatch('/boom', processedTree)?.route.id).toBe('/$id')
+ })
+
+ it('surfaces thrown params.parse errors on the selected router match', () => {
+ const rootRoute = new BaseRootRoute({})
+ const guardedRoute = new BaseRoute({
+ getParentRoute: () => rootRoute,
+ path: '/$id',
+ params: {
+ parse: ({ id }: { id: string }) => {
+ if (id === 'skip') return false
+ if (id === 'boom') throw new Error('invalid id')
+ return { id }
+ },
+ },
+ })
+ const fallbackRoute = new BaseRoute({
+ getParentRoute: () => rootRoute,
+ path: '/$slug',
+ })
+ const routeTree = rootRoute.addChildren([guardedRoute, fallbackRoute])
+ const router = createTestRouter({
+ routeTree,
+ history: createMemoryHistory({ initialEntries: ['/ok'] }),
+ })
+
+ expect(router.matchRoutes('/skip', {}).at(-1)?.routeId).toBe('/$slug')
+
+ const matches = router.matchRoutes('/boom', {})
+ const match = matches.at(-1)!
+ expect(match.routeId).toBe('/$id')
+ expect(match.paramsError).toBeInstanceOf(PathParamError)
+ expect((match.paramsError as Error).message).toBe('invalid id')
+
+ expect(() =>
+ router.matchRoutes('/boom', {}, { throwOnError: true }),
+ ).toThrow(PathParamError)
+ })
+
+ it('calls params.parse during matching', () => {
+ const parse = vi.fn((params: Record) => params)
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/$id',
+ fullPath: '/$id',
+ path: '$id',
+ options: {
+ params: {
+ parse,
+ },
+ },
+ },
+ ]),
+ )
+
+ const result = findRouteMatch('/123', processedTree)
+ expect(result?.route.id).toBe('/$id')
+ expect(result?.rawParams).toEqual({ id: '123' })
+ expect(parse).toHaveBeenCalledWith({ id: '123' })
+ })
+ })
+
+ describe('priority', () => {
+ it('params.parse routes take precedence over unguarded dynamic routes', () => {
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/$slug',
+ fullPath: '/$slug',
+ path: '$slug',
+ },
+ {
+ id: '/$id',
+ fullPath: '/$id',
+ path: '$id',
+ options: {
+ params: {
+ parse: integerParse('id'),
+ },
+ },
+ },
+ ]),
+ )
+
+ expect(findRouteMatch('/123', processedTree)?.route.id).toBe('/$id')
+ expect(findRouteMatch('/hello-world', processedTree)?.route.id).toBe(
+ '/$slug',
+ )
+ })
+
+ it('static routes still take precedence over params.parse dynamic routes', () => {
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/settings',
+ fullPath: '/settings',
+ path: 'settings',
+ },
+ {
+ id: '/$id',
+ fullPath: '/$id',
+ path: '$id',
+ options: {
+ params: {
+ parse: (params) => params,
+ },
+ },
+ },
+ ]),
+ )
+
+ expect(findRouteMatch('/settings', processedTree)?.route.id).toBe(
+ '/settings',
+ )
+ })
+
+ it('deep params.parse routes can fall back to a sibling route', () => {
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/$a/$b/$c',
+ fullPath: '/$a/$b/$c',
+ path: '$a/$b/$c',
+ options: {
+ params: {
+ parse: parseWhen(({ c }) => c === 'three'),
+ },
+ },
+ },
+ {
+ id: '/$x/$y/$z',
+ fullPath: '/$x/$y/$z',
+ path: '$x/$y/$z',
+ },
+ ]),
+ )
+
+ expect(findRouteMatch('/one/two/three', processedTree)?.route.id).toBe(
+ '/$a/$b/$c',
+ )
+ expect(findRouteMatch('/one/two/wrong', processedTree)?.route.id).toBe(
+ '/$x/$y/$z',
+ )
+ })
+
+ it('declaration order breaks ties between params.parse routes', () => {
+ const routeTree = root([
+ {
+ id: '/$a',
+ fullPath: '/$a',
+ path: '$a',
+ options: {
+ params: {
+ parse: (params) => params,
+ },
+ },
+ },
+ {
+ id: '/$z',
+ fullPath: '/$z',
+ path: '$z',
+ options: {
+ params: {
+ parse: (params) => params,
+ },
+ },
+ },
+ ])
+ expect(
+ findRouteMatch('/123', processRouteTree(routeTree).processedTree)?.route
+ .id,
+ ).toBe('/$a')
+ })
+ })
+
+ describe('regex-like match patterns', () => {
+ it('matches UUID values before falling back to a slug route', () => {
+ const uuidRegex =
+ /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/$uuid',
+ fullPath: '/$uuid',
+ path: '$uuid',
+ options: {
+ params: {
+ parse: parseWhen(({ uuid }) => uuidRegex.test(uuid!)),
+ },
+ },
+ },
+ {
+ id: '/$slug',
+ fullPath: '/$slug',
+ path: '$slug',
+ },
+ ]),
+ )
+
+ expect(
+ findRouteMatch('/550e8400-e29b-41d4-a716-446655440000', processedTree)
+ ?.route.id,
+ ).toBe('/$uuid')
+ expect(findRouteMatch('/my-blog-post', processedTree)?.route.id).toBe(
+ '/$slug',
+ )
+ })
+
+ it('matches dates before falling back to a slug route', () => {
+ const isDate = (date: string | undefined) => {
+ if (!date) return false
+ return !Number.isNaN(new Date(date).getTime())
+ }
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/posts/$date',
+ fullPath: '/posts/$date',
+ path: 'posts/$date',
+ options: {
+ params: {
+ parse: parseWhen(({ date }) => isDate(date)),
+ },
+ },
+ },
+ {
+ id: '/posts/$slug',
+ fullPath: '/posts/$slug',
+ path: 'posts/$slug',
+ },
+ ]),
+ )
+
+ const dateResult = findRouteMatch('/posts/2024-01-15', processedTree)
+ expect(dateResult?.route.id).toBe('/posts/$date')
+ expect(dateResult?.rawParams.date).toBe('2024-01-15')
+ expect(
+ findRouteMatch('/posts/my-first-post', processedTree)?.route.id,
+ ).toBe('/posts/$slug')
+ })
+ })
+
+ describe('nested routes', () => {
+ it('parent params.parse failure prevents child matching', () => {
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/$orgId',
+ fullPath: '/$orgId',
+ path: '$orgId',
+ options: {
+ params: {
+ parse: integerParse('orgId'),
+ },
+ },
+ children: [
+ {
+ id: '/$orgId/settings',
+ fullPath: '/$orgId/settings',
+ path: 'settings',
+ },
+ ],
+ },
+ {
+ id: '/$slug/about',
+ fullPath: '/$slug/about',
+ path: '$slug/about',
+ },
+ ]),
+ )
+
+ expect(findRouteMatch('/123/settings', processedTree)?.route.id).toBe(
+ '/$orgId/settings',
+ )
+ expect(findRouteMatch('/my-org/about', processedTree)?.route.id).toBe(
+ '/$slug/about',
+ )
+ expect(findRouteMatch('/my-org/settings', processedTree)).toBeNull()
+ })
+
+ it('child params.parse failure falls back to sibling route', () => {
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/users',
+ fullPath: '/users',
+ path: 'users',
+ children: [
+ {
+ id: '/users/$userId',
+ fullPath: '/users/$userId',
+ path: '$userId',
+ options: {
+ params: {
+ parse: integerParse('userId'),
+ },
+ },
+ },
+ {
+ id: '/users/$username',
+ fullPath: '/users/$username',
+ path: '$username',
+ },
+ ],
+ },
+ ]),
+ )
+
+ const numericResult = findRouteMatch('/users/42', processedTree)
+ expect(numericResult?.route.id).toBe('/users/$userId')
+ expect(numericResult?.rawParams).toEqual({ userId: '42' })
+
+ const usernameResult = findRouteMatch('/users/johndoe', processedTree)
+ expect(usernameResult?.route.id).toBe('/users/$username')
+ expect(usernameResult?.rawParams).toEqual({ username: 'johndoe' })
+ })
+ })
+
+ describe('pathless routes', () => {
+ it('pathless layout with params.parse gates children', () => {
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/',
+ fullPath: '/',
+ path: '/',
+ },
+ {
+ id: '/$foo/_layout',
+ fullPath: '/$foo',
+ path: '$foo',
+ options: {
+ params: {
+ parse: integerParse('foo'),
+ },
+ },
+ children: [
+ {
+ id: '/$foo/_layout/bar',
+ fullPath: '/$foo/bar',
+ path: 'bar',
+ },
+ {
+ id: '/$foo/_layout/',
+ fullPath: '/$foo/',
+ path: '/',
+ },
+ ],
+ },
+ {
+ id: '/$foo/hello',
+ fullPath: '/$foo/hello',
+ path: '$foo/hello',
+ },
+ ]),
+ )
+
+ expect(findRouteMatch('/123/bar', processedTree)?.route.id).toBe(
+ '/$foo/_layout/bar',
+ )
+ const indexResult = findRouteMatch('/123', processedTree)
+ expect(indexResult?.route.id).toBe('/$foo/_layout/')
+ expect(indexResult?.rawParams).toEqual({ foo: '123' })
+
+ expect(findRouteMatch('/abc/hello', processedTree)?.route.id).toBe(
+ '/$foo/hello',
+ )
+ expect(findRouteMatch('/abc/bar', processedTree)).toBeNull()
+ })
+ })
+
+ describe('optional params', () => {
+ it('optional param with static fallback', () => {
+ const validLangs = ['en', 'es', 'fr', 'de']
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/{-$lang}/home',
+ fullPath: '/{-$lang}/home',
+ path: '{-$lang}/home',
+ options: {
+ params: {
+ parse: parseWhen(
+ ({ lang }) => !lang || validLangs.includes(lang),
+ ),
+ },
+ },
+ },
+ {
+ id: '/home',
+ fullPath: '/home',
+ path: 'home',
+ },
+ ]),
+ )
+
+ expect(findRouteMatch('/en/home', processedTree)?.route.id).toBe(
+ '/{-$lang}/home',
+ )
+ expect(findRouteMatch('/home', processedTree)?.route.id).toBe(
+ '/{-$lang}/home',
+ )
+ expect(findRouteMatch('/it/home', processedTree)).toBeNull()
+ })
+
+ it('optional param at root can match or skip the optional segment', () => {
+ const validLangs = ['en', 'es', 'fr', 'de']
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/{-$lang}',
+ fullPath: '/{-$lang}',
+ path: '{-$lang}',
+ options: {
+ params: {
+ parse: parseWhen(
+ ({ lang }) => !lang || validLangs.includes(lang),
+ ),
+ },
+ },
+ },
+ ]),
+ )
+
+ expect(findRouteMatch('/en', processedTree)?.route.id).toBe('/{-$lang}')
+ expect(findRouteMatch('/', processedTree)?.route.id).toBe('/{-$lang}')
+ expect(findRouteMatch('/about', processedTree)).toBeNull()
+ })
+ })
+
+ describe('wildcard routes', () => {
+ it('wildcard with params.parse falls back in fuzzy mode', () => {
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/files/$',
+ fullPath: '/files/$',
+ path: 'files/$',
+ options: {
+ params: {
+ parse: parseWhen(({ _splat }) => !_splat!.includes('..')),
+ },
+ },
+ },
+ {
+ id: '/files',
+ fullPath: '/files',
+ path: 'files',
+ },
+ ]),
+ )
+
+ expect(
+ findRouteMatch('/files/docs/readme.txt', processedTree)?.route.id,
+ ).toBe('/files/$')
+
+ const result = findRouteMatch(
+ '/files/../../secret/photo.jpg',
+ processedTree,
+ true,
+ )
+ expect(result?.route.id).toBe('/files')
+ expect(result?.rawParams['**']).toBe('../../secret/photo.jpg')
+ })
+
+ it('index params.parse failure does not block wildcard sibling', () => {
+ const { processedTree } = processRouteTree(
+ root([
+ {
+ id: '/a/',
+ fullPath: '/a/',
+ path: 'a/',
+ options: {
+ params: {
+ parse: () => false,
+ },
+ },
+ },
+ {
+ id: '/a/$',
+ fullPath: '/a/$',
+ path: 'a/$',
+ },
+ ]),
+ )
+
+ const result = findRouteMatch('/a', processedTree)
+ expect(result?.route.id).toBe('/a/$')
+ expect(result?.rawParams).toEqual({ '*': '', _splat: '' })
+ })
+ })
+})
diff --git a/packages/router-core/tests/new-process-route-tree.test.ts b/packages/router-core/tests/new-process-route-tree.test.ts
index 7d13939937..3989ea0697 100644
--- a/packages/router-core/tests/new-process-route-tree.test.ts
+++ b/packages/router-core/tests/new-process-route-tree.test.ts
@@ -22,6 +22,44 @@ function makeTree(routes: Array) {
}
describe('findRouteMatch', () => {
+ describe('routesByPath', () => {
+ it('uses exact route-template keys while matching duplicate bare aliases by insertion order', () => {
+ const routeTree = {
+ id: '__root__',
+ isRoot: true,
+ fullPath: '/',
+ path: '/',
+ children: [
+ {
+ id: '/$id',
+ fullPath: '/$id',
+ path: '$id',
+ },
+ {
+ id: '/{$id}',
+ fullPath: '/{$id}',
+ path: '{$id}',
+ },
+ {
+ id: '/prefix{$id}',
+ fullPath: '/prefix{$id}',
+ path: 'prefix{$id}',
+ },
+ ],
+ }
+
+ const { processedTree, routesByPath } = processRouteTree(routeTree)
+
+ expect(routesByPath['/$id']?.id).toBe('/$id')
+ expect(routesByPath['/{$id}']?.id).toBe('/{$id}')
+ expect(routesByPath['/prefix{$id}']?.id).toBe('/prefix{$id}')
+ expect(findRouteMatch('/value', processedTree)?.route.id).toBe('/$id')
+ expect(findRouteMatch('/prefixvalue', processedTree)?.route.id).toBe(
+ '/prefix{$id}',
+ )
+ })
+ })
+
describe('priority', () => {
describe('basic permutations priorities', () => {
it('/static/static vs /static/dynamic', () => {
@@ -842,7 +880,7 @@ describe('findRouteMatch', () => {
expect(match?.rawParams).toEqual({ '*': 'b/c', _splat: 'b/c' })
})
- it('falls back to fuzzy layout matching when wildcard param parsing fails', () => {
+ it('falls back to fuzzy layout matching when wildcard params.parse returns false', () => {
const tree = {
id: '__root__',
fullPath: '/',
@@ -862,10 +900,9 @@ describe('findRouteMatch', () => {
options: {
params: {
parse: () => {
- throw new Error('skip')
+ return false
},
},
- skipRouteOnParseError: { params: true },
},
},
],
@@ -876,7 +913,7 @@ describe('findRouteMatch', () => {
expect(match?.rawParams).toEqual({ '**': 'b/c' })
})
- it('falls back to exact layout matching when empty wildcard param parsing fails', () => {
+ it('falls back to exact layout matching when empty wildcard params.parse returns false', () => {
const tree = {
id: '__root__',
fullPath: '/',
@@ -896,10 +933,9 @@ describe('findRouteMatch', () => {
options: {
params: {
parse: () => {
- throw new Error('skip')
+ return false
},
},
- skipRouteOnParseError: { params: true },
},
},
],
@@ -1038,7 +1074,6 @@ describe('findRouteMatch', () => {
return params
},
},
- skipRouteOnParseError: { params: true },
},
},
],
@@ -1049,7 +1084,7 @@ describe('findRouteMatch', () => {
expect(result?.rawParams).toEqual({ '*': 'rest', _splat: 'rest' })
expect(calls).toBe(1)
})
- it('can fall back to a lower-priority wildcard when wildcard param parsing fails', () => {
+ it('can fall back to a lower-priority wildcard when wildcard params.parse returns false', () => {
const tree = {
id: '__root__',
fullPath: '/',
@@ -1065,10 +1100,9 @@ describe('findRouteMatch', () => {
options: {
params: {
parse: () => {
- throw new Error('skip')
+ return false
},
},
- skipRouteOnParseError: { params: true },
},
},
{
@@ -1085,7 +1119,7 @@ describe('findRouteMatch', () => {
expect(result?.route.id).toBe('/a/$')
expect(result?.rawParams).toEqual({ '*': 'foobar', _splat: 'foobar' })
})
- it('falls back to the next matching wildcard by priority when the best wildcard parse fails', () => {
+ it('falls back to the next matching wildcard by priority when the best wildcard params.parse returns false', () => {
const tree = {
id: '__root__',
fullPath: '/',
@@ -1101,10 +1135,9 @@ describe('findRouteMatch', () => {
options: {
params: {
parse: () => {
- throw new Error('skip')
+ return false
},
},
- skipRouteOnParseError: { params: true },
},
},
{
@@ -1150,7 +1183,6 @@ describe('findRouteMatch', () => {
return params
},
},
- skipRouteOnParseError: { params: true, priority: 1 },
},
},
{
@@ -1165,7 +1197,6 @@ describe('findRouteMatch', () => {
return params
},
},
- skipRouteOnParseError: { params: true },
},
},
],
@@ -1205,7 +1236,6 @@ describe('findRouteMatch', () => {
return params
},
},
- skipRouteOnParseError: { params: true },
},
},
],
@@ -1243,7 +1273,6 @@ describe('findRouteMatch', () => {
return params
},
},
- skipRouteOnParseError: { params: true },
},
},
],
@@ -1253,7 +1282,8 @@ describe('findRouteMatch', () => {
expect(result?.route.id).toBe('/a/')
expect(calls).toBe(0)
})
- it('preserves parsed params from a stacked wildcard route', () => {
+ it('passes wildcard raw params to params.parse', () => {
+ let parsedParams: Record | undefined
const tree = {
id: '__root__',
fullPath: '/',
@@ -1268,11 +1298,11 @@ describe('findRouteMatch', () => {
isRoot: false,
options: {
params: {
- parse: (params: Record) => ({
- length: params._splat!.length,
- }),
+ parse: (params: Record) => {
+ parsedParams = params
+ return { length: params._splat!.length }
+ },
},
- skipRouteOnParseError: { params: true },
},
},
],
@@ -1281,7 +1311,7 @@ describe('findRouteMatch', () => {
const result = findRouteMatch('/a/foo/bar', processedTree)
expect(result?.route.id).toBe('/a/$')
expect(result?.rawParams).toEqual({ '*': 'foo/bar', _splat: 'foo/bar' })
- expect(result?.parsedParams).toEqual({ length: 7 })
+ expect(parsedParams).toEqual({ '*': 'foo/bar', _splat: 'foo/bar' })
})
})
})
@@ -1334,10 +1364,7 @@ describe('findRouteMatch', () => {
path: '$foo',
fullPath: '/$foo',
options: {
- params: { parse: () => {} },
- skipRouteOnParseError: {
- params: true,
- },
+ params: { parse: (params: Record) => params },
},
children: [
{
@@ -1377,7 +1404,6 @@ describe('findRouteMatch', () => {
"optional": null,
"parent": [Circular],
"parse": null,
- "parsingPriority": 0,
"pathless": [
{
"depth": 2,
@@ -1392,7 +1418,6 @@ describe('findRouteMatch', () => {
"optional": null,
"parent": [Circular],
"parse": null,
- "parsingPriority": 0,
"pathless": null,
"route": {
"fullPath": "/$foo/",
@@ -1400,7 +1425,6 @@ describe('findRouteMatch', () => {
"options": {},
"path": "/",
},
- "skipOnParamError": false,
"static": null,
"staticInsensitive": null,
"wildcard": null,
@@ -1409,7 +1433,6 @@ describe('findRouteMatch', () => {
"optional": null,
"parent": [Circular],
"parse": [Function],
- "parsingPriority": 0,
"pathless": null,
"route": {
"children": [
@@ -1432,13 +1455,9 @@ describe('findRouteMatch', () => {
"params": {
"parse": [Function],
},
- "skipRouteOnParseError": {
- "params": true,
- },
},
"path": "$foo",
},
- "skipOnParamError": true,
"static": null,
"staticInsensitive": Map {
"bar" => {
@@ -1450,7 +1469,6 @@ describe('findRouteMatch', () => {
"optional": null,
"parent": [Circular],
"parse": null,
- "parsingPriority": 0,
"pathless": null,
"route": {
"fullPath": "/$foo/bar",
@@ -1458,7 +1476,6 @@ describe('findRouteMatch', () => {
"options": {},
"path": "bar",
},
- "skipOnParamError": false,
"static": null,
"staticInsensitive": null,
"wildcard": null,
@@ -1469,7 +1486,6 @@ describe('findRouteMatch', () => {
],
"prefix": undefined,
"route": null,
- "skipOnParamError": false,
"static": null,
"staticInsensitive": Map {
"hello" => {
@@ -1481,7 +1497,6 @@ describe('findRouteMatch', () => {
"optional": null,
"parent": [Circular],
"parse": null,
- "parsingPriority": 0,
"pathless": null,
"route": {
"fullPath": "/$foo/hello",
@@ -1489,7 +1504,6 @@ describe('findRouteMatch', () => {
"options": {},
"path": "$foo/hello",
},
- "skipOnParamError": false,
"static": null,
"staticInsensitive": null,
"wildcard": null,
@@ -1509,7 +1523,6 @@ describe('findRouteMatch', () => {
"optional": null,
"parent": [Circular],
"parse": null,
- "parsingPriority": 0,
"pathless": null,
"route": {
"fullPath": "/",
@@ -1517,7 +1530,6 @@ describe('findRouteMatch', () => {
"options": {},
"path": "/",
},
- "skipOnParamError": false,
"static": null,
"staticInsensitive": null,
"wildcard": null,
@@ -1526,10 +1538,8 @@ describe('findRouteMatch', () => {
"optional": null,
"parent": null,
"parse": null,
- "parsingPriority": 0,
"pathless": null,
"route": null,
- "skipOnParamError": false,
"static": null,
"staticInsensitive": null,
"wildcard": null,
@@ -1552,7 +1562,6 @@ describe('findRouteMatch', () => {
parse: (params: Record) => params,
},
// force the creation of a pathless node
- skipRouteOnParseError: { params: true },
},
children: [
{
@@ -1586,7 +1595,6 @@ describe('findRouteMatch', () => {
parse: (params: Record) => params,
},
// force the creation of a pathless node
- skipRouteOnParseError: { params: true },
},
children: [
{
diff --git a/packages/router-core/tests/path.test.ts b/packages/router-core/tests/path.test.ts
index 1eab00f04f..2a35f44849 100644
--- a/packages/router-core/tests/path.test.ts
+++ b/packages/router-core/tests/path.test.ts
@@ -15,6 +15,7 @@ import {
parseSegment,
processRouteTree,
} from '../src/new-process-route-tree'
+import { createLRUCache } from '../src/lru-cache'
import type { SegmentKind } from '../src/new-process-route-tree'
describe.each([{ basepath: '/' }, { basepath: '/app' }, { basepath: '/app/' }])(
@@ -240,6 +241,29 @@ describe('resolvePath', () => {
})
},
)
+
+ it('preserves explicit route-template param syntax', () => {
+ expect(
+ resolvePath({
+ base: '/{$language}',
+ to: '.',
+ }),
+ ).toBe('/{$language}')
+
+ expect(
+ resolvePath({
+ base: '/{$language}/posts',
+ to: '../{$language}',
+ }),
+ ).toBe('/{$language}/{$language}')
+ })
+
+ it('caches route-template paths without changing param syntax', () => {
+ const cache = createLRUCache(10)
+
+ expect(resolvePath({ base: '/', to: '/{$id}', cache })).toBe('/{$id}')
+ expect(resolvePath({ base: '/', to: '/$id', cache })).toBe('/$id')
+ })
})
describe.each([{ server: true }, { server: false }])(
diff --git a/packages/router-core/tests/skip-route-on-parse-error.test.ts b/packages/router-core/tests/skip-route-on-parse-error.test.ts
deleted file mode 100644
index 433ecc6b9a..0000000000
--- a/packages/router-core/tests/skip-route-on-parse-error.test.ts
+++ /dev/null
@@ -1,890 +0,0 @@
-import { describe, expect, it, vi } from 'vitest'
-import { findRouteMatch, processRouteTree } from '../src/new-process-route-tree'
-
-describe('skipRouteOnParseError', () => {
- describe('basic matching with parse validation', () => {
- it('matches route when parse succeeds', () => {
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/$id',
- fullPath: '/$id',
- path: '$id',
- options: {
- params: {
- parse: (params: Record) => ({
- id: parseInt(params.id!, 10),
- }),
- },
- skipRouteOnParseError: { params: true },
- },
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
- const result = findRouteMatch('/123', processedTree)
- expect(result?.route.id).toBe('/$id')
- // params contains raw string values for interpolatePath
- expect(result?.rawParams).toEqual({ id: '123' })
- // parsedParams contains the transformed values from parse
- expect(result?.parsedParams).toEqual({ id: 123 })
- })
-
- it('skips route when parse throws and finds no alternative', () => {
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/$id',
- fullPath: '/$id',
- path: '$id',
- options: {
- params: {
- parse: (params: Record) => {
- const num = parseInt(params.id!, 10)
- if (isNaN(num)) throw new Error('Not a number')
- return { id: num }
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
- const result = findRouteMatch('/abc', processedTree)
- expect(result).toBeNull()
- })
-
- it('skips route when parse throws and finds alternative match', () => {
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/$id',
- fullPath: '/$id',
- path: '$id',
- options: {
- params: {
- parse: (params: Record) => {
- const num = parseInt(params.id!, 10)
- if (isNaN(num)) throw new Error('Not a number')
- return { id: num }
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- {
- id: '/$slug',
- fullPath: '/$slug',
- path: '$slug',
- options: {},
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
- // numeric should match the validated route
- const numericResult = findRouteMatch('/123', processedTree)
- expect(numericResult?.route.id).toBe('/$id')
- // params contains raw string values for interpolatePath
- expect(numericResult?.rawParams).toEqual({ id: '123' })
- // parsedParams contains the transformed values from parse
- expect(numericResult?.parsedParams).toEqual({ id: 123 })
-
- // non-numeric should fall through to the non-validated route
- const slugResult = findRouteMatch('/hello-world', processedTree)
- expect(slugResult?.route.id).toBe('/$slug')
- expect(slugResult?.rawParams).toEqual({ slug: 'hello-world' })
- })
- })
-
- describe('priority: validated routes take precedence', () => {
- it('validated dynamic route has priority over non-validated dynamic route', () => {
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/$slug',
- fullPath: '/$slug',
- path: '$slug',
- options: {},
- },
- {
- id: '/$id',
- fullPath: '/$id',
- path: '$id',
- options: {
- params: {
- parse: (params: Record) => {
- const num = parseInt(params.id!, 10)
- if (isNaN(num)) throw new Error('Not a number')
- return { id: num }
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
- // validated route should be tried first
- const numericResult = findRouteMatch('/123', processedTree)
- expect(numericResult?.route.id).toBe('/$id')
- })
-
- it('static route still has priority over validated dynamic route', () => {
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/settings',
- fullPath: '/settings',
- path: 'settings',
- options: {},
- },
- {
- id: '/$id',
- fullPath: '/$id',
- path: '$id',
- options: {
- params: {
- parse: (params: Record) => {
- const num = parseInt(params.id!, 10)
- if (isNaN(num)) throw new Error('Not a number')
- return { id: num }
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
- const result = findRouteMatch('/settings', processedTree)
- expect(result?.route.id).toBe('/settings')
- })
-
- it('deep validated route can still fallback to sibling', () => {
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- children: [
- {
- id: '/$a/$b/$c',
- fullPath: '/$a/$b/$c',
- path: '$a/$b/$c',
- options: {
- params: {
- parse: (params: Record) => {
- // if (params.a !== 'one') throw new Error('Invalid a')
- // if (params.b !== 'two') throw new Error('Invalid b')
- if (params.c !== 'three') throw new Error('Invalid c')
- return params
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- {
- id: '/$x/$y/$z',
- fullPath: '/$x/$y/$z',
- path: '$x/$y/$z',
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
- {
- const result = findRouteMatch('/one/two/three', processedTree)
- expect(result?.route.id).toBe('/$a/$b/$c')
- }
- {
- const result = findRouteMatch('/one/two/wrong', processedTree)
- expect(result?.route.id).toBe('/$x/$y/$z')
- }
- })
- })
-
- describe('regex-like validation patterns', () => {
- it('uuid validation pattern', () => {
- const uuidRegex =
- /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/$uuid',
- fullPath: '/$uuid',
- path: '$uuid',
- options: {
- params: {
- parse: (params: Record) => {
- if (!uuidRegex.test(params.uuid!))
- throw new Error('Not a UUID')
- return params
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- {
- id: '/$slug',
- fullPath: '/$slug',
- path: '$slug',
- options: {},
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
-
- const uuidResult = findRouteMatch(
- '/550e8400-e29b-41d4-a716-446655440000',
- processedTree,
- )
- expect(uuidResult?.route.id).toBe('/$uuid')
-
- const slugResult = findRouteMatch('/my-blog-post', processedTree)
- expect(slugResult?.route.id).toBe('/$slug')
- })
-
- it('date validation pattern (YYYY-MM-DD)', () => {
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/posts/$date',
- fullPath: '/posts/$date',
- path: 'posts/$date',
- options: {
- params: {
- parse: (params: Record) => {
- const date = new Date(params.date!)
- if (date.toString() === 'Invalid Date')
- throw new Error('Not a date')
- return { date }
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- {
- id: '/posts/$slug',
- fullPath: '/posts/$slug',
- path: 'posts/$slug',
- options: {},
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
-
- const dateResult = findRouteMatch('/posts/2024-01-15', processedTree)
- expect(dateResult?.route.id).toBe('/posts/$date')
- // params contains raw string values for interpolatePath
- expect(dateResult?.rawParams.date).toBe('2024-01-15')
- // parsedParams contains the transformed values from parse
- expect(dateResult?.parsedParams?.date).toBeInstanceOf(Date)
-
- const slugResult = findRouteMatch('/posts/my-first-post', processedTree)
- expect(slugResult?.route.id).toBe('/posts/$slug')
- })
- })
-
- describe('nested routes with skipRouteOnParseError', () => {
- it('parent validation failure prevents child matching', () => {
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/$orgId',
- fullPath: '/$orgId',
- path: '$orgId',
- options: {
- params: {
- parse: (params: Record) => {
- const num = parseInt(params.orgId!, 10)
- if (isNaN(num)) throw new Error('Not a number')
- return { orgId: num }
- },
- },
- skipRouteOnParseError: { params: true },
- },
- children: [
- {
- id: '/$orgId/settings',
- fullPath: '/$orgId/settings',
- path: 'settings',
- options: {},
- },
- ],
- },
- {
- id: '/$slug/about',
- fullPath: '/$slug/about',
- path: '$slug/about',
- options: {},
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
-
- // numeric org should match the validated route
- const numericResult = findRouteMatch('/123/settings', processedTree)
- expect(numericResult?.route.id).toBe('/$orgId/settings')
-
- // non-numeric should not match /$orgId/settings, should match /$slug/about
- const slugResult = findRouteMatch('/my-org/about', processedTree)
- expect(slugResult?.route.id).toBe('/$slug/about')
- })
-
- it('child validation failure falls back to sibling', () => {
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/users',
- fullPath: '/users',
- path: 'users',
- options: {},
- children: [
- {
- id: '/users/$userId',
- fullPath: '/users/$userId',
- path: '$userId',
- options: {
- params: {
- parse: (params: Record) => {
- const num = parseInt(params.userId!, 10)
- if (isNaN(num)) throw new Error('Not a number')
- return { userId: num }
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- {
- id: '/users/$username',
- fullPath: '/users/$username',
- path: '$username',
- options: {},
- },
- ],
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
-
- const numericResult = findRouteMatch('/users/42', processedTree)
- expect(numericResult?.route.id).toBe('/users/$userId')
- // params contains raw string values for interpolatePath
- expect(numericResult?.rawParams).toEqual({ userId: '42' })
- // parsedParams contains the transformed values from parse
- expect(numericResult?.parsedParams).toEqual({ userId: 42 })
-
- const usernameResult = findRouteMatch('/users/johndoe', processedTree)
- expect(usernameResult?.route.id).toBe('/users/$username')
- // Non-validated route: params are raw strings, parsedParams is undefined
- expect(usernameResult?.rawParams).toEqual({ username: 'johndoe' })
- expect(usernameResult?.parsedParams).toBeUndefined()
- })
- })
-
- describe('pathless routes with skipRouteOnParseError', () => {
- // Pathless layouts with skipRouteOnParseError should gate their children
- it('pathless layout with validation gates children', () => {
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/',
- fullPath: '/',
- path: '/',
- options: {},
- },
- {
- id: '/$foo/_layout',
- fullPath: '/$foo',
- path: '$foo',
- options: {
- params: {
- parse: (params: Record) => {
- const num = parseInt(params.foo!, 10)
- if (isNaN(num)) throw new Error('Not a number')
- return { foo: num }
- },
- },
- skipRouteOnParseError: { params: true },
- },
- children: [
- {
- id: '/$foo/_layout/bar',
- fullPath: '/$foo/bar',
- path: 'bar',
- options: {},
- },
- {
- id: '/$foo/_layout/',
- fullPath: '/$foo/',
- path: '/',
- options: {},
- },
- ],
- },
- {
- id: '/$foo/hello',
- fullPath: '/$foo/hello',
- path: '$foo/hello',
- options: {},
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
-
- // numeric foo should match through the validated layout
- const numericBarResult = findRouteMatch('/123/bar', processedTree)
- expect(numericBarResult?.route.id).toBe('/$foo/_layout/bar')
-
- const numericIndexResult = findRouteMatch('/123', processedTree)
- expect(numericIndexResult?.route.id).toBe('/$foo/_layout/')
- expect(numericIndexResult?.rawParams).toEqual({ foo: '123' })
- expect(numericIndexResult?.parsedParams).toEqual({ foo: 123 })
-
- // non-numeric foo should fall through to the non-validated route
- const helloResult = findRouteMatch('/abc/hello', processedTree)
- expect(helloResult?.route.id).toBe('/$foo/hello')
- expect(helloResult?.rawParams).toEqual({ foo: 'abc' })
-
- // non-numeric foo should NOT match the children of the validated layout
- const barResult = findRouteMatch('/abc/bar', processedTree)
- expect(barResult).toBeNull()
- })
- })
-
- describe('optional params with skipRouteOnParseError', () => {
- it('optional param with static fallback', () => {
- // Optional param with validation, with a static fallback
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/{-$lang}/home',
- fullPath: '/{-$lang}/home',
- path: '{-$lang}/home',
- options: {
- params: {
- parse: (params: Record) => {
- const validLangs = ['en', 'es', 'fr', 'de']
- if (params.lang && !validLangs.includes(params.lang)) {
- throw new Error('Invalid language')
- }
- return params
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- {
- id: '/home',
- fullPath: '/home',
- path: 'home',
- options: {},
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
-
- // valid language should match the validated route
- const enResult = findRouteMatch('/en/home', processedTree)
- expect(enResult?.route.id).toBe('/{-$lang}/home')
- expect(enResult?.parsedParams).toEqual({ lang: 'en' })
-
- // root path + home - both routes can match
- // The optional route (with skipped param) has greater depth, so it wins
- // This is the expected behavior per the priority system
- const rootResult = findRouteMatch('/home', processedTree)
- expect(rootResult?.route.id).toBe('/{-$lang}/home')
-
- // invalid language should NOT match the validated optional route
- // and since there's no dynamic fallback, it should return null
- const invalidResult = findRouteMatch('/it/home', processedTree)
- expect(invalidResult).toBeNull()
- })
-
- it('optional param at root with validation', () => {
- // Optional param that validates and allows skipping
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/{-$lang}',
- fullPath: '/{-$lang}',
- path: '{-$lang}',
- options: {
- params: {
- parse: (params: Record) => {
- const validLangs = ['en', 'es', 'fr', 'de']
- if (params.lang && !validLangs.includes(params.lang)) {
- throw new Error('Invalid language')
- }
- return params
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
-
- // valid language should match
- const enResult = findRouteMatch('/en', processedTree)
- expect(enResult?.route.id).toBe('/{-$lang}')
- expect(enResult?.parsedParams).toEqual({ lang: 'en' })
-
- // root path should match (optional skipped)
- const rootResult = findRouteMatch('/', processedTree)
- expect(rootResult?.route.id).toBe('/{-$lang}')
- expect(rootResult?.parsedParams).toEqual({})
-
- // invalid language should NOT match (no fallback route)
- const invalidResult = findRouteMatch('/about', processedTree)
- expect(invalidResult).toBeNull()
- })
- })
-
- describe('wildcard routes with skipRouteOnParseError', () => {
- it('wildcard with validation', () => {
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/files/$',
- fullPath: '/files/$',
- path: 'files/$',
- options: {
- params: {
- parse: (params: Record) => {
- if (params._splat!.includes('..')) {
- throw new Error('Upward navigation not allowed')
- }
- return params
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- {
- id: '/files',
- fullPath: '/files',
- path: 'files',
- options: {},
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
-
- // path should match the validated wildcard route
- const txtResult = findRouteMatch('/files/docs/readme.txt', processedTree)
- expect(txtResult?.route.id).toBe('/files/$')
-
- // path with upward navigation should fall through to the static /files route
- const otherResult = findRouteMatch(
- '/files/../../secret/photo.jpg',
- processedTree,
- true,
- )
- expect(otherResult?.route.id).toBe('/files')
- expect(otherResult?.rawParams['**']).toBe('../../secret/photo.jpg')
- })
- it('index parse failure does not block wildcard sibling', () => {
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/a/',
- fullPath: '/a/',
- path: 'a/',
- options: {
- params: {
- parse: () => {
- throw new Error('Invalid index')
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- {
- id: '/a/$',
- fullPath: '/a/$',
- path: 'a/$',
- options: {},
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
- const result = findRouteMatch('/a', processedTree)
- expect(result?.route.id).toBe('/a/$')
- expect(result?.rawParams).toEqual({ '*': '', _splat: '' })
- })
- })
-
- describe('multiple validated routes competing', () => {
- it('first matching validated route wins', () => {
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/$uuid',
- fullPath: '/$uuid',
- path: '$uuid',
- options: {
- params: {
- parse: (params: Record) => {
- const uuidRegex =
- /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i
- if (!uuidRegex.test(params.uuid!))
- throw new Error('Not a UUID')
- return params
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- {
- id: '/$number',
- fullPath: '/$number',
- path: '$number',
- options: {
- params: {
- parse: (params: Record) => {
- const num = parseInt(params.number!, 10)
- if (isNaN(num)) throw new Error('Not a number')
- return { number: num }
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- {
- id: '/$slug',
- fullPath: '/$slug',
- path: '$slug',
- options: {},
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
-
- const uuidResult = findRouteMatch(
- '/550e8400-e29b-41d4-a716-446655440000',
- processedTree,
- )
- expect(uuidResult?.route.id).toBe('/$uuid')
-
- const numberResult = findRouteMatch('/42', processedTree)
- expect(numberResult?.route.id).toBe('/$number')
- // params contains raw string values for interpolatePath
- expect(numberResult?.rawParams).toEqual({ number: '42' })
- // parsedParams contains the transformed values from parse
- expect(numberResult?.parsedParams).toEqual({ number: 42 })
-
- const slugResult = findRouteMatch('/hello-world', processedTree)
- expect(slugResult?.route.id).toBe('/$slug')
- })
- it('priority option can be used to influence order', () => {
- const alphabetical = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/$a',
- fullPath: '/$a',
- path: '$a',
- options: {
- params: {
- parse: (params: Record) => params,
- },
- skipRouteOnParseError: {
- params: true,
- priority: 1, // higher priority than /$z
- },
- },
- },
- {
- id: '/$z',
- fullPath: '/$z',
- path: '$z',
- options: {
- params: {
- parse: (params: Record) => params,
- },
- skipRouteOnParseError: {
- params: true,
- priority: -1, // lower priority than /$a
- },
- },
- },
- ],
- }
- {
- const { processedTree } = processRouteTree(alphabetical)
- const result = findRouteMatch('/123', processedTree)
- expect(result?.route.id).toBe('/$a')
- }
- const reverse = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/$a',
- fullPath: '/$a',
- path: '$a',
- options: {
- params: {
- parse: (params: Record) => params,
- },
- skipRouteOnParseError: {
- params: true,
- priority: -1, // lower priority than /$z
- },
- },
- },
- {
- id: '/$z',
- fullPath: '/$z',
- path: '$z',
- options: {
- params: {
- parse: (params: Record) => params,
- },
- skipRouteOnParseError: {
- params: true,
- priority: 1, // higher priority than /$a
- },
- },
- },
- ],
- }
- {
- const { processedTree } = processRouteTree(reverse)
- const result = findRouteMatch('/123', processedTree)
- expect(result?.route.id).toBe('/$z')
- }
- })
- })
-
- describe('params.parse without skipRouteOnParseError', () => {
- it('params.parse is NOT called during matching when skipRouteOnParseError is false', () => {
- const parse = vi.fn()
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/$id',
- fullPath: '/$id',
- path: '$id',
- options: {
- params: { parse },
- // skipRouteOnParseError is NOT set
- },
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
- const result = findRouteMatch('/123', processedTree)
- expect(result?.route.id).toBe('/$id')
- // parse should NOT be called during matching
- expect(parse).not.toHaveBeenCalled()
- // params should be raw strings
- expect(result?.rawParams).toEqual({ id: '123' })
- })
- })
-
- describe('edge cases', () => {
- it('validation error type does not matter', () => {
- const tree = {
- id: '__root__',
- isRoot: true,
- fullPath: '/',
- path: '/',
- children: [
- {
- id: '/$id',
- fullPath: '/$id',
- path: '$id',
- options: {
- params: {
- parse: () => {
- throw 'string error' // not an Error object
- },
- },
- skipRouteOnParseError: { params: true },
- },
- },
- {
- id: '/$fallback',
- fullPath: '/$fallback',
- path: '$fallback',
- options: {},
- },
- ],
- }
- const { processedTree } = processRouteTree(tree)
- const result = findRouteMatch('/test', processedTree)
- expect(result?.route.id).toBe('/$fallback')
- })
- })
-})
diff --git a/packages/router-devtools-core/src/BaseTanStackRouterDevtoolsPanel.tsx b/packages/router-devtools-core/src/BaseTanStackRouterDevtoolsPanel.tsx
index 170b97fd2b..a9e804d517 100644
--- a/packages/router-devtools-core/src/BaseTanStackRouterDevtoolsPanel.tsx
+++ b/packages/router-devtools-core/src/BaseTanStackRouterDevtoolsPanel.tsx
@@ -1,5 +1,10 @@
import { clsx as cx } from 'clsx'
-import { interpolatePath, rootRouteId, trimPath } from '@tanstack/router-core'
+import {
+ hasKeys,
+ interpolatePath,
+ rootRouteId,
+ trimPath,
+} from '@tanstack/router-core'
import {
For,
Match,
@@ -356,9 +361,7 @@ export const BaseTanStackRouterDevtoolsPanel =
)
})
- const hasSearch = createMemo(
- () => Object.keys(routerState().location.search).length,
- )
+ const hasSearch = createMemo(() => hasKeys(routerState().location.search))
const explorerState = createMemo(() => {
return {
diff --git a/packages/solid-router/src/link.tsx b/packages/solid-router/src/link.tsx
index e11979f60d..295b8ec230 100644
--- a/packages/solid-router/src/link.tsx
+++ b/packages/solid-router/src/link.tsx
@@ -6,6 +6,7 @@ import {
deepEqual,
exactPathTest,
functionalUpdate,
+ hasKeys,
isDangerousProtocol,
preloadWarning,
removeTrailingSlash,
@@ -465,7 +466,7 @@ export function useLinkProps<
...activeProps,
...inactiveProps,
...base,
- ...(Object.keys(style).length ? { style } : undefined),
+ ...(hasKeys(style) ? { style } : undefined),
...(className ? { class: className } : undefined),
...(active && STATIC_ACTIVE_ATTRIBUTES),
} as ResolvedLinkStateProps
diff --git a/packages/solid-router/tests/useParams.test.tsx b/packages/solid-router/tests/useParams.test.tsx
index bf21103778..60fe6eaecb 100644
--- a/packages/solid-router/tests/useParams.test.tsx
+++ b/packages/solid-router/tests/useParams.test.tsx
@@ -188,7 +188,8 @@ test('useParams must return parsed result if applicable.', async () => {
expect(window.location.pathname).toBe('/posts/category_first')
expect(await screen.findByTestId('post-category-heading')).toBeInTheDocument()
- expect(mockedfn).not.toHaveBeenCalled()
+ // Dev-only buildLocation roundtrip validation uses normal matching for links.
+ expect(mockedfn).toHaveBeenCalled()
mockedfn.mockClear()
await waitFor(() => fireEvent.click(firstPostLink))
diff --git a/packages/start-plugin-core/src/rsbuild/plugin.ts b/packages/start-plugin-core/src/rsbuild/plugin.ts
index 81d526dd1e..da11d65b35 100644
--- a/packages/start-plugin-core/src/rsbuild/plugin.ts
+++ b/packages/start-plugin-core/src/rsbuild/plugin.ts
@@ -1,6 +1,7 @@
import { existsSync, readdirSync, realpathSync, statSync } from 'node:fs'
import { dirname, join, resolve } from 'node:path'
import { fileURLToPath } from 'node:url'
+import { hasKeys } from '@tanstack/router-core'
import { joinURL } from 'ufo'
import {
applyResolvedBaseAndOutput,
@@ -465,7 +466,7 @@ export function tanStackStartRsbuild(
stage: -10,
},
async (compilation: RspackCompilationExtended) => {
- if (Object.keys(serverFnsById).length === 0) {
+ if (!hasKeys(serverFnsById)) {
return
}
diff --git a/packages/start-plugin-core/src/start-compiler/handleCreateServerFn.ts b/packages/start-plugin-core/src/start-compiler/handleCreateServerFn.ts
index d593b266dc..bbb1e3d7fc 100644
--- a/packages/start-plugin-core/src/start-compiler/handleCreateServerFn.ts
+++ b/packages/start-plugin-core/src/start-compiler/handleCreateServerFn.ts
@@ -1,5 +1,6 @@
import * as t from '@babel/types'
import babel from '@babel/core'
+import { hasKeys } from '@tanstack/router-core'
import path from 'pathe'
import { cleanId, codeFrameError, stripMethodCall } from './utils'
import type { CompilationContext, RewriteCandidate, ServerFn } from './types'
@@ -435,11 +436,7 @@ export function handleCreateServerFn(
}
// Notify about discovered functions (only for non-provider files)
- if (
- !isProviderFile &&
- Object.keys(serverFnsById).length > 0 &&
- context.onServerFnsById
- ) {
+ if (!isProviderFile && hasKeys(serverFnsById) && context.onServerFnsById) {
context.onServerFnsById(serverFnsById)
}
diff --git a/packages/vue-router/src/link.tsx b/packages/vue-router/src/link.tsx
index 68be32cf71..e11a6c56bc 100644
--- a/packages/vue-router/src/link.tsx
+++ b/packages/vue-router/src/link.tsx
@@ -2,6 +2,7 @@ import * as Vue from 'vue'
import {
deepEqual,
exactPathTest,
+ hasKeys,
isDangerousProtocol,
preloadWarning,
removeTrailingSlash,
@@ -498,7 +499,7 @@ function resolveStyleProps({
Object.assign(result, resolvedInactiveProps.style)
}
- const resolvedStyle = Object.keys(result).length > 0 ? result : undefined
+ const resolvedStyle = hasKeys(result) ? result : undefined
return {
resolvedActiveProps,
resolvedInactiveProps,
diff --git a/packages/vue-router/tests/useParams.test.tsx b/packages/vue-router/tests/useParams.test.tsx
index df7da1075f..0d65361056 100644
--- a/packages/vue-router/tests/useParams.test.tsx
+++ b/packages/vue-router/tests/useParams.test.tsx
@@ -193,7 +193,8 @@ test('useParams must return parsed result if applicable.', async () => {
expect(window.location.pathname).toBe('/posts/category_first')
expect(await screen.findByTestId('post-category-heading')).toBeInTheDocument()
- expect(mockedfn).not.toHaveBeenCalled()
+ // Dev-only buildLocation roundtrip validation uses normal matching for links.
+ expect(mockedfn).toHaveBeenCalled()
mockedfn.mockClear()
await waitFor(() => fireEvent.click(firstPostLink))
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 699acab423..02707254e2 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1066,6 +1066,34 @@ importers:
specifier: ^8.0.0
version: 8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1)
+ e2e/react-router/match-params:
+ dependencies:
+ '@tanstack/react-router':
+ specifier: workspace:*
+ version: link:../../../packages/react-router
+ react:
+ specifier: ^19.2.3
+ version: 19.2.3
+ react-dom:
+ specifier: ^19.2.3
+ version: 19.2.3(react@19.2.3)
+ devDependencies:
+ '@playwright/test':
+ specifier: ^1.57.0
+ version: 1.58.0
+ '@tanstack/router-e2e-utils':
+ specifier: workspace:^
+ version: link:../../e2e-utils
+ '@types/react':
+ specifier: ^19.2.8
+ version: 19.2.9
+ '@types/react-dom':
+ specifier: ^19.2.3
+ version: 19.2.3(@types/react@19.2.9)
+ vite:
+ specifier: ^8.0.0
+ version: 8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1)
+
e2e/react-router/rspack-basic-file-based:
dependencies:
'@tanstack/react-router':
From dad0ec8f41fbc11a8c964604cdbbfa51ab1a40ae Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Thu, 30 Apr 2026 17:51:48 +0000
Subject: [PATCH 021/551] ci: changeset release
---
.changeset/angry-flies-taste.md | 5 -
.changeset/clean-routes-match.md | 8 --
.../package.json | 4 +-
.../react/authenticated-routes/package.json | 4 +-
.../basic-default-search-params/package.json | 2 +-
.../react/basic-devtools-panel/package.json | 2 +-
examples/react/basic-file-based/package.json | 4 +-
.../basic-non-nested-devtools/package.json | 2 +-
.../basic-react-query-file-based/package.json | 4 +-
examples/react/basic-react-query/package.json | 2 +-
.../react/basic-ssr-file-based/package.json | 4 +-
.../package.json | 4 +-
.../basic-virtual-file-based/package.json | 4 +-
.../package.json | 4 +-
examples/react/basic/package.json | 2 +-
examples/react/deferred-data/package.json | 2 +-
examples/react/i18n-paraglide/package.json | 4 +-
.../kitchen-sink-file-based/package.json | 4 +-
.../package.json | 4 +-
.../kitchen-sink-react-query/package.json | 2 +-
examples/react/kitchen-sink/package.json | 2 +-
examples/react/large-file-based/package.json | 4 +-
examples/react/location-masking/package.json | 2 +-
.../react/navigation-blocking/package.json | 2 +-
.../package.json | 4 +-
.../react/quickstart-file-based/package.json | 4 +-
.../quickstart-rspack-file-based/package.json | 4 +-
.../package.json | 4 +-
examples/react/quickstart/package.json | 2 +-
.../router-monorepo-react-query/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../router-monorepo-simple-lazy/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../react/router-monorepo-simple/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../react/scroll-restoration/package.json | 2 +-
.../search-validator-adapters/package.json | 4 +-
examples/react/start-bare/package.json | 4 +-
examples/react/start-basic-auth/package.json | 4 +-
.../react/start-basic-authjs/package.json | 4 +-
.../react/start-basic-cloudflare/package.json | 4 +-
.../start-basic-react-query/package.json | 4 +-
.../react/start-basic-static/package.json | 6 +-
examples/react/start-basic/package.json | 4 +-
examples/react/start-bun/package.json | 6 +-
examples/react/start-clerk-basic/package.json | 4 +-
.../react/start-convex-trellaux/package.json | 4 +-
examples/react/start-counter/package.json | 4 +-
.../react/start-i18n-paraglide/package.json | 4 +-
examples/react/start-large/package.json | 4 +-
examples/react/start-material-ui/package.json | 4 +-
examples/react/start-rscs/package.json | 4 +-
.../package.json | 4 +-
.../react/start-supabase-basic/package.json | 4 +-
examples/react/start-tailwind-v4/package.json | 4 +-
examples/react/start-trellaux/package.json | 4 +-
examples/react/start-workos/package.json | 4 +-
examples/react/view-transitions/package.json | 4 +-
.../react/with-framer-motion/package.json | 2 +-
.../react/with-trpc-react-query/package.json | 4 +-
examples/react/with-trpc/package.json | 4 +-
.../package.json | 4 +-
.../solid/authenticated-routes/package.json | 4 +-
.../basic-default-search-params/package.json | 2 +-
.../solid/basic-devtools-panel/package.json | 2 +-
examples/solid/basic-file-based/package.json | 4 +-
.../basic-non-nested-devtools/package.json | 2 +-
.../basic-solid-query-file-based/package.json | 4 +-
examples/solid/basic-solid-query/package.json | 4 +-
.../solid/basic-ssr-file-based/package.json | 4 +-
.../package.json | 4 +-
.../basic-virtual-file-based/package.json | 4 +-
.../package.json | 4 +-
examples/solid/basic/package.json | 2 +-
examples/solid/deferred-data/package.json | 2 +-
examples/solid/i18n-paraglide/package.json | 4 +-
.../kitchen-sink-file-based/package.json | 4 +-
.../package.json | 4 +-
.../kitchen-sink-solid-query/package.json | 2 +-
examples/solid/kitchen-sink/package.json | 2 +-
examples/solid/large-file-based/package.json | 4 +-
examples/solid/location-masking/package.json | 2 +-
.../solid/navigation-blocking/package.json | 2 +-
.../package.json | 4 +-
.../solid/quickstart-file-based/package.json | 4 +-
.../quickstart-rspack-file-based/package.json | 4 +-
.../package.json | 4 +-
examples/solid/quickstart/package.json | 2 +-
.../router-monorepo-simple-lazy/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../solid/router-monorepo-simple/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../router-monorepo-solid-query/package.json | 4 +-
.../packages/router/package.json | 4 +-
.../solid/scroll-restoration/package.json | 2 +-
.../search-validator-adapters/package.json | 4 +-
examples/solid/start-basic-auth/package.json | 4 +-
.../solid/start-basic-authjs/package.json | 4 +-
.../solid/start-basic-cloudflare/package.json | 4 +-
.../solid/start-basic-netlify/package.json | 4 +-
examples/solid/start-basic-nitro/package.json | 4 +-
.../start-basic-solid-query/package.json | 4 +-
.../solid/start-basic-static/package.json | 6 +-
examples/solid/start-basic/package.json | 4 +-
examples/solid/start-bun/package.json | 6 +-
.../start-convex-better-auth/package.json | 4 +-
examples/solid/start-counter/package.json | 4 +-
.../solid/start-i18n-paraglide/package.json | 4 +-
examples/solid/start-large/package.json | 4 +-
.../package.json | 4 +-
.../solid/start-supabase-basic/package.json | 4 +-
examples/solid/start-tailwind-v4/package.json | 4 +-
examples/solid/view-transitions/package.json | 4 +-
.../solid/with-framer-motion/package.json | 2 +-
examples/solid/with-trpc/package.json | 4 +-
.../vue/basic-file-based-jsx/package.json | 4 +-
.../vue/basic-file-based-sfc/package.json | 4 +-
examples/vue/basic/package.json | 2 +-
packages/react-router/CHANGELOG.md | 11 ++
packages/react-router/package.json | 2 +-
packages/react-start-client/CHANGELOG.md | 9 ++
packages/react-start-client/package.json | 2 +-
packages/react-start-rsc/CHANGELOG.md | 13 +++
packages/react-start-rsc/package.json | 2 +-
packages/react-start-server/CHANGELOG.md | 10 ++
packages/react-start-server/package.json | 2 +-
packages/react-start/CHANGELOG.md | 15 +++
packages/react-start/package.json | 2 +-
packages/router-cli/CHANGELOG.md | 7 ++
packages/router-cli/package.json | 2 +-
packages/router-core/CHANGELOG.md | 6 ++
packages/router-core/package.json | 2 +-
packages/router-generator/CHANGELOG.md | 7 ++
packages/router-generator/package.json | 2 +-
packages/router-plugin/CHANGELOG.md | 9 ++
packages/router-plugin/package.json | 2 +-
packages/router-vite-plugin/CHANGELOG.md | 7 ++
packages/router-vite-plugin/package.json | 2 +-
packages/solid-router/CHANGELOG.md | 11 ++
packages/solid-router/package.json | 2 +-
packages/solid-start-client/CHANGELOG.md | 9 ++
packages/solid-start-client/package.json | 2 +-
packages/solid-start-server/CHANGELOG.md | 10 ++
packages/solid-start-server/package.json | 2 +-
packages/solid-start/CHANGELOG.md | 12 +++
packages/solid-start/package.json | 2 +-
packages/start-client-core/CHANGELOG.md | 8 ++
packages/start-client-core/package.json | 2 +-
packages/start-plugin-core/CHANGELOG.md | 11 ++
packages/start-plugin-core/package.json | 2 +-
packages/start-server-core/CHANGELOG.md | 9 ++
packages/start-server-core/package.json | 2 +-
.../CHANGELOG.md | 9 ++
.../package.json | 2 +-
packages/start-storage-context/CHANGELOG.md | 7 ++
packages/start-storage-context/package.json | 2 +-
packages/vue-router/CHANGELOG.md | 11 ++
packages/vue-router/package.json | 2 +-
packages/vue-start-client/CHANGELOG.md | 9 ++
packages/vue-start-client/package.json | 2 +-
packages/vue-start-server/CHANGELOG.md | 10 ++
packages/vue-start-server/package.json | 2 +-
packages/vue-start/CHANGELOG.md | 12 +++
packages/vue-start/package.json | 2 +-
pnpm-lock.yaml | 102 +++++++++---------
165 files changed, 506 insertions(+), 297 deletions(-)
delete mode 100644 .changeset/angry-flies-taste.md
delete mode 100644 .changeset/clean-routes-match.md
diff --git a/.changeset/angry-flies-taste.md b/.changeset/angry-flies-taste.md
deleted file mode 100644
index 03045f78e4..0000000000
--- a/.changeset/angry-flies-taste.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/react-start': patch
----
-
-fix exports for react-start so useServerFn is available with RSC
diff --git a/.changeset/clean-routes-match.md b/.changeset/clean-routes-match.md
deleted file mode 100644
index 22b72afb9c..0000000000
--- a/.changeset/clean-routes-match.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-'@tanstack/router-core': minor
-'@tanstack/react-router': minor
-'@tanstack/solid-router': minor
-'@tanstack/vue-router': minor
----
-
-Allow `params.parse` to experimentally return `false` to skip an incoming route candidate during path matching. Thrown parse errors still surface on the selected match instead of falling through, and outgoing typed route-template links continue to use exact route lookup followed by `params.stringify` for URL generation.
diff --git a/examples/react/authenticated-routes-firebase/package.json b/examples/react/authenticated-routes-firebase/package.json
index 6834d56100..0fab525113 100644
--- a/examples/react/authenticated-routes-firebase/package.json
+++ b/examples/react/authenticated-routes-firebase/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"firebase": "^11.4.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/authenticated-routes/package.json b/examples/react/authenticated-routes/package.json
index 71e6f4ed04..dc70a214d8 100644
--- a/examples/react/authenticated-routes/package.json
+++ b/examples/react/authenticated-routes/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"react": "^19.0.0",
"react-dom": "^19.0.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 c5aee8b96e..73a270e41b 100644
--- a/examples/react/basic-default-search-params/package.json
+++ b/examples/react/basic-default-search-params/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-devtools-panel/package.json b/examples/react/basic-devtools-panel/package.json
index b27a380e62..82d5feabcf 100644
--- a/examples/react/basic-devtools-panel/package.json
+++ b/examples/react/basic-devtools-panel/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query-devtools": "^5.67.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-file-based/package.json b/examples/react/basic-file-based/package.json
index 45526aae81..49bddf2596 100644
--- a/examples/react/basic-file-based/package.json
+++ b/examples/react/basic-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-non-nested-devtools/package.json b/examples/react/basic-non-nested-devtools/package.json
index 0060b6d840..a33a4731c0 100644
--- a/examples/react/basic-non-nested-devtools/package.json
+++ b/examples/react/basic-non-nested-devtools/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-react-query-file-based/package.json b/examples/react/basic-react-query-file-based/package.json
index c611fc9808..8320ae65bb 100644
--- a/examples/react/basic-react-query-file-based/package.json
+++ b/examples/react/basic-react-query-file-based/package.json
@@ -12,9 +12,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-react-query/package.json b/examples/react/basic-react-query/package.json
index 1b9a092d9a..9642c71586 100644
--- a/examples/react/basic-react-query/package.json
+++ b/examples/react/basic-react-query/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-ssr-file-based/package.json b/examples/react/basic-ssr-file-based/package.json
index 422bd88880..99290d896d 100644
--- a/examples/react/basic-ssr-file-based/package.json
+++ b/examples/react/basic-ssr-file-based/package.json
@@ -11,8 +11,8 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.26",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/react-router": "^1.169.0",
+ "@tanstack/router-plugin": "^1.167.30",
"compression": "^1.8.0",
"express": "^4.21.2",
"get-port": "^7.1.0",
diff --git a/examples/react/basic-ssr-streaming-file-based/package.json b/examples/react/basic-ssr-streaming-file-based/package.json
index bd9e1c55ea..90dabff6e1 100644
--- a/examples/react/basic-ssr-streaming-file-based/package.json
+++ b/examples/react/basic-ssr-streaming-file-based/package.json
@@ -11,8 +11,8 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.26",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/react-router": "^1.169.0",
+ "@tanstack/router-plugin": "^1.167.30",
"compression": "^1.8.0",
"express": "^4.21.2",
"get-port": "^7.1.0",
diff --git a/examples/react/basic-virtual-file-based/package.json b/examples/react/basic-virtual-file-based/package.json
index fdff4437df..675e2c3f29 100644
--- a/examples/react/basic-virtual-file-based/package.json
+++ b/examples/react/basic-virtual-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"@tanstack/virtual-file-routes": "^1.161.7",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-virtual-inside-file-based/package.json b/examples/react/basic-virtual-inside-file-based/package.json
index 4bfad17708..132581b3ad 100644
--- a/examples/react/basic-virtual-inside-file-based/package.json
+++ b/examples/react/basic-virtual-inside-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"@tanstack/virtual-file-routes": "^1.161.7",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic/package.json b/examples/react/basic/package.json
index 92de132c00..13ca8057f6 100644
--- a/examples/react/basic/package.json
+++ b/examples/react/basic/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/deferred-data/package.json b/examples/react/deferred-data/package.json
index 59ad6564a9..56f21e5264 100644
--- a/examples/react/deferred-data/package.json
+++ b/examples/react/deferred-data/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/i18n-paraglide/package.json b/examples/react/i18n-paraglide/package.json
index 9c9ba057f3..cd399cf601 100644
--- a/examples/react/i18n-paraglide/package.json
+++ b/examples/react/i18n-paraglide/package.json
@@ -11,8 +11,8 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/react-router": "^1.169.0",
+ "@tanstack/router-plugin": "^1.167.30",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"tailwindcss": "^4.2.2"
diff --git a/examples/react/kitchen-sink-file-based/package.json b/examples/react/kitchen-sink-file-based/package.json
index 09435aa5fb..2cc3a6555d 100644
--- a/examples/react/kitchen-sink-file-based/package.json
+++ b/examples/react/kitchen-sink-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"immer": "^10.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.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 5c2a8986f3..0674221a6c 100644
--- a/examples/react/kitchen-sink-react-query-file-based/package.json
+++ b/examples/react/kitchen-sink-react-query-file-based/package.json
@@ -12,9 +12,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"immer": "^10.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/kitchen-sink-react-query/package.json b/examples/react/kitchen-sink-react-query/package.json
index 2ca488afc9..ea723bc8cf 100644
--- a/examples/react/kitchen-sink-react-query/package.json
+++ b/examples/react/kitchen-sink-react-query/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"react": "^19.0.0",
diff --git a/examples/react/kitchen-sink/package.json b/examples/react/kitchen-sink/package.json
index 5bf9fe95a0..5548d4a5c9 100644
--- a/examples/react/kitchen-sink/package.json
+++ b/examples/react/kitchen-sink/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"react": "^19.0.0",
diff --git a/examples/react/large-file-based/package.json b/examples/react/large-file-based/package.json
index e62c742b4a..3b73036236 100644
--- a/examples/react/large-file-based/package.json
+++ b/examples/react/large-file-based/package.json
@@ -13,9 +13,9 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/location-masking/package.json b/examples/react/location-masking/package.json
index 1c99d695d3..4a786655a7 100644
--- a/examples/react/location-masking/package.json
+++ b/examples/react/location-masking/package.json
@@ -12,7 +12,7 @@
"@radix-ui/react-dialog": "^1.1.6",
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/navigation-blocking/package.json b/examples/react/navigation-blocking/package.json
index 63af46dbd4..d00d69fdff 100644
--- a/examples/react/navigation-blocking/package.json
+++ b/examples/react/navigation-blocking/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/quickstart-esbuild-file-based/package.json b/examples/react/quickstart-esbuild-file-based/package.json
index 7e60b5f0eb..e0e119a516 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.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/quickstart-file-based/package.json b/examples/react/quickstart-file-based/package.json
index ad8bd76b50..33377079e4 100644
--- a/examples/react/quickstart-file-based/package.json
+++ b/examples/react/quickstart-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"react": "^19.0.0",
"react-dom": "^19.0.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 fb224469d9..84c4a481f1 100644
--- a/examples/react/quickstart-rspack-file-based/package.json
+++ b/examples/react/quickstart-rspack-file-based/package.json
@@ -9,7 +9,7 @@
},
"dependencies": {
"@tailwindcss/postcss": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"postcss": "^8.5.1",
"react": "^19.0.0",
@@ -19,7 +19,7 @@
"devDependencies": {
"@rsbuild/core": "^2.0.1",
"@rsbuild/plugin-react": "^2.0.0",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"typescript": "^6.0.2"
diff --git a/examples/react/quickstart-webpack-file-based/package.json b/examples/react/quickstart-webpack-file-based/package.json
index 1ec5703662..83d9bd01f4 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.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@swc/core": "^1.10.15",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"html-webpack-plugin": "^5.6.3",
diff --git a/examples/react/quickstart/package.json b/examples/react/quickstart/package.json
index e8a0f31eca..30bcb325db 100644
--- a/examples/react/quickstart/package.json
+++ b/examples/react/quickstart/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/router-monorepo-react-query/package.json b/examples/react/router-monorepo-react-query/package.json
index 29e49bfcbd..d127dbde2c 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.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
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 481a4fbc23..33ec73b1ca 100644
--- a/examples/react/router-monorepo-react-query/packages/router/package.json
+++ b/examples/react/router-monorepo-react-query/packages/router/package.json
@@ -10,8 +10,8 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/react-router": "^1.169.0",
+ "@tanstack/router-plugin": "^1.167.30",
"@router-mono-react-query/post-query": "workspace:*",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
diff --git a/examples/react/router-monorepo-simple-lazy/package.json b/examples/react/router-monorepo-simple-lazy/package.json
index b93279d526..c7bc200bce 100644
--- a/examples/react/router-monorepo-simple-lazy/package.json
+++ b/examples/react/router-monorepo-simple-lazy/package.json
@@ -8,9 +8,9 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/router-monorepo-simple-lazy/packages/router/package.json b/examples/react/router-monorepo-simple-lazy/packages/router/package.json
index 63221ad8a6..08c2917f74 100644
--- a/examples/react/router-monorepo-simple-lazy/packages/router/package.json
+++ b/examples/react/router-monorepo-simple-lazy/packages/router/package.json
@@ -9,8 +9,8 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/react-router": "^1.168.26",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/react-router": "^1.169.0",
+ "@tanstack/router-plugin": "^1.167.30",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"react": "^19.0.0",
diff --git a/examples/react/router-monorepo-simple/package.json b/examples/react/router-monorepo-simple/package.json
index e4d4bbd5d2..a0dedad158 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.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/router-monorepo-simple/packages/router/package.json b/examples/react/router-monorepo-simple/packages/router/package.json
index dcca691782..8edcd872e4 100644
--- a/examples/react/router-monorepo-simple/packages/router/package.json
+++ b/examples/react/router-monorepo-simple/packages/router/package.json
@@ -9,8 +9,8 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/react-router": "^1.168.26",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/react-router": "^1.169.0",
+ "@tanstack/router-plugin": "^1.167.30",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"react": "^19.0.0",
diff --git a/examples/react/scroll-restoration/package.json b/examples/react/scroll-restoration/package.json
index 99fcfd031c..350f3fec6e 100644
--- a/examples/react/scroll-restoration/package.json
+++ b/examples/react/scroll-restoration/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-virtual": "^3.13.0",
"react": "^19.0.0",
diff --git a/examples/react/search-validator-adapters/package.json b/examples/react/search-validator-adapters/package.json
index a70edeba7e..1524a65c05 100644
--- a/examples/react/search-validator-adapters/package.json
+++ b/examples/react/search-validator-adapters/package.json
@@ -13,9 +13,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/arktype-adapter": "^1.166.9",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"@tanstack/valibot-adapter": "^1.166.9",
"@tanstack/zod-adapter": "^1.166.9",
"arktype": "^2.1.7",
diff --git a/examples/react/start-bare/package.json b/examples/react/start-bare/package.json
index fa8652f34e..60f89c46f0 100644
--- a/examples/react/start-bare/package.json
+++ b/examples/react/start-bare/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"zod": "^3.24.2"
diff --git a/examples/react/start-basic-auth/package.json b/examples/react/start-basic-auth/package.json
index d70ca3f6ee..1edee9804c 100644
--- a/examples/react/start-basic-auth/package.json
+++ b/examples/react/start-basic-auth/package.json
@@ -14,9 +14,9 @@
"@libsql/client": "^0.15.15",
"@prisma/adapter-libsql": "^7.0.0",
"@prisma/client": "^7.0.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic-authjs/package.json b/examples/react/start-basic-authjs/package.json
index fd83b4d80d..78e354b325 100644
--- a/examples/react/start-basic-authjs/package.json
+++ b/examples/react/start-basic-authjs/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@auth/core": "^0.41.1",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"start-authjs": "^1.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-basic-cloudflare/package.json b/examples/react/start-basic-cloudflare/package.json
index dbdc0ff46f..cd80b173bc 100644
--- a/examples/react/start-basic-cloudflare/package.json
+++ b/examples/react/start-basic-cloudflare/package.json
@@ -12,9 +12,9 @@
"postinstall": "npm run cf-typegen"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
diff --git a/examples/react/start-basic-react-query/package.json b/examples/react/start-basic-react-query/package.json
index 76875f6c47..198e73ad2a 100644
--- a/examples/react/start-basic-react-query/package.json
+++ b/examples/react/start-basic-react-query/package.json
@@ -12,10 +12,10 @@
"dependencies": {
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic-static/package.json b/examples/react/start-basic-static/package.json
index d650f224bf..24a4fc1c99 100644
--- a/examples/react/start-basic-static/package.json
+++ b/examples/react/start-basic-static/package.json
@@ -10,10 +10,10 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
- "@tanstack/start-static-server-functions": "^1.166.37",
+ "@tanstack/react-start": "^1.167.53",
+ "@tanstack/start-static-server-functions": "^1.166.38",
"@vitejs/plugin-react": "^6.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-basic/package.json b/examples/react/start-basic/package.json
index 7795060d5e..c2492196a9 100644
--- a/examples/react/start-basic/package.json
+++ b/examples/react/start-basic/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^2.6.0",
diff --git a/examples/react/start-bun/package.json b/examples/react/start-bun/package.json
index 60a03e52f3..20bfdc0548 100644
--- a/examples/react/start-bun/package.json
+++ b/examples/react/start-bun/package.json
@@ -15,11 +15,11 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-devtools": "^0.7.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.52",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/react-start": "^1.167.53",
+ "@tanstack/router-plugin": "^1.167.30",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"tailwindcss": "^4.2.2"
diff --git a/examples/react/start-clerk-basic/package.json b/examples/react/start-clerk-basic/package.json
index 6aca8a39fc..2266c8b143 100644
--- a/examples/react/start-clerk-basic/package.json
+++ b/examples/react/start-clerk-basic/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@clerk/tanstack-react-start": "^0.27.14",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"@vitejs/plugin-react": "^6.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-convex-trellaux/package.json b/examples/react/start-convex-trellaux/package.json
index 3476f4f83f..34d040ac8e 100644
--- a/examples/react/start-convex-trellaux/package.json
+++ b/examples/react/start-convex-trellaux/package.json
@@ -15,10 +15,10 @@
"@convex-dev/react-query": "0.0.0-alpha.8",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"concurrently": "^8.2.2",
"convex": "^1.19.0",
"ky": "^1.7.4",
diff --git a/examples/react/start-counter/package.json b/examples/react/start-counter/package.json
index ef2d573abe..5d28c66326 100644
--- a/examples/react/start-counter/package.json
+++ b/examples/react/start-counter/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
diff --git a/examples/react/start-i18n-paraglide/package.json b/examples/react/start-i18n-paraglide/package.json
index 3a8e5fcfb6..741a6ed3e7 100644
--- a/examples/react/start-i18n-paraglide/package.json
+++ b/examples/react/start-i18n-paraglide/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tanstack/react-devtools": "^0.7.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"react": "^19.1.1",
"react-dom": "^19.1.1"
},
diff --git a/examples/react/start-large/package.json b/examples/react/start-large/package.json
index 46a24fca7a..f0d9e822c6 100644
--- a/examples/react/start-large/package.json
+++ b/examples/react/start-large/package.json
@@ -13,9 +13,9 @@
},
"dependencies": {
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-material-ui/package.json b/examples/react/start-material-ui/package.json
index 6073c57a2a..a4cc550b99 100644
--- a/examples/react/start-material-ui/package.json
+++ b/examples/react/start-material-ui/package.json
@@ -15,8 +15,8 @@
"@emotion/styled": "11.14.0",
"@fontsource-variable/roboto": "5.2.5",
"@mui/material": "6.4.7",
- "@tanstack/react-router": "^1.168.26",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-router": "^1.169.0",
+ "@tanstack/react-start": "^1.167.53",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-rscs/package.json b/examples/react/start-rscs/package.json
index 4b4ce18244..84d1ffb5e0 100644
--- a/examples/react/start-rscs/package.json
+++ b/examples/react/start-rscs/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"dexie": "^4.0.10",
"react": "^19.2.0",
"react-dom": "^19.2.0",
diff --git a/examples/react/start-streaming-data-from-server-functions/package.json b/examples/react/start-streaming-data-from-server-functions/package.json
index 3fe393719b..de81cf7b49 100644
--- a/examples/react/start-streaming-data-from-server-functions/package.json
+++ b/examples/react/start-streaming-data-from-server-functions/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"zod": "^3.24.2"
diff --git a/examples/react/start-supabase-basic/package.json b/examples/react/start-supabase-basic/package.json
index 9668c77506..b878458d93 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.48.1",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/start-tailwind-v4/package.json b/examples/react/start-tailwind-v4/package.json
index 22fdd54e94..6ece2f862e 100644
--- a/examples/react/start-tailwind-v4/package.json
+++ b/examples/react/start-tailwind-v4/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^2.6.0",
diff --git a/examples/react/start-trellaux/package.json b/examples/react/start-trellaux/package.json
index 4f64da4295..e4788f5352 100644
--- a/examples/react/start-trellaux/package.json
+++ b/examples/react/start-trellaux/package.json
@@ -12,10 +12,10 @@
"dependencies": {
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"ky": "^1.7.4",
"msw": "^2.7.0",
"react": "^19.0.0",
diff --git a/examples/react/start-workos/package.json b/examples/react/start-workos/package.json
index 85276dd91c..98839266a1 100644
--- a/examples/react/start-workos/package.json
+++ b/examples/react/start-workos/package.json
@@ -14,9 +14,9 @@
"license": "MIT",
"dependencies": {
"@radix-ui/themes": "^3.3.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.52",
+ "@tanstack/react-start": "^1.167.53",
"@workos/authkit-tanstack-react-start": "^0.5.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
diff --git a/examples/react/view-transitions/package.json b/examples/react/view-transitions/package.json
index 94f9be0a0b..02980008b0 100644
--- a/examples/react/view-transitions/package.json
+++ b/examples/react/view-transitions/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/with-framer-motion/package.json b/examples/react/with-framer-motion/package.json
index d13f6149b2..e918318bcf 100644
--- a/examples/react/with-framer-motion/package.json
+++ b/examples/react/with-framer-motion/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"framer-motion": "^11.18.2",
"react": "^19.0.0",
diff --git a/examples/react/with-trpc-react-query/package.json b/examples/react/with-trpc-react-query/package.json
index dbd96cbe1b..0d11ec0ebb 100644
--- a/examples/react/with-trpc-react-query/package.json
+++ b/examples/react/with-trpc-react-query/package.json
@@ -13,9 +13,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"@trpc/client": "^11.4.3",
"@trpc/server": "^11.4.3",
"@trpc/tanstack-react-query": "^11.4.3",
diff --git a/examples/react/with-trpc/package.json b/examples/react/with-trpc/package.json
index ff0ed662f0..8a5298e82c 100644
--- a/examples/react/with-trpc/package.json
+++ b/examples/react/with-trpc/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.26",
+ "@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"@trpc/client": "^11.4.3",
"@trpc/server": "^11.4.3",
"express": "^4.21.2",
diff --git a/examples/solid/authenticated-routes-firebase/package.json b/examples/solid/authenticated-routes-firebase/package.json
index 849fc137d6..2d5be890b9 100644
--- a/examples/solid/authenticated-routes-firebase/package.json
+++ b/examples/solid/authenticated-routes-firebase/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"firebase": "^11.4.0",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/authenticated-routes/package.json b/examples/solid/authenticated-routes/package.json
index 42882be030..2edbbf6536 100644
--- a/examples/solid/authenticated-routes/package.json
+++ b/examples/solid/authenticated-routes/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/basic-default-search-params/package.json b/examples/solid/basic-default-search-params/package.json
index eb24e2e856..82e84eb0fa 100644
--- a/examples/solid/basic-default-search-params/package.json
+++ b/examples/solid/basic-default-search-params/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/basic-devtools-panel/package.json b/examples/solid/basic-devtools-panel/package.json
index 257f8e8c2b..39cd7b7920 100644
--- a/examples/solid/basic-devtools-panel/package.json
+++ b/examples/solid/basic-devtools-panel/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-file-based/package.json b/examples/solid/basic-file-based/package.json
index 843cf31709..837ef8be6e 100644
--- a/examples/solid/basic-file-based/package.json
+++ b/examples/solid/basic-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
@@ -18,7 +18,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/basic-non-nested-devtools/package.json b/examples/solid/basic-non-nested-devtools/package.json
index c7665945c8..83418cec08 100644
--- a/examples/solid/basic-non-nested-devtools/package.json
+++ b/examples/solid/basic-non-nested-devtools/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/basic-solid-query-file-based/package.json b/examples/solid/basic-solid-query-file-based/package.json
index 486b63a7a0..c32fbdd2fe 100644
--- a/examples/solid/basic-solid-query-file-based/package.json
+++ b/examples/solid/basic-solid-query-file-based/package.json
@@ -13,7 +13,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
@@ -21,7 +21,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/basic-solid-query/package.json b/examples/solid/basic-solid-query/package.json
index 2dd396922c..98e2293abd 100644
--- a/examples/solid/basic-solid-query/package.json
+++ b/examples/solid/basic-solid-query/package.json
@@ -12,14 +12,14 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/basic-ssr-file-based/package.json b/examples/solid/basic-ssr-file-based/package.json
index 19da66c2b2..c7c2185e11 100644
--- a/examples/solid/basic-ssr-file-based/package.json
+++ b/examples/solid/basic-ssr-file-based/package.json
@@ -11,8 +11,8 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.26",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/solid-router": "^1.169.0",
+ "@tanstack/router-plugin": "^1.167.30",
"compression": "^1.8.0",
"express": "^4.21.2",
"get-port": "^7.1.0",
diff --git a/examples/solid/basic-ssr-streaming-file-based/package.json b/examples/solid/basic-ssr-streaming-file-based/package.json
index 26ea8908fe..b094916542 100644
--- a/examples/solid/basic-ssr-streaming-file-based/package.json
+++ b/examples/solid/basic-ssr-streaming-file-based/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"compression": "^1.8.0",
"express": "^4.21.2",
@@ -24,7 +24,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"@types/express": "^4.17.23",
"typescript": "^6.0.2",
"vite": "^8.0.0",
diff --git a/examples/solid/basic-virtual-file-based/package.json b/examples/solid/basic-virtual-file-based/package.json
index 802086aa0c..412c139350 100644
--- a/examples/solid/basic-virtual-file-based/package.json
+++ b/examples/solid/basic-virtual-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"@tanstack/virtual-file-routes": "^1.161.7",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/basic-virtual-inside-file-based/package.json b/examples/solid/basic-virtual-inside-file-based/package.json
index 3dbcf288be..144d139f26 100644
--- a/examples/solid/basic-virtual-inside-file-based/package.json
+++ b/examples/solid/basic-virtual-inside-file-based/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"@tanstack/virtual-file-routes": "^1.161.7",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/basic/package.json b/examples/solid/basic/package.json
index 5d67dbaec3..8ba041d347 100644
--- a/examples/solid/basic/package.json
+++ b/examples/solid/basic/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/deferred-data/package.json b/examples/solid/deferred-data/package.json
index dd7926faa7..4ae4c7c4d5 100644
--- a/examples/solid/deferred-data/package.json
+++ b/examples/solid/deferred-data/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/i18n-paraglide/package.json b/examples/solid/i18n-paraglide/package.json
index 4ab4633c02..b00961a855 100644
--- a/examples/solid/i18n-paraglide/package.json
+++ b/examples/solid/i18n-paraglide/package.json
@@ -11,8 +11,8 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/solid-router": "^1.169.0",
+ "@tanstack/router-plugin": "^1.167.30",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
},
diff --git a/examples/solid/kitchen-sink-file-based/package.json b/examples/solid/kitchen-sink-file-based/package.json
index cf2eae24d0..856fb0e432 100644
--- a/examples/solid/kitchen-sink-file-based/package.json
+++ b/examples/solid/kitchen-sink-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
@@ -19,7 +19,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/kitchen-sink-solid-query-file-based/package.json b/examples/solid/kitchen-sink-solid-query-file-based/package.json
index 51e4ddca85..c2efe6011b 100644
--- a/examples/solid/kitchen-sink-solid-query-file-based/package.json
+++ b/examples/solid/kitchen-sink-solid-query-file-based/package.json
@@ -10,10 +10,10 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
diff --git a/examples/solid/kitchen-sink-solid-query/package.json b/examples/solid/kitchen-sink-solid-query/package.json
index dc70ff8d35..f24d0e58c8 100644
--- a/examples/solid/kitchen-sink-solid-query/package.json
+++ b/examples/solid/kitchen-sink-solid-query/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"redaxios": "^0.5.1",
diff --git a/examples/solid/kitchen-sink/package.json b/examples/solid/kitchen-sink/package.json
index 8a313b4768..2a9b31127a 100644
--- a/examples/solid/kitchen-sink/package.json
+++ b/examples/solid/kitchen-sink/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"immer": "^10.1.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/large-file-based/package.json b/examples/solid/large-file-based/package.json
index 3cb1fda68b..88a71238bd 100644
--- a/examples/solid/large-file-based/package.json
+++ b/examples/solid/large-file-based/package.json
@@ -13,9 +13,9 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/location-masking/package.json b/examples/solid/location-masking/package.json
index bf6ac8b4f5..82abe472c3 100644
--- a/examples/solid/location-masking/package.json
+++ b/examples/solid/location-masking/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/navigation-blocking/package.json b/examples/solid/navigation-blocking/package.json
index dde7532600..9f9eae1753 100644
--- a/examples/solid/navigation-blocking/package.json
+++ b/examples/solid/navigation-blocking/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/quickstart-esbuild-file-based/package.json b/examples/solid/quickstart-esbuild-file-based/package.json
index ee5f281eb0..7a48e70210 100644
--- a/examples/solid/quickstart-esbuild-file-based/package.json
+++ b/examples/solid/quickstart-esbuild-file-based/package.json
@@ -9,8 +9,8 @@
"start": "dev"
},
"dependencies": {
- "@tanstack/router-plugin": "^1.167.29",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/router-plugin": "^1.167.30",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/quickstart-file-based/package.json b/examples/solid/quickstart-file-based/package.json
index 9980315ecf..28299eca08 100644
--- a/examples/solid/quickstart-file-based/package.json
+++ b/examples/solid/quickstart-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
@@ -18,7 +18,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/quickstart-rspack-file-based/package.json b/examples/solid/quickstart-rspack-file-based/package.json
index d95335dda0..f042d8f700 100644
--- a/examples/solid/quickstart-rspack-file-based/package.json
+++ b/examples/solid/quickstart-rspack-file-based/package.json
@@ -9,7 +9,7 @@
},
"dependencies": {
"@tailwindcss/postcss": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"postcss": "^8.5.1",
"solid-js": "^1.9.10",
@@ -19,7 +19,7 @@
"@rsbuild/core": "^2.0.1",
"@rsbuild/plugin-babel": "^1.1.2",
"@rsbuild/plugin-solid": "^1.1.1",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"typescript": "^6.0.2"
}
}
diff --git a/examples/solid/quickstart-webpack-file-based/package.json b/examples/solid/quickstart-webpack-file-based/package.json
index c69bae8af8..0d7bae7c56 100644
--- a/examples/solid/quickstart-webpack-file-based/package.json
+++ b/examples/solid/quickstart-webpack-file-based/package.json
@@ -7,7 +7,7 @@
"build": "webpack build && tsc --noEmit"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
@@ -15,7 +15,7 @@
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/preset-typescript": "^7.27.1",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"babel-loader": "^10.0.0",
"babel-preset-solid": "^1.9.10",
"css-loader": "^7.1.2",
diff --git a/examples/solid/quickstart/package.json b/examples/solid/quickstart/package.json
index a910b6c223..c304a4ed41 100644
--- a/examples/solid/quickstart/package.json
+++ b/examples/solid/quickstart/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
diff --git a/examples/solid/router-monorepo-simple-lazy/package.json b/examples/solid/router-monorepo-simple-lazy/package.json
index 581c2bbc94..8dd5e29d3f 100644
--- a/examples/solid/router-monorepo-simple-lazy/package.json
+++ b/examples/solid/router-monorepo-simple-lazy/package.json
@@ -8,9 +8,9 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/router-monorepo-simple-lazy/packages/router/package.json b/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
index b7df2d4581..b0881920b0 100644
--- a/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
+++ b/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
@@ -9,8 +9,8 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/solid-router": "^1.168.26",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/solid-router": "^1.169.0",
+ "@tanstack/router-plugin": "^1.167.30",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"solid-js": "^1.9.10"
diff --git a/examples/solid/router-monorepo-simple/package.json b/examples/solid/router-monorepo-simple/package.json
index 33d1b21790..df61adae0b 100644
--- a/examples/solid/router-monorepo-simple/package.json
+++ b/examples/solid/router-monorepo-simple/package.json
@@ -8,9 +8,9 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/router-monorepo-simple/packages/router/package.json b/examples/solid/router-monorepo-simple/packages/router/package.json
index 0dfb61c3eb..1737a0b13d 100644
--- a/examples/solid/router-monorepo-simple/packages/router/package.json
+++ b/examples/solid/router-monorepo-simple/packages/router/package.json
@@ -9,8 +9,8 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/solid-router": "^1.168.26",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/solid-router": "^1.169.0",
+ "@tanstack/router-plugin": "^1.167.30",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"solid-js": "^1.9.10"
diff --git a/examples/solid/router-monorepo-solid-query/package.json b/examples/solid/router-monorepo-solid-query/package.json
index fd54a0f41f..af7912c515 100644
--- a/examples/solid/router-monorepo-solid-query/package.json
+++ b/examples/solid/router-monorepo-solid-query/package.json
@@ -12,9 +12,9 @@
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/router-monorepo-solid-query/packages/router/package.json b/examples/solid/router-monorepo-solid-query/packages/router/package.json
index 8e17778cf5..abd3c8dae5 100644
--- a/examples/solid/router-monorepo-solid-query/packages/router/package.json
+++ b/examples/solid/router-monorepo-solid-query/packages/router/package.json
@@ -10,8 +10,8 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.26",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/solid-router": "^1.169.0",
+ "@tanstack/router-plugin": "^1.167.30",
"@router-solid-mono-solid-query/post-query": "workspace:*",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
diff --git a/examples/solid/scroll-restoration/package.json b/examples/solid/scroll-restoration/package.json
index 133e02837a..2d782fb4d7 100644
--- a/examples/solid/scroll-restoration/package.json
+++ b/examples/solid/scroll-restoration/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-virtual": "^3.13.0",
"solid-js": "^1.9.10",
diff --git a/examples/solid/search-validator-adapters/package.json b/examples/solid/search-validator-adapters/package.json
index b80374b89e..e749e06e07 100644
--- a/examples/solid/search-validator-adapters/package.json
+++ b/examples/solid/search-validator-adapters/package.json
@@ -13,9 +13,9 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/arktype-adapter": "^1.166.9",
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"@tanstack/valibot-adapter": "^1.166.9",
"@tanstack/zod-adapter": "^1.166.9",
"arktype": "^2.1.7",
diff --git a/examples/solid/start-basic-auth/package.json b/examples/solid/start-basic-auth/package.json
index 68a9adf83a..b8550f6a95 100644
--- a/examples/solid/start-basic-auth/package.json
+++ b/examples/solid/start-basic-auth/package.json
@@ -14,9 +14,9 @@
"@libsql/client": "^0.15.15",
"@prisma/adapter-libsql": "^7.0.0",
"@prisma/client": "^7.0.0",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/solid-start": "^1.167.50",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-authjs/package.json b/examples/solid/start-basic-authjs/package.json
index 893274c7a5..179fd21372 100644
--- a/examples/solid/start-basic-authjs/package.json
+++ b/examples/solid/start-basic-authjs/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@auth/core": "^0.41.1",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/solid-start": "^1.167.50",
"start-authjs": "^1.0.0",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-cloudflare/package.json b/examples/solid/start-basic-cloudflare/package.json
index 40e57b0580..132f9cc117 100644
--- a/examples/solid/start-basic-cloudflare/package.json
+++ b/examples/solid/start-basic-cloudflare/package.json
@@ -12,9 +12,9 @@
"postinstall": "npm run cf-typegen"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/solid-start": "^1.167.50",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-netlify/package.json b/examples/solid/start-basic-netlify/package.json
index f625bd144e..b758fa9d0c 100644
--- a/examples/solid/start-basic-netlify/package.json
+++ b/examples/solid/start-basic-netlify/package.json
@@ -9,9 +9,9 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/solid-start": "^1.167.50",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-nitro/package.json b/examples/solid/start-basic-nitro/package.json
index 144374b049..a3f52c7590 100644
--- a/examples/solid/start-basic-nitro/package.json
+++ b/examples/solid/start-basic-nitro/package.json
@@ -9,9 +9,9 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/solid-start": "^1.167.50",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-solid-query/package.json b/examples/solid/start-basic-solid-query/package.json
index 743a07320a..dc8f21dd75 100644
--- a/examples/solid/start-basic-solid-query/package.json
+++ b/examples/solid/start-basic-solid-query/package.json
@@ -12,10 +12,10 @@
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/solid-start": "^1.167.50",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-static/package.json b/examples/solid/start-basic-static/package.json
index 3ffe2e3f5b..a11895b2e4 100644
--- a/examples/solid/start-basic-static/package.json
+++ b/examples/solid/start-basic-static/package.json
@@ -10,10 +10,10 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.49",
- "@tanstack/start-static-server-functions": "^1.166.37",
+ "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/start-static-server-functions": "^1.166.38",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic/package.json b/examples/solid/start-basic/package.json
index 2ba16e90bf..59ceae8f3e 100644
--- a/examples/solid/start-basic/package.json
+++ b/examples/solid/start-basic/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/solid-start": "^1.167.50",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-bun/package.json b/examples/solid/start-bun/package.json
index f3ce8fa90b..cfbaa5ff7a 100644
--- a/examples/solid/start-bun/package.json
+++ b/examples/solid/start-bun/package.json
@@ -15,11 +15,11 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-devtools": "^0.7.0",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.49",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/router-plugin": "^1.167.30",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
},
diff --git a/examples/solid/start-convex-better-auth/package.json b/examples/solid/start-convex-better-auth/package.json
index f661b653af..06466a14df 100644
--- a/examples/solid/start-convex-better-auth/package.json
+++ b/examples/solid/start-convex-better-auth/package.json
@@ -13,9 +13,9 @@
"dependencies": {
"@convex-dev/better-auth": "^0.9.7",
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/solid-start": "^1.167.50",
"better-auth": "^1.3.27",
"clsx": "^2.1.1",
"convex": "^1.28.2",
diff --git a/examples/solid/start-counter/package.json b/examples/solid/start-counter/package.json
index c8c17e37de..04c02d4b64 100644
--- a/examples/solid/start-counter/package.json
+++ b/examples/solid/start-counter/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/solid-start": "^1.167.50",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-i18n-paraglide/package.json b/examples/solid/start-i18n-paraglide/package.json
index aa36a5eb2a..f6e52fa98c 100644
--- a/examples/solid/start-i18n-paraglide/package.json
+++ b/examples/solid/start-i18n-paraglide/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tanstack/solid-devtools": "^0.7.0",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/solid-start": "^1.167.50",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-large/package.json b/examples/solid/start-large/package.json
index a4d1feb0dd..e48d113927 100644
--- a/examples/solid/start-large/package.json
+++ b/examples/solid/start-large/package.json
@@ -13,9 +13,9 @@
},
"dependencies": {
"@tanstack/solid-query": "^5.90.9",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/solid-start": "^1.167.50",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-streaming-data-from-server-functions/package.json b/examples/solid/start-streaming-data-from-server-functions/package.json
index f29a1ac94e..3d34830cdf 100644
--- a/examples/solid/start-streaming-data-from-server-functions/package.json
+++ b/examples/solid/start-streaming-data-from-server-functions/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/solid-start": "^1.167.50",
"solid-js": "^1.9.10",
"zod": "^3.24.2"
},
diff --git a/examples/solid/start-supabase-basic/package.json b/examples/solid/start-supabase-basic/package.json
index ebe59a0195..2cc662c944 100644
--- a/examples/solid/start-supabase-basic/package.json
+++ b/examples/solid/start-supabase-basic/package.json
@@ -14,9 +14,9 @@
"dependencies": {
"@supabase/ssr": "^0.5.2",
"@supabase/supabase-js": "^2.48.1",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/solid-start": "^1.167.50",
"solid-js": "^1.9.9",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/start-tailwind-v4/package.json b/examples/solid/start-tailwind-v4/package.json
index 9c9b8ad364..a1acb0ad26 100644
--- a/examples/solid/start-tailwind-v4/package.json
+++ b/examples/solid/start-tailwind-v4/package.json
@@ -10,9 +10,9 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.49",
+ "@tanstack/solid-start": "^1.167.50",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0",
"zod": "^3.24.2"
diff --git a/examples/solid/view-transitions/package.json b/examples/solid/view-transitions/package.json
index a6e4f4a721..8abb71f7b8 100644
--- a/examples/solid/view-transitions/package.json
+++ b/examples/solid/view-transitions/package.json
@@ -10,9 +10,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/with-framer-motion/package.json b/examples/solid/with-framer-motion/package.json
index bb45b17808..2aa839931d 100644
--- a/examples/solid/with-framer-motion/package.json
+++ b/examples/solid/with-framer-motion/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/with-trpc/package.json b/examples/solid/with-trpc/package.json
index 54e57db023..a52a2bf8a0 100644
--- a/examples/solid/with-trpc/package.json
+++ b/examples/solid/with-trpc/package.json
@@ -11,9 +11,9 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/solid-router": "^1.168.26",
+ "@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.29",
+ "@tanstack/router-plugin": "^1.167.30",
"@trpc/client": "^11.4.3",
"@trpc/server": "^11.4.3",
"express": "^4.21.2",
diff --git a/examples/vue/basic-file-based-jsx/package.json b/examples/vue/basic-file-based-jsx/package.json
index f6683544b7..7c246aaf71 100644
--- a/examples/vue/basic-file-based-jsx/package.json
+++ b/examples/vue/basic-file-based-jsx/package.json
@@ -10,8 +10,8 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.29",
- "@tanstack/vue-router": "^1.168.22",
+ "@tanstack/router-plugin": "^1.167.30",
+ "@tanstack/vue-router": "^1.169.0",
"@tanstack/vue-router-devtools": "^1.166.13",
"@tanstack/zod-adapter": "^1.166.9",
"redaxios": "^0.5.1",
diff --git a/examples/vue/basic-file-based-sfc/package.json b/examples/vue/basic-file-based-sfc/package.json
index afb1f169c1..7654efa8b9 100644
--- a/examples/vue/basic-file-based-sfc/package.json
+++ b/examples/vue/basic-file-based-sfc/package.json
@@ -10,8 +10,8 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.29",
- "@tanstack/vue-router": "^1.168.22",
+ "@tanstack/router-plugin": "^1.167.30",
+ "@tanstack/vue-router": "^1.169.0",
"@tanstack/vue-router-devtools": "^1.166.13",
"@tanstack/zod-adapter": "^1.166.9",
"redaxios": "^0.5.1",
diff --git a/examples/vue/basic/package.json b/examples/vue/basic/package.json
index d32e9e6395..37d2e890af 100644
--- a/examples/vue/basic/package.json
+++ b/examples/vue/basic/package.json
@@ -9,7 +9,7 @@
"start": "vite"
},
"dependencies": {
- "@tanstack/vue-router": "^1.168.22",
+ "@tanstack/vue-router": "^1.169.0",
"@tanstack/vue-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
"vue": "^3.5.13",
diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md
index 2e99154e78..2660542424 100644
--- a/packages/react-router/CHANGELOG.md
+++ b/packages/react-router/CHANGELOG.md
@@ -1,5 +1,16 @@
# @tanstack/react-router
+## 1.169.0
+
+### Minor Changes
+
+- Allow `params.parse` to experimentally return `false` to skip an incoming route candidate during path matching. Thrown parse errors still surface on the selected match instead of falling through, and outgoing typed route-template links continue to use exact route lookup followed by `params.stringify` for URL generation. ([#7263](https://github.com/TanStack/router/pull/7263))
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+
## 1.168.26
### Patch Changes
diff --git a/packages/react-router/package.json b/packages/react-router/package.json
index a618f2fa8a..af878d384c 100644
--- a/packages/react-router/package.json
+++ b/packages/react-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-router",
- "version": "1.168.26",
+ "version": "1.169.0",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start-client/CHANGELOG.md b/packages/react-start-client/CHANGELOG.md
index 8775999e4c..fffc9a2786 100644
--- a/packages/react-start-client/CHANGELOG.md
+++ b/packages/react-start-client/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/react-start-client
+## 1.166.45
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+ - @tanstack/react-router@1.169.0
+ - @tanstack/start-client-core@1.167.22
+
## 1.166.44
### Patch Changes
diff --git a/packages/react-start-client/package.json b/packages/react-start-client/package.json
index 080b3d7f0d..1ff1674a7a 100644
--- a/packages/react-start-client/package.json
+++ b/packages/react-start-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start-client",
- "version": "1.166.44",
+ "version": "1.166.45",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start-rsc/CHANGELOG.md b/packages/react-start-rsc/CHANGELOG.md
index 734e6a3a21..2117417743 100644
--- a/packages/react-start-rsc/CHANGELOG.md
+++ b/packages/react-start-rsc/CHANGELOG.md
@@ -1,5 +1,18 @@
# @tanstack/react-start-rsc
+## 0.0.32
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+ - @tanstack/react-router@1.169.0
+ - @tanstack/react-start-server@1.166.46
+ - @tanstack/start-client-core@1.167.22
+ - @tanstack/start-plugin-core@1.169.8
+ - @tanstack/start-server-core@1.167.24
+ - @tanstack/start-storage-context@1.166.33
+
## 0.0.31
### Patch Changes
diff --git a/packages/react-start-rsc/package.json b/packages/react-start-rsc/package.json
index d52e8d8de7..ae7a6eb99c 100644
--- a/packages/react-start-rsc/package.json
+++ b/packages/react-start-rsc/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start-rsc",
- "version": "0.0.31",
+ "version": "0.0.32",
"description": "React Server Components support for TanStack Start",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start-server/CHANGELOG.md b/packages/react-start-server/CHANGELOG.md
index 3b3c41726f..51583bf2d6 100644
--- a/packages/react-start-server/CHANGELOG.md
+++ b/packages/react-start-server/CHANGELOG.md
@@ -1,5 +1,15 @@
# @tanstack/react-start-server
+## 1.166.46
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+ - @tanstack/react-router@1.169.0
+ - @tanstack/start-client-core@1.167.22
+ - @tanstack/start-server-core@1.167.24
+
## 1.166.45
### Patch Changes
diff --git a/packages/react-start-server/package.json b/packages/react-start-server/package.json
index 04bdd12e00..244b136494 100644
--- a/packages/react-start-server/package.json
+++ b/packages/react-start-server/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start-server",
- "version": "1.166.45",
+ "version": "1.166.46",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start/CHANGELOG.md b/packages/react-start/CHANGELOG.md
index 8b35767509..aa2f6fe39e 100644
--- a/packages/react-start/CHANGELOG.md
+++ b/packages/react-start/CHANGELOG.md
@@ -1,5 +1,20 @@
# @tanstack/react-start
+## 1.167.53
+
+### Patch Changes
+
+- fix exports for react-start so useServerFn is available with RSC ([#7292](https://github.com/TanStack/router/pull/7292))
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/react-router@1.169.0
+ - @tanstack/react-start-client@1.166.45
+ - @tanstack/react-start-rsc@0.0.32
+ - @tanstack/react-start-server@1.166.46
+ - @tanstack/start-client-core@1.167.22
+ - @tanstack/start-plugin-core@1.169.8
+ - @tanstack/start-server-core@1.167.24
+
## 1.167.52
### Patch Changes
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index 43a65d0477..c03d741d0c 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.167.52",
+ "version": "1.167.53",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-cli/CHANGELOG.md b/packages/router-cli/CHANGELOG.md
index c3abc7538a..9e73373093 100644
--- a/packages/router-cli/CHANGELOG.md
+++ b/packages/router-cli/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-cli
+## 1.166.39
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/router-generator@1.166.38
+
## 1.166.38
### Patch Changes
diff --git a/packages/router-cli/package.json b/packages/router-cli/package.json
index ad98195ab2..1d453525f9 100644
--- a/packages/router-cli/package.json
+++ b/packages/router-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-cli",
- "version": "1.166.38",
+ "version": "1.166.39",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-core/CHANGELOG.md b/packages/router-core/CHANGELOG.md
index d65bf03364..9ce1bd3846 100644
--- a/packages/router-core/CHANGELOG.md
+++ b/packages/router-core/CHANGELOG.md
@@ -1,5 +1,11 @@
# @tanstack/router-core
+## 1.169.0
+
+### Minor Changes
+
+- Allow `params.parse` to experimentally return `false` to skip an incoming route candidate during path matching. Thrown parse errors still surface on the selected match instead of falling through, and outgoing typed route-template links continue to use exact route lookup followed by `params.stringify` for URL generation. ([#7263](https://github.com/TanStack/router/pull/7263))
+
## 1.168.18
### Patch Changes
diff --git a/packages/router-core/package.json b/packages/router-core/package.json
index 8d03d3ade3..3eee85257e 100644
--- a/packages/router-core/package.json
+++ b/packages/router-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-core",
- "version": "1.168.18",
+ "version": "1.169.0",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-generator/CHANGELOG.md b/packages/router-generator/CHANGELOG.md
index 6f28cb0cfb..54fc037f80 100644
--- a/packages/router-generator/CHANGELOG.md
+++ b/packages/router-generator/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-generator
+## 1.166.38
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+
## 1.166.37
### Patch Changes
diff --git a/packages/router-generator/package.json b/packages/router-generator/package.json
index 86ea1bc835..fdceec891e 100644
--- a/packages/router-generator/package.json
+++ b/packages/router-generator/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-generator",
- "version": "1.166.37",
+ "version": "1.166.38",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-plugin/CHANGELOG.md b/packages/router-plugin/CHANGELOG.md
index 7efa3e4528..e235395008 100644
--- a/packages/router-plugin/CHANGELOG.md
+++ b/packages/router-plugin/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/router-plugin
+## 1.167.30
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+ - @tanstack/react-router@1.169.0
+ - @tanstack/router-generator@1.166.38
+
## 1.167.29
### Patch Changes
diff --git a/packages/router-plugin/package.json b/packages/router-plugin/package.json
index c92271496e..fca7597dfa 100644
--- a/packages/router-plugin/package.json
+++ b/packages/router-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-plugin",
- "version": "1.167.29",
+ "version": "1.167.30",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-vite-plugin/CHANGELOG.md b/packages/router-vite-plugin/CHANGELOG.md
index 12a8072beb..f7d7e9f722 100644
--- a/packages/router-vite-plugin/CHANGELOG.md
+++ b/packages/router-vite-plugin/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-vite-plugin
+## 1.166.45
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/router-plugin@1.167.30
+
## 1.166.44
### Patch Changes
diff --git a/packages/router-vite-plugin/package.json b/packages/router-vite-plugin/package.json
index 96f1ba7850..7e452745d3 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.166.44",
+ "version": "1.166.45",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-router/CHANGELOG.md b/packages/solid-router/CHANGELOG.md
index dd1d071518..375c0bd7fe 100644
--- a/packages/solid-router/CHANGELOG.md
+++ b/packages/solid-router/CHANGELOG.md
@@ -1,5 +1,16 @@
# @tanstack/solid-router
+## 1.169.0
+
+### Minor Changes
+
+- Allow `params.parse` to experimentally return `false` to skip an incoming route candidate during path matching. Thrown parse errors still surface on the selected match instead of falling through, and outgoing typed route-template links continue to use exact route lookup followed by `params.stringify` for URL generation. ([#7263](https://github.com/TanStack/router/pull/7263))
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+
## 1.168.26
### Patch Changes
diff --git a/packages/solid-router/package.json b/packages/solid-router/package.json
index 2e44f368c7..1a6c8533e9 100644
--- a/packages/solid-router/package.json
+++ b/packages/solid-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-router",
- "version": "1.168.26",
+ "version": "1.169.0",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start-client/CHANGELOG.md b/packages/solid-start-client/CHANGELOG.md
index 82dc600fed..791a8c5c55 100644
--- a/packages/solid-start-client/CHANGELOG.md
+++ b/packages/solid-start-client/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/solid-start-client
+## 1.166.44
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+ - @tanstack/solid-router@1.169.0
+ - @tanstack/start-client-core@1.167.22
+
## 1.166.43
### Patch Changes
diff --git a/packages/solid-start-client/package.json b/packages/solid-start-client/package.json
index 2e12b693c0..60b32b1e46 100644
--- a/packages/solid-start-client/package.json
+++ b/packages/solid-start-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start-client",
- "version": "1.166.43",
+ "version": "1.166.44",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start-server/CHANGELOG.md b/packages/solid-start-server/CHANGELOG.md
index f86befad7f..1892de95f8 100644
--- a/packages/solid-start-server/CHANGELOG.md
+++ b/packages/solid-start-server/CHANGELOG.md
@@ -1,5 +1,15 @@
# @tanstack/solid-start-server
+## 1.166.45
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+ - @tanstack/solid-router@1.169.0
+ - @tanstack/start-client-core@1.167.22
+ - @tanstack/start-server-core@1.167.24
+
## 1.166.44
### Patch Changes
diff --git a/packages/solid-start-server/package.json b/packages/solid-start-server/package.json
index f1dab39776..65fb78d948 100644
--- a/packages/solid-start-server/package.json
+++ b/packages/solid-start-server/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start-server",
- "version": "1.166.44",
+ "version": "1.166.45",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start/CHANGELOG.md b/packages/solid-start/CHANGELOG.md
index c918dfc0fc..cfa857a27b 100644
--- a/packages/solid-start/CHANGELOG.md
+++ b/packages/solid-start/CHANGELOG.md
@@ -1,5 +1,17 @@
# @tanstack/solid-start
+## 1.167.50
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/solid-router@1.169.0
+ - @tanstack/solid-start-client@1.166.44
+ - @tanstack/solid-start-server@1.166.45
+ - @tanstack/start-client-core@1.167.22
+ - @tanstack/start-plugin-core@1.169.8
+ - @tanstack/start-server-core@1.167.24
+
## 1.167.49
### Patch Changes
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index dccf4c5071..8c54823d34 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.167.49",
+ "version": "1.167.50",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-client-core/CHANGELOG.md b/packages/start-client-core/CHANGELOG.md
index 983927d437..c60e6fc02b 100644
--- a/packages/start-client-core/CHANGELOG.md
+++ b/packages/start-client-core/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/start-client-core
+## 1.167.22
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+ - @tanstack/start-storage-context@1.166.33
+
## 1.167.21
### Patch Changes
diff --git a/packages/start-client-core/package.json b/packages/start-client-core/package.json
index 61a8d19acb..44d0c6c49e 100644
--- a/packages/start-client-core/package.json
+++ b/packages/start-client-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-client-core",
- "version": "1.167.21",
+ "version": "1.167.22",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-plugin-core/CHANGELOG.md b/packages/start-plugin-core/CHANGELOG.md
index 7b4f57c509..cc182d4a52 100644
--- a/packages/start-plugin-core/CHANGELOG.md
+++ b/packages/start-plugin-core/CHANGELOG.md
@@ -1,5 +1,16 @@
# @tanstack/start-plugin-core
+## 1.169.8
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+ - @tanstack/router-generator@1.166.38
+ - @tanstack/router-plugin@1.167.30
+ - @tanstack/start-client-core@1.167.22
+ - @tanstack/start-server-core@1.167.24
+
## 1.169.7
### Patch Changes
diff --git a/packages/start-plugin-core/package.json b/packages/start-plugin-core/package.json
index 8adc97823c..3711d0212c 100644
--- a/packages/start-plugin-core/package.json
+++ b/packages/start-plugin-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-plugin-core",
- "version": "1.169.7",
+ "version": "1.169.8",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-server-core/CHANGELOG.md b/packages/start-server-core/CHANGELOG.md
index 6157d43080..471985cb60 100644
--- a/packages/start-server-core/CHANGELOG.md
+++ b/packages/start-server-core/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/start-server-core
+## 1.167.24
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+ - @tanstack/start-client-core@1.167.22
+ - @tanstack/start-storage-context@1.166.33
+
## 1.167.23
### Patch Changes
diff --git a/packages/start-server-core/package.json b/packages/start-server-core/package.json
index 95e17d4a2b..8978b43d56 100644
--- a/packages/start-server-core/package.json
+++ b/packages/start-server-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-server-core",
- "version": "1.167.23",
+ "version": "1.167.24",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-static-server-functions/CHANGELOG.md b/packages/start-static-server-functions/CHANGELOG.md
index f1755aa1c8..ad13eddec1 100644
--- a/packages/start-static-server-functions/CHANGELOG.md
+++ b/packages/start-static-server-functions/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/start-static-server-functions
+## 1.166.38
+
+### Patch Changes
+
+- Updated dependencies [[`7fa0f39`](https://github.com/TanStack/router/commit/7fa0f39cabf4407aa1cb99e369566e8ea85554a2)]:
+ - @tanstack/react-start@1.167.53
+ - @tanstack/start-client-core@1.167.22
+ - @tanstack/solid-start@1.167.50
+
## 1.166.37
### Patch Changes
diff --git a/packages/start-static-server-functions/package.json b/packages/start-static-server-functions/package.json
index 0b7be1a46d..34e249eb32 100644
--- a/packages/start-static-server-functions/package.json
+++ b/packages/start-static-server-functions/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-static-server-functions",
- "version": "1.166.37",
+ "version": "1.166.38",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-storage-context/CHANGELOG.md b/packages/start-storage-context/CHANGELOG.md
index c4f84cee0f..8b7eed63fa 100644
--- a/packages/start-storage-context/CHANGELOG.md
+++ b/packages/start-storage-context/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/start-storage-context
+## 1.166.33
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+
## 1.166.32
### Patch Changes
diff --git a/packages/start-storage-context/package.json b/packages/start-storage-context/package.json
index 527ae60d84..b1d75fcf63 100644
--- a/packages/start-storage-context/package.json
+++ b/packages/start-storage-context/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-storage-context",
- "version": "1.166.32",
+ "version": "1.166.33",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-router/CHANGELOG.md b/packages/vue-router/CHANGELOG.md
index f488dee8fa..77edffe49e 100644
--- a/packages/vue-router/CHANGELOG.md
+++ b/packages/vue-router/CHANGELOG.md
@@ -1,5 +1,16 @@
# @tanstack/vue-router
+## 1.169.0
+
+### Minor Changes
+
+- Allow `params.parse` to experimentally return `false` to skip an incoming route candidate during path matching. Thrown parse errors still surface on the selected match instead of falling through, and outgoing typed route-template links continue to use exact route lookup followed by `params.stringify` for URL generation. ([#7263](https://github.com/TanStack/router/pull/7263))
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+
## 1.168.22
### Patch Changes
diff --git a/packages/vue-router/package.json b/packages/vue-router/package.json
index d67d29140e..3de389f6a7 100644
--- a/packages/vue-router/package.json
+++ b/packages/vue-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-router",
- "version": "1.168.22",
+ "version": "1.169.0",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-start-client/CHANGELOG.md b/packages/vue-start-client/CHANGELOG.md
index 7229160aca..547d03f58a 100644
--- a/packages/vue-start-client/CHANGELOG.md
+++ b/packages/vue-start-client/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/vue-start-client
+## 1.166.40
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+ - @tanstack/vue-router@1.169.0
+ - @tanstack/start-client-core@1.167.22
+
## 1.166.39
### Patch Changes
diff --git a/packages/vue-start-client/package.json b/packages/vue-start-client/package.json
index 73f6baefb4..b88a0105de 100644
--- a/packages/vue-start-client/package.json
+++ b/packages/vue-start-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start-client",
- "version": "1.166.39",
+ "version": "1.166.40",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-start-server/CHANGELOG.md b/packages/vue-start-server/CHANGELOG.md
index 23227a05b2..6668121c27 100644
--- a/packages/vue-start-server/CHANGELOG.md
+++ b/packages/vue-start-server/CHANGELOG.md
@@ -1,5 +1,15 @@
# @tanstack/vue-start-server
+## 1.166.41
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/router-core@1.169.0
+ - @tanstack/vue-router@1.169.0
+ - @tanstack/start-client-core@1.167.22
+ - @tanstack/start-server-core@1.167.24
+
## 1.166.40
### Patch Changes
diff --git a/packages/vue-start-server/package.json b/packages/vue-start-server/package.json
index 179e844551..a07807f708 100644
--- a/packages/vue-start-server/package.json
+++ b/packages/vue-start-server/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start-server",
- "version": "1.166.40",
+ "version": "1.166.41",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-start/CHANGELOG.md b/packages/vue-start/CHANGELOG.md
index 8e4c12e4f0..499803b285 100644
--- a/packages/vue-start/CHANGELOG.md
+++ b/packages/vue-start/CHANGELOG.md
@@ -1,5 +1,17 @@
# @tanstack/vue-start
+## 1.167.46
+
+### Patch Changes
+
+- Updated dependencies [[`c992495`](https://github.com/TanStack/router/commit/c992495bf4010ff4c3597bb1f3b1ba02594e857e)]:
+ - @tanstack/vue-router@1.169.0
+ - @tanstack/start-client-core@1.167.22
+ - @tanstack/start-plugin-core@1.169.8
+ - @tanstack/start-server-core@1.167.24
+ - @tanstack/vue-start-client@1.166.40
+ - @tanstack/vue-start-server@1.166.41
+
## 1.167.45
### Patch Changes
diff --git a/packages/vue-start/package.json b/packages/vue-start/package.json
index bc813f8540..541a85bfa3 100644
--- a/packages/vue-start/package.json
+++ b/packages/vue-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start",
- "version": "1.167.45",
+ "version": "1.167.46",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 02707254e2..18b0661ecc 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -9964,7 +9964,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10001,7 +10001,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10041,7 +10041,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10081,7 +10081,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10115,7 +10115,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10146,7 +10146,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10183,7 +10183,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10226,7 +10226,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10266,7 +10266,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10303,7 +10303,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
compression:
specifier: ^1.8.0
@@ -10343,7 +10343,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10398,7 +10398,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10438,7 +10438,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10475,7 +10475,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10512,7 +10512,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
solid-js:
specifier: 1.9.12
@@ -10543,7 +10543,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10580,7 +10580,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10626,7 +10626,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10672,7 +10672,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10715,7 +10715,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10752,7 +10752,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10786,7 +10786,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10817,7 +10817,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10845,7 +10845,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10876,7 +10876,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10913,7 +10913,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10947,7 +10947,7 @@ importers:
examples/solid/quickstart-webpack-file-based:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11008,7 +11008,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11042,7 +11042,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11082,7 +11082,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11116,7 +11116,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11156,7 +11156,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11202,7 +11202,7 @@ importers:
examples/solid/start-basic:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11254,7 +11254,7 @@ importers:
specifier: ^7.0.0
version: 7.0.0(prisma@7.0.0(@types/react@19.2.9)(magicast@0.3.5)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(typescript@6.0.2))(typescript@6.0.2)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11303,7 +11303,7 @@ importers:
specifier: ^0.41.1
version: 0.41.1
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11343,7 +11343,7 @@ importers:
examples/solid/start-basic-cloudflare:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11383,7 +11383,7 @@ importers:
examples/solid/start-basic-netlify:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11420,7 +11420,7 @@ importers:
examples/solid/start-basic-nitro:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11463,7 +11463,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.99.0(solid-js@1.9.12))(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11506,7 +11506,7 @@ importers:
examples/solid/start-basic-static:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11558,7 +11558,7 @@ importers:
specifier: ^0.7.0
version: 0.7.14(csstype@3.2.3)(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11622,7 +11622,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11677,7 +11677,7 @@ importers:
examples/solid/start-counter:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11720,7 +11720,7 @@ importers:
specifier: ^0.7.0
version: 0.7.14(csstype@3.2.3)(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11760,7 +11760,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11803,7 +11803,7 @@ importers:
examples/solid/start-streaming-data-from-server-functions:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11840,7 +11840,7 @@ importers:
specifier: ^2.48.1
version: 2.48.1
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11877,7 +11877,7 @@ importers:
examples/solid/start-tailwind-v4:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11923,7 +11923,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11957,7 +11957,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.0(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)(@types/node@25.0.9)(esbuild@0.27.4)(jiti@2.6.1)(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1))
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11997,7 +11997,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.26
+ specifier: ^1.169.0
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
From 761fcc0c96dd96721b533a1fd9e2c972f222ef94 Mon Sep 17 00:00:00 2001
From: Dor Alagem
Date: Thu, 30 Apr 2026 22:46:30 +0300
Subject: [PATCH 022/551] fix(start-plugin-core): sort server fn manifest
entries for deterministic build output (#7287)
Co-authored-by: Dor Alagem
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Manuel Schiller
---
.changeset/silver-lions-sort.md | 5 +++++
.../server-fn-resolver-module.ts | 19 +++++++++++++------
2 files changed, 18 insertions(+), 6 deletions(-)
create mode 100644 .changeset/silver-lions-sort.md
diff --git a/.changeset/silver-lions-sort.md b/.changeset/silver-lions-sort.md
new file mode 100644
index 0000000000..a810d49090
--- /dev/null
+++ b/.changeset/silver-lions-sort.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/start-plugin-core': patch
+---
+
+Sort server function manifest entries by ID before emitting the resolver module. The `serverFnsById` map is populated in source-file scan order, which varies across machines and incremental builds, producing non-deterministic key ordering in the emitted `__tanstack-start-server-fn-resolver-*.mjs` artifact. Stable alphabetic sorting ensures reproducible builds, consistent content hashes, and clean `git diff` on committed artifacts.
diff --git a/packages/start-plugin-core/src/start-compiler/server-fn-resolver-module.ts b/packages/start-plugin-core/src/start-compiler/server-fn-resolver-module.ts
index 2635c38e07..8f872a48c1 100644
--- a/packages/start-plugin-core/src/start-compiler/server-fn-resolver-module.ts
+++ b/packages/start-plugin-core/src/start-compiler/server-fn-resolver-module.ts
@@ -16,12 +16,19 @@ interface GenerateServerFnResolverModuleOptions {
function getResolverManifestEntries(
serverFnsById: Record,
): Array {
- return Object.entries(serverFnsById).map(([id, fn]) => ({
- id,
- functionName: fn.functionName,
- extractedFilename: fn.extractedFilename,
- isClientReferenced: fn.isClientReferenced ?? true,
- }))
+ return (
+ Object.entries(serverFnsById)
+ // Sort entries by ID so that the generated manifest has a stable, deterministic order.
+ // Non-deterministic ordering causes the compiled hash of the same source file to change
+ // between builds, breaking content-addressed caching and reproducible deployments.
+ .sort(([a], [b]) => (a < b ? -1 : a > b ? 1 : 0))
+ .map(([id, fn]) => ({
+ id,
+ functionName: fn.functionName,
+ extractedFilename: fn.extractedFilename,
+ isClientReferenced: fn.isClientReferenced ?? true,
+ }))
+ )
}
function getClientReferencedCheck(
From e8ef12b0203e71ad740d0fd6f11419ba82842498 Mon Sep 17 00:00:00 2001
From: Franklin Shera
Date: Thu, 30 Apr 2026 22:50:39 +0300
Subject: [PATCH 023/551] docs: remove redundant code example from query
integration doc (#7298)
---
docs/router/integrations/query.md | 8 --------
1 file changed, 8 deletions(-)
diff --git a/docs/router/integrations/query.md b/docs/router/integrations/query.md
index 5cc1f48a07..243fcefdf4 100644
--- a/docs/router/integrations/query.md
+++ b/docs/router/integrations/query.md
@@ -132,14 +132,6 @@ export function getRouter() {
- `useSuspenseQuery`: runs on the server during SSR when its data is required and will be streamed to the client as it resolves.
- `useQuery`: does not execute on the server; it will fetch on the client after hydration. Use this for data that is not required for SSR.
-```tsx
-// Suspense: executes on server and streams
-const { data } = useSuspenseQuery(postsQuery)
-
-// Non-suspense: executes only on client
-const { data, isLoading } = useQuery(postsQuery)
-```
-
# React
From 77b7d1002d968d94b690efeab212f238239f3778 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Thu, 30 Apr 2026 20:03:22 +0000
Subject: [PATCH 024/551] ci: changeset release
---
.changeset/silver-lions-sort.md | 5 -----
examples/react/start-bare/package.json | 2 +-
examples/react/start-basic-auth/package.json | 2 +-
examples/react/start-basic-authjs/package.json | 2 +-
examples/react/start-basic-cloudflare/package.json | 2 +-
examples/react/start-basic-react-query/package.json | 2 +-
examples/react/start-basic-static/package.json | 2 +-
examples/react/start-basic/package.json | 2 +-
examples/react/start-bun/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-i18n-paraglide/package.json | 2 +-
examples/react/start-large/package.json | 2 +-
examples/react/start-material-ui/package.json | 2 +-
examples/react/start-rscs/package.json | 2 +-
.../package.json | 2 +-
examples/react/start-supabase-basic/package.json | 2 +-
examples/react/start-tailwind-v4/package.json | 2 +-
examples/react/start-trellaux/package.json | 2 +-
examples/react/start-workos/package.json | 2 +-
examples/solid/start-basic-auth/package.json | 2 +-
examples/solid/start-basic-authjs/package.json | 2 +-
examples/solid/start-basic-cloudflare/package.json | 2 +-
examples/solid/start-basic-netlify/package.json | 2 +-
examples/solid/start-basic-nitro/package.json | 2 +-
examples/solid/start-basic-solid-query/package.json | 2 +-
examples/solid/start-basic-static/package.json | 2 +-
examples/solid/start-basic/package.json | 2 +-
examples/solid/start-bun/package.json | 2 +-
examples/solid/start-convex-better-auth/package.json | 2 +-
examples/solid/start-counter/package.json | 2 +-
examples/solid/start-i18n-paraglide/package.json | 2 +-
examples/solid/start-large/package.json | 2 +-
.../package.json | 2 +-
examples/solid/start-supabase-basic/package.json | 2 +-
examples/solid/start-tailwind-v4/package.json | 2 +-
packages/react-start-rsc/CHANGELOG.md | 7 +++++++
packages/react-start-rsc/package.json | 2 +-
packages/react-start/CHANGELOG.md | 8 ++++++++
packages/react-start/package.json | 2 +-
packages/solid-start/CHANGELOG.md | 7 +++++++
packages/solid-start/package.json | 2 +-
packages/start-plugin-core/CHANGELOG.md | 6 ++++++
packages/start-plugin-core/package.json | 2 +-
packages/vue-start/CHANGELOG.md | 7 +++++++
packages/vue-start/package.json | 2 +-
47 files changed, 76 insertions(+), 46 deletions(-)
delete mode 100644 .changeset/silver-lions-sort.md
diff --git a/.changeset/silver-lions-sort.md b/.changeset/silver-lions-sort.md
deleted file mode 100644
index a810d49090..0000000000
--- a/.changeset/silver-lions-sort.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/start-plugin-core': patch
----
-
-Sort server function manifest entries by ID before emitting the resolver module. The `serverFnsById` map is populated in source-file scan order, which varies across machines and incremental builds, producing non-deterministic key ordering in the emitted `__tanstack-start-server-fn-resolver-*.mjs` artifact. Stable alphabetic sorting ensures reproducible builds, consistent content hashes, and clean `git diff` on committed artifacts.
diff --git a/examples/react/start-bare/package.json b/examples/react/start-bare/package.json
index 60f89c46f0..e9c9ae81f3 100644
--- a/examples/react/start-bare/package.json
+++ b/examples/react/start-bare/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"zod": "^3.24.2"
diff --git a/examples/react/start-basic-auth/package.json b/examples/react/start-basic-auth/package.json
index 1edee9804c..61b9604728 100644
--- a/examples/react/start-basic-auth/package.json
+++ b/examples/react/start-basic-auth/package.json
@@ -16,7 +16,7 @@
"@prisma/client": "^7.0.0",
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic-authjs/package.json b/examples/react/start-basic-authjs/package.json
index 78e354b325..1b93ab90b3 100644
--- a/examples/react/start-basic-authjs/package.json
+++ b/examples/react/start-basic-authjs/package.json
@@ -13,7 +13,7 @@
"@auth/core": "^0.41.1",
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"start-authjs": "^1.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-basic-cloudflare/package.json b/examples/react/start-basic-cloudflare/package.json
index cd80b173bc..a9d8a2eda5 100644
--- a/examples/react/start-basic-cloudflare/package.json
+++ b/examples/react/start-basic-cloudflare/package.json
@@ -14,7 +14,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
diff --git a/examples/react/start-basic-react-query/package.json b/examples/react/start-basic-react-query/package.json
index 198e73ad2a..dddc470139 100644
--- a/examples/react/start-basic-react-query/package.json
+++ b/examples/react/start-basic-react-query/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic-static/package.json b/examples/react/start-basic-static/package.json
index 24a4fc1c99..e19ce02255 100644
--- a/examples/react/start-basic-static/package.json
+++ b/examples/react/start-basic-static/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"@tanstack/start-static-server-functions": "^1.166.38",
"@vitejs/plugin-react": "^6.0.1",
"react": "^19.0.0",
diff --git a/examples/react/start-basic/package.json b/examples/react/start-basic/package.json
index c2492196a9..d257fccf28 100644
--- a/examples/react/start-basic/package.json
+++ b/examples/react/start-basic/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^2.6.0",
diff --git a/examples/react/start-bun/package.json b/examples/react/start-bun/package.json
index 20bfdc0548..47d7e504df 100644
--- a/examples/react/start-bun/package.json
+++ b/examples/react/start-bun/package.json
@@ -18,7 +18,7 @@
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"@tanstack/router-plugin": "^1.167.30",
"react": "^19.1.1",
"react-dom": "^19.1.1",
diff --git a/examples/react/start-clerk-basic/package.json b/examples/react/start-clerk-basic/package.json
index 2266c8b143..7cf29cb11b 100644
--- a/examples/react/start-clerk-basic/package.json
+++ b/examples/react/start-clerk-basic/package.json
@@ -13,7 +13,7 @@
"@clerk/tanstack-react-start": "^0.27.14",
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"@vitejs/plugin-react": "^6.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-convex-trellaux/package.json b/examples/react/start-convex-trellaux/package.json
index 34d040ac8e..422ab942d2 100644
--- a/examples/react/start-convex-trellaux/package.json
+++ b/examples/react/start-convex-trellaux/package.json
@@ -18,7 +18,7 @@
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"concurrently": "^8.2.2",
"convex": "^1.19.0",
"ky": "^1.7.4",
diff --git a/examples/react/start-counter/package.json b/examples/react/start-counter/package.json
index 5d28c66326..d608a200fe 100644
--- a/examples/react/start-counter/package.json
+++ b/examples/react/start-counter/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
diff --git a/examples/react/start-i18n-paraglide/package.json b/examples/react/start-i18n-paraglide/package.json
index 741a6ed3e7..9eed47fdca 100644
--- a/examples/react/start-i18n-paraglide/package.json
+++ b/examples/react/start-i18n-paraglide/package.json
@@ -12,7 +12,7 @@
"@tanstack/react-devtools": "^0.7.0",
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"react": "^19.1.1",
"react-dom": "^19.1.1"
},
diff --git a/examples/react/start-large/package.json b/examples/react/start-large/package.json
index f0d9e822c6..ae774ab0e5 100644
--- a/examples/react/start-large/package.json
+++ b/examples/react/start-large/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-material-ui/package.json b/examples/react/start-material-ui/package.json
index a4cc550b99..cb83780e13 100644
--- a/examples/react/start-material-ui/package.json
+++ b/examples/react/start-material-ui/package.json
@@ -16,7 +16,7 @@
"@fontsource-variable/roboto": "5.2.5",
"@mui/material": "6.4.7",
"@tanstack/react-router": "^1.169.0",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-rscs/package.json b/examples/react/start-rscs/package.json
index 84d1ffb5e0..2a993c670f 100644
--- a/examples/react/start-rscs/package.json
+++ b/examples/react/start-rscs/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"dexie": "^4.0.10",
"react": "^19.2.0",
"react-dom": "^19.2.0",
diff --git a/examples/react/start-streaming-data-from-server-functions/package.json b/examples/react/start-streaming-data-from-server-functions/package.json
index de81cf7b49..3ae213cd76 100644
--- a/examples/react/start-streaming-data-from-server-functions/package.json
+++ b/examples/react/start-streaming-data-from-server-functions/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"zod": "^3.24.2"
diff --git a/examples/react/start-supabase-basic/package.json b/examples/react/start-supabase-basic/package.json
index b878458d93..419c32e64e 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.48.1",
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/start-tailwind-v4/package.json b/examples/react/start-tailwind-v4/package.json
index 6ece2f862e..85f409b2ad 100644
--- a/examples/react/start-tailwind-v4/package.json
+++ b/examples/react/start-tailwind-v4/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^2.6.0",
diff --git a/examples/react/start-trellaux/package.json b/examples/react/start-trellaux/package.json
index e4788f5352..099a850627 100644
--- a/examples/react/start-trellaux/package.json
+++ b/examples/react/start-trellaux/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"ky": "^1.7.4",
"msw": "^2.7.0",
"react": "^19.0.0",
diff --git a/examples/react/start-workos/package.json b/examples/react/start-workos/package.json
index 98839266a1..358e1970ff 100644
--- a/examples/react/start-workos/package.json
+++ b/examples/react/start-workos/package.json
@@ -16,7 +16,7 @@
"@radix-ui/themes": "^3.3.0",
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.53",
+ "@tanstack/react-start": "^1.167.54",
"@workos/authkit-tanstack-react-start": "^0.5.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
diff --git a/examples/solid/start-basic-auth/package.json b/examples/solid/start-basic-auth/package.json
index b8550f6a95..d4ed1881e0 100644
--- a/examples/solid/start-basic-auth/package.json
+++ b/examples/solid/start-basic-auth/package.json
@@ -16,7 +16,7 @@
"@prisma/client": "^7.0.0",
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-authjs/package.json b/examples/solid/start-basic-authjs/package.json
index 179fd21372..8a51603e64 100644
--- a/examples/solid/start-basic-authjs/package.json
+++ b/examples/solid/start-basic-authjs/package.json
@@ -13,7 +13,7 @@
"@auth/core": "^0.41.1",
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"start-authjs": "^1.0.0",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-cloudflare/package.json b/examples/solid/start-basic-cloudflare/package.json
index 132f9cc117..131acf8d6c 100644
--- a/examples/solid/start-basic-cloudflare/package.json
+++ b/examples/solid/start-basic-cloudflare/package.json
@@ -14,7 +14,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-netlify/package.json b/examples/solid/start-basic-netlify/package.json
index b758fa9d0c..7d4d20af2b 100644
--- a/examples/solid/start-basic-netlify/package.json
+++ b/examples/solid/start-basic-netlify/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-nitro/package.json b/examples/solid/start-basic-nitro/package.json
index a3f52c7590..88e997cebb 100644
--- a/examples/solid/start-basic-nitro/package.json
+++ b/examples/solid/start-basic-nitro/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-solid-query/package.json b/examples/solid/start-basic-solid-query/package.json
index dc8f21dd75..ab0b92e9e4 100644
--- a/examples/solid/start-basic-solid-query/package.json
+++ b/examples/solid/start-basic-solid-query/package.json
@@ -15,7 +15,7 @@
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-static/package.json b/examples/solid/start-basic-static/package.json
index a11895b2e4..f56dfe5071 100644
--- a/examples/solid/start-basic-static/package.json
+++ b/examples/solid/start-basic-static/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"@tanstack/start-static-server-functions": "^1.166.38",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/start-basic/package.json b/examples/solid/start-basic/package.json
index 59ceae8f3e..900cd7f0a3 100644
--- a/examples/solid/start-basic/package.json
+++ b/examples/solid/start-basic/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-bun/package.json b/examples/solid/start-bun/package.json
index cfbaa5ff7a..b92b273e1f 100644
--- a/examples/solid/start-bun/package.json
+++ b/examples/solid/start-bun/package.json
@@ -18,7 +18,7 @@
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"@tanstack/router-plugin": "^1.167.30",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
diff --git a/examples/solid/start-convex-better-auth/package.json b/examples/solid/start-convex-better-auth/package.json
index 06466a14df..51c197dcd3 100644
--- a/examples/solid/start-convex-better-auth/package.json
+++ b/examples/solid/start-convex-better-auth/package.json
@@ -15,7 +15,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"better-auth": "^1.3.27",
"clsx": "^2.1.1",
"convex": "^1.28.2",
diff --git a/examples/solid/start-counter/package.json b/examples/solid/start-counter/package.json
index 04c02d4b64..dee9c0e1e5 100644
--- a/examples/solid/start-counter/package.json
+++ b/examples/solid/start-counter/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-i18n-paraglide/package.json b/examples/solid/start-i18n-paraglide/package.json
index f6e52fa98c..78d252cb9a 100644
--- a/examples/solid/start-i18n-paraglide/package.json
+++ b/examples/solid/start-i18n-paraglide/package.json
@@ -12,7 +12,7 @@
"@tanstack/solid-devtools": "^0.7.0",
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-large/package.json b/examples/solid/start-large/package.json
index e48d113927..9d867ee9fe 100644
--- a/examples/solid/start-large/package.json
+++ b/examples/solid/start-large/package.json
@@ -15,7 +15,7 @@
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-streaming-data-from-server-functions/package.json b/examples/solid/start-streaming-data-from-server-functions/package.json
index 3d34830cdf..27509faa5a 100644
--- a/examples/solid/start-streaming-data-from-server-functions/package.json
+++ b/examples/solid/start-streaming-data-from-server-functions/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"solid-js": "^1.9.10",
"zod": "^3.24.2"
},
diff --git a/examples/solid/start-supabase-basic/package.json b/examples/solid/start-supabase-basic/package.json
index 2cc662c944..0ab800bf36 100644
--- a/examples/solid/start-supabase-basic/package.json
+++ b/examples/solid/start-supabase-basic/package.json
@@ -16,7 +16,7 @@
"@supabase/supabase-js": "^2.48.1",
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"solid-js": "^1.9.9",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/start-tailwind-v4/package.json b/examples/solid/start-tailwind-v4/package.json
index a1acb0ad26..ac7368a71f 100644
--- a/examples/solid/start-tailwind-v4/package.json
+++ b/examples/solid/start-tailwind-v4/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.50",
+ "@tanstack/solid-start": "^1.167.51",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0",
"zod": "^3.24.2"
diff --git a/packages/react-start-rsc/CHANGELOG.md b/packages/react-start-rsc/CHANGELOG.md
index 2117417743..1b67b74898 100644
--- a/packages/react-start-rsc/CHANGELOG.md
+++ b/packages/react-start-rsc/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/react-start-rsc
+## 0.0.33
+
+### Patch Changes
+
+- Updated dependencies [[`761fcc0`](https://github.com/TanStack/router/commit/761fcc0c96dd96721b533a1fd9e2c972f222ef94)]:
+ - @tanstack/start-plugin-core@1.169.9
+
## 0.0.32
### Patch Changes
diff --git a/packages/react-start-rsc/package.json b/packages/react-start-rsc/package.json
index ae7a6eb99c..0f65127653 100644
--- a/packages/react-start-rsc/package.json
+++ b/packages/react-start-rsc/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start-rsc",
- "version": "0.0.32",
+ "version": "0.0.33",
"description": "React Server Components support for TanStack Start",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start/CHANGELOG.md b/packages/react-start/CHANGELOG.md
index aa2f6fe39e..741dedebf7 100644
--- a/packages/react-start/CHANGELOG.md
+++ b/packages/react-start/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/react-start
+## 1.167.54
+
+### Patch Changes
+
+- Updated dependencies [[`761fcc0`](https://github.com/TanStack/router/commit/761fcc0c96dd96721b533a1fd9e2c972f222ef94)]:
+ - @tanstack/start-plugin-core@1.169.9
+ - @tanstack/react-start-rsc@0.0.33
+
## 1.167.53
### Patch Changes
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index c03d741d0c..dec55c8d8e 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.167.53",
+ "version": "1.167.54",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start/CHANGELOG.md b/packages/solid-start/CHANGELOG.md
index cfa857a27b..499d10c6ca 100644
--- a/packages/solid-start/CHANGELOG.md
+++ b/packages/solid-start/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/solid-start
+## 1.167.51
+
+### Patch Changes
+
+- Updated dependencies [[`761fcc0`](https://github.com/TanStack/router/commit/761fcc0c96dd96721b533a1fd9e2c972f222ef94)]:
+ - @tanstack/start-plugin-core@1.169.9
+
## 1.167.50
### Patch Changes
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index 8c54823d34..bba33e5b65 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.167.50",
+ "version": "1.167.51",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-plugin-core/CHANGELOG.md b/packages/start-plugin-core/CHANGELOG.md
index cc182d4a52..9831f13cb5 100644
--- a/packages/start-plugin-core/CHANGELOG.md
+++ b/packages/start-plugin-core/CHANGELOG.md
@@ -1,5 +1,11 @@
# @tanstack/start-plugin-core
+## 1.169.9
+
+### Patch Changes
+
+- Sort server function manifest entries by ID before emitting the resolver module. The `serverFnsById` map is populated in source-file scan order, which varies across machines and incremental builds, producing non-deterministic key ordering in the emitted `__tanstack-start-server-fn-resolver-*.mjs` artifact. Stable alphabetic sorting ensures reproducible builds, consistent content hashes, and clean `git diff` on committed artifacts. ([#7287](https://github.com/TanStack/router/pull/7287))
+
## 1.169.8
### Patch Changes
diff --git a/packages/start-plugin-core/package.json b/packages/start-plugin-core/package.json
index 3711d0212c..80d4cbd91c 100644
--- a/packages/start-plugin-core/package.json
+++ b/packages/start-plugin-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-plugin-core",
- "version": "1.169.8",
+ "version": "1.169.9",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-start/CHANGELOG.md b/packages/vue-start/CHANGELOG.md
index 499803b285..46607d552c 100644
--- a/packages/vue-start/CHANGELOG.md
+++ b/packages/vue-start/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/vue-start
+## 1.167.47
+
+### Patch Changes
+
+- Updated dependencies [[`761fcc0`](https://github.com/TanStack/router/commit/761fcc0c96dd96721b533a1fd9e2c972f222ef94)]:
+ - @tanstack/start-plugin-core@1.169.9
+
## 1.167.46
### Patch Changes
diff --git a/packages/vue-start/package.json b/packages/vue-start/package.json
index 541a85bfa3..2816514cde 100644
--- a/packages/vue-start/package.json
+++ b/packages/vue-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start",
- "version": "1.167.46",
+ "version": "1.167.47",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
From c4256c2c857f392d2031cf87821e4c36a92d0382 Mon Sep 17 00:00:00 2001
From: Manuel Schiller
Date: Thu, 30 Apr 2026 22:37:53 +0200
Subject: [PATCH 025/551] =?UTF-8?q?fix:=20Ignore=20fully=20type-only=20imp?=
=?UTF-8?q?orts=20and=20re-exports=20when=20collecting=20im=E2=80=A6=20(#7?=
=?UTF-8?q?305)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
---
.changeset/quiet-type-only-imports.md | 5 +++
.../react/guide/import-protection.md | 18 +++++++++
.../import-protection/src/routes/__root.tsx | 1 +
.../src/routes/type-only-protected-import.tsx | 32 +++++++++++++++
.../src/violations/type-only.server.ts | 5 +++
.../tests/import-protection.spec.ts | 37 +++++++++++++++++
.../tests/violations.setup.ts | 1 +
.../src/import-protection/analysis.ts | 40 ++++++++++++++++---
.../tests/importProtection/utils.test.ts | 32 +++++++++++++++
9 files changed, 165 insertions(+), 6 deletions(-)
create mode 100644 .changeset/quiet-type-only-imports.md
create mode 100644 e2e/react-start/import-protection/src/routes/type-only-protected-import.tsx
create mode 100644 e2e/react-start/import-protection/src/violations/type-only.server.ts
diff --git a/.changeset/quiet-type-only-imports.md b/.changeset/quiet-type-only-imports.md
new file mode 100644
index 0000000000..8121f7bcf8
--- /dev/null
+++ b/.changeset/quiet-type-only-imports.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/start-plugin-core': patch
+---
+
+Ignore fully type-only imports and re-exports when collecting import-protection sources so type-only references to protected modules do not trigger violations.
diff --git a/docs/start/framework/react/guide/import-protection.md b/docs/start/framework/react/guide/import-protection.md
index 53b5ec191d..677b26fac8 100644
--- a/docs/start/framework/react/guide/import-protection.md
+++ b/docs/start/framework/react/guide/import-protection.md
@@ -42,6 +42,24 @@ By default, files inside `node_modules` are excluded from resolved-target deny c
These defaults mean you can use the `.server.ts` / `.client.ts` naming convention to restrict files to a single environment without any configuration. To also deny entire directories (e.g. `server/` or `client/`), add them via `files` in your [deny rules configuration](#configuring-deny-rules) — for example `files: ['**/*.server.*', '**/server/**']` for the client environment.
+## Type-Only Imports
+
+Type-only imports and re-exports are ignored by import protection because they are erased from the runtime bundle and cannot leak environment-specific code.
+
+```ts
+import type { User } from './db.server'
+import { type RequestHandler } from '@tanstack/react-start/server'
+
+export type { User } from './db.server'
+```
+
+Mixed imports still count when they include at least one runtime value. Split the type and value imports if only the type is safe to cross the environment boundary.
+
+```ts
+// This is still checked because `getUsers` is a runtime value.
+import { type User, getUsers } from './db.server'
+```
+
## File Markers
You can explicitly mark a module as server-only or client-only by adding a side-effect import at the top of the file:
diff --git a/e2e/react-start/import-protection/src/routes/__root.tsx b/e2e/react-start/import-protection/src/routes/__root.tsx
index 0b6dd5245d..d0d872942b 100644
--- a/e2e/react-start/import-protection/src/routes/__root.tsx
+++ b/e2e/react-start/import-protection/src/routes/__root.tsx
@@ -30,6 +30,7 @@ const navLinks = linkOptions([
{ to: '/noexternal-client-pkg', label: 'noExternal Client Pkg' },
{ to: '/alias-path-leak', label: 'Alias Path Leak' },
{ to: '/non-alias-namespace-leak', label: 'Non-Alias Namespace Leak' },
+ { to: '/type-only-protected-import', label: 'Type-Only Protected Import' },
])
function RootComponent() {
diff --git a/e2e/react-start/import-protection/src/routes/type-only-protected-import.tsx b/e2e/react-start/import-protection/src/routes/type-only-protected-import.tsx
new file mode 100644
index 0000000000..8f20802637
--- /dev/null
+++ b/e2e/react-start/import-protection/src/routes/type-only-protected-import.tsx
@@ -0,0 +1,32 @@
+import { createFileRoute } from '@tanstack/react-router'
+import { type RequestHandler } from '@tanstack/react-start/server'
+import type { TypeOnlySecret } from '../violations/type-only.server'
+
+type TypeOnlyStatus = TypeOnlySecret & {
+ requestHandler?: RequestHandler>
+}
+
+const status: TypeOnlyStatus = {
+ message: 'type-only protected imports are safe',
+}
+
+function getStatusMessage(): string {
+ return status.message
+}
+
+export const Route = createFileRoute('/type-only-protected-import')({
+ component: TypeOnlyProtectedImport,
+})
+
+function TypeOnlyProtectedImport() {
+ return (
+
+
+ Type-Only Protected Import
+
+
+ {getStatusMessage()}
+
+
+ )
+}
diff --git a/e2e/react-start/import-protection/src/violations/type-only.server.ts b/e2e/react-start/import-protection/src/violations/type-only.server.ts
new file mode 100644
index 0000000000..e2fd08c4b6
--- /dev/null
+++ b/e2e/react-start/import-protection/src/violations/type-only.server.ts
@@ -0,0 +1,5 @@
+export type TypeOnlySecret = {
+ message: string
+}
+
+export const runtimeSecret = 'this value must never be imported by the client'
diff --git a/e2e/react-start/import-protection/tests/import-protection.spec.ts b/e2e/react-start/import-protection/tests/import-protection.spec.ts
index 8c43fa8e6d..cdc9aea32c 100644
--- a/e2e/react-start/import-protection/tests/import-protection.spec.ts
+++ b/e2e/react-start/import-protection/tests/import-protection.spec.ts
@@ -103,6 +103,24 @@ function findBarrelMarkerHits(violations: Array): Array {
)
}
+function findTypeOnlyProtectedImportHits(
+ violations: Array,
+): Array {
+ return violations.filter(
+ (v) =>
+ v.envType === 'client' &&
+ (v.importer.includes('type-only-protected-import') ||
+ v.importer.includes('type-only.server') ||
+ v.specifier.includes('type-only.server') ||
+ v.resolved?.includes('type-only.server') ||
+ v.trace.some(
+ (s) =>
+ s.file.includes('type-only-protected-import') ||
+ s.file.includes('type-only.server'),
+ )),
+ )
+}
+
test.use({
// The mock proxy returns undefined-ish values, which may cause
// React rendering warnings — whitelist those
@@ -883,6 +901,25 @@ test('non-alias-namespace-leak does not expose real secret after hydration', asy
).not.toContainText('super-secret-server-key-12345')
})
+test('type-only protected import route loads in mock mode', async ({
+ page,
+}) => {
+ await expectRouteHeading(
+ page,
+ '/type-only-protected-import',
+ 'type-only-protected-import-heading',
+ 'Type-Only Protected Import',
+ )
+})
+
+for (const mode of ['build', 'dev', 'dev.warm'] as const) {
+ test(`type-only protected imports do not trigger violations in ${mode}`, async () => {
+ const violations = await readViolations(mode)
+
+ expect(findTypeOnlyProtectedImportHits(violations)).toEqual([])
+ })
+}
+
for (const mode of ['build', 'dev'] as const) {
test(`no false positive for noExternal react-tweet (.client entry) in ${mode}`, async () => {
const violations = await readViolations(mode)
diff --git a/e2e/react-start/import-protection/tests/violations.setup.ts b/e2e/react-start/import-protection/tests/violations.setup.ts
index 1d9adf355f..bc444a857f 100644
--- a/e2e/react-start/import-protection/tests/violations.setup.ts
+++ b/e2e/react-start/import-protection/tests/violations.setup.ts
@@ -94,6 +94,7 @@ const routeDefinitions = [
['/alias-path-leak', 'alias-path-leak-heading'],
['/alias-path-namespace-leak', 'alias-path-namespace-leak-heading'],
['/non-alias-namespace-leak', 'non-alias-namespace-leak-heading'],
+ ['/type-only-protected-import', 'type-only-protected-import-heading'],
] as const
const routes = routeDefinitions.map(([route]) => route)
diff --git a/packages/start-plugin-core/src/import-protection/analysis.ts b/packages/start-plugin-core/src/import-protection/analysis.ts
index ec9e9335f4..47ed9a2603 100644
--- a/packages/start-plugin-core/src/import-protection/analysis.ts
+++ b/packages/start-plugin-core/src/import-protection/analysis.ts
@@ -53,6 +53,30 @@ function getStringLiteralValueStart(node: t.StringLiteral): number {
return node.start
}
+function isTypeOnlyImportDeclaration(node: t.ImportDeclaration): boolean {
+ if (node.importKind === 'type') return true
+ if (node.specifiers.length === 0) return false
+
+ return node.specifiers.every(
+ (specifier) =>
+ t.isImportSpecifier(specifier) && specifier.importKind === 'type',
+ )
+}
+
+function isTypeOnlyExportNamedDeclaration(
+ node: t.ExportNamedDeclaration,
+): boolean {
+ if (node.exportKind === 'type') return true
+ if (!node.source || node.declaration || node.specifiers.length === 0) {
+ return false
+ }
+
+ return node.specifiers.every(
+ (specifier) =>
+ t.isExportSpecifier(specifier) && specifier.exportKind === 'type',
+ )
+}
+
function collectIdentifiersFromPattern(
pattern: t.LVal,
add: (name: string) => void,
@@ -149,8 +173,9 @@ function buildImportAnalysis(result: TransformResult): ImportAnalysis {
const visit = (node: t.Node): void => {
if (t.isImportDeclaration(node)) {
- addSpecifierLocation(node.source)
- if (node.importKind !== 'type') {
+ const isTypeOnly = isTypeOnlyImportDeclaration(node)
+ if (!isTypeOnly) {
+ addSpecifierLocation(node.source)
const source = node.source.value
const bindingInfo = getBindingInfo(source)
for (const specifier of node.specifiers) {
@@ -177,11 +202,12 @@ function buildImportAnalysis(result: TransformResult): ImportAnalysis {
}
}
} else if (t.isExportNamedDeclaration(node)) {
- if (node.source && t.isStringLiteral(node.source)) {
+ const isTypeOnly = isTypeOnlyExportNamedDeclaration(node)
+ if (!isTypeOnly && node.source && t.isStringLiteral(node.source)) {
addSpecifierLocation(node.source)
}
- if (node.exportKind !== 'type' && node.source?.value) {
+ if (!isTypeOnly && node.source?.value) {
const source = node.source.value
for (const specifier of node.specifiers) {
if (!t.isExportSpecifier(specifier)) continue
@@ -190,7 +216,7 @@ function buildImportAnalysis(result: TransformResult): ImportAnalysis {
}
}
- if (node.exportKind !== 'type') {
+ if (!isTypeOnly) {
if (node.declaration) {
const decl = node.declaration
if (t.isFunctionDeclaration(decl) || t.isClassDeclaration(decl)) {
@@ -210,7 +236,9 @@ function buildImportAnalysis(result: TransformResult): ImportAnalysis {
}
}
} else if (t.isExportAllDeclaration(node)) {
- addSpecifierLocation(node.source)
+ if (node.exportKind !== 'type') {
+ addSpecifierLocation(node.source)
+ }
} else if (t.isImportExpression(node)) {
if (t.isStringLiteral(node.source)) {
addSpecifierLocation(node.source)
diff --git a/packages/start-plugin-core/tests/importProtection/utils.test.ts b/packages/start-plugin-core/tests/importProtection/utils.test.ts
index e6b60ce9d3..9d354d1a44 100644
--- a/packages/start-plugin-core/tests/importProtection/utils.test.ts
+++ b/packages/start-plugin-core/tests/importProtection/utils.test.ts
@@ -257,11 +257,43 @@ describe('getImportSources', () => {
expect(getImportSources(code)).toEqual(['bar', 'qux'])
})
+ test('skips type-only static import sources', () => {
+ const code = [
+ `import type { Foo } from './foo.server'`,
+ `import { type Bar } from './bar.server'`,
+ ].join('\n')
+ expect(getImportSources(code)).toEqual([])
+ })
+
+ test('keeps mixed type and value static import sources', () => {
+ const code = `import { type Foo, bar } from './mixed.server'`
+ expect(getImportSources(code)).toEqual(['./mixed.server'])
+ })
+
+ test('keeps side-effect import sources', () => {
+ const code = `import './setup.server'`
+ expect(getImportSources(code)).toEqual(['./setup.server'])
+ })
+
test('extracts re-export sources', () => {
const code = `export { a } from './mod'\nexport * from "./other"`
expect(getImportSources(code)).toEqual(['./mod', './other'])
})
+ test('skips type-only re-export sources', () => {
+ const code = [
+ `export type { Foo } from './foo.server'`,
+ `export { type Bar } from './bar.server'`,
+ `export type * from './baz.server'`,
+ ].join('\n')
+ expect(getImportSources(code)).toEqual([])
+ })
+
+ test('keeps mixed type and value re-export sources', () => {
+ const code = `export { type Foo, bar } from './mixed.server'`
+ expect(getImportSources(code)).toEqual(['./mixed.server'])
+ })
+
test('extracts dynamic import sources', () => {
const code = `const m = import('./lazy')\nconst n = import("./lazy2")`
expect(getImportSources(code)).toEqual(['./lazy', './lazy2'])
From cf5eb2f16816f782a40f592ec35a5faf0815f068 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Thu, 30 Apr 2026 20:46:43 +0000
Subject: [PATCH 026/551] ci: changeset release
---
.changeset/quiet-type-only-imports.md | 5 -----
examples/react/start-bare/package.json | 2 +-
examples/react/start-basic-auth/package.json | 2 +-
examples/react/start-basic-authjs/package.json | 2 +-
examples/react/start-basic-cloudflare/package.json | 2 +-
examples/react/start-basic-react-query/package.json | 2 +-
examples/react/start-basic-static/package.json | 2 +-
examples/react/start-basic/package.json | 2 +-
examples/react/start-bun/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-i18n-paraglide/package.json | 2 +-
examples/react/start-large/package.json | 2 +-
examples/react/start-material-ui/package.json | 2 +-
examples/react/start-rscs/package.json | 2 +-
.../package.json | 2 +-
examples/react/start-supabase-basic/package.json | 2 +-
examples/react/start-tailwind-v4/package.json | 2 +-
examples/react/start-trellaux/package.json | 2 +-
examples/react/start-workos/package.json | 2 +-
examples/solid/start-basic-auth/package.json | 2 +-
examples/solid/start-basic-authjs/package.json | 2 +-
examples/solid/start-basic-cloudflare/package.json | 2 +-
examples/solid/start-basic-netlify/package.json | 2 +-
examples/solid/start-basic-nitro/package.json | 2 +-
examples/solid/start-basic-solid-query/package.json | 2 +-
examples/solid/start-basic-static/package.json | 2 +-
examples/solid/start-basic/package.json | 2 +-
examples/solid/start-bun/package.json | 2 +-
examples/solid/start-convex-better-auth/package.json | 2 +-
examples/solid/start-counter/package.json | 2 +-
examples/solid/start-i18n-paraglide/package.json | 2 +-
examples/solid/start-large/package.json | 2 +-
.../package.json | 2 +-
examples/solid/start-supabase-basic/package.json | 2 +-
examples/solid/start-tailwind-v4/package.json | 2 +-
packages/react-start-rsc/CHANGELOG.md | 7 +++++++
packages/react-start-rsc/package.json | 2 +-
packages/react-start/CHANGELOG.md | 8 ++++++++
packages/react-start/package.json | 2 +-
packages/solid-start/CHANGELOG.md | 7 +++++++
packages/solid-start/package.json | 2 +-
packages/start-plugin-core/CHANGELOG.md | 6 ++++++
packages/start-plugin-core/package.json | 2 +-
packages/vue-start/CHANGELOG.md | 7 +++++++
packages/vue-start/package.json | 2 +-
47 files changed, 76 insertions(+), 46 deletions(-)
delete mode 100644 .changeset/quiet-type-only-imports.md
diff --git a/.changeset/quiet-type-only-imports.md b/.changeset/quiet-type-only-imports.md
deleted file mode 100644
index 8121f7bcf8..0000000000
--- a/.changeset/quiet-type-only-imports.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/start-plugin-core': patch
----
-
-Ignore fully type-only imports and re-exports when collecting import-protection sources so type-only references to protected modules do not trigger violations.
diff --git a/examples/react/start-bare/package.json b/examples/react/start-bare/package.json
index e9c9ae81f3..0326bf92ca 100644
--- a/examples/react/start-bare/package.json
+++ b/examples/react/start-bare/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"zod": "^3.24.2"
diff --git a/examples/react/start-basic-auth/package.json b/examples/react/start-basic-auth/package.json
index 61b9604728..553a9ca9c2 100644
--- a/examples/react/start-basic-auth/package.json
+++ b/examples/react/start-basic-auth/package.json
@@ -16,7 +16,7 @@
"@prisma/client": "^7.0.0",
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic-authjs/package.json b/examples/react/start-basic-authjs/package.json
index 1b93ab90b3..794f7ded39 100644
--- a/examples/react/start-basic-authjs/package.json
+++ b/examples/react/start-basic-authjs/package.json
@@ -13,7 +13,7 @@
"@auth/core": "^0.41.1",
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"start-authjs": "^1.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-basic-cloudflare/package.json b/examples/react/start-basic-cloudflare/package.json
index a9d8a2eda5..cb15b78154 100644
--- a/examples/react/start-basic-cloudflare/package.json
+++ b/examples/react/start-basic-cloudflare/package.json
@@ -14,7 +14,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
diff --git a/examples/react/start-basic-react-query/package.json b/examples/react/start-basic-react-query/package.json
index dddc470139..1b5a7eb79a 100644
--- a/examples/react/start-basic-react-query/package.json
+++ b/examples/react/start-basic-react-query/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic-static/package.json b/examples/react/start-basic-static/package.json
index e19ce02255..8e1381bbd5 100644
--- a/examples/react/start-basic-static/package.json
+++ b/examples/react/start-basic-static/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"@tanstack/start-static-server-functions": "^1.166.38",
"@vitejs/plugin-react": "^6.0.1",
"react": "^19.0.0",
diff --git a/examples/react/start-basic/package.json b/examples/react/start-basic/package.json
index d257fccf28..38e43f9fa3 100644
--- a/examples/react/start-basic/package.json
+++ b/examples/react/start-basic/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^2.6.0",
diff --git a/examples/react/start-bun/package.json b/examples/react/start-bun/package.json
index 47d7e504df..f1bd64911e 100644
--- a/examples/react/start-bun/package.json
+++ b/examples/react/start-bun/package.json
@@ -18,7 +18,7 @@
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"@tanstack/router-plugin": "^1.167.30",
"react": "^19.1.1",
"react-dom": "^19.1.1",
diff --git a/examples/react/start-clerk-basic/package.json b/examples/react/start-clerk-basic/package.json
index 7cf29cb11b..64b9d697e4 100644
--- a/examples/react/start-clerk-basic/package.json
+++ b/examples/react/start-clerk-basic/package.json
@@ -13,7 +13,7 @@
"@clerk/tanstack-react-start": "^0.27.14",
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"@vitejs/plugin-react": "^6.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-convex-trellaux/package.json b/examples/react/start-convex-trellaux/package.json
index 422ab942d2..5f80dc1058 100644
--- a/examples/react/start-convex-trellaux/package.json
+++ b/examples/react/start-convex-trellaux/package.json
@@ -18,7 +18,7 @@
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"concurrently": "^8.2.2",
"convex": "^1.19.0",
"ky": "^1.7.4",
diff --git a/examples/react/start-counter/package.json b/examples/react/start-counter/package.json
index d608a200fe..db84e103d2 100644
--- a/examples/react/start-counter/package.json
+++ b/examples/react/start-counter/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
diff --git a/examples/react/start-i18n-paraglide/package.json b/examples/react/start-i18n-paraglide/package.json
index 9eed47fdca..31ff076bce 100644
--- a/examples/react/start-i18n-paraglide/package.json
+++ b/examples/react/start-i18n-paraglide/package.json
@@ -12,7 +12,7 @@
"@tanstack/react-devtools": "^0.7.0",
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"react": "^19.1.1",
"react-dom": "^19.1.1"
},
diff --git a/examples/react/start-large/package.json b/examples/react/start-large/package.json
index ae774ab0e5..207ce7e6fb 100644
--- a/examples/react/start-large/package.json
+++ b/examples/react/start-large/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-material-ui/package.json b/examples/react/start-material-ui/package.json
index cb83780e13..051d2cd86c 100644
--- a/examples/react/start-material-ui/package.json
+++ b/examples/react/start-material-ui/package.json
@@ -16,7 +16,7 @@
"@fontsource-variable/roboto": "5.2.5",
"@mui/material": "6.4.7",
"@tanstack/react-router": "^1.169.0",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-rscs/package.json b/examples/react/start-rscs/package.json
index 2a993c670f..8995c89613 100644
--- a/examples/react/start-rscs/package.json
+++ b/examples/react/start-rscs/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"dexie": "^4.0.10",
"react": "^19.2.0",
"react-dom": "^19.2.0",
diff --git a/examples/react/start-streaming-data-from-server-functions/package.json b/examples/react/start-streaming-data-from-server-functions/package.json
index 3ae213cd76..76599cc99a 100644
--- a/examples/react/start-streaming-data-from-server-functions/package.json
+++ b/examples/react/start-streaming-data-from-server-functions/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"zod": "^3.24.2"
diff --git a/examples/react/start-supabase-basic/package.json b/examples/react/start-supabase-basic/package.json
index 419c32e64e..a28d8fd74d 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.48.1",
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1"
diff --git a/examples/react/start-tailwind-v4/package.json b/examples/react/start-tailwind-v4/package.json
index 85f409b2ad..067f2e7bed 100644
--- a/examples/react/start-tailwind-v4/package.json
+++ b/examples/react/start-tailwind-v4/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^2.6.0",
diff --git a/examples/react/start-trellaux/package.json b/examples/react/start-trellaux/package.json
index 099a850627..a6ad13e9ad 100644
--- a/examples/react/start-trellaux/package.json
+++ b/examples/react/start-trellaux/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.12",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"ky": "^1.7.4",
"msw": "^2.7.0",
"react": "^19.0.0",
diff --git a/examples/react/start-workos/package.json b/examples/react/start-workos/package.json
index 358e1970ff..df645fc8c6 100644
--- a/examples/react/start-workos/package.json
+++ b/examples/react/start-workos/package.json
@@ -16,7 +16,7 @@
"@radix-ui/themes": "^3.3.0",
"@tanstack/react-router": "^1.169.0",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.54",
+ "@tanstack/react-start": "^1.167.55",
"@workos/authkit-tanstack-react-start": "^0.5.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
diff --git a/examples/solid/start-basic-auth/package.json b/examples/solid/start-basic-auth/package.json
index d4ed1881e0..5642282ac4 100644
--- a/examples/solid/start-basic-auth/package.json
+++ b/examples/solid/start-basic-auth/package.json
@@ -16,7 +16,7 @@
"@prisma/client": "^7.0.0",
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-authjs/package.json b/examples/solid/start-basic-authjs/package.json
index 8a51603e64..653e8dac0f 100644
--- a/examples/solid/start-basic-authjs/package.json
+++ b/examples/solid/start-basic-authjs/package.json
@@ -13,7 +13,7 @@
"@auth/core": "^0.41.1",
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"start-authjs": "^1.0.0",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-cloudflare/package.json b/examples/solid/start-basic-cloudflare/package.json
index 131acf8d6c..c503da1fc0 100644
--- a/examples/solid/start-basic-cloudflare/package.json
+++ b/examples/solid/start-basic-cloudflare/package.json
@@ -14,7 +14,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-netlify/package.json b/examples/solid/start-basic-netlify/package.json
index 7d4d20af2b..b10d9e12d9 100644
--- a/examples/solid/start-basic-netlify/package.json
+++ b/examples/solid/start-basic-netlify/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-nitro/package.json b/examples/solid/start-basic-nitro/package.json
index 88e997cebb..6c0efa7511 100644
--- a/examples/solid/start-basic-nitro/package.json
+++ b/examples/solid/start-basic-nitro/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-basic-solid-query/package.json b/examples/solid/start-basic-solid-query/package.json
index ab0b92e9e4..e017e42052 100644
--- a/examples/solid/start-basic-solid-query/package.json
+++ b/examples/solid/start-basic-solid-query/package.json
@@ -15,7 +15,7 @@
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-basic-static/package.json b/examples/solid/start-basic-static/package.json
index f56dfe5071..87983b4017 100644
--- a/examples/solid/start-basic-static/package.json
+++ b/examples/solid/start-basic-static/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"@tanstack/start-static-server-functions": "^1.166.38",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
diff --git a/examples/solid/start-basic/package.json b/examples/solid/start-basic/package.json
index 900cd7f0a3..1036b21dbf 100644
--- a/examples/solid/start-basic/package.json
+++ b/examples/solid/start-basic/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0"
diff --git a/examples/solid/start-bun/package.json b/examples/solid/start-bun/package.json
index b92b273e1f..0183371d35 100644
--- a/examples/solid/start-bun/package.json
+++ b/examples/solid/start-bun/package.json
@@ -18,7 +18,7 @@
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.12",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"@tanstack/router-plugin": "^1.167.30",
"solid-js": "^1.9.10",
"tailwindcss": "^4.2.2"
diff --git a/examples/solid/start-convex-better-auth/package.json b/examples/solid/start-convex-better-auth/package.json
index 51c197dcd3..531bc7211a 100644
--- a/examples/solid/start-convex-better-auth/package.json
+++ b/examples/solid/start-convex-better-auth/package.json
@@ -15,7 +15,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"better-auth": "^1.3.27",
"clsx": "^2.1.1",
"convex": "^1.28.2",
diff --git a/examples/solid/start-counter/package.json b/examples/solid/start-counter/package.json
index dee9c0e1e5..cc926a287f 100644
--- a/examples/solid/start-counter/package.json
+++ b/examples/solid/start-counter/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-i18n-paraglide/package.json b/examples/solid/start-i18n-paraglide/package.json
index 78d252cb9a..325ce8d270 100644
--- a/examples/solid/start-i18n-paraglide/package.json
+++ b/examples/solid/start-i18n-paraglide/package.json
@@ -12,7 +12,7 @@
"@tanstack/solid-devtools": "^0.7.0",
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-large/package.json b/examples/solid/start-large/package.json
index 9d867ee9fe..8d02091055 100644
--- a/examples/solid/start-large/package.json
+++ b/examples/solid/start-large/package.json
@@ -15,7 +15,7 @@
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-streaming-data-from-server-functions/package.json b/examples/solid/start-streaming-data-from-server-functions/package.json
index 27509faa5a..dc1152ddec 100644
--- a/examples/solid/start-streaming-data-from-server-functions/package.json
+++ b/examples/solid/start-streaming-data-from-server-functions/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"solid-js": "^1.9.10",
"zod": "^3.24.2"
},
diff --git a/examples/solid/start-supabase-basic/package.json b/examples/solid/start-supabase-basic/package.json
index 0ab800bf36..28ca9f9523 100644
--- a/examples/solid/start-supabase-basic/package.json
+++ b/examples/solid/start-supabase-basic/package.json
@@ -16,7 +16,7 @@
"@supabase/supabase-js": "^2.48.1",
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"solid-js": "^1.9.9",
"redaxios": "^0.5.1"
},
diff --git a/examples/solid/start-tailwind-v4/package.json b/examples/solid/start-tailwind-v4/package.json
index ac7368a71f..32a7bdb9e9 100644
--- a/examples/solid/start-tailwind-v4/package.json
+++ b/examples/solid/start-tailwind-v4/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.169.0",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.51",
+ "@tanstack/solid-start": "^1.167.52",
"solid-js": "^1.9.10",
"tailwind-merge": "^2.6.0",
"zod": "^3.24.2"
diff --git a/packages/react-start-rsc/CHANGELOG.md b/packages/react-start-rsc/CHANGELOG.md
index 1b67b74898..d2fcd54d4b 100644
--- a/packages/react-start-rsc/CHANGELOG.md
+++ b/packages/react-start-rsc/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/react-start-rsc
+## 0.0.34
+
+### Patch Changes
+
+- Updated dependencies [[`c4256c2`](https://github.com/TanStack/router/commit/c4256c2c857f392d2031cf87821e4c36a92d0382)]:
+ - @tanstack/start-plugin-core@1.169.10
+
## 0.0.33
### Patch Changes
diff --git a/packages/react-start-rsc/package.json b/packages/react-start-rsc/package.json
index 0f65127653..0072d8c080 100644
--- a/packages/react-start-rsc/package.json
+++ b/packages/react-start-rsc/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start-rsc",
- "version": "0.0.33",
+ "version": "0.0.34",
"description": "React Server Components support for TanStack Start",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start/CHANGELOG.md b/packages/react-start/CHANGELOG.md
index 741dedebf7..7163dd3800 100644
--- a/packages/react-start/CHANGELOG.md
+++ b/packages/react-start/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/react-start
+## 1.167.55
+
+### Patch Changes
+
+- Updated dependencies [[`c4256c2`](https://github.com/TanStack/router/commit/c4256c2c857f392d2031cf87821e4c36a92d0382)]:
+ - @tanstack/start-plugin-core@1.169.10
+ - @tanstack/react-start-rsc@0.0.34
+
## 1.167.54
### Patch Changes
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index dec55c8d8e..79be5f343b 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.167.54",
+ "version": "1.167.55",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start/CHANGELOG.md b/packages/solid-start/CHANGELOG.md
index 499d10c6ca..cd6ae6d54d 100644
--- a/packages/solid-start/CHANGELOG.md
+++ b/packages/solid-start/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/solid-start
+## 1.167.52
+
+### Patch Changes
+
+- Updated dependencies [[`c4256c2`](https://github.com/TanStack/router/commit/c4256c2c857f392d2031cf87821e4c36a92d0382)]:
+ - @tanstack/start-plugin-core@1.169.10
+
## 1.167.51
### Patch Changes
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index bba33e5b65..f5110e566f 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.167.51",
+ "version": "1.167.52",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-plugin-core/CHANGELOG.md b/packages/start-plugin-core/CHANGELOG.md
index 9831f13cb5..40c5ed3bd4 100644
--- a/packages/start-plugin-core/CHANGELOG.md
+++ b/packages/start-plugin-core/CHANGELOG.md
@@ -1,5 +1,11 @@
# @tanstack/start-plugin-core
+## 1.169.10
+
+### Patch Changes
+
+- Ignore fully type-only imports and re-exports when collecting import-protection sources so type-only references to protected modules do not trigger violations. ([#7305](https://github.com/TanStack/router/pull/7305))
+
## 1.169.9
### Patch Changes
diff --git a/packages/start-plugin-core/package.json b/packages/start-plugin-core/package.json
index 80d4cbd91c..8004e1bef1 100644
--- a/packages/start-plugin-core/package.json
+++ b/packages/start-plugin-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-plugin-core",
- "version": "1.169.9",
+ "version": "1.169.10",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-start/CHANGELOG.md b/packages/vue-start/CHANGELOG.md
index 46607d552c..7ede097b2c 100644
--- a/packages/vue-start/CHANGELOG.md
+++ b/packages/vue-start/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/vue-start
+## 1.167.48
+
+### Patch Changes
+
+- Updated dependencies [[`c4256c2`](https://github.com/TanStack/router/commit/c4256c2c857f392d2031cf87821e4c36a92d0382)]:
+ - @tanstack/start-plugin-core@1.169.10
+
## 1.167.47
### Patch Changes
diff --git a/packages/vue-start/package.json b/packages/vue-start/package.json
index 2816514cde..ce7c879cce 100644
--- a/packages/vue-start/package.json
+++ b/packages/vue-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start",
- "version": "1.167.47",
+ "version": "1.167.48",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
From 82b06132af776f74603ab27977cc277d6219a845 Mon Sep 17 00:00:00 2001
From: Manuel Schiller
Date: Thu, 30 Apr 2026 23:52:08 +0200
Subject: [PATCH 027/551] feat: `strict: false` for server functions (#7277)
* feat: `strict: false` for server functions
Add a `strict` option to `createServerFn` for type-level server function serialization checks
* feat: `strict: false` for server functions [Self-Healing CI Rerun]
---------
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
---
.changeset/strict-server-functions.md | 5 +
.../start-client-core/src/createServerFn.ts | 242 +++++++++++++-----
packages/start-client-core/src/index.tsx | 4 +
.../src/tests/createServerFn.test-d.ts | 144 +++++++++++
4 files changed, 336 insertions(+), 59 deletions(-)
create mode 100644 .changeset/strict-server-functions.md
diff --git a/.changeset/strict-server-functions.md b/.changeset/strict-server-functions.md
new file mode 100644
index 0000000000..f33e5c64a8
--- /dev/null
+++ b/.changeset/strict-server-functions.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/start-client-core': minor
+---
+
+Add a `strict` option to `createServerFn` for type-level server function serialization checks. Use `strict: false` to opt out for input and output values, or `strict: { output: false }` to opt out for return values only.
diff --git a/packages/start-client-core/src/createServerFn.ts b/packages/start-client-core/src/createServerFn.ts
index c46fb769f6..37d4ead122 100644
--- a/packages/start-client-core/src/createServerFn.ts
+++ b/packages/start-client-core/src/createServerFn.ts
@@ -32,23 +32,47 @@ import type {
type TODO = any
+export type ServerFnStrict = boolean | { input?: boolean; output?: boolean }
+
+export interface ServerFnOptions<
+ TMethod extends Method = Method,
+ TStrict extends ServerFnStrict = true,
+> {
+ method?: TMethod
+ strict?: TStrict
+}
+
+export type ServerFnStrictInput =
+ TStrict extends false
+ ? false
+ : TStrict extends { input: infer TInput extends boolean }
+ ? TInput
+ : true
+
+export type ServerFnStrictOutput =
+ TStrict extends false
+ ? false
+ : TStrict extends { output: infer TOutput extends boolean }
+ ? TOutput
+ : true
+
export type CreateServerFn = <
TMethod extends Method,
+ TStrict extends ServerFnStrict = true,
TResponse = unknown,
TMiddlewares = undefined,
TInputValidator = undefined,
>(
- options?: {
- method?: TMethod
- },
+ options?: ServerFnOptions,
__opts?: ServerFnBaseOptions<
TRegister,
TMethod,
TResponse,
TMiddlewares,
- TInputValidator
+ TInputValidator,
+ TStrict
>,
-) => ServerFnBuilder
+) => ServerFnBuilder
export const createServerFn: CreateServerFn = (options, __opts) => {
const resolvedOptions = (__opts || options || {}) as ServerFnBaseOptions<
@@ -56,6 +80,7 @@ export const createServerFn: CreateServerFn = (options, __opts) => {
any,
any,
any,
+ any,
any
>
@@ -63,7 +88,7 @@ export const createServerFn: CreateServerFn = (options, __opts) => {
resolvedOptions.method = 'GET' as Method
}
- const res: ServerFnBuilder = {
+ const res: ServerFnBuilder = {
options: resolvedOptions,
middleware: (middleware) => {
// multiple calls to `middleware()` merge the middlewares with the previously supplied ones
@@ -183,8 +208,8 @@ export const createServerFn: CreateServerFn = (options, __opts) => {
},
) as any
},
- } as ServerFnBuilder
- const fun = (options?: { method?: Method }) => {
+ } as ServerFnBuilder
+ const fun = (options?: ServerFnOptions) => {
const newOptions = {
...resolvedOptions,
...options,
@@ -414,12 +439,18 @@ export type RscStream = {
export type Method = 'GET' | 'POST'
-export type ServerFnReturnType =
- TResponse extends PromiseLike
- ? Promise>
- : TResponse extends Response
- ? TResponse
- : ValidateSerializableInput
+export type ServerFnReturnType<
+ TRegister,
+ TResponse,
+ TStrict extends ServerFnStrict = true,
+> =
+ ServerFnStrictOutput extends false
+ ? TResponse
+ : TResponse extends PromiseLike
+ ? Promise>
+ : TResponse extends Response
+ ? TResponse
+ : ValidateSerializableInput
export type ServerFn<
TRegister,
@@ -427,9 +458,10 @@ export type ServerFn<
TMiddlewares,
TInputValidator,
TResponse,
+ TStrict extends ServerFnStrict = true,
> = (
ctx: ServerFnCtx,
-) => ServerFnReturnType
+) => ServerFnReturnType
export interface ServerFnCtx<
TRegister,
@@ -457,20 +489,28 @@ export type ServerFnBaseOptions<
TResponse = unknown,
TMiddlewares = unknown,
TInputValidator = unknown,
+ TStrict extends ServerFnStrict = true,
> = {
method: TMethod
+ strict?: TStrict
middleware?: Constrain<
TMiddlewares,
ReadonlyArray
>
- inputValidator?: ConstrainValidator
+ inputValidator?: ConstrainValidator<
+ TRegister,
+ TMethod,
+ TInputValidator,
+ TStrict
+ >
extractedFn?: CompiledFetcherFn
serverFn?: ServerFn<
TRegister,
TMethod,
TMiddlewares,
TInputValidator,
- TResponse
+ TResponse,
+ TStrict
>
}
@@ -478,27 +518,33 @@ export type ValidateValidatorInput<
TRegister,
TMethod extends Method,
TInputValidator,
-> = TMethod extends 'POST'
- ? ResolveValidatorInput extends FormData
+ TStrict extends ServerFnStrict = true,
+> =
+ ServerFnStrictInput extends false
? ResolveValidatorInput
- : ValidateSerializable<
- ResolveValidatorInput,
- RegisteredSerializableInput
- >
- : ValidateSerializable<
- ResolveValidatorInput,
- RegisteredSerializableInput
- >
+ : TMethod extends 'POST'
+ ? ResolveValidatorInput extends FormData
+ ? ResolveValidatorInput
+ : ValidateSerializable<
+ ResolveValidatorInput,
+ RegisteredSerializableInput
+ >
+ : ValidateSerializable<
+ ResolveValidatorInput,
+ RegisteredSerializableInput
+ >
export type ValidateValidator<
TRegister,
TMethod extends Method,
TInputValidator,
+ TStrict extends ServerFnStrict = true,
> =
ValidateValidatorInput<
TRegister,
TMethod,
- TInputValidator
+ TInputValidator,
+ TStrict
> extends infer TInput
? Validator
: never
@@ -507,17 +553,19 @@ export type ConstrainValidator<
TRegister,
TMethod extends Method,
TInputValidator,
+ TStrict extends ServerFnStrict = true,
> =
| (unknown extends TInputValidator
? TInputValidator
: ResolveValidatorInput extends ValidateValidator<
TRegister,
TMethod,
- TInputValidator
+ TInputValidator,
+ TStrict
>
? TInputValidator
: never)
- | ValidateValidator
+ | ValidateValidator
export type AppendMiddlewares =
TMiddlewares extends ReadonlyArray
@@ -531,6 +579,7 @@ export interface ServerFnMiddleware<
TMethod extends Method,
TMiddlewares,
TInputValidator,
+ TStrict extends ServerFnStrict,
> {
middleware: (
middlewares: Constrain<
@@ -541,7 +590,8 @@ export interface ServerFnMiddleware<
TRegister,
TMethod,
AppendMiddlewares,
- TInputValidator
+ TInputValidator,
+ TStrict
>
}
@@ -550,6 +600,7 @@ export interface ServerFnAfterMiddleware<
TMethod extends Method,
TMiddlewares,
TInputValidator,
+ TStrict extends ServerFnStrict,
>
extends
ServerFnWithTypes<
@@ -557,33 +608,59 @@ export interface ServerFnAfterMiddleware<
TMethod,
TMiddlewares,
TInputValidator,
- undefined
+ undefined,
+ TStrict
>,
- ServerFnMiddleware,
- ServerFnValidator,
- ServerFnHandler {
- (options?: {
- method?: TNewMethod
- }): ServerFnAfterMiddleware<
+ ServerFnMiddleware,
+ ServerFnValidator,
+ ServerFnHandler<
+ TRegister,
+ TMethod,
+ TMiddlewares,
+ TInputValidator,
+ TStrict
+ > {
+ <
+ TNewMethod extends Method = TMethod,
+ TNewStrict extends ServerFnStrict = TStrict,
+ >(
+ options?: ServerFnOptions,
+ ): ServerFnAfterMiddleware<
TRegister,
TNewMethod,
TMiddlewares,
- TInputValidator
+ TInputValidator,
+ TNewStrict
>
}
-export type ValidatorFn = <
+export type ValidatorFn<
+ TRegister,
+ TMethod extends Method,
+ TMiddlewares,
+ TStrict extends ServerFnStrict,
+> = (
+ inputValidator: ConstrainValidator<
+ TRegister,
+ TMethod,
+ TInputValidator,
+ TStrict
+ >,
+) => ServerFnAfterValidator<
+ TRegister,
+ TMethod,
+ TMiddlewares,
TInputValidator,
->(
- inputValidator: ConstrainValidator,
-) => ServerFnAfterValidator
+ TStrict
+>
export interface ServerFnValidator<
TRegister,
TMethod extends Method,
TMiddlewares,
+ TStrict extends ServerFnStrict,
> {
- inputValidator: ValidatorFn
+ inputValidator: ValidatorFn
}
export interface ServerFnAfterValidator<
@@ -591,6 +668,7 @@ export interface ServerFnAfterValidator<
TMethod extends Method,
TMiddlewares,
TInputValidator,
+ TStrict extends ServerFnStrict,
>
extends
ServerFnWithTypes<
@@ -598,16 +676,30 @@ export interface ServerFnAfterValidator<
TMethod,
TMiddlewares,
TInputValidator,
- undefined
+ undefined,
+ TStrict
>,
- ServerFnMiddleware,
- ServerFnHandler {}
+ ServerFnMiddleware<
+ TRegister,
+ TMethod,
+ TMiddlewares,
+ TInputValidator,
+ TStrict
+ >,
+ ServerFnHandler<
+ TRegister,
+ TMethod,
+ TMiddlewares,
+ TInputValidator,
+ TStrict
+ > {}
export interface ServerFnAfterTyper<
TRegister,
TMethod extends Method,
TMiddlewares,
TInputValidator,
+ TStrict extends ServerFnStrict,
>
extends
ServerFnWithTypes<
@@ -615,9 +707,16 @@ export interface ServerFnAfterTyper<
TMethod,
TMiddlewares,
TInputValidator,
- undefined
+ undefined,
+ TStrict
>,
- ServerFnHandler {}
+ ServerFnHandler<
+ TRegister,
+ TMethod,
+ TMiddlewares,
+ TInputValidator,
+ TStrict
+ > {}
// Handler
export interface ServerFnHandler<
@@ -625,6 +724,7 @@ export interface ServerFnHandler<
TMethod extends Method,
TMiddlewares,
TInputValidator,
+ TStrict extends ServerFnStrict,
> {
handler: (
fn?: ServerFn<
@@ -632,23 +732,42 @@ export interface ServerFnHandler<
TMethod,
TMiddlewares,
TInputValidator,
- TNewResponse
+ TNewResponse,
+ TStrict
>,
) => Fetcher
}
-export interface ServerFnBuilder
+export interface ServerFnBuilder<
+ TRegister,
+ TMethod extends Method = 'GET',
+ TStrict extends ServerFnStrict = true,
+>
extends
- ServerFnWithTypes,
- ServerFnMiddleware,
- ServerFnValidator,
- ServerFnHandler {
+ ServerFnWithTypes<
+ TRegister,
+ TMethod,
+ undefined,
+ undefined,
+ undefined,
+ TStrict
+ >,
+ ServerFnMiddleware,
+ ServerFnValidator