From a581680a27530469751b8ab419ada9ce66da4ffe Mon Sep 17 00:00:00 2001
From: Manuel Schiller
Date: Mon, 13 Apr 2026 22:35:58 +0200
Subject: [PATCH 001/608] fix: unify virtual module handling for Start Vite
plugins (#7178)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: CodeRabbit
Co-authored-by: schiller-manuel
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
---
.changeset/rare-pigs-smash.md | 8 ++
packages/react-start-rsc/src/plugin/vite.ts | 40 +---------
packages/react-start/src/plugin/vite.ts | 6 +-
packages/solid-start/src/plugin/vite.ts | 6 +-
packages/start-plugin-core/package.json | 5 --
packages/start-plugin-core/src/index.ts | 6 +-
.../src/vite/createVirtualModule.ts | 54 +++++++++++++
.../src/vite/dev-server-plugin/plugin.ts | 24 ++----
packages/start-plugin-core/src/vite/plugin.ts | 4 +
.../start-plugin-core/src/vite/plugins.ts | 17 ++++-
.../src/vite/serialization-adapters-plugin.ts | 76 ++++++-------------
.../src/vite/start-compiler-plugin/plugin.ts | 75 +++++++-----------
.../src/vite/start-manifest-plugin/plugin.ts | 71 +++++++----------
.../tests/createVirtualModule.test.ts | 38 ++++++++++
.../tests/virtual-client-entry-plugin.test.ts | 25 ++++++
packages/vue-start/src/plugin/vite.ts | 6 +-
16 files changed, 251 insertions(+), 210 deletions(-)
create mode 100644 .changeset/rare-pigs-smash.md
create mode 100644 packages/start-plugin-core/src/vite/createVirtualModule.ts
create mode 100644 packages/start-plugin-core/tests/createVirtualModule.test.ts
create mode 100644 packages/start-plugin-core/tests/virtual-client-entry-plugin.test.ts
diff --git a/.changeset/rare-pigs-smash.md b/.changeset/rare-pigs-smash.md
new file mode 100644
index 0000000000..fb19fbddf6
--- /dev/null
+++ b/.changeset/rare-pigs-smash.md
@@ -0,0 +1,8 @@
+---
+'@tanstack/start-plugin-core': patch
+'@tanstack/react-start-rsc': patch
+---
+
+Fix Start virtual module resolution in pnpm workspaces by serving the client entry through a real Vite virtual module.
+
+Simplify Start virtual module handling by sharing a single `createVirtualModule` helper and collapsing internal `@tanstack/start-plugin-core` imports to the root export surface.
diff --git a/packages/react-start-rsc/src/plugin/vite.ts b/packages/react-start-rsc/src/plugin/vite.ts
index 814fd8de16..a43bc7531c 100644
--- a/packages/react-start-rsc/src/plugin/vite.ts
+++ b/packages/react-start-rsc/src/plugin/vite.ts
@@ -1,49 +1,15 @@
import { fileURLToPath } from 'node:url'
import path from 'pathe'
-import { resolveViteId } from '@tanstack/start-plugin-core/utils'
+import { createVirtualModule } from '@tanstack/start-plugin-core'
import type {
TanStackStartVitePluginCoreOptions,
ViteRscForwardSsrResolverStrategy,
-} from '@tanstack/start-plugin-core/vite/types'
-import type { Plugin, PluginOption, UserConfig } from 'vite'
+} from '@tanstack/start-plugin-core'
+import type { PluginOption, UserConfig } from 'vite'
-type VirtualModuleLoadHandler = (this: {
- environment: { name: string }
-}) => string
const isClientEnvironment = (env: { config: { consumer: string } }) =>
env.config.consumer === 'client'
-function escapeRegExp(value: string): string {
- return value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')
-}
-
-function createVirtualModule(opts: {
- name: string
- moduleId: string
- load: VirtualModuleLoadHandler
- apply?: Plugin['apply']
- applyToEnvironment?: Plugin['applyToEnvironment']
-}): Plugin {
- const resolvedId = resolveViteId(opts.moduleId)
- const idFilter = { id: new RegExp(escapeRegExp(opts.moduleId)) }
-
- return {
- name: opts.name,
- apply: opts.apply,
- applyToEnvironment: opts.applyToEnvironment,
- resolveId: {
- filter: idFilter,
- handler() {
- return resolvedId
- },
- },
- load: {
- filter: idFilter,
- handler: opts.load,
- },
- }
-}
-
// Virtual module ids used by the React Start RSC runtime.
const RSC_HMR_VIRTUAL_ID = 'virtual:tanstack-rsc-hmr'
const RSC_RUNTIME_VIRTUAL_ID = 'virtual:tanstack-rsc-runtime'
diff --git a/packages/react-start/src/plugin/vite.ts b/packages/react-start/src/plugin/vite.ts
index d0fdf26e21..c7125ece46 100644
--- a/packages/react-start/src/plugin/vite.ts
+++ b/packages/react-start/src/plugin/vite.ts
@@ -2,14 +2,16 @@ import {
START_ENVIRONMENT_NAMES,
tanStackStartVite,
} from '@tanstack/start-plugin-core'
+import type {
+ TanStackStartViteInputConfig,
+ TanStackStartVitePluginCoreOptions,
+} from '@tanstack/start-plugin-core'
import {
configureRsc,
reactStartRscVitePlugin,
} from '@tanstack/react-start-rsc/plugin/vite'
import path from 'pathe'
import { reactStartDefaultEntryPaths, reactStartPluginDir } from './shared'
-import type { TanStackStartVitePluginCoreOptions } from '@tanstack/start-plugin-core/vite/types'
-import type { TanStackStartViteInputConfig } from '@tanstack/start-plugin-core'
import type { PluginOption } from 'vite'
const isInsideRouterMonoRepo =
diff --git a/packages/solid-start/src/plugin/vite.ts b/packages/solid-start/src/plugin/vite.ts
index eb5af83ad0..814538f8f4 100644
--- a/packages/solid-start/src/plugin/vite.ts
+++ b/packages/solid-start/src/plugin/vite.ts
@@ -2,9 +2,11 @@ import {
START_ENVIRONMENT_NAMES,
tanStackStartVite,
} from '@tanstack/start-plugin-core'
+import type {
+ TanStackStartViteInputConfig,
+ TanStackStartVitePluginCoreOptions,
+} from '@tanstack/start-plugin-core'
import { solidStartDefaultEntryPaths } from './shared'
-import type { TanStackStartVitePluginCoreOptions } from '@tanstack/start-plugin-core/vite/types'
-import type { TanStackStartViteInputConfig } from '@tanstack/start-plugin-core'
import type { PluginOption } from 'vite'
export function tanstackStart(
diff --git a/packages/start-plugin-core/package.json b/packages/start-plugin-core/package.json
index 04beb5021f..e27f5ce4ec 100644
--- a/packages/start-plugin-core/package.json
+++ b/packages/start-plugin-core/package.json
@@ -56,11 +56,6 @@
"default": "./dist/esm/utils.js"
}
},
- "./vite/types": {
- "import": {
- "types": "./dist/esm/vite/types.d.ts"
- }
- },
"./package.json": "./package.json"
},
"sideEffects": false,
diff --git a/packages/start-plugin-core/src/index.ts b/packages/start-plugin-core/src/index.ts
index cab419b6a2..a2e87c6364 100644
--- a/packages/start-plugin-core/src/index.ts
+++ b/packages/start-plugin-core/src/index.ts
@@ -1,6 +1,10 @@
export type { TanStackStartInputConfig } from './schema'
export type { TanStackStartCoreOptions } from './types'
-export type { TanStackStartVitePluginCoreOptions } from './vite/types'
+export type {
+ TanStackStartVitePluginCoreOptions,
+ ViteRscForwardSsrResolverStrategy,
+} from './vite/types'
export type { TanStackStartViteInputConfig } from './vite/schema'
export { START_ENVIRONMENT_NAMES, VITE_ENVIRONMENT_NAMES } from './constants'
+export { createVirtualModule } from './vite/createVirtualModule'
export { tanStackStartVite } from './vite/plugin'
diff --git a/packages/start-plugin-core/src/vite/createVirtualModule.ts b/packages/start-plugin-core/src/vite/createVirtualModule.ts
new file mode 100644
index 0000000000..8fc97e8572
--- /dev/null
+++ b/packages/start-plugin-core/src/vite/createVirtualModule.ts
@@ -0,0 +1,54 @@
+import { resolveViteId } from '../utils'
+import type { Plugin } from 'vite'
+
+type VirtualModuleLoadHandler = (
+ this: any,
+ id: string,
+) => string | null | undefined | Promise
+
+function escapeRegExp(value: string): string {
+ return value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')
+}
+
+export function createVirtualModule(opts: {
+ name: string
+ moduleId: string
+ load: VirtualModuleLoadHandler
+ apply?: Plugin['apply']
+ applyToEnvironment?: Plugin['applyToEnvironment']
+ enforce?: Plugin['enforce']
+ sharedDuringBuild?: boolean
+}): Plugin {
+ // Encode '#' as '%23' in the resolved ID to avoid browser treating it as URL fragment.
+ // The browser requests /@id/__x00__%23tanstack-start-plugin-adapters instead of
+ // /@id/__x00__#tanstack-start-plugin-adapters (which would truncate at #).
+ const resolvedId = resolveViteId(opts.moduleId.replaceAll('#', '%23'))
+
+ return {
+ name: opts.name,
+ apply: opts.apply,
+ applyToEnvironment: opts.applyToEnvironment,
+ enforce: opts.enforce,
+ sharedDuringBuild: opts.sharedDuringBuild,
+ resolveId: {
+ filter: { id: new RegExp(escapeRegExp(opts.moduleId)) },
+ handler(id) {
+ if (id === opts.moduleId) {
+ return resolvedId
+ }
+
+ return undefined
+ },
+ },
+ load: {
+ filter: { id: new RegExp(escapeRegExp(resolvedId)) },
+ handler(id) {
+ if (id !== resolvedId) {
+ return undefined
+ }
+
+ return opts.load.call(this, id)
+ },
+ },
+ }
+}
diff --git a/packages/start-plugin-core/src/vite/dev-server-plugin/plugin.ts b/packages/start-plugin-core/src/vite/dev-server-plugin/plugin.ts
index d30eb76724..fe1d8f0529 100644
--- a/packages/start-plugin-core/src/vite/dev-server-plugin/plugin.ts
+++ b/packages/start-plugin-core/src/vite/dev-server-plugin/plugin.ts
@@ -2,7 +2,7 @@ import { isRunnableDevEnvironment } from 'vite'
import { VIRTUAL_MODULES } from '@tanstack/start-server-core'
import { NodeRequest, sendNodeResponse } from 'srvx/node'
import { ENTRY_POINTS, VITE_ENVIRONMENT_NAMES } from '../../constants'
-import { resolveViteId } from '../../utils'
+import { createVirtualModule } from '../createVirtualModule'
import { extractHtmlScripts } from './extract-html-scripts'
import {
CSS_MODULES_REGEX,
@@ -248,27 +248,17 @@ export function devServerPlugin({
}
},
},
- {
+ createVirtualModule({
name: 'tanstack-start-core:dev-server:injected-head-scripts',
sharedDuringBuild: true,
applyToEnvironment: (env) => env.config.consumer === 'server',
- resolveId: {
- filter: { id: new RegExp(VIRTUAL_MODULES.injectedHeadScripts) },
- handler(_id) {
- return resolveViteId(VIRTUAL_MODULES.injectedHeadScripts)
- },
- },
- load: {
- filter: {
- id: new RegExp(resolveViteId(VIRTUAL_MODULES.injectedHeadScripts)),
- },
- handler() {
- const mod = `
+ moduleId: VIRTUAL_MODULES.injectedHeadScripts,
+ load() {
+ const mod = `
export const injectedHeadScripts = ${JSON.stringify(injectedHeadScripts) || 'undefined'}`
- return mod
- },
+ return mod
},
- },
+ }),
]
}
diff --git a/packages/start-plugin-core/src/vite/plugin.ts b/packages/start-plugin-core/src/vite/plugin.ts
index 6c72cf9e7a..8d3f184524 100644
--- a/packages/start-plugin-core/src/vite/plugin.ts
+++ b/packages/start-plugin-core/src/vite/plugin.ts
@@ -25,6 +25,7 @@ import {
createCaptureClientBuildPlugin,
createDevBaseRewritePlugin,
createPostBuildPlugin,
+ createVirtualClientEntryPlugin,
} from './plugins'
import { parseStartConfig } from './schema'
import { startManifestPlugin } from './start-manifest-plugin/plugin'
@@ -237,6 +238,9 @@ export function tanStackStartVite(
}),
tanStackStartRouter(normalizedStartPluginOpts, getConfig, corePluginOpts),
loadEnvPlugin(),
+ createVirtualClientEntryPlugin({
+ getClientEntry: () => configContext.resolveEntries().entryPaths.client,
+ }),
startManifestPlugin({
getClientBuild: () => getClientBuild(START_ENVIRONMENT_NAMES.client),
getConfig,
diff --git a/packages/start-plugin-core/src/vite/plugins.ts b/packages/start-plugin-core/src/vite/plugins.ts
index 50303e3c07..4f2eef743e 100644
--- a/packages/start-plugin-core/src/vite/plugins.ts
+++ b/packages/start-plugin-core/src/vite/plugins.ts
@@ -1,4 +1,6 @@
-import { START_ENVIRONMENT_NAMES } from '../constants'
+import { normalizePath } from 'vite'
+import { ENTRY_POINTS, START_ENVIRONMENT_NAMES } from '../constants'
+import { createVirtualModule } from './createVirtualModule'
import { normalizeViteClientBuild } from './start-manifest-plugin/normalized-client-build'
import type {
GetConfigFn,
@@ -8,6 +10,19 @@ import type {
import type { StartEnvironmentName } from '../constants'
import type { PluginOption, ViteBuilder } from 'vite'
+export function createVirtualClientEntryPlugin(opts: {
+ getClientEntry: () => string
+}): PluginOption {
+ return createVirtualModule({
+ name: 'tanstack-start-core:virtual-client-entry',
+ moduleId: ENTRY_POINTS.client,
+ enforce: 'pre',
+ load() {
+ return `import ${JSON.stringify(normalizePath(opts.getClientEntry()).replaceAll('\\', '/'))}`
+ },
+ })
+}
+
export function createPostBuildPlugin(opts: {
getConfig: GetConfigFn
postServerBuild: (opts: {
diff --git a/packages/start-plugin-core/src/vite/serialization-adapters-plugin.ts b/packages/start-plugin-core/src/vite/serialization-adapters-plugin.ts
index fbc639c15c..f8ffc498e2 100644
--- a/packages/start-plugin-core/src/vite/serialization-adapters-plugin.ts
+++ b/packages/start-plugin-core/src/vite/serialization-adapters-plugin.ts
@@ -4,66 +4,38 @@ import {
generateSerializationAdaptersModule,
} from '../serialization-adapters-module'
import { START_ENVIRONMENT_NAMES } from '../constants'
-import { resolveViteId } from '../utils'
+import { createVirtualModule } from './createVirtualModule'
import type { SerializationAdapterConfig } from '../types'
import type { PluginOption } from 'vite'
-// Encode '#' as '%23' in the resolved ID to avoid browser treating it as URL fragment.
-// The browser requests /@id/__x00__%23tanstack-start-plugin-adapters instead of
-// /@id/__x00__#tanstack-start-plugin-adapters (which would truncate at #).
-const resolvedModuleId = resolveViteId(
- VIRTUAL_MODULES.pluginAdapters.replace('#', '%23'),
-)
-
-function escapeRegex(str: string): string {
- return str.replace(/[.*+?^${}()|[\]\\#]/g, '\\$&')
-}
-
export function serializationAdaptersPlugin(opts: {
adapters: Array | undefined
}): PluginOption {
- return {
+ return createVirtualModule({
name: 'tanstack-start:plugin-adapters',
+ moduleId: VIRTUAL_MODULES.pluginAdapters,
enforce: 'pre',
- resolveId: {
- filter: { id: new RegExp(escapeRegex(VIRTUAL_MODULES.pluginAdapters)) },
- handler(id: string) {
- if (id === VIRTUAL_MODULES.pluginAdapters) {
- return resolvedModuleId
- }
- return undefined
- },
- },
- load: {
- filter: {
- id: new RegExp(escapeRegex(resolvedModuleId)),
- },
- handler(this: { environment: { name: string } }, id: string) {
- if (id !== resolvedModuleId) {
- return undefined
- }
-
- const adapters = opts.adapters
- if (!adapters || adapters.length === 0) {
- return EMPTY_SERIALIZATION_ADAPTERS_MODULE
- }
-
- if (this.environment.name === START_ENVIRONMENT_NAMES.client) {
- return generateSerializationAdaptersModule({
- adapters,
- runtime: 'client',
- })
- }
-
- if (this.environment.name === START_ENVIRONMENT_NAMES.server) {
- return generateSerializationAdaptersModule({
- adapters,
- runtime: 'server',
- })
- }
-
+ load() {
+ const adapters = opts.adapters
+ if (!adapters || adapters.length === 0) {
return EMPTY_SERIALIZATION_ADAPTERS_MODULE
- },
+ }
+
+ if (this.environment.name === START_ENVIRONMENT_NAMES.client) {
+ return generateSerializationAdaptersModule({
+ adapters,
+ runtime: 'client',
+ })
+ }
+
+ if (this.environment.name === START_ENVIRONMENT_NAMES.server) {
+ return generateSerializationAdaptersModule({
+ adapters,
+ runtime: 'server',
+ })
+ }
+
+ return EMPTY_SERIALIZATION_ADAPTERS_MODULE
},
- }
+ })
}
diff --git a/packages/start-plugin-core/src/vite/start-compiler-plugin/plugin.ts b/packages/start-plugin-core/src/vite/start-compiler-plugin/plugin.ts
index c160591d00..7ef0cecfcd 100644
--- a/packages/start-plugin-core/src/vite/start-compiler-plugin/plugin.ts
+++ b/packages/start-plugin-core/src/vite/start-compiler-plugin/plugin.ts
@@ -15,6 +15,8 @@ import {
import { loadModuleForViteCompiler } from '../../start-compiler/load-module'
import { generateServerFnResolverModule } from '../../start-compiler/server-fn-resolver-module'
import { cleanId } from '../../start-compiler/utils'
+import { createVirtualModule } from '../createVirtualModule'
+import { resolveViteId } from '../../utils'
import {
createViteDevServerFnModuleSpecifierEncoder,
decodeViteDevServerModuleSpecifier,
@@ -29,10 +31,6 @@ import type { PluginOption } from 'vite'
// Re-export from shared constants for backwards compatibility
export { SERVER_FN_LOOKUP }
-function resolveViteId(id: string) {
- return `\0${id}`
-}
-
const validateServerFnIdVirtualModule = `virtual:tanstack-start-validate-server-fn-id`
function getDevServerFnValidatorModule(): string {
@@ -90,10 +88,6 @@ export function startCompilerPlugin(
}
let root = process.cwd()
- const resolvedResolverVirtualImportId = resolveViteId(
- VIRTUAL_MODULES.serverFnResolver,
- )
-
// Determine which environments need the resolver (getServerFnById)
// SSR environment always needs the resolver for server-side calls
// Provider environment needs it for the actual implementation
@@ -294,52 +288,41 @@ export function startCompilerPlugin(
},
},
// Manifest plugin for server environments
- {
+ createVirtualModule({
name: 'tanstack-start-core:server-fn-resolver',
+ moduleId: VIRTUAL_MODULES.serverFnResolver,
enforce: 'pre',
applyToEnvironment: (env) => {
return appliedResolverEnvironments.has(env.name)
},
- configResolved(config) {
- root = config.root
- },
- resolveId: {
- filter: { id: new RegExp(VIRTUAL_MODULES.serverFnResolver) },
- handler() {
- return resolvedResolverVirtualImportId
- },
- },
- load: {
- filter: { id: new RegExp(resolvedResolverVirtualImportId) },
- handler() {
- if (this.environment.name !== opts.providerEnvName) {
- const mod = opts.environments.find(
- (e) => e.name === this.environment.name,
- )?.getServerFnById
- if (mod) {
- return mod
- } else {
- this.error(
- `No getServerFnById implementation found for caller environment: ${this.environment.name}`,
- )
- }
+ load() {
+ if (this.environment.name !== opts.providerEnvName) {
+ const mod = opts.environments.find(
+ (e) => e.name === this.environment.name,
+ )?.getServerFnById
+ if (mod) {
+ return mod
}
- if (this.environment.mode !== 'build') {
- return getDevServerFnValidatorModule()
- }
+ this.error(
+ `No getServerFnById implementation found for caller environment: ${this.environment.name}`,
+ )
+ }
- // When SSR is the provider, server-only-referenced functions aren't in the manifest,
- // so no isClientReferenced check is needed.
- // When SSR is NOT the provider (custom provider env), server-only-referenced
- // functions ARE in the manifest and need the isClientReferenced check to
- // block direct client HTTP requests to server-only-referenced functions.
- return generateServerFnResolverModule({
- serverFnsById,
- includeClientReferencedCheck: !ssrIsProvider,
- })
- },
+ if (this.environment.mode !== 'build') {
+ return getDevServerFnValidatorModule()
+ }
+
+ // When SSR is the provider, server-only-referenced functions aren't in the manifest,
+ // so no isClientReferenced check is needed.
+ // When SSR is NOT the provider (custom provider env), server-only-referenced
+ // functions ARE in the manifest and need the isClientReferenced check to
+ // block direct client HTTP requests to server-only-referenced functions.
+ return generateServerFnResolverModule({
+ serverFnsById,
+ includeClientReferencedCheck: !ssrIsProvider,
+ })
},
- },
+ }),
]
}
diff --git a/packages/start-plugin-core/src/vite/start-manifest-plugin/plugin.ts b/packages/start-plugin-core/src/vite/start-manifest-plugin/plugin.ts
index a52414e359..c21751c945 100644
--- a/packages/start-plugin-core/src/vite/start-manifest-plugin/plugin.ts
+++ b/packages/start-plugin-core/src/vite/start-manifest-plugin/plugin.ts
@@ -1,72 +1,53 @@
import { joinURL } from 'ufo'
import { VIRTUAL_MODULES } from '@tanstack/start-server-core'
-import { resolveViteId } from '../../utils'
import { ENTRY_POINTS, START_ENVIRONMENT_NAMES } from '../../constants'
import {
buildStartManifest,
serializeStartManifest,
} from '../../start-manifest-plugin/manifestBuilder'
+import { createVirtualModule } from '../createVirtualModule'
import type { GetConfigFn, NormalizedClientBuild } from '../../types'
import type { PluginOption } from 'vite'
-const resolvedModuleId = resolveViteId(VIRTUAL_MODULES.startManifest)
-
export function startManifestPlugin(opts: {
getClientBuild: () => NormalizedClientBuild | undefined
getConfig: GetConfigFn
}): PluginOption {
- return {
+ return createVirtualModule({
name: 'tanstack-start:start-manifest-plugin',
+ moduleId: VIRTUAL_MODULES.startManifest,
enforce: 'pre',
- resolveId: {
- filter: { id: new RegExp(VIRTUAL_MODULES.startManifest) },
- handler(id) {
- if (id === VIRTUAL_MODULES.startManifest) {
- return resolvedModuleId
- }
- return undefined
- },
- },
- load: {
- filter: {
- id: new RegExp(resolvedModuleId),
- },
- handler(id) {
- const { resolvedStartConfig } = opts.getConfig()
- if (id === resolvedModuleId) {
- if (this.environment.name !== START_ENVIRONMENT_NAMES.server) {
- return 'export default {}'
- }
+ load() {
+ const { resolvedStartConfig } = opts.getConfig()
+ if (this.environment.name !== START_ENVIRONMENT_NAMES.server) {
+ return 'export default {}'
+ }
- if (this.environment.config.command === 'serve') {
- return `export const tsrStartManifest = () => ({
+ if (this.environment.config.command === 'serve') {
+ return `export const tsrStartManifest = () => ({
routes: {},
clientEntry: '${joinURL(resolvedStartConfig.basePaths.publicBase, '@id', ENTRY_POINTS.client)}',
})`
- }
+ }
- const routeTreeRoutes = globalThis.TSS_ROUTES_MANIFEST
- const clientBuild = opts.getClientBuild()
- // TODO this needs further discussion with vite-rsc, this is a temporary workaround
- // If the client bundle isn't available yet (e.g., during RSC scan builds),
- // return a dummy manifest. The real manifest will be generated in the actual build.
- if (!clientBuild) {
- return `export const tsrStartManifest = () => ({
+ const routeTreeRoutes = globalThis.TSS_ROUTES_MANIFEST
+ const clientBuild = opts.getClientBuild()
+ // TODO this needs further discussion with vite-rsc, this is a temporary workaround
+ // If the client bundle isn't available yet (e.g., during RSC scan builds),
+ // return a dummy manifest. The real manifest will be generated in the actual build.
+ if (!clientBuild) {
+ return `export const tsrStartManifest = () => ({
routes: {},
clientEntry: '${joinURL(resolvedStartConfig.basePaths.publicBase, '@id', ENTRY_POINTS.client)}',
})`
- }
- const startManifest = buildStartManifest({
- clientBuild,
- routeTreeRoutes,
- basePath: resolvedStartConfig.basePaths.publicBase,
- })
+ }
+ const startManifest = buildStartManifest({
+ clientBuild,
+ routeTreeRoutes,
+ basePath: resolvedStartConfig.basePaths.publicBase,
+ })
- return `export const tsrStartManifest = () => (${serializeStartManifest(startManifest)})`
- }
-
- return undefined
- },
+ return `export const tsrStartManifest = () => (${serializeStartManifest(startManifest)})`
},
- }
+ })
}
diff --git a/packages/start-plugin-core/tests/createVirtualModule.test.ts b/packages/start-plugin-core/tests/createVirtualModule.test.ts
new file mode 100644
index 0000000000..bca42afd36
--- /dev/null
+++ b/packages/start-plugin-core/tests/createVirtualModule.test.ts
@@ -0,0 +1,38 @@
+import { describe, expect, test } from 'vitest'
+import { createVirtualModule } from '../src/vite/createVirtualModule'
+
+describe('createVirtualModule', () => {
+ test('resolves and loads the default vite virtual id', () => {
+ const plugin = createVirtualModule({
+ name: 'test-virtual',
+ moduleId: 'virtual:test-module',
+ load() {
+ return 'export const ok = true'
+ },
+ })
+
+ expect((plugin as any).resolveId.handler('virtual:test-module')).toBe(
+ '\0virtual:test-module',
+ )
+ expect((plugin as any).load.handler('\0virtual:test-module')).toBe(
+ 'export const ok = true',
+ )
+ })
+
+ test('encodes hashes in resolved vite ids', () => {
+ const plugin = createVirtualModule({
+ name: 'test-hash-module-id',
+ moduleId: '#virtual:test-module',
+ load() {
+ return 'export {}'
+ },
+ })
+
+ expect((plugin as any).resolveId.handler('#virtual:test-module')).toBe(
+ '\0%23virtual:test-module',
+ )
+ expect((plugin as any).load.handler('\0%23virtual:test-module')).toBe(
+ 'export {}',
+ )
+ })
+})
diff --git a/packages/start-plugin-core/tests/virtual-client-entry-plugin.test.ts b/packages/start-plugin-core/tests/virtual-client-entry-plugin.test.ts
new file mode 100644
index 0000000000..9ce47f9abe
--- /dev/null
+++ b/packages/start-plugin-core/tests/virtual-client-entry-plugin.test.ts
@@ -0,0 +1,25 @@
+import { describe, expect, test } from 'vitest'
+import { ENTRY_POINTS } from '../src/constants'
+import { createVirtualClientEntryPlugin } from '../src/vite/plugins'
+
+describe('createVirtualClientEntryPlugin', () => {
+ test('resolves the virtual client entry id', () => {
+ const plugin = createVirtualClientEntryPlugin({
+ getClientEntry: () => '/repo/src/client.tsx',
+ })
+
+ expect((plugin as any).resolveId.handler(ENTRY_POINTS.client)).toBe(
+ '\0virtual:tanstack-start-client-entry',
+ )
+ })
+
+ test('loads a normalized import for the client entry file', () => {
+ const plugin = createVirtualClientEntryPlugin({
+ getClientEntry: () => 'C:\\repo\\src\\client.tsx',
+ })
+
+ expect(
+ (plugin as any).load.handler('\0virtual:tanstack-start-client-entry'),
+ ).toBe('import "C:/repo/src/client.tsx"')
+ })
+})
diff --git a/packages/vue-start/src/plugin/vite.ts b/packages/vue-start/src/plugin/vite.ts
index 7b240f0b23..384653342b 100644
--- a/packages/vue-start/src/plugin/vite.ts
+++ b/packages/vue-start/src/plugin/vite.ts
@@ -2,9 +2,11 @@ import {
START_ENVIRONMENT_NAMES,
tanStackStartVite,
} from '@tanstack/start-plugin-core'
+import type {
+ TanStackStartViteInputConfig,
+ TanStackStartVitePluginCoreOptions,
+} from '@tanstack/start-plugin-core'
import { vueStartDefaultEntryPaths } from './shared'
-import type { TanStackStartVitePluginCoreOptions } from '@tanstack/start-plugin-core/vite/types'
-import type { TanStackStartViteInputConfig } from '@tanstack/start-plugin-core'
import type { PluginOption } from 'vite'
export function tanstackStart(
From c09aab666146976a88952dae3f039d4611ba30cd Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Mon, 13 Apr 2026 20:40:49 +0000
Subject: [PATCH 002/608] ci: changeset release
---
.changeset/rare-pigs-smash.md | 8 --------
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 | 11 +++++++++++
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 | 8 ++++++++
packages/start-plugin-core/package.json | 2 +-
packages/vue-start/CHANGELOG.md | 7 +++++++
packages/vue-start/package.json | 2 +-
47 files changed, 82 insertions(+), 49 deletions(-)
delete mode 100644 .changeset/rare-pigs-smash.md
diff --git a/.changeset/rare-pigs-smash.md b/.changeset/rare-pigs-smash.md
deleted file mode 100644
index fb19fbddf6..0000000000
--- a/.changeset/rare-pigs-smash.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-'@tanstack/start-plugin-core': patch
-'@tanstack/react-start-rsc': patch
----
-
-Fix Start virtual module resolution in pnpm workspaces by serving the client entry through a real Vite virtual module.
-
-Simplify Start virtual module handling by sharing a single `createVirtualModule` helper and collapsing internal `@tanstack/start-plugin-core` imports to the root export surface.
diff --git a/examples/react/start-bare/package.json b/examples/react/start-bare/package.json
index 3e857ffb51..3fe0c3ea89 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 2bb37097cd..3b64844d3c 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 9d9fe392d1..b342e8f61f 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 0101d07f81..2759365c74 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 54b80c12c4..4f61c41cad 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 4a6867fa33..40fbfda91e 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"@tanstack/start-static-server-functions": "^1.166.32",
"@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 a52600ab46..4e3c6ab408 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 9dcf0e1d67..2369d59576 100644
--- a/examples/react/start-bun/package.json
+++ b/examples/react/start-bun/package.json
@@ -18,7 +18,7 @@
"@tanstack/react-router": "^1.168.19",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"@tanstack/router-plugin": "^1.167.21",
"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 7ca4f4cbfa..06405512e1 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"@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 5ac2a4ea74..417b28e69a 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 b2a96cf146..358b989069 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 d34619e4e8..85e028f403 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 aa1fc82748..bb72ff3faa 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 923ca75372..30c636d610 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.19",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"@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 e00a9f445c..6a0d373bd6 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 cc9106dcaf..6c512eaee8 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 7763376ac3..3ef1b8045e 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 7ab5796d24..eead5cc9e7 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 df1cdfdde2..8751fb1747 100644
--- a/examples/react/start-trellaux/package.json
+++ b/examples/react/start-trellaux/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-router": "^1.168.19",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"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 358234caec..6420d6a75a 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.35",
+ "@tanstack/react-start": "^1.167.36",
"@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 3efe4fc079..e71b5744f2 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"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 35c7a66738..031692919f 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"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 790c20c632..d0f2ebde8d 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"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 8f5a5c34e8..aa83717084 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"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 beae8b81e5..8de48b7cde 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"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 d5cc093735..7738b189e7 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.11",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"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 906dd3acf3..4c871e6006 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"@tanstack/start-static-server-functions": "^1.166.32",
"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 48779eff02..e4b98daaa5 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"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 28387ad1e8..4367a7921b 100644
--- a/examples/solid/start-bun/package.json
+++ b/examples/solid/start-bun/package.json
@@ -18,7 +18,7 @@
"@tanstack/solid-router": "^1.168.18",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.11",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"@tanstack/router-plugin": "^1.167.21",
"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 da9401e8f5..27e3212279 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"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 602ad470ad..ce50e3a801 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"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 0de8c4691c..bbccbc8a65 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-large/package.json b/examples/solid/start-large/package.json
index e85b2bd12c..26d9b6495f 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"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 b24281e8b0..3d8319fd74 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"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 b53ef2649c..5d3a30082b 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"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 a128fdab30..32661acd59 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.18",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.33",
+ "@tanstack/solid-start": "^1.167.34",
"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 d2b227cd4e..73cbb16267 100644
--- a/packages/react-start-rsc/CHANGELOG.md
+++ b/packages/react-start-rsc/CHANGELOG.md
@@ -1,5 +1,16 @@
# @tanstack/react-start-rsc
+## 0.0.16
+
+### Patch Changes
+
+- Fix Start virtual module resolution in pnpm workspaces by serving the client entry through a real Vite virtual module. ([#7178](https://github.com/TanStack/router/pull/7178))
+
+ Simplify Start virtual module handling by sharing a single `createVirtualModule` helper and collapsing internal `@tanstack/start-plugin-core` imports to the root export surface.
+
+- Updated dependencies [[`a581680`](https://github.com/TanStack/router/commit/a581680a27530469751b8ab419ada9ce66da4ffe)]:
+ - @tanstack/start-plugin-core@1.167.33
+
## 0.0.15
### Patch Changes
diff --git a/packages/react-start-rsc/package.json b/packages/react-start-rsc/package.json
index 6442b9b105..6f7fabad38 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.15",
+ "version": "0.0.16",
"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 6cad081da3..b9ab62c273 100644
--- a/packages/react-start/CHANGELOG.md
+++ b/packages/react-start/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/react-start
+## 1.167.36
+
+### Patch Changes
+
+- Updated dependencies [[`a581680`](https://github.com/TanStack/router/commit/a581680a27530469751b8ab419ada9ce66da4ffe)]:
+ - @tanstack/start-plugin-core@1.167.33
+ - @tanstack/react-start-rsc@0.0.16
+
## 1.167.35
### Patch Changes
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index c0eb86889e..89b1e86e17 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.167.35",
+ "version": "1.167.36",
"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 5a9289bd60..61a4e8e6b5 100644
--- a/packages/solid-start/CHANGELOG.md
+++ b/packages/solid-start/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/solid-start
+## 1.167.34
+
+### Patch Changes
+
+- Updated dependencies [[`a581680`](https://github.com/TanStack/router/commit/a581680a27530469751b8ab419ada9ce66da4ffe)]:
+ - @tanstack/start-plugin-core@1.167.33
+
## 1.167.33
### Patch Changes
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index 1fdbe2b23f..25c2958d8c 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.167.33",
+ "version": "1.167.34",
"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 4ac825790b..8c37fe2c87 100644
--- a/packages/start-plugin-core/CHANGELOG.md
+++ b/packages/start-plugin-core/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/start-plugin-core
+## 1.167.33
+
+### Patch Changes
+
+- Fix Start virtual module resolution in pnpm workspaces by serving the client entry through a real Vite virtual module. ([#7178](https://github.com/TanStack/router/pull/7178))
+
+ Simplify Start virtual module handling by sharing a single `createVirtualModule` helper and collapsing internal `@tanstack/start-plugin-core` imports to the root export surface.
+
## 1.167.32
### Patch Changes
diff --git a/packages/start-plugin-core/package.json b/packages/start-plugin-core/package.json
index e27f5ce4ec..b42e418224 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.167.32",
+ "version": "1.167.33",
"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 4c42e09780..b4aaae45a9 100644
--- a/packages/vue-start/CHANGELOG.md
+++ b/packages/vue-start/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/vue-start
+## 1.167.34
+
+### Patch Changes
+
+- Updated dependencies [[`a581680`](https://github.com/TanStack/router/commit/a581680a27530469751b8ab419ada9ce66da4ffe)]:
+ - @tanstack/start-plugin-core@1.167.33
+
## 1.167.33
### Patch Changes
diff --git a/packages/vue-start/package.json b/packages/vue-start/package.json
index cbae19de83..d6d9cd0e80 100644
--- a/packages/vue-start/package.json
+++ b/packages/vue-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start",
- "version": "1.167.33",
+ "version": "1.167.34",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
From 7324b98d114ba5ec28e5481dc1b0f023d781d1a6 Mon Sep 17 00:00:00 2001
From: Manuel Schiller
Date: Mon, 13 Apr 2026 23:01:35 +0200
Subject: [PATCH 003/608] fix: add react-server server export for react-start
(#7180)
---
.changeset/green-rabbits-share.md | 7 ++++
e2e/react-start/rsc/src/routeTree.gen.ts | 21 ++++++++++
e2e/react-start/rsc/src/routes/__root.tsx | 8 ++++
e2e/react-start/rsc/src/routes/index.tsx | 7 ++++
.../rsc/src/routes/rsc-request-headers.tsx | 38 +++++++++++++++++++
.../rsc/tests/rsc-request-headers.spec.ts | 28 ++++++++++++++
packages/react-start/package.json | 4 ++
packages/react-start/src/server.rsc.ts | 1 +
packages/react-start/vite.config.ts | 1 +
9 files changed, 115 insertions(+)
create mode 100644 .changeset/green-rabbits-share.md
create mode 100644 e2e/react-start/rsc/src/routes/rsc-request-headers.tsx
create mode 100644 e2e/react-start/rsc/tests/rsc-request-headers.spec.ts
create mode 100644 packages/react-start/src/server.rsc.ts
diff --git a/.changeset/green-rabbits-share.md b/.changeset/green-rabbits-share.md
new file mode 100644
index 0000000000..1c53b6d986
--- /dev/null
+++ b/.changeset/green-rabbits-share.md
@@ -0,0 +1,7 @@
+---
+'@tanstack/react-start': patch
+---
+
+Fix `@tanstack/react-start/server` imports inside React Server Components by adding a `react-server` export condition that resolves to the request/response APIs without pulling in the SSR renderer entrypoints.
+
+This fixes RSC routes that call `createServerFn` loaders and read request headers in dev with `@vitejs/plugin-rsc` enabled.
diff --git a/e2e/react-start/rsc/src/routeTree.gen.ts b/e2e/react-start/rsc/src/routeTree.gen.ts
index 60280db3a1..d5074d36e0 100644
--- a/e2e/react-start/rsc/src/routeTree.gen.ts
+++ b/e2e/react-start/rsc/src/routeTree.gen.ts
@@ -19,6 +19,7 @@ import { Route as RscSsrFalseRouteImport } from './routes/rsc-ssr-false'
import { Route as RscSsrDataOnlyRouteImport } from './routes/rsc-ssr-data-only'
import { Route as RscSlotsRouteImport } from './routes/rsc-slots'
import { Route as RscSlotJsxArgsRouteImport } from './routes/rsc-slot-jsx-args'
+import { Route as RscRequestHeadersRouteImport } from './routes/rsc-request-headers'
import { Route as RscReactCacheRouteImport } from './routes/rsc-react-cache'
import { Route as RscParallelRouteImport } from './routes/rsc-parallel'
import { Route as RscNestedStructureRouteImport } from './routes/rsc-nested-structure'
@@ -102,6 +103,11 @@ const RscSlotJsxArgsRoute = RscSlotJsxArgsRouteImport.update({
path: '/rsc-slot-jsx-args',
getParentRoute: () => rootRouteImport,
} as any)
+const RscRequestHeadersRoute = RscRequestHeadersRouteImport.update({
+ id: '/rsc-request-headers',
+ path: '/rsc-request-headers',
+ getParentRoute: () => rootRouteImport,
+} as any)
const RscReactCacheRoute = RscReactCacheRouteImport.update({
id: '/rsc-react-cache',
path: '/rsc-react-cache',
@@ -291,6 +297,7 @@ export interface FileRoutesByFullPath {
'/rsc-nested-structure': typeof RscNestedStructureRoute
'/rsc-parallel': typeof RscParallelRoute
'/rsc-react-cache': typeof RscReactCacheRoute
+ '/rsc-request-headers': typeof RscRequestHeadersRoute
'/rsc-slot-jsx-args': typeof RscSlotJsxArgsRoute
'/rsc-slots': typeof RscSlotsRoute
'/rsc-ssr-data-only': typeof RscSsrDataOnlyRoute
@@ -335,6 +342,7 @@ export interface FileRoutesByTo {
'/rsc-nested-structure': typeof RscNestedStructureRoute
'/rsc-parallel': typeof RscParallelRoute
'/rsc-react-cache': typeof RscReactCacheRoute
+ '/rsc-request-headers': typeof RscRequestHeadersRoute
'/rsc-slot-jsx-args': typeof RscSlotJsxArgsRoute
'/rsc-slots': typeof RscSlotsRoute
'/rsc-ssr-data-only': typeof RscSsrDataOnlyRoute
@@ -380,6 +388,7 @@ export interface FileRoutesById {
'/rsc-nested-structure': typeof RscNestedStructureRoute
'/rsc-parallel': typeof RscParallelRoute
'/rsc-react-cache': typeof RscReactCacheRoute
+ '/rsc-request-headers': typeof RscRequestHeadersRoute
'/rsc-slot-jsx-args': typeof RscSlotJsxArgsRoute
'/rsc-slots': typeof RscSlotsRoute
'/rsc-ssr-data-only': typeof RscSsrDataOnlyRoute
@@ -426,6 +435,7 @@ export interface FileRouteTypes {
| '/rsc-nested-structure'
| '/rsc-parallel'
| '/rsc-react-cache'
+ | '/rsc-request-headers'
| '/rsc-slot-jsx-args'
| '/rsc-slots'
| '/rsc-ssr-data-only'
@@ -470,6 +480,7 @@ export interface FileRouteTypes {
| '/rsc-nested-structure'
| '/rsc-parallel'
| '/rsc-react-cache'
+ | '/rsc-request-headers'
| '/rsc-slot-jsx-args'
| '/rsc-slots'
| '/rsc-ssr-data-only'
@@ -514,6 +525,7 @@ export interface FileRouteTypes {
| '/rsc-nested-structure'
| '/rsc-parallel'
| '/rsc-react-cache'
+ | '/rsc-request-headers'
| '/rsc-slot-jsx-args'
| '/rsc-slots'
| '/rsc-ssr-data-only'
@@ -559,6 +571,7 @@ export interface RootRouteChildren {
RscNestedStructureRoute: typeof RscNestedStructureRoute
RscParallelRoute: typeof RscParallelRoute
RscReactCacheRoute: typeof RscReactCacheRoute
+ RscRequestHeadersRoute: typeof RscRequestHeadersRoute
RscSlotJsxArgsRoute: typeof RscSlotJsxArgsRoute
RscSlotsRoute: typeof RscSlotsRoute
RscSsrDataOnlyRoute: typeof RscSsrDataOnlyRoute
@@ -648,6 +661,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof RscSlotJsxArgsRouteImport
parentRoute: typeof rootRouteImport
}
+ '/rsc-request-headers': {
+ id: '/rsc-request-headers'
+ path: '/rsc-request-headers'
+ fullPath: '/rsc-request-headers'
+ preLoaderRoute: typeof RscRequestHeadersRouteImport
+ parentRoute: typeof rootRouteImport
+ }
'/rsc-react-cache': {
id: '/rsc-react-cache'
path: '/rsc-react-cache'
@@ -903,6 +923,7 @@ const rootRouteChildren: RootRouteChildren = {
RscNestedStructureRoute: RscNestedStructureRoute,
RscParallelRoute: RscParallelRoute,
RscReactCacheRoute: RscReactCacheRoute,
+ RscRequestHeadersRoute: RscRequestHeadersRoute,
RscSlotJsxArgsRoute: RscSlotJsxArgsRoute,
RscSlotsRoute: RscSlotsRoute,
RscSsrDataOnlyRoute: RscSsrDataOnlyRoute,
diff --git a/e2e/react-start/rsc/src/routes/__root.tsx b/e2e/react-start/rsc/src/routes/__root.tsx
index 8939476b1a..ac169e7e94 100644
--- a/e2e/react-start/rsc/src/routes/__root.tsx
+++ b/e2e/react-start/rsc/src/routes/__root.tsx
@@ -304,6 +304,14 @@ function RootComponent() {
>
Global CSS
+
+ Request Headers
+
{
+ return getRequestHeaders().get('cookie') ?? ''
+})
+
+export const Route = createFileRoute('/rsc-request-headers')({
+ loader: async () => {
+ const cookies = await getCookies()
+
+ return {
+ cookies,
+ }
+ },
+ component: RscRequestHeadersComponent,
+})
+
+function RscRequestHeadersComponent() {
+ const { cookies } = Route.useLoaderData()
+
+ return (
+
+
+ RSC Request Headers
+
+
+ A route loader calling a server function can read request headers in the
+ RSC environment.
+
+
{cookies}
+
+ )
+}
diff --git a/e2e/react-start/rsc/tests/rsc-request-headers.spec.ts b/e2e/react-start/rsc/tests/rsc-request-headers.spec.ts
new file mode 100644
index 0000000000..95ee787d3a
--- /dev/null
+++ b/e2e/react-start/rsc/tests/rsc-request-headers.spec.ts
@@ -0,0 +1,28 @@
+import { expect } from '@playwright/test'
+import { test } from '@tanstack/router-e2e-utils'
+
+test.describe('RSC Request Headers Tests', () => {
+ test('loader server functions can read cookies with vite-rsc enabled', async ({
+ page,
+ context,
+ }) => {
+ await context.setExtraHTTPHeaders({
+ Cookie: 'session=abc123; theme=dark',
+ })
+
+ const response = await page.goto('/rsc-request-headers')
+ await page.waitForURL('/rsc-request-headers')
+
+ expect(response?.status()).toBe(200)
+
+ await expect(page.getByTestId('rsc-request-headers-title')).toHaveText(
+ 'RSC Request Headers',
+ )
+ await expect(page.getByTestId('rsc-request-headers-cookies')).toContainText(
+ 'session=abc123',
+ )
+ await expect(page.getByTestId('rsc-request-headers-cookies')).toContainText(
+ 'theme=dark',
+ )
+ })
+})
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index 89b1e86e17..1ae266a728 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -55,6 +55,10 @@
}
},
"./server": {
+ "react-server": {
+ "types": "./dist/esm/server.rsc.d.ts",
+ "default": "./dist/esm/server.rsc.js"
+ },
"import": {
"types": "./dist/esm/server.d.ts",
"default": "./dist/esm/server.js"
diff --git a/packages/react-start/src/server.rsc.ts b/packages/react-start/src/server.rsc.ts
new file mode 100644
index 0000000000..32383a58dc
--- /dev/null
+++ b/packages/react-start/src/server.rsc.ts
@@ -0,0 +1 @@
+export * from '@tanstack/start-server-core'
diff --git a/packages/react-start/vite.config.ts b/packages/react-start/vite.config.ts
index 1e5349d41a..20c0e5d69a 100644
--- a/packages/react-start/vite.config.ts
+++ b/packages/react-start/vite.config.ts
@@ -30,6 +30,7 @@ export default mergeConfig(
'./src/client.tsx',
'./src/client-rpc.ts',
'./src/server.tsx',
+ './src/server.rsc.ts',
'./src/server-rpc.ts',
'./src/ssr-rpc.ts',
'./src/rsc.tsx',
From e82dded043dfd568ba40797e890c5da1d12ebb95 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Mon, 13 Apr 2026 21:11:37 +0000
Subject: [PATCH 004/608] ci: changeset release
---
.changeset/green-rabbits-share.md | 7 -------
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/CHANGELOG.md | 8 ++++++++
packages/react-start/package.json | 2 +-
23 files changed, 29 insertions(+), 28 deletions(-)
delete mode 100644 .changeset/green-rabbits-share.md
diff --git a/.changeset/green-rabbits-share.md b/.changeset/green-rabbits-share.md
deleted file mode 100644
index 1c53b6d986..0000000000
--- a/.changeset/green-rabbits-share.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@tanstack/react-start': patch
----
-
-Fix `@tanstack/react-start/server` imports inside React Server Components by adding a `react-server` export condition that resolves to the request/response APIs without pulling in the SSR renderer entrypoints.
-
-This fixes RSC routes that call `createServerFn` loaders and read request headers in dev with `@vitejs/plugin-rsc` enabled.
diff --git a/examples/react/start-bare/package.json b/examples/react/start-bare/package.json
index 3fe0c3ea89..87f7bf2063 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 3b64844d3c..aec045f530 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 b342e8f61f..989ff0efb9 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 2759365c74..dee60f02ad 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 4f61c41cad..03fd4c744d 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 40fbfda91e..8b0800f955 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"@tanstack/start-static-server-functions": "^1.166.32",
"@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 4e3c6ab408..484caebb72 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 2369d59576..699d70398d 100644
--- a/examples/react/start-bun/package.json
+++ b/examples/react/start-bun/package.json
@@ -18,7 +18,7 @@
"@tanstack/react-router": "^1.168.19",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"@tanstack/router-plugin": "^1.167.21",
"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 06405512e1..4e52cf32cc 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"@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 417b28e69a..64e3090906 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 358b989069..70b19e3a1f 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 85e028f403..485e021384 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 bb72ff3faa..1cc318a050 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 30c636d610..12b5b9e59e 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.19",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"@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 6a0d373bd6..347414f630 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 6c512eaee8..b21f0bf164 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 3ef1b8045e..43f0866afc 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 eead5cc9e7..5c10526e65 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 8751fb1747..b6d0d9a7bc 100644
--- a/examples/react/start-trellaux/package.json
+++ b/examples/react/start-trellaux/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-router": "^1.168.19",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"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 6420d6a75a..c16fe1c297 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.19",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.36",
+ "@tanstack/react-start": "^1.167.37",
"@workos/authkit-tanstack-react-start": "^0.5.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
diff --git a/packages/react-start/CHANGELOG.md b/packages/react-start/CHANGELOG.md
index b9ab62c273..30fea2c69e 100644
--- a/packages/react-start/CHANGELOG.md
+++ b/packages/react-start/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/react-start
+## 1.167.37
+
+### Patch Changes
+
+- Fix `@tanstack/react-start/server` imports inside React Server Components by adding a `react-server` export condition that resolves to the request/response APIs without pulling in the SSR renderer entrypoints. ([#7180](https://github.com/TanStack/router/pull/7180))
+
+ This fixes RSC routes that call `createServerFn` loaders and read request headers in dev with `@vitejs/plugin-rsc` enabled.
+
## 1.167.36
### Patch Changes
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index 1ae266a728..89ff815773 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.167.36",
+ "version": "1.167.37",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
From f1a4973d41dcd552b9663964b1b06e019c42b517 Mon Sep 17 00:00:00 2001
From: MoonBrillante <32852571+MoonBrillante@users.noreply.github.com>
Date: Mon, 13 Apr 2026 23:29:07 +0200
Subject: [PATCH 005/608] fix(docs): correct server function name in example
(#7173)
---
docs/start/framework/react/guide/server-functions.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/start/framework/react/guide/server-functions.md b/docs/start/framework/react/guide/server-functions.md
index fb843a501c..3844b205ab 100644
--- a/docs/start/framework/react/guide/server-functions.md
+++ b/docs/start/framework/react/guide/server-functions.md
@@ -52,7 +52,7 @@ Call server functions from:
```tsx
// In a route loader
export const Route = createFileRoute('/posts')({
- loader: () => getPosts(),
+ loader: () => getServerPosts(),
})
// In a component
From c5ad32936f6adcca0c56474677b73b212498443b Mon Sep 17 00:00:00 2001
From: Manuel Schiller
Date: Tue, 14 Apr 2026 00:48:18 +0200
Subject: [PATCH 006/608] fix react server exports for start and react-router
(#7183)
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
---
.changeset/neat-melons-worry.md | 7 +++
e2e/react-start/rsc/src/routeTree.gen.ts | 42 ++++++++++++++++
e2e/react-start/rsc/src/routes/__root.tsx | 16 ++++++
e2e/react-start/rsc/src/routes/index.tsx | 14 ++++++
.../rsc/src/routes/rsc-server-not-found.tsx | 50 +++++++++++++++++++
.../rsc/src/routes/rsc-server-redirect.tsx | 26 ++++++++++
.../rsc/tests/rsc-server-not-found.spec.ts | 47 +++++++++++++++++
.../rsc/tests/rsc-server-redirect.spec.ts | 27 ++++++++++
packages/react-router/package.json | 4 ++
packages/react-router/src/index.rsc.ts | 11 ++++
packages/react-router/vite.config.ts | 1 +
11 files changed, 245 insertions(+)
create mode 100644 .changeset/neat-melons-worry.md
create mode 100644 e2e/react-start/rsc/src/routes/rsc-server-not-found.tsx
create mode 100644 e2e/react-start/rsc/src/routes/rsc-server-redirect.tsx
create mode 100644 e2e/react-start/rsc/tests/rsc-server-not-found.spec.ts
create mode 100644 e2e/react-start/rsc/tests/rsc-server-redirect.spec.ts
create mode 100644 packages/react-router/src/index.rsc.ts
diff --git a/.changeset/neat-melons-worry.md b/.changeset/neat-melons-worry.md
new file mode 100644
index 0000000000..d9148ae10d
--- /dev/null
+++ b/.changeset/neat-melons-worry.md
@@ -0,0 +1,7 @@
+---
+'@tanstack/react-router': patch
+---
+
+Fix React Server Component imports from `@tanstack/react-router` by adding a `react-server` root export that preserves the normal API surface while resolving `notFound` and `redirect` from a server-safe entry.
+
+This fixes RSC routes that throw `notFound()` or `redirect()` from server functions so they behave correctly during SSR and client navigation.
diff --git a/e2e/react-start/rsc/src/routeTree.gen.ts b/e2e/react-start/rsc/src/routeTree.gen.ts
index d5074d36e0..c06c950ea2 100644
--- a/e2e/react-start/rsc/src/routeTree.gen.ts
+++ b/e2e/react-start/rsc/src/routeTree.gen.ts
@@ -19,6 +19,8 @@ import { Route as RscSsrFalseRouteImport } from './routes/rsc-ssr-false'
import { Route as RscSsrDataOnlyRouteImport } from './routes/rsc-ssr-data-only'
import { Route as RscSlotsRouteImport } from './routes/rsc-slots'
import { Route as RscSlotJsxArgsRouteImport } from './routes/rsc-slot-jsx-args'
+import { Route as RscServerRedirectRouteImport } from './routes/rsc-server-redirect'
+import { Route as RscServerNotFoundRouteImport } from './routes/rsc-server-not-found'
import { Route as RscRequestHeadersRouteImport } from './routes/rsc-request-headers'
import { Route as RscReactCacheRouteImport } from './routes/rsc-react-cache'
import { Route as RscParallelRouteImport } from './routes/rsc-parallel'
@@ -103,6 +105,16 @@ const RscSlotJsxArgsRoute = RscSlotJsxArgsRouteImport.update({
path: '/rsc-slot-jsx-args',
getParentRoute: () => rootRouteImport,
} as any)
+const RscServerRedirectRoute = RscServerRedirectRouteImport.update({
+ id: '/rsc-server-redirect',
+ path: '/rsc-server-redirect',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const RscServerNotFoundRoute = RscServerNotFoundRouteImport.update({
+ id: '/rsc-server-not-found',
+ path: '/rsc-server-not-found',
+ getParentRoute: () => rootRouteImport,
+} as any)
const RscRequestHeadersRoute = RscRequestHeadersRouteImport.update({
id: '/rsc-request-headers',
path: '/rsc-request-headers',
@@ -298,6 +310,8 @@ export interface FileRoutesByFullPath {
'/rsc-parallel': typeof RscParallelRoute
'/rsc-react-cache': typeof RscReactCacheRoute
'/rsc-request-headers': typeof RscRequestHeadersRoute
+ '/rsc-server-not-found': typeof RscServerNotFoundRoute
+ '/rsc-server-redirect': typeof RscServerRedirectRoute
'/rsc-slot-jsx-args': typeof RscSlotJsxArgsRoute
'/rsc-slots': typeof RscSlotsRoute
'/rsc-ssr-data-only': typeof RscSsrDataOnlyRoute
@@ -343,6 +357,8 @@ export interface FileRoutesByTo {
'/rsc-parallel': typeof RscParallelRoute
'/rsc-react-cache': typeof RscReactCacheRoute
'/rsc-request-headers': typeof RscRequestHeadersRoute
+ '/rsc-server-not-found': typeof RscServerNotFoundRoute
+ '/rsc-server-redirect': typeof RscServerRedirectRoute
'/rsc-slot-jsx-args': typeof RscSlotJsxArgsRoute
'/rsc-slots': typeof RscSlotsRoute
'/rsc-ssr-data-only': typeof RscSsrDataOnlyRoute
@@ -389,6 +405,8 @@ export interface FileRoutesById {
'/rsc-parallel': typeof RscParallelRoute
'/rsc-react-cache': typeof RscReactCacheRoute
'/rsc-request-headers': typeof RscRequestHeadersRoute
+ '/rsc-server-not-found': typeof RscServerNotFoundRoute
+ '/rsc-server-redirect': typeof RscServerRedirectRoute
'/rsc-slot-jsx-args': typeof RscSlotJsxArgsRoute
'/rsc-slots': typeof RscSlotsRoute
'/rsc-ssr-data-only': typeof RscSsrDataOnlyRoute
@@ -436,6 +454,8 @@ export interface FileRouteTypes {
| '/rsc-parallel'
| '/rsc-react-cache'
| '/rsc-request-headers'
+ | '/rsc-server-not-found'
+ | '/rsc-server-redirect'
| '/rsc-slot-jsx-args'
| '/rsc-slots'
| '/rsc-ssr-data-only'
@@ -481,6 +501,8 @@ export interface FileRouteTypes {
| '/rsc-parallel'
| '/rsc-react-cache'
| '/rsc-request-headers'
+ | '/rsc-server-not-found'
+ | '/rsc-server-redirect'
| '/rsc-slot-jsx-args'
| '/rsc-slots'
| '/rsc-ssr-data-only'
@@ -526,6 +548,8 @@ export interface FileRouteTypes {
| '/rsc-parallel'
| '/rsc-react-cache'
| '/rsc-request-headers'
+ | '/rsc-server-not-found'
+ | '/rsc-server-redirect'
| '/rsc-slot-jsx-args'
| '/rsc-slots'
| '/rsc-ssr-data-only'
@@ -572,6 +596,8 @@ export interface RootRouteChildren {
RscParallelRoute: typeof RscParallelRoute
RscReactCacheRoute: typeof RscReactCacheRoute
RscRequestHeadersRoute: typeof RscRequestHeadersRoute
+ RscServerNotFoundRoute: typeof RscServerNotFoundRoute
+ RscServerRedirectRoute: typeof RscServerRedirectRoute
RscSlotJsxArgsRoute: typeof RscSlotJsxArgsRoute
RscSlotsRoute: typeof RscSlotsRoute
RscSsrDataOnlyRoute: typeof RscSsrDataOnlyRoute
@@ -661,6 +687,20 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof RscSlotJsxArgsRouteImport
parentRoute: typeof rootRouteImport
}
+ '/rsc-server-redirect': {
+ id: '/rsc-server-redirect'
+ path: '/rsc-server-redirect'
+ fullPath: '/rsc-server-redirect'
+ preLoaderRoute: typeof RscServerRedirectRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/rsc-server-not-found': {
+ id: '/rsc-server-not-found'
+ path: '/rsc-server-not-found'
+ fullPath: '/rsc-server-not-found'
+ preLoaderRoute: typeof RscServerNotFoundRouteImport
+ parentRoute: typeof rootRouteImport
+ }
'/rsc-request-headers': {
id: '/rsc-request-headers'
path: '/rsc-request-headers'
@@ -924,6 +964,8 @@ const rootRouteChildren: RootRouteChildren = {
RscParallelRoute: RscParallelRoute,
RscReactCacheRoute: RscReactCacheRoute,
RscRequestHeadersRoute: RscRequestHeadersRoute,
+ RscServerNotFoundRoute: RscServerNotFoundRoute,
+ RscServerRedirectRoute: RscServerRedirectRoute,
RscSlotJsxArgsRoute: RscSlotJsxArgsRoute,
RscSlotsRoute: RscSlotsRoute,
RscSsrDataOnlyRoute: RscSsrDataOnlyRoute,
diff --git a/e2e/react-start/rsc/src/routes/__root.tsx b/e2e/react-start/rsc/src/routes/__root.tsx
index ac169e7e94..9ebb559527 100644
--- a/e2e/react-start/rsc/src/routes/__root.tsx
+++ b/e2e/react-start/rsc/src/routes/__root.tsx
@@ -312,6 +312,22 @@ function RootComponent() {
>
Request Headers
+
+ Server Not Found
+
+
+ Server Redirect
+
{
+ throw notFound()
+})
+
+export const Route = createFileRoute('/rsc-server-not-found')({
+ loader: async () => {
+ await getMissingResource()
+ },
+ component: RscServerNotFoundComponent,
+ notFoundComponent: RscServerNotFoundBoundary,
+})
+
+function RscServerNotFoundComponent() {
+ return (
+
+
+ RSC Server Not Found
+
+
+ )
+}
+
+function RscServerNotFoundBoundary() {
+ return (
+
+
+ RSC Server Function Not Found
+
+
+ The server function threw `notFound()` and the route-level not found
+ boundary rendered instead of crashing.
+
+
+ Back home
+
+
+ )
+}
diff --git a/e2e/react-start/rsc/src/routes/rsc-server-redirect.tsx b/e2e/react-start/rsc/src/routes/rsc-server-redirect.tsx
new file mode 100644
index 0000000000..a8e14f6c93
--- /dev/null
+++ b/e2e/react-start/rsc/src/routes/rsc-server-redirect.tsx
@@ -0,0 +1,26 @@
+import { createFileRoute, redirect } from '@tanstack/react-router'
+import { createServerFn } from '@tanstack/react-start'
+import { pageStyles } from '~/utils/styles'
+
+const redirectToBasic = createServerFn({
+ method: 'GET',
+}).handler(async () => {
+ throw redirect({ to: '/rsc-basic' })
+})
+
+export const Route = createFileRoute('/rsc-server-redirect')({
+ loader: async () => {
+ await redirectToBasic()
+ },
+ component: RscServerRedirectComponent,
+})
+
+function RscServerRedirectComponent() {
+ return (
+
+
+ RSC Server Redirect
+
+
+ )
+}
diff --git a/e2e/react-start/rsc/tests/rsc-server-not-found.spec.ts b/e2e/react-start/rsc/tests/rsc-server-not-found.spec.ts
new file mode 100644
index 0000000000..c760b40140
--- /dev/null
+++ b/e2e/react-start/rsc/tests/rsc-server-not-found.spec.ts
@@ -0,0 +1,47 @@
+import { expect } from '@playwright/test'
+import { test } from '@tanstack/router-e2e-utils'
+
+test.describe('RSC Server Not Found Tests', () => {
+ test.use({
+ whitelistErrors: [
+ 'Failed to load resource: the server responded with a status of 404',
+ ],
+ })
+
+ test('SSR renders the route notFoundComponent when a server function throws notFound', async ({
+ page,
+ }) => {
+ const response = await page.goto('/rsc-server-not-found')
+ await page.waitForURL('/rsc-server-not-found')
+
+ expect(response?.status()).toBe(404)
+
+ await expect(
+ page.getByTestId('rsc-server-not-found-boundary'),
+ ).toBeVisible()
+ await expect(page.getByTestId('rsc-server-not-found-heading')).toHaveText(
+ 'RSC Server Function Not Found',
+ )
+ await expect(
+ page.getByTestId('rsc-server-not-found-message'),
+ ).toContainText('server function threw `notFound()`')
+ })
+
+ test('client navigation renders the route notFoundComponent when a server function throws notFound', async ({
+ page,
+ }) => {
+ await page.goto('/')
+ await page.waitForURL('/')
+ await expect(page.getByTestId('app-hydrated')).toHaveText('hydrated')
+
+ await page.getByTestId('nav-server-not-found').click()
+ await page.waitForURL('/rsc-server-not-found')
+
+ await expect(
+ page.getByTestId('rsc-server-not-found-boundary'),
+ ).toBeVisible()
+ await expect(page.getByTestId('rsc-server-not-found-heading')).toHaveText(
+ 'RSC Server Function Not Found',
+ )
+ })
+})
diff --git a/e2e/react-start/rsc/tests/rsc-server-redirect.spec.ts b/e2e/react-start/rsc/tests/rsc-server-redirect.spec.ts
new file mode 100644
index 0000000000..da0a84fb94
--- /dev/null
+++ b/e2e/react-start/rsc/tests/rsc-server-redirect.spec.ts
@@ -0,0 +1,27 @@
+import { expect } from '@playwright/test'
+import { test } from '@tanstack/router-e2e-utils'
+
+test.describe('RSC Server Redirect Tests', () => {
+ test('SSR follows route redirect when a server function throws redirect', async ({
+ page,
+ }) => {
+ const response = await page.goto('/rsc-server-redirect')
+ await page.waitForURL('/rsc-basic')
+
+ expect(response?.status()).toBe(200)
+ await expect(page.getByTestId('rsc-basic-content')).toBeVisible()
+ })
+
+ test('client navigation follows route redirect when a server function throws redirect', async ({
+ page,
+ }) => {
+ await page.goto('/')
+ await page.waitForURL('/')
+ await expect(page.getByTestId('app-hydrated')).toHaveText('hydrated')
+
+ await page.getByTestId('nav-server-redirect').click()
+ await page.waitForURL('/rsc-basic')
+
+ await expect(page.getByTestId('rsc-basic-content')).toBeVisible()
+ })
+})
diff --git a/packages/react-router/package.json b/packages/react-router/package.json
index 20eaf383bb..63e72a4944 100644
--- a/packages/react-router/package.json
+++ b/packages/react-router/package.json
@@ -48,6 +48,10 @@
"module": "dist/esm/index.js",
"exports": {
".": {
+ "react-server": {
+ "types": "./dist/esm/index.rsc.d.ts",
+ "default": "./dist/esm/index.rsc.js"
+ },
"import": {
"types": "./dist/esm/index.d.ts",
"development": "./dist/esm/index.dev.js",
diff --git a/packages/react-router/src/index.rsc.ts b/packages/react-router/src/index.rsc.ts
new file mode 100644
index 0000000000..d5baf7e952
--- /dev/null
+++ b/packages/react-router/src/index.rsc.ts
@@ -0,0 +1,11 @@
+export * from './index'
+
+export {
+ notFound,
+ isNotFound,
+ redirect,
+ isRedirect,
+ rootRouteId,
+} from '@tanstack/router-core'
+
+export type { NotFoundError } from '@tanstack/router-core'
diff --git a/packages/react-router/vite.config.ts b/packages/react-router/vite.config.ts
index f21400df28..0eb9e3c77e 100644
--- a/packages/react-router/vite.config.ts
+++ b/packages/react-router/vite.config.ts
@@ -28,6 +28,7 @@ export default mergeConfig(
tsconfigPath: './tsconfig.build.json',
entry: [
'./src/index.tsx',
+ './src/index.rsc.ts',
'./src/index.dev.tsx',
'./src/ssr/client.ts',
'./src/ssr/server.ts',
From c3d525924d0ae4f36140c97d63df187aa527728d Mon Sep 17 00:00:00 2001
From: Manuel Schiller
Date: Tue, 14 Apr 2026 01:07:14 +0200
Subject: [PATCH 007/608] chore: stabilize tests (#7185)
---
.../rsc/src/routes/rsc-ssr-false.tsx | 7 +-
.../rsc/tests/rsc-ssr-false.spec.ts | 96 ++++++++++---------
2 files changed, 57 insertions(+), 46 deletions(-)
diff --git a/e2e/react-start/rsc/src/routes/rsc-ssr-false.tsx b/e2e/react-start/rsc/src/routes/rsc-ssr-false.tsx
index c0df96d9b8..1f81248f87 100644
--- a/e2e/react-start/rsc/src/routes/rsc-ssr-false.tsx
+++ b/e2e/react-start/rsc/src/routes/rsc-ssr-false.tsx
@@ -298,6 +298,7 @@ function RscSsrFalseComponent() {
const canvasRef = React.useRef(null)
const hasMounted = React.useRef(false)
+ const isDrawingRef = React.useRef(false)
const [isDrawing, setIsDrawing] = React.useState(false)
const [brushSize, setBrushSize] = React.useState(tools.brushSizes[1])
// Initialize color from localStorage if available, otherwise use default
@@ -362,6 +363,7 @@ function RscSsrFalseComponent() {
const canvas = canvasRef.current
if (!canvas) return
+ isDrawingRef.current = true
setIsDrawing(true)
const rect = canvas.getBoundingClientRect()
const ctx = canvas.getContext('2d')
@@ -372,7 +374,7 @@ function RscSsrFalseComponent() {
}
const draw = (e: React.MouseEvent) => {
- if (!isDrawing) return
+ if (!isDrawingRef.current) return
const canvas = canvasRef.current
if (!canvas) return
@@ -389,7 +391,8 @@ function RscSsrFalseComponent() {
}
const stopDrawing = () => {
- if (isDrawing) {
+ if (isDrawingRef.current) {
+ isDrawingRef.current = false
setStrokeCount((c) => {
const newCount = c + 1
// Save stroke count to localStorage
diff --git a/e2e/react-start/rsc/tests/rsc-ssr-false.spec.ts b/e2e/react-start/rsc/tests/rsc-ssr-false.spec.ts
index 7c730dad8e..71490dd6b6 100644
--- a/e2e/react-start/rsc/tests/rsc-ssr-false.spec.ts
+++ b/e2e/react-start/rsc/tests/rsc-ssr-false.spec.ts
@@ -1,6 +1,11 @@
import { expect } from '@playwright/test'
import { test } from '@tanstack/router-e2e-utils'
+type Point = {
+ x: number
+ y: number
+}
+
// This warning can occur during rapid navigation/hydration cycles and doesn't affect functionality
// It's a React development mode warning about async state updates during mounting
test.use({
@@ -20,6 +25,31 @@ test.describe('RSC SSR False Tests - Both loader and component on client', () =>
})
}
+ async function drawStroke(page: any, start: Point, end: Point) {
+ await page.getByTestId('drawing-canvas').evaluate(
+ (
+ canvas: HTMLCanvasElement,
+ { start, end }: { start: Point; end: Point },
+ ) => {
+ const rect = canvas.getBoundingClientRect()
+
+ const createMouseEvent = (type: string, point: Point) =>
+ new MouseEvent(type, {
+ bubbles: true,
+ cancelable: true,
+ clientX: rect.left + point.x,
+ clientY: rect.top + point.y,
+ })
+
+ canvas.dispatchEvent(createMouseEvent('mousedown', start))
+ canvas.dispatchEvent(createMouseEvent('mousemove', start))
+ canvas.dispatchEvent(createMouseEvent('mousemove', end))
+ canvas.dispatchEvent(createMouseEvent('mouseup', end))
+ },
+ { start, end },
+ )
+ }
+
test('Page renders with RSC content after initial client load', async ({
page,
}) => {
@@ -117,33 +147,21 @@ test.describe('RSC SSR False Tests - Both loader and component on client', () =>
await expect(page.getByTestId('canvas-container')).toBeVisible()
- const canvas = page.getByTestId('drawing-canvas')
- const box = await canvas.boundingBox()
- expect(box).not.toBeNull()
-
// Draw a stroke
- await page.mouse.move(box!.x + 50, box!.y + 50)
- await page.mouse.down()
- await page.mouse.move(box!.x + 150, box!.y + 100)
- await page.mouse.up()
+ await drawStroke(page, { x: 50, y: 50 }, { x: 150, y: 100 })
// Verify stroke count increased
- const containerText = await page
- .getByTestId('canvas-container')
- .textContent()
- expect(containerText).toContain('Strokes: 1')
+ await expect(page.getByTestId('canvas-container')).toContainText(
+ 'Strokes: 1',
+ )
// Draw another stroke
- await page.mouse.move(box!.x + 100, box!.y + 30)
- await page.mouse.down()
- await page.mouse.move(box!.x + 200, box!.y + 80)
- await page.mouse.up()
+ await drawStroke(page, { x: 100, y: 30 }, { x: 200, y: 80 })
// Verify stroke count increased again
- const containerText2 = await page
- .getByTestId('canvas-container')
- .textContent()
- expect(containerText2).toContain('Strokes: 2')
+ await expect(page.getByTestId('canvas-container')).toContainText(
+ 'Strokes: 2',
+ )
})
test('Clear canvas button works', async ({ page }) => {
@@ -153,26 +171,21 @@ test.describe('RSC SSR False Tests - Both loader and component on client', () =>
await expect(page.getByTestId('canvas-container')).toBeVisible()
- const canvas = page.getByTestId('drawing-canvas')
- const box = await canvas.boundingBox()
- expect(box).not.toBeNull()
-
// Draw a stroke
- await page.mouse.move(box!.x + 50, box!.y + 50)
- await page.mouse.down()
- await page.mouse.move(box!.x + 150, box!.y + 100)
- await page.mouse.up()
+ await drawStroke(page, { x: 50, y: 50 }, { x: 150, y: 100 })
// Verify stroke was recorded
- let containerText = await page.getByTestId('canvas-container').textContent()
- expect(containerText).toContain('Strokes: 1')
+ await expect(page.getByTestId('canvas-container')).toContainText(
+ 'Strokes: 1',
+ )
// Clear canvas
await page.getByTestId('clear-canvas-btn').click()
// Verify stroke count reset
- containerText = await page.getByTestId('canvas-container').textContent()
- expect(containerText).toContain('Strokes: 0')
+ await expect(page.getByTestId('canvas-container')).toContainText(
+ 'Strokes: 0',
+ )
})
test('Save controls are visible and functional', async ({ page }) => {
@@ -313,18 +326,12 @@ test.describe('RSC SSR False Tests - Both loader and component on client', () =>
await page.getByTestId('clear-canvas-btn').click()
// Draw something
- const canvas = page.getByTestId('drawing-canvas')
- const box = await canvas.boundingBox()
- expect(box).not.toBeNull()
-
- await page.mouse.move(box!.x + 50, box!.y + 50)
- await page.mouse.down()
- await page.mouse.move(box!.x + 150, box!.y + 100)
- await page.mouse.up()
+ await drawStroke(page, { x: 50, y: 50 }, { x: 150, y: 100 })
// Verify stroke was counted
- let containerText = await page.getByTestId('canvas-container').textContent()
- expect(containerText).toContain('Strokes: 1')
+ await expect(page.getByTestId('canvas-container')).toContainText(
+ 'Strokes: 1',
+ )
// Reload page
await page.reload()
@@ -340,7 +347,8 @@ test.describe('RSC SSR False Tests - Both loader and component on client', () =>
)
// Verify stroke count was also restored
- containerText = await page.getByTestId('canvas-container').textContent()
- expect(containerText).toContain('Strokes: 1')
+ await expect(page.getByTestId('canvas-container')).toContainText(
+ 'Strokes: 1',
+ )
})
})
From 73cd5699ac470d566fb06982f15a9862d25ca5c7 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Mon, 13 Apr 2026 23:09:50 +0000
Subject: [PATCH 008/608] ci: changeset release
---
.changeset/neat-melons-worry.md | 7 -------
.../react/authenticated-routes-firebase/package.json | 2 +-
examples/react/authenticated-routes/package.json | 2 +-
.../react/basic-default-search-params/package.json | 2 +-
examples/react/basic-devtools-panel/package.json | 2 +-
examples/react/basic-file-based/package.json | 2 +-
examples/react/basic-non-nested-devtools/package.json | 2 +-
.../react/basic-react-query-file-based/package.json | 2 +-
examples/react/basic-react-query/package.json | 2 +-
examples/react/basic-ssr-file-based/package.json | 2 +-
.../react/basic-ssr-streaming-file-based/package.json | 2 +-
examples/react/basic-virtual-file-based/package.json | 2 +-
.../react/basic-virtual-inside-file-based/package.json | 2 +-
examples/react/basic/package.json | 2 +-
examples/react/deferred-data/package.json | 2 +-
examples/react/i18n-paraglide/package.json | 2 +-
examples/react/kitchen-sink-file-based/package.json | 2 +-
.../kitchen-sink-react-query-file-based/package.json | 2 +-
examples/react/kitchen-sink-react-query/package.json | 2 +-
examples/react/kitchen-sink/package.json | 2 +-
examples/react/large-file-based/package.json | 2 +-
examples/react/location-masking/package.json | 2 +-
examples/react/navigation-blocking/package.json | 2 +-
.../react/quickstart-esbuild-file-based/package.json | 2 +-
examples/react/quickstart-file-based/package.json | 2 +-
.../react/quickstart-rspack-file-based/package.json | 2 +-
.../react/quickstart-webpack-file-based/package.json | 2 +-
examples/react/quickstart/package.json | 2 +-
.../react/router-monorepo-react-query/package.json | 2 +-
.../packages/router/package.json | 2 +-
.../react/router-monorepo-simple-lazy/package.json | 2 +-
.../packages/router/package.json | 2 +-
examples/react/router-monorepo-simple/package.json | 2 +-
.../packages/router/package.json | 2 +-
examples/react/scroll-restoration/package.json | 2 +-
examples/react/search-validator-adapters/package.json | 2 +-
examples/react/start-bare/package.json | 4 ++--
examples/react/start-basic-auth/package.json | 4 ++--
examples/react/start-basic-authjs/package.json | 4 ++--
examples/react/start-basic-cloudflare/package.json | 4 ++--
examples/react/start-basic-react-query/package.json | 4 ++--
examples/react/start-basic-static/package.json | 4 ++--
examples/react/start-basic/package.json | 4 ++--
examples/react/start-bun/package.json | 4 ++--
examples/react/start-clerk-basic/package.json | 4 ++--
examples/react/start-convex-trellaux/package.json | 4 ++--
examples/react/start-counter/package.json | 4 ++--
examples/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 ++--
examples/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 | 2 +-
examples/react/with-framer-motion/package.json | 2 +-
examples/react/with-trpc-react-query/package.json | 2 +-
examples/react/with-trpc/package.json | 2 +-
packages/react-router/CHANGELOG.md | 8 ++++++++
packages/react-router/package.json | 2 +-
packages/react-start-client/CHANGELOG.md | 7 +++++++
packages/react-start-client/package.json | 2 +-
packages/react-start-rsc/CHANGELOG.md | 8 ++++++++
packages/react-start-rsc/package.json | 2 +-
packages/react-start-server/CHANGELOG.md | 7 +++++++
packages/react-start-server/package.json | 2 +-
packages/react-start/CHANGELOG.md | 10 ++++++++++
packages/react-start/package.json | 2 +-
70 files changed, 124 insertions(+), 91 deletions(-)
delete mode 100644 .changeset/neat-melons-worry.md
diff --git a/.changeset/neat-melons-worry.md b/.changeset/neat-melons-worry.md
deleted file mode 100644
index d9148ae10d..0000000000
--- a/.changeset/neat-melons-worry.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@tanstack/react-router': patch
----
-
-Fix React Server Component imports from `@tanstack/react-router` by adding a `react-server` root export that preserves the normal API surface while resolving `notFound` and `redirect` from a server-safe entry.
-
-This fixes RSC routes that throw `notFound()` or `redirect()` from server functions so they behave correctly during SSR and client navigation.
diff --git a/examples/react/authenticated-routes-firebase/package.json b/examples/react/authenticated-routes-firebase/package.json
index bf4a82d319..0456cfc1e1 100644
--- a/examples/react/authenticated-routes-firebase/package.json
+++ b/examples/react/authenticated-routes-firebase/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"firebase": "^11.4.0",
diff --git a/examples/react/authenticated-routes/package.json b/examples/react/authenticated-routes/package.json
index 7e58cbb842..86d7d48927 100644
--- a/examples/react/authenticated-routes/package.json
+++ b/examples/react/authenticated-routes/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"react": "^19.0.0",
diff --git a/examples/react/basic-default-search-params/package.json b/examples/react/basic-default-search-params/package.json
index 75ec36fc6d..91d5a9193e 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@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 117d935373..7344200aa3 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@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 0f8fc59389..f6f34943e7 100644
--- a/examples/react/basic-file-based/package.json
+++ b/examples/react/basic-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"react": "^19.0.0",
diff --git a/examples/react/basic-non-nested-devtools/package.json b/examples/react/basic-non-nested-devtools/package.json
index 38fc1e65e0..0ffbda985e 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@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 1b944d8874..7207e32aef 100644
--- a/examples/react/basic-react-query-file-based/package.json
+++ b/examples/react/basic-react-query-file-based/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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"react": "^19.0.0",
diff --git a/examples/react/basic-react-query/package.json b/examples/react/basic-react-query/package.json
index 8828bf5504..5d7a929042 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@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 609205f9d5..d51fbc4736 100644
--- a/examples/react/basic-ssr-file-based/package.json
+++ b/examples/react/basic-ssr-file-based/package.json
@@ -11,7 +11,7 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/router-plugin": "^1.167.21",
"compression": "^1.8.0",
"express": "^4.21.2",
diff --git a/examples/react/basic-ssr-streaming-file-based/package.json b/examples/react/basic-ssr-streaming-file-based/package.json
index 3608c414ec..5540b2e42c 100644
--- a/examples/react/basic-ssr-streaming-file-based/package.json
+++ b/examples/react/basic-ssr-streaming-file-based/package.json
@@ -11,7 +11,7 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/router-plugin": "^1.167.21",
"compression": "^1.8.0",
"express": "^4.21.2",
diff --git a/examples/react/basic-virtual-file-based/package.json b/examples/react/basic-virtual-file-based/package.json
index ceca586ffb..45e0d27a76 100644
--- a/examples/react/basic-virtual-file-based/package.json
+++ b/examples/react/basic-virtual-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"@tanstack/virtual-file-routes": "^1.161.7",
diff --git a/examples/react/basic-virtual-inside-file-based/package.json b/examples/react/basic-virtual-inside-file-based/package.json
index 303c676733..5aeed96944 100644
--- a/examples/react/basic-virtual-inside-file-based/package.json
+++ b/examples/react/basic-virtual-inside-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"@tanstack/virtual-file-routes": "^1.161.7",
diff --git a/examples/react/basic/package.json b/examples/react/basic/package.json
index 375567f985..0ab9ff9881 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@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 9bc10a545b..19e831f895 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@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 8955206b22..296303cd57 100644
--- a/examples/react/i18n-paraglide/package.json
+++ b/examples/react/i18n-paraglide/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/router-plugin": "^1.167.21",
"react": "^19.1.1",
"react-dom": "^19.1.1",
diff --git a/examples/react/kitchen-sink-file-based/package.json b/examples/react/kitchen-sink-file-based/package.json
index 285b38db03..2cf8273ec1 100644
--- a/examples/react/kitchen-sink-file-based/package.json
+++ b/examples/react/kitchen-sink-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"immer": "^10.1.1",
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 dc65d9d237..828a9dde2b 100644
--- a/examples/react/kitchen-sink-react-query-file-based/package.json
+++ b/examples/react/kitchen-sink-react-query-file-based/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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"immer": "^10.1.1",
diff --git a/examples/react/kitchen-sink-react-query/package.json b/examples/react/kitchen-sink-react-query/package.json
index 4199dfe898..4ff3efec99 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@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 0dd8a670d8..32b949f66c 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@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 b8cebbbd55..24d4823f82 100644
--- a/examples/react/large-file-based/package.json
+++ b/examples/react/large-file-based/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"react": "^19.0.0",
diff --git a/examples/react/location-masking/package.json b/examples/react/location-masking/package.json
index 19cb49e2c5..8cee80755b 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@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 5cbbdc2050..9f892491d5 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@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 86349db26d..fa387f2c92 100644
--- a/examples/react/quickstart-esbuild-file-based/package.json
+++ b/examples/react/quickstart-esbuild-file-based/package.json
@@ -9,7 +9,7 @@
"start": "dev"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"react": "^19.0.0",
diff --git a/examples/react/quickstart-file-based/package.json b/examples/react/quickstart-file-based/package.json
index a2121273a0..59eaf5f8f2 100644
--- a/examples/react/quickstart-file-based/package.json
+++ b/examples/react/quickstart-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"react": "^19.0.0",
diff --git a/examples/react/quickstart-rspack-file-based/package.json b/examples/react/quickstart-rspack-file-based/package.json
index 22fad57fa4..5d49798039 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"postcss": "^8.5.1",
"react": "^19.0.0",
diff --git a/examples/react/quickstart-webpack-file-based/package.json b/examples/react/quickstart-webpack-file-based/package.json
index 3608c1938c..8e05c4b735 100644
--- a/examples/react/quickstart-webpack-file-based/package.json
+++ b/examples/react/quickstart-webpack-file-based/package.json
@@ -7,7 +7,7 @@
"build": "webpack build && tsc --noEmit"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"react": "^19.0.0",
"react-dom": "^19.0.0"
diff --git a/examples/react/quickstart/package.json b/examples/react/quickstart/package.json
index 5feff28c3e..ebd6039f95 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@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 efcdef4714..04d766e11f 100644
--- a/examples/react/router-monorepo-react-query/package.json
+++ b/examples/react/router-monorepo-react-query/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"react": "^19.0.0",
diff --git a/examples/react/router-monorepo-react-query/packages/router/package.json b/examples/react/router-monorepo-react-query/packages/router/package.json
index 84b49eb7d5..8a6f053860 100644
--- a/examples/react/router-monorepo-react-query/packages/router/package.json
+++ b/examples/react/router-monorepo-react-query/packages/router/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/router-plugin": "^1.167.21",
"@router-mono-react-query/post-query": "workspace:*",
"redaxios": "^0.5.1",
diff --git a/examples/react/router-monorepo-simple-lazy/package.json b/examples/react/router-monorepo-simple-lazy/package.json
index 86b1c0c3f3..6a532044e1 100644
--- a/examples/react/router-monorepo-simple-lazy/package.json
+++ b/examples/react/router-monorepo-simple-lazy/package.json
@@ -8,7 +8,7 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"react": "^19.0.0",
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 bfca5b4c20..f562cae132 100644
--- a/examples/react/router-monorepo-simple-lazy/packages/router/package.json
+++ b/examples/react/router-monorepo-simple-lazy/packages/router/package.json
@@ -9,7 +9,7 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/router-plugin": "^1.167.21",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
diff --git a/examples/react/router-monorepo-simple/package.json b/examples/react/router-monorepo-simple/package.json
index f9d0232b86..bb98b26229 100644
--- a/examples/react/router-monorepo-simple/package.json
+++ b/examples/react/router-monorepo-simple/package.json
@@ -8,7 +8,7 @@
"dev": "pnpm router build && pnpm post-feature build && pnpm app dev"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"react": "^19.0.0",
diff --git a/examples/react/router-monorepo-simple/packages/router/package.json b/examples/react/router-monorepo-simple/packages/router/package.json
index c2dd4dc537..f341ff292d 100644
--- a/examples/react/router-monorepo-simple/packages/router/package.json
+++ b/examples/react/router-monorepo-simple/packages/router/package.json
@@ -9,7 +9,7 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@tanstack/history": "^1.161.6",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/router-plugin": "^1.167.21",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
diff --git a/examples/react/scroll-restoration/package.json b/examples/react/scroll-restoration/package.json
index 9f962d7159..ad832e4212 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@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 e1f6e57fc2..0ec04c2bda 100644
--- a/examples/react/search-validator-adapters/package.json
+++ b/examples/react/search-validator-adapters/package.json
@@ -13,7 +13,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/arktype-adapter": "^1.166.9",
"@tanstack/react-query": "^5.90.0",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"@tanstack/valibot-adapter": "^1.166.9",
diff --git a/examples/react/start-bare/package.json b/examples/react/start-bare/package.json
index 87f7bf2063..a81924b66a 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 aec045f530..bcc6cd6b62 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 989ff0efb9..4d1b8bcb1f 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 dee60f02ad..a070999c48 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 03fd4c744d..535b0c45bc 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 8b0800f955..f161c29a68 100644
--- a/examples/react/start-basic-static/package.json
+++ b/examples/react/start-basic-static/package.json
@@ -10,9 +10,9 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"@tanstack/start-static-server-functions": "^1.166.32",
"@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 484caebb72..070371ad27 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 699d70398d..f07689d86c 100644
--- a/examples/react/start-bun/package.json
+++ b/examples/react/start-bun/package.json
@@ -15,10 +15,10 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-devtools": "^0.7.0",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"@tanstack/router-plugin": "^1.167.21",
"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 4e52cf32cc..9b2fc88aa8 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"@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 64e3090906..df9433ff25 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 70b19e3a1f..af43c954a3 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 485e021384..f4e6745e0c 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 1cc318a050..9fa036446a 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 12b5b9e59e..4552ea9adb 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.19",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-router": "^1.168.20",
+ "@tanstack/react-start": "^1.167.38",
"@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 347414f630..06f7fd13ee 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 b21f0bf164..7a6d255786 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 43f0866afc..83214b09f7 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 5c10526e65..10a555f5b1 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 b6d0d9a7bc..65ba4cadab 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"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 c16fe1c297..f7dd8b07a1 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.37",
+ "@tanstack/react-start": "^1.167.38",
"@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 6db44f06e5..6ff81fc850 100644
--- a/examples/react/view-transitions/package.json
+++ b/examples/react/view-transitions/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"react": "^19.0.0",
diff --git a/examples/react/with-framer-motion/package.json b/examples/react/with-framer-motion/package.json
index cbf1aabbb5..ee57fc7bb7 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.19",
+ "@tanstack/react-router": "^1.168.20",
"@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 c459ea6327..a2d52a8d24 100644
--- a/examples/react/with-trpc-react-query/package.json
+++ b/examples/react/with-trpc-react-query/package.json
@@ -13,7 +13,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"@trpc/client": "^11.4.3",
diff --git a/examples/react/with-trpc/package.json b/examples/react/with-trpc/package.json
index 130417397d..3f08e1bce0 100644
--- a/examples/react/with-trpc/package.json
+++ b/examples/react/with-trpc/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/react-router": "^1.168.19",
+ "@tanstack/react-router": "^1.168.20",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/router-plugin": "^1.167.21",
"@trpc/client": "^11.4.3",
diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md
index 743eeafac2..c55152e20e 100644
--- a/packages/react-router/CHANGELOG.md
+++ b/packages/react-router/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/react-router
+## 1.168.20
+
+### Patch Changes
+
+- Fix React Server Component imports from `@tanstack/react-router` by adding a `react-server` root export that preserves the normal API surface while resolving `notFound` and `redirect` from a server-safe entry. ([#7183](https://github.com/TanStack/router/pull/7183))
+
+ This fixes RSC routes that throw `notFound()` or `redirect()` from server functions so they behave correctly during SSR and client navigation.
+
## 1.168.19
### Patch Changes
diff --git a/packages/react-router/package.json b/packages/react-router/package.json
index 63e72a4944..d7906f3706 100644
--- a/packages/react-router/package.json
+++ b/packages/react-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-router",
- "version": "1.168.19",
+ "version": "1.168.20",
"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 4551669a4e..8bcf917855 100644
--- a/packages/react-start-client/CHANGELOG.md
+++ b/packages/react-start-client/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/react-start-client
+## 1.166.37
+
+### Patch Changes
+
+- Updated dependencies [[`c5ad329`](https://github.com/TanStack/router/commit/c5ad32936f6adcca0c56474677b73b212498443b)]:
+ - @tanstack/react-router@1.168.20
+
## 1.166.36
### Patch Changes
diff --git a/packages/react-start-client/package.json b/packages/react-start-client/package.json
index 4f7f9793df..9bc353e84b 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.36",
+ "version": "1.166.37",
"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 73cbb16267..964f286d45 100644
--- a/packages/react-start-rsc/CHANGELOG.md
+++ b/packages/react-start-rsc/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/react-start-rsc
+## 0.0.17
+
+### Patch Changes
+
+- Updated dependencies [[`c5ad329`](https://github.com/TanStack/router/commit/c5ad32936f6adcca0c56474677b73b212498443b)]:
+ - @tanstack/react-router@1.168.20
+ - @tanstack/react-start-server@1.166.38
+
## 0.0.16
### Patch Changes
diff --git a/packages/react-start-rsc/package.json b/packages/react-start-rsc/package.json
index 6f7fabad38..f7b74bcca2 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.16",
+ "version": "0.0.17",
"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 22ca9e84e2..c2857d4720 100644
--- a/packages/react-start-server/CHANGELOG.md
+++ b/packages/react-start-server/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/react-start-server
+## 1.166.38
+
+### Patch Changes
+
+- Updated dependencies [[`c5ad329`](https://github.com/TanStack/router/commit/c5ad32936f6adcca0c56474677b73b212498443b)]:
+ - @tanstack/react-router@1.168.20
+
## 1.166.37
### Patch Changes
diff --git a/packages/react-start-server/package.json b/packages/react-start-server/package.json
index a7872a04c0..94ba850cbb 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.37",
+ "version": "1.166.38",
"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 30fea2c69e..641a360b69 100644
--- a/packages/react-start/CHANGELOG.md
+++ b/packages/react-start/CHANGELOG.md
@@ -1,5 +1,15 @@
# @tanstack/react-start
+## 1.167.38
+
+### Patch Changes
+
+- Updated dependencies [[`c5ad329`](https://github.com/TanStack/router/commit/c5ad32936f6adcca0c56474677b73b212498443b)]:
+ - @tanstack/react-router@1.168.20
+ - @tanstack/react-start-client@1.166.37
+ - @tanstack/react-start-rsc@0.0.17
+ - @tanstack/react-start-server@1.166.38
+
## 1.167.37
### Patch Changes
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index 89ff815773..a3a76cd78f 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.167.37",
+ "version": "1.167.38",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
From 16f6892d6b7ceadf606677c5a40e743f29163aa6 Mon Sep 17 00:00:00 2001
From: Manuel Schiller
Date: Tue, 14 Apr 2026 01:16:42 +0200
Subject: [PATCH 009/608] fix(router-core): avoid intermediate success state
for async notFound (#7184)
---
.changeset/clean-wombats-sleep.md | 7 ++
packages/react-router/tests/router.test.tsx | 82 +++++++++++++++++++++
packages/router-core/src/load-matches.ts | 8 +-
3 files changed, 94 insertions(+), 3 deletions(-)
create mode 100644 .changeset/clean-wombats-sleep.md
diff --git a/.changeset/clean-wombats-sleep.md b/.changeset/clean-wombats-sleep.md
new file mode 100644
index 0000000000..913586cced
--- /dev/null
+++ b/.changeset/clean-wombats-sleep.md
@@ -0,0 +1,7 @@
+---
+'@tanstack/router-core': patch
+---
+
+Fix async loaders that throw or return `notFound()` so they do not briefly mark the match as `success` before the final not-found boundary is resolved.
+
+This prevents route components from rendering with missing loader data during navigation when React observes the intermediate match state before not-found finalization completes.
diff --git a/packages/react-router/tests/router.test.tsx b/packages/react-router/tests/router.test.tsx
index 99a6e36d53..cf3b1c11fe 100644
--- a/packages/react-router/tests/router.test.tsx
+++ b/packages/react-router/tests/router.test.tsx
@@ -1525,6 +1525,88 @@ describe('invalidate', () => {
).toBeInTheDocument()
expect(screen.queryByTestId('loader-route')).not.toBeInTheDocument()
})
+
+ it('does not render the route component while async loader notFound is waiting for later matches to settle', async () => {
+ const history = createMemoryHistory({
+ initialEntries: ['/parent/child/grandchild'],
+ })
+
+ const createControlledPromise = () => {
+ let resolve!: () => void
+ const promise = new Promise((r) => {
+ resolve = r
+ })
+
+ return { promise, resolve }
+ }
+
+ const grandchildLoader = createControlledPromise()
+
+ const rootRoute = createRootRoute({
+ component: () => ,
+ notFoundComponent: () => (
+ Root Not Found
+ ),
+ })
+
+ const parentRoute = createRoute({
+ getParentRoute: () => rootRoute,
+ path: '/parent',
+ component: () => ,
+ notFoundComponent: () => (
+ Parent Not Found
+ ),
+ })
+
+ const childRoute = createRoute({
+ getParentRoute: () => parentRoute,
+ path: '/child',
+ loader: async () => {
+ await Promise.resolve()
+ throw notFound()
+ },
+ component: () => (
+
+ Child component should not render
+
+ ),
+ })
+
+ const grandchildRoute = createRoute({
+ getParentRoute: () => childRoute,
+ path: '/grandchild',
+ loader: () => grandchildLoader.promise,
+ component: () => Grandchild
,
+ })
+
+ const router = createRouter({
+ routeTree: rootRoute.addChildren([
+ parentRoute.addChildren([childRoute.addChildren([grandchildRoute])]),
+ ]),
+ history,
+ defaultPendingMs: 0,
+ defaultPendingComponent: () => (
+ Loading...
+ ),
+ })
+
+ render( )
+
+ await waitFor(() => {
+ expect(router.state.location.pathname).toBe('/parent/child/grandchild')
+ expect(router.state.matches[0]?.routeId).toBe(rootRoute.id)
+ expect(router.state.matches[1]?.routeId).toBe(parentRoute.id)
+ expect(router.state.matches[2]?.routeId).toBe(childRoute.id)
+ })
+
+ expect(screen.queryByTestId('child-component')).not.toBeInTheDocument()
+ expect(screen.queryByTestId('parent-not-found')).not.toBeInTheDocument()
+
+ grandchildLoader.resolve()
+
+ expect(await screen.findByTestId('parent-not-found')).toBeInTheDocument()
+ expect(screen.queryByTestId('child-component')).not.toBeInTheDocument()
+ })
})
describe('search params in URL', () => {
diff --git a/packages/router-core/src/load-matches.ts b/packages/router-core/src/load-matches.ts
index a06715de43..275fd70c60 100644
--- a/packages/router-core/src/load-matches.ts
+++ b/packages/router-core/src/load-matches.ts
@@ -136,9 +136,11 @@ const handleRedirectAndNotFound = (
...prev,
status: isRedirect(err)
? 'redirected'
- : prev.status === 'pending'
- ? 'success'
- : prev.status,
+ : isNotFound(err)
+ ? 'notFound'
+ : prev.status === 'pending'
+ ? 'success'
+ : prev.status,
context: buildMatchContext(inner, match.index),
isFetching: false,
error: err,
From 26680c95a9e3f7ef766450c99cb6d378e6f358b6 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Mon, 13 Apr 2026 23:30:55 +0000
Subject: [PATCH 010/608] ci: changeset release
---
.changeset/clean-wombats-sleep.md | 7 --
.../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 | 8 ++
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, 494 insertions(+), 291 deletions(-)
delete mode 100644 .changeset/clean-wombats-sleep.md
diff --git a/.changeset/clean-wombats-sleep.md b/.changeset/clean-wombats-sleep.md
deleted file mode 100644
index 913586cced..0000000000
--- a/.changeset/clean-wombats-sleep.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@tanstack/router-core': patch
----
-
-Fix async loaders that throw or return `notFound()` so they do not briefly mark the match as `success` before the final not-found boundary is resolved.
-
-This prevents route components from rendering with missing loader data during navigation when React observes the intermediate match state before not-found finalization completes.
diff --git a/examples/react/authenticated-routes-firebase/package.json b/examples/react/authenticated-routes-firebase/package.json
index 0456cfc1e1..facf4375ca 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 86d7d48927..a31eaae0d3 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 91d5a9193e..d6ded91ca0 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@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 7344200aa3..3f6522a1f8 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@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 f6f34943e7..23c6a17f0b 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 0ffbda985e..6e7a55e574 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@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 7207e32aef..35d08f13b4 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 5d7a929042..fea5acc299 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@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 d51fbc4736..26e2bb0f2b 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.20",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/react-router": "^1.168.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 5540b2e42c..6a8ac9eb66 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.20",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/react-router": "^1.168.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 45e0d27a76..71f484b817 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"@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 5aeed96944..f82823ba4c 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"@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 0ab9ff9881..535dcfccfa 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@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 19e831f895..a9fa47017b 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@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 296303cd57..19f38c3504 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.20",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/react-router": "^1.168.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 2cf8273ec1..bef7c136fe 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 828a9dde2b..feda3e971f 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 4ff3efec99..4477207b2a 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@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 32b949f66c..eabdbafea5 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@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 24d4823f82..a8729db0bf 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 8cee80755b..ba5883595b 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@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 9f892491d5..27d967ac47 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@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 fa387f2c92..545be4c638 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 59eaf5f8f2..50a28c8812 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 5d49798039..91b3fba7a7 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
"postcss": "^8.5.1",
"react": "^19.0.0",
@@ -19,7 +19,7 @@
"devDependencies": {
"@rsbuild/core": "^1.2.4",
"@rsbuild/plugin-react": "^1.1.0",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"@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 8e05c4b735..9bd1a457f4 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@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.21",
+ "@tanstack/router-plugin": "^1.167.22",
"@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 ebd6039f95..225459a87b 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@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 04d766e11f..d0eb8c4ebe 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 8a6f053860..e7c2e56901 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.20",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/react-router": "^1.168.21",
+ "@tanstack/router-plugin": "^1.167.22",
"@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 6a532044e1..336aa0e709 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 f562cae132..442910b1c6 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.20",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/react-router": "^1.168.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 bb98b26229..fc19956da7 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 f341ff292d..f41803bd47 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.20",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/react-router": "^1.168.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 ad832e4212..263adaee7c 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@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 0ec04c2bda..2ca164c57a 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"@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 a81924b66a..669f5c6083 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 bcc6cd6b62..00580e9d49 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 4d1b8bcb1f..ab8373dd00 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 a070999c48..cfd4abfb28 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 535b0c45bc..1ba3bcd430 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 f161c29a68..d597ccbec3 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
- "@tanstack/start-static-server-functions": "^1.166.32",
+ "@tanstack/react-start": "^1.167.39",
+ "@tanstack/start-static-server-functions": "^1.166.33",
"@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 070371ad27..c6602579a7 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 f07689d86c..75d54b1395 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.38",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/react-start": "^1.167.39",
+ "@tanstack/router-plugin": "^1.167.22",
"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 9b2fc88aa8..c50e47d21a 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"@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 df9433ff25..4f5c29321f 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 af43c954a3..28e4475de6 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 f4e6745e0c..a4614e0aad 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 9fa036446a..08e4836965 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 4552ea9adb..0be46b068c 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.20",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-router": "^1.168.21",
+ "@tanstack/react-start": "^1.167.39",
"@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 06f7fd13ee..c9eb7877b5 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 7a6d255786..4a106fbc81 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 83214b09f7..0aba4ea790 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 10a555f5b1..d847260c9e 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 65ba4cadab..7cbb88f088 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"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 f7dd8b07a1..c12b35b59b 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.38",
+ "@tanstack/react-start": "^1.167.39",
"@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 6ff81fc850..db60215b6e 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 ee57fc7bb7..f15baa4620 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@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 a2d52a8d24..3928dfdd4c 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"@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 3f08e1bce0..0308dcc73b 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.20",
+ "@tanstack/react-router": "^1.168.21",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"@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 79173e2e1c..3da798cdd4 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 ba33f948a9..9d9881cf87 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 5689f2fd6d..90151f8754 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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 981fe44258..902accf836 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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 fd4d2cfefa..e4af9403af 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 ab60dda517..501686857a 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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 b88006a66e..b886f7d0bf 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 6a72187576..20d79164a8 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 2e8dfc3375..82091ddb3a 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.18",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/solid-router": "^1.168.19",
+ "@tanstack/router-plugin": "^1.167.22",
"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 ec4bbbf424..4ddfdaee05 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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.21",
+ "@tanstack/router-plugin": "^1.167.22",
"@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 58e91fe92d..bf3ec3b3cb 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"@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 daa2154b73..714f7c0642 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"@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 5615debeaf..4c141199cc 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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 874e067a6c..68f68b669f 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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 2eee1dc9d1..9481b1d13c 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.18",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/solid-router": "^1.168.19",
+ "@tanstack/router-plugin": "^1.167.22",
"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 1246d85944..49765faa05 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 a93186ee7a..618679015d 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.21",
+ "@tanstack/router-plugin": "^1.167.22",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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 c12e9afba3..292aaaf962 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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 2aa7329eb3..0434ce62f8 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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 e221cb20d9..3f8b6ea9de 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 4a7f2f2ba0..127a65e821 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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 88ac0d9908..98b7116b3f 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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 794bedc713..bd784f4da7 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.21",
- "@tanstack/solid-router": "^1.168.18",
+ "@tanstack/router-plugin": "^1.167.22",
+ "@tanstack/solid-router": "^1.168.19",
"@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 769fb6789d..c55c05db6a 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 6e8db5f1ea..9129f3f1f6 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
"postcss": "^8.5.1",
"solid-js": "^1.9.10",
@@ -19,7 +19,7 @@
"@rsbuild/core": "^1.2.4",
"@rsbuild/plugin-babel": "^1.0.6",
"@rsbuild/plugin-solid": "^1.0.6",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 37b7bfbffa..5ba9293e4a 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 f34499d6f9..7f61c0d701 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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 d46016eee2..2e59740694 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 d60bfde079..0179b9772b 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.18",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/solid-router": "^1.168.19",
+ "@tanstack/router-plugin": "^1.167.22",
"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 9181d0e1b9..fa6d0446cf 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 515dc95671..e5dc734412 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.18",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/solid-router": "^1.168.19",
+ "@tanstack/router-plugin": "^1.167.22",
"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 bdf32feacb..44fe0904bd 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 db7adf2e44..97ea1eafd2 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.18",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/solid-router": "^1.168.19",
+ "@tanstack/router-plugin": "^1.167.22",
"@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 d1362e1c2b..f481e5d962 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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 23d8d2b442..dde7ba1232 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"@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 e71b5744f2..461a81252e 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.34",
+ "@tanstack/solid-start": "^1.167.35",
"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 031692919f..f61d817535 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.34",
+ "@tanstack/solid-start": "^1.167.35",
"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 d0f2ebde8d..00386e7fe2 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.34",
+ "@tanstack/solid-start": "^1.167.35",
"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 aa83717084..ec0425c1b3 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.34",
+ "@tanstack/solid-start": "^1.167.35",
"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 8de48b7cde..be2168c8f8 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.34",
+ "@tanstack/solid-start": "^1.167.35",
"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 7738b189e7..e03ded709f 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.11",
- "@tanstack/solid-start": "^1.167.34",
+ "@tanstack/solid-start": "^1.167.35",
"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 4c871e6006..bd4450f8fd 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.34",
- "@tanstack/start-static-server-functions": "^1.166.32",
+ "@tanstack/solid-start": "^1.167.35",
+ "@tanstack/start-static-server-functions": "^1.166.33",
"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 e4b98daaa5..087e2ecb87 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.34",
+ "@tanstack/solid-start": "^1.167.35",
"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 4367a7921b..80e91cc982 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.11",
- "@tanstack/solid-start": "^1.167.34",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/solid-start": "^1.167.35",
+ "@tanstack/router-plugin": "^1.167.22",
"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 27e3212279..a9cb204b9e 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.34",
+ "@tanstack/solid-start": "^1.167.35",
"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 ce50e3a801..35b43b49b5 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.34",
+ "@tanstack/solid-start": "^1.167.35",
"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 bbccbc8a65..9700ad95ab 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.34",
+ "@tanstack/solid-start": "^1.167.35",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-large/package.json b/examples/solid/start-large/package.json
index 26d9b6495f..60351bf889 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.34",
+ "@tanstack/solid-start": "^1.167.35",
"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 3d8319fd74..240ecad611 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.34",
+ "@tanstack/solid-start": "^1.167.35",
"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 5d3a30082b..9cdd3e1c88 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.34",
+ "@tanstack/solid-start": "^1.167.35",
"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 32661acd59..4beecdd00e 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.34",
+ "@tanstack/solid-start": "^1.167.35",
"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 c6d401aaf5..3c42422f4b 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"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 41ccc0dddc..db77023373 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@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 fba91f39b9..833dbca872 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.18",
+ "@tanstack/solid-router": "^1.168.19",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.21",
+ "@tanstack/router-plugin": "^1.167.22",
"@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 bfc10ad3e8..0ec172de06 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.21",
- "@tanstack/vue-router": "^1.168.18",
+ "@tanstack/router-plugin": "^1.167.22",
+ "@tanstack/vue-router": "^1.168.19",
"@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 aeac1c2b0d..b9da55a299 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.21",
- "@tanstack/vue-router": "^1.168.18",
+ "@tanstack/router-plugin": "^1.167.22",
+ "@tanstack/vue-router": "^1.168.19",
"@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 fc6eeb4993..adca570e49 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.18",
+ "@tanstack/vue-router": "^1.168.19",
"@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 c55152e20e..2a9dd79694 100644
--- a/packages/react-router/CHANGELOG.md
+++ b/packages/react-router/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/react-router
+## 1.168.21
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+
## 1.168.20
### Patch Changes
diff --git a/packages/react-router/package.json b/packages/react-router/package.json
index d7906f3706..8f7a0abf2b 100644
--- a/packages/react-router/package.json
+++ b/packages/react-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-router",
- "version": "1.168.20",
+ "version": "1.168.21",
"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 8bcf917855..c4a85b8995 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.38
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+ - @tanstack/react-router@1.168.21
+ - @tanstack/start-client-core@1.167.17
+
## 1.166.37
### Patch Changes
diff --git a/packages/react-start-client/package.json b/packages/react-start-client/package.json
index 9bc353e84b..2285410ddc 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.37",
+ "version": "1.166.38",
"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 964f286d45..439347f49d 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.18
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+ - @tanstack/react-router@1.168.21
+ - @tanstack/react-start-server@1.166.39
+ - @tanstack/start-client-core@1.167.17
+ - @tanstack/start-plugin-core@1.167.34
+ - @tanstack/start-server-core@1.167.19
+ - @tanstack/start-storage-context@1.166.29
+
## 0.0.17
### Patch Changes
diff --git a/packages/react-start-rsc/package.json b/packages/react-start-rsc/package.json
index f7b74bcca2..73005a2431 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.17",
+ "version": "0.0.18",
"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 c2857d4720..94630de683 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.39
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+ - @tanstack/react-router@1.168.21
+ - @tanstack/start-client-core@1.167.17
+ - @tanstack/start-server-core@1.167.19
+
## 1.166.38
### Patch Changes
diff --git a/packages/react-start-server/package.json b/packages/react-start-server/package.json
index 94ba850cbb..c5d554d026 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.38",
+ "version": "1.166.39",
"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 641a360b69..6f66220cec 100644
--- a/packages/react-start/CHANGELOG.md
+++ b/packages/react-start/CHANGELOG.md
@@ -1,5 +1,18 @@
# @tanstack/react-start
+## 1.167.39
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/react-router@1.168.21
+ - @tanstack/react-start-client@1.166.38
+ - @tanstack/react-start-rsc@0.0.18
+ - @tanstack/react-start-server@1.166.39
+ - @tanstack/start-client-core@1.167.17
+ - @tanstack/start-plugin-core@1.167.34
+ - @tanstack/start-server-core@1.167.19
+
## 1.167.38
### Patch Changes
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index a3a76cd78f..e531aa199e 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.167.38",
+ "version": "1.167.39",
"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 f2b40aa762..da3731691c 100644
--- a/packages/router-cli/CHANGELOG.md
+++ b/packages/router-cli/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-cli
+## 1.166.33
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/router-generator@1.166.32
+
## 1.166.32
### Patch Changes
diff --git a/packages/router-cli/package.json b/packages/router-cli/package.json
index a90ea8e289..c8baf996bb 100644
--- a/packages/router-cli/package.json
+++ b/packages/router-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-cli",
- "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/router-core/CHANGELOG.md b/packages/router-core/CHANGELOG.md
index 7b95a4c75d..5fecaef60b 100644
--- a/packages/router-core/CHANGELOG.md
+++ b/packages/router-core/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/router-core
+## 1.168.15
+
+### Patch Changes
+
+- Fix async loaders that throw or return `notFound()` so they do not briefly mark the match as `success` before the final not-found boundary is resolved. ([#7184](https://github.com/TanStack/router/pull/7184))
+
+ This prevents route components from rendering with missing loader data during navigation when React observes the intermediate match state before not-found finalization completes.
+
## 1.168.14
### Patch Changes
diff --git a/packages/router-core/package.json b/packages/router-core/package.json
index 923fa0af20..779fe17d47 100644
--- a/packages/router-core/package.json
+++ b/packages/router-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-core",
- "version": "1.168.14",
+ "version": "1.168.15",
"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 4dd96ce6cd..6a773de36c 100644
--- a/packages/router-generator/CHANGELOG.md
+++ b/packages/router-generator/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-generator
+## 1.166.32
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+
## 1.166.31
### Patch Changes
diff --git a/packages/router-generator/package.json b/packages/router-generator/package.json
index c74e3090fb..f74026597a 100644
--- a/packages/router-generator/package.json
+++ b/packages/router-generator/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-generator",
- "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/router-plugin/CHANGELOG.md b/packages/router-plugin/CHANGELOG.md
index ddfd5f61bd..d15e6062d7 100644
--- a/packages/router-plugin/CHANGELOG.md
+++ b/packages/router-plugin/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/router-plugin
+## 1.167.22
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+ - @tanstack/react-router@1.168.21
+ - @tanstack/router-generator@1.166.32
+
## 1.167.21
### Patch Changes
diff --git a/packages/router-plugin/package.json b/packages/router-plugin/package.json
index d1aa1992f4..847d422ade 100644
--- a/packages/router-plugin/package.json
+++ b/packages/router-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-plugin",
- "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/router-vite-plugin/CHANGELOG.md b/packages/router-vite-plugin/CHANGELOG.md
index ad37b5d3f5..4dd045cdca 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.37
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/router-plugin@1.167.22
+
## 1.166.36
### Patch Changes
diff --git a/packages/router-vite-plugin/package.json b/packages/router-vite-plugin/package.json
index 6b133a5b33..c5dafff49d 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.36",
+ "version": "1.166.37",
"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 0f713f4a19..adae20df2e 100644
--- a/packages/solid-router/CHANGELOG.md
+++ b/packages/solid-router/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/solid-router
+## 1.168.19
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+
## 1.168.18
### Patch Changes
diff --git a/packages/solid-router/package.json b/packages/solid-router/package.json
index d2f2f4c636..2c08cc516c 100644
--- a/packages/solid-router/package.json
+++ b/packages/solid-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-router",
- "version": "1.168.18",
+ "version": "1.168.19",
"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 e44ec41178..08913d70fe 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.35
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+ - @tanstack/solid-router@1.168.19
+ - @tanstack/start-client-core@1.167.17
+
## 1.166.34
### Patch Changes
diff --git a/packages/solid-start-client/package.json b/packages/solid-start-client/package.json
index dc6afbfe5a..fc634fdbb3 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.34",
+ "version": "1.166.35",
"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 69c650dcbe..e4bc56a0eb 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.36
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+ - @tanstack/solid-router@1.168.19
+ - @tanstack/start-client-core@1.167.17
+ - @tanstack/start-server-core@1.167.19
+
## 1.166.35
### Patch Changes
diff --git a/packages/solid-start-server/package.json b/packages/solid-start-server/package.json
index b4fe2ac02a..2de2f26e03 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.35",
+ "version": "1.166.36",
"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 61a4e8e6b5..f2ed87da71 100644
--- a/packages/solid-start/CHANGELOG.md
+++ b/packages/solid-start/CHANGELOG.md
@@ -1,5 +1,17 @@
# @tanstack/solid-start
+## 1.167.35
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/solid-router@1.168.19
+ - @tanstack/solid-start-client@1.166.35
+ - @tanstack/solid-start-server@1.166.36
+ - @tanstack/start-client-core@1.167.17
+ - @tanstack/start-plugin-core@1.167.34
+ - @tanstack/start-server-core@1.167.19
+
## 1.167.34
### Patch Changes
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index 25c2958d8c..9823910bd1 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.167.34",
+ "version": "1.167.35",
"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 13d6d8b91a..cfbb33e86a 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.17
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+ - @tanstack/start-storage-context@1.166.29
+
## 1.167.16
### Patch Changes
diff --git a/packages/start-client-core/package.json b/packages/start-client-core/package.json
index 2ae70cc25a..39ce827da2 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.16",
+ "version": "1.167.17",
"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 8c37fe2c87..cea13e5b95 100644
--- a/packages/start-plugin-core/CHANGELOG.md
+++ b/packages/start-plugin-core/CHANGELOG.md
@@ -1,5 +1,16 @@
# @tanstack/start-plugin-core
+## 1.167.34
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+ - @tanstack/router-generator@1.166.32
+ - @tanstack/router-plugin@1.167.22
+ - @tanstack/start-client-core@1.167.17
+ - @tanstack/start-server-core@1.167.19
+
## 1.167.33
### Patch Changes
diff --git a/packages/start-plugin-core/package.json b/packages/start-plugin-core/package.json
index b42e418224..46c33a14c2 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.167.33",
+ "version": "1.167.34",
"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 97ead206d2..fd7506dd57 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.19
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+ - @tanstack/start-client-core@1.167.17
+ - @tanstack/start-storage-context@1.166.29
+
## 1.167.18
### Patch Changes
diff --git a/packages/start-server-core/package.json b/packages/start-server-core/package.json
index 77c7ace7c2..9fa626652b 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.18",
+ "version": "1.167.19",
"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 e7cd4a9762..319c21bfe3 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.33
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/start-client-core@1.167.17
+ - @tanstack/react-start@1.167.39
+ - @tanstack/solid-start@1.167.35
+
## 1.166.32
### Patch Changes
diff --git a/packages/start-static-server-functions/package.json b/packages/start-static-server-functions/package.json
index 91fd78fc40..3a521e8258 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.32",
+ "version": "1.166.33",
"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 b8cfbdb4eb..1590207314 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.29
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+
## 1.166.28
### Patch Changes
diff --git a/packages/start-storage-context/package.json b/packages/start-storage-context/package.json
index 265a4c3296..31b7117c8f 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.28",
+ "version": "1.166.29",
"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 f5a3d30531..1ce2c54612 100644
--- a/packages/vue-router/CHANGELOG.md
+++ b/packages/vue-router/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/vue-router
+## 1.168.19
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+
## 1.168.18
### Patch Changes
diff --git a/packages/vue-router/package.json b/packages/vue-router/package.json
index 88a48c1f84..94a4f7d74b 100644
--- a/packages/vue-router/package.json
+++ b/packages/vue-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-router",
- "version": "1.168.18",
+ "version": "1.168.19",
"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 c818b39ba3..51061ec6e2 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.35
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+ - @tanstack/start-client-core@1.167.17
+ - @tanstack/vue-router@1.168.19
+
## 1.166.34
### Patch Changes
diff --git a/packages/vue-start-client/package.json b/packages/vue-start-client/package.json
index ef40699f00..eaf9060e01 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.34",
+ "version": "1.166.35",
"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 7a366aa06a..f9de3ec8b0 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.36
+
+### Patch Changes
+
+- Updated dependencies [[`16f6892`](https://github.com/TanStack/router/commit/16f6892d6b7ceadf606677c5a40e743f29163aa6)]:
+ - @tanstack/router-core@1.168.15
+ - @tanstack/start-client-core@1.167.17
+ - @tanstack/start-server-core@1.167.19
+ - @tanstack/vue-router@1.168.19
+
## 1.166.35
### Patch Changes
diff --git a/packages/vue-start-server/package.json b/packages/vue-start-server/package.json
index 1f837cf579..8056ea4282 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.35",
+ "version": "1.166.36",
"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 b4aaae45a9..ce97a89793 100644
--- a/packages/vue-start/CHANGELOG.md
+++ b/packages/vue-start/CHANGELOG.md
@@ -1,5 +1,17 @@
# @tanstack/vue-start
+## 1.167.35
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/start-client-core@1.167.17
+ - @tanstack/start-plugin-core@1.167.34
+ - @tanstack/start-server-core@1.167.19
+ - @tanstack/vue-router@1.168.19
+ - @tanstack/vue-start-client@1.166.35
+ - @tanstack/vue-start-server@1.166.36
+
## 1.167.34
### Patch Changes
diff --git a/packages/vue-start/package.json b/packages/vue-start/package.json
index d6d9cd0e80..30ed515962 100644
--- a/packages/vue-start/package.json
+++ b/packages/vue-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start",
- "version": "1.167.34",
+ "version": "1.167.35",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f8c38ee3c5..9afc7270ff 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -9815,7 +9815,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -9852,7 +9852,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -9892,7 +9892,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.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.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -9932,7 +9932,7 @@ importers:
specifier: ^5.90.9
version: 5.90.9(solid-js@1.9.10)
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -9966,7 +9966,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.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.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -9997,7 +9997,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.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.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10034,7 +10034,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.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.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10077,7 +10077,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.90.9(solid-js@1.9.10))(solid-js@1.9.10)
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10117,7 +10117,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.90.9(solid-js@1.9.10))(solid-js@1.9.10)
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10154,7 +10154,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
compression:
specifier: ^1.8.0
@@ -10194,7 +10194,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.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.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10249,7 +10249,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10289,7 +10289,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10326,7 +10326,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.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.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10363,7 +10363,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
solid-js:
specifier: 1.9.10
@@ -10394,7 +10394,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.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.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10431,7 +10431,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.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.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10477,7 +10477,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.90.9(solid-js@1.9.10))(solid-js@1.9.10)
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10523,7 +10523,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.90.9(solid-js@1.9.10))(solid-js@1.9.10)
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10566,7 +10566,7 @@ importers:
specifier: ^5.90.9
version: 5.90.9(solid-js@1.9.10)
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10603,7 +10603,7 @@ importers:
specifier: ^5.90.9
version: 5.90.9(solid-js@1.9.10)
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10637,7 +10637,7 @@ importers:
specifier: ^5.90.9
version: 5.90.9(solid-js@1.9.10)
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10668,7 +10668,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.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.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10696,7 +10696,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10727,7 +10727,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.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.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10764,7 +10764,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10798,7 +10798,7 @@ importers:
examples/solid/quickstart-webpack-file-based:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10859,7 +10859,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10893,7 +10893,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10933,7 +10933,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.90.9(solid-js@1.9.10))(solid-js@1.9.10)
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10967,7 +10967,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.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.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11007,7 +11007,7 @@ importers:
specifier: ^5.90.9
version: 5.90.9(solid-js@1.9.10)
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11053,7 +11053,7 @@ importers:
examples/solid/start-basic:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11105,7 +11105,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.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11154,7 +11154,7 @@ importers:
specifier: ^0.41.1
version: 0.41.1
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11194,7 +11194,7 @@ importers:
examples/solid/start-basic-cloudflare:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11234,7 +11234,7 @@ importers:
examples/solid/start-basic-netlify:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11271,7 +11271,7 @@ importers:
examples/solid/start-basic-nitro:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11314,7 +11314,7 @@ importers:
specifier: ^5.90.0
version: 5.90.4(@tanstack/solid-query@5.90.9(solid-js@1.9.10))(solid-js@1.9.10)
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11357,7 +11357,7 @@ importers:
examples/solid/start-basic-static:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11409,7 +11409,7 @@ importers:
specifier: ^0.7.0
version: 0.7.14(csstype@3.2.3)(solid-js@1.9.10)
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11473,7 +11473,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.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.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11528,7 +11528,7 @@ importers:
examples/solid/start-counter:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11571,7 +11571,7 @@ importers:
specifier: ^0.7.0
version: 0.7.14(csstype@3.2.3)(solid-js@1.9.10)
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11611,7 +11611,7 @@ importers:
specifier: ^5.90.9
version: 5.90.9(solid-js@1.9.10)
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11654,7 +11654,7 @@ importers:
examples/solid/start-streaming-data-from-server-functions:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11691,7 +11691,7 @@ importers:
specifier: ^2.48.1
version: 2.48.1
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11728,7 +11728,7 @@ importers:
examples/solid/start-tailwind-v4:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11774,7 +11774,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11808,7 +11808,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2(vite@8.0.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.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11848,7 +11848,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.18
+ specifier: ^1.168.19
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
From 8caa20223e876129afa3ee51881fb3aefe5dc065 Mon Sep 17 00:00:00 2001
From: Coding Cossack <108333654+CodingCossack@users.noreply.github.com>
Date: Tue, 14 Apr 2026 00:33:37 +0100
Subject: [PATCH 011/608] Add a React Start server-components skill (#7181)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
---
.../skills/_artifacts/domain_map.yaml | 59 ++++++++
.../skills/_artifacts/skill_spec.md | 25 +++-
.../skills/_artifacts/skill_tree.yaml | 19 +++
.../react-start/skills/react-start/SKILL.md | 2 +
.../react-start/server-components/SKILL.md | 127 ++++++++++++++++
.../server-components/docs/architecture.md | 84 +++++++++++
.../docs/caching-refresh-ssr.md | 137 +++++++++++++++++
.../docs/composite-components.md | 115 ++++++++++++++
.../docs/current-api-notes.md | 74 +++++++++
.../docs/debugging-review.md | 141 ++++++++++++++++++
.../server-components/docs/sources.md | 39 +++++
.../examples/01-renderable-route-loader.tsx | 28 ++++
.../examples/02-composite-slots.tsx | 124 +++++++++++++++
.../examples/03-query-owned-rsc.tsx | 97 ++++++++++++
.../examples/04-selective-ssr-data-only.tsx | 72 +++++++++
.../examples/05-ssr-false-browser-loader.tsx | 40 +++++
.../06-low-level-flight-api-route.tsx | 40 +++++
17 files changed, 1215 insertions(+), 8 deletions(-)
create mode 100644 packages/react-start/skills/react-start/server-components/SKILL.md
create mode 100644 packages/react-start/skills/react-start/server-components/docs/architecture.md
create mode 100644 packages/react-start/skills/react-start/server-components/docs/caching-refresh-ssr.md
create mode 100644 packages/react-start/skills/react-start/server-components/docs/composite-components.md
create mode 100644 packages/react-start/skills/react-start/server-components/docs/current-api-notes.md
create mode 100644 packages/react-start/skills/react-start/server-components/docs/debugging-review.md
create mode 100644 packages/react-start/skills/react-start/server-components/docs/sources.md
create mode 100644 packages/react-start/skills/react-start/server-components/examples/01-renderable-route-loader.tsx
create mode 100644 packages/react-start/skills/react-start/server-components/examples/02-composite-slots.tsx
create mode 100644 packages/react-start/skills/react-start/server-components/examples/03-query-owned-rsc.tsx
create mode 100644 packages/react-start/skills/react-start/server-components/examples/04-selective-ssr-data-only.tsx
create mode 100644 packages/react-start/skills/react-start/server-components/examples/05-ssr-false-browser-loader.tsx
create mode 100644 packages/react-start/skills/react-start/server-components/examples/06-low-level-flight-api-route.tsx
diff --git a/packages/react-start/skills/_artifacts/domain_map.yaml b/packages/react-start/skills/_artifacts/domain_map.yaml
index b5e84d4dfb..271b1fe746 100644
--- a/packages/react-start/skills/_artifacts/domain_map.yaml
+++ b/packages/react-start/skills/_artifacts/domain_map.yaml
@@ -444,6 +444,65 @@ skills:
priority: MEDIUM
status: active
+ - name: 'Server Components'
+ slug: 'server-components'
+ domain: 'deployment-and-rendering'
+ description: >-
+ Implement and debug TanStack Start React Server Components with
+ renderServerComponent, createCompositeComponent, low-level
+ Flight streaming APIs, Router vs Query cache ownership, refresh
+ paths, and selective SSR modes.
+ type: sub-skill
+ packages:
+ - '@tanstack/react-start'
+ - '@tanstack/react-start-rsc'
+ covers:
+ - renderServerComponent
+ - createCompositeComponent
+ - CompositeComponent
+ - renderToReadableStream
+ - createFromReadableStream
+ - createFromFetch
+ - Router-owned RSC caching
+ - Query-owned RSC caching
+ - Refresh ownership (router.invalidate, invalidateQueries, refetchQueries)
+ - "Selective SSR modes (ssr: 'data-only', ssr: false)"
+ - 'structuralSharing: false for Query-cached RSC values'
+ tasks:
+ - 'Implement route-owned React Server Components'
+ - 'Choose between renderServerComponent and createCompositeComponent'
+ - 'Debug stale RSC data and invalidation'
+ - 'Migrate Next App Router RSC patterns to TanStack Start'
+ failure_modes:
+ - mistake: 'Using renderServerComponent when the UI needs slots'
+ mechanism: >-
+ renderServerComponent returns a renderable value and does
+ not support client-provided children, render props, or
+ component props. Use createCompositeComponent and render it
+ with CompositeComponent when the server output must accept
+ slots.
+ source: 'docs/start/framework/react/guide/server-components.md'
+ priority: HIGH
+ status: active
+
+ - mistake: 'Omitting structuralSharing: false for Query-cached RSC values'
+ mechanism: >-
+ Query-cached RSC values must disable structural sharing.
+ Otherwise the cache may try to merge Flight payloads across
+ fetches, which can cause errors.
+ source: 'docs/start/framework/react/guide/server-components.md'
+ priority: HIGH
+ status: active
+
+ - mistake: 'Copying stale renderRsc or .validator examples into current code'
+ mechanism: >-
+ Older snippets may use renderRsc or .validator(...).
+ Normalize them to renderServerComponent and
+ .inputValidator(...) before using them in current code.
+ source: 'docs/start/framework/react/guide/server-functions.md'
+ priority: MEDIUM
+ status: active
+
tensions:
- name: 'Isomorphic defaults vs server-only expectations'
skills: ['execution-model', 'server-functions']
diff --git a/packages/react-start/skills/_artifacts/skill_spec.md b/packages/react-start/skills/_artifacts/skill_spec.md
index 11b6843bb0..ce016f4e03 100644
--- a/packages/react-start/skills/_artifacts/skill_spec.md
+++ b/packages/react-start/skills/_artifacts/skill_spec.md
@@ -4,14 +4,14 @@ TanStack Start is a full-stack React framework built on TanStack Router and Vite
## Domains
-| Domain | Description | Skills |
-| ------------------------ | ------------------------------------------------------------- | ---------------- |
-| Project Setup | Scaffolding, Vite plugin, router factory, root route, entries | start-setup |
-| Server Functions | Type-safe RPCs with createServerFn, validation, streaming | server-functions |
-| Middleware and Context | Request/function middleware, context, global middleware | middleware |
-| Execution Model | Isomorphic defaults, environment boundaries, env vars | execution-model |
-| Server Routes | API endpoints, HTTP handlers, handler middleware | server-routes |
-| Deployment and Rendering | Hosting, selective SSR, prerendering, SEO | deployment |
+| Domain | Description | Skills |
+| ------------------------ | ------------------------------------------------------------- | ----------------------------- |
+| Project Setup | Scaffolding, Vite plugin, router factory, root route, entries | start-setup |
+| Server Functions | Type-safe RPCs with createServerFn, validation, streaming | server-functions |
+| Middleware and Context | Request/function middleware, context, global middleware | middleware |
+| Execution Model | Isomorphic defaults, environment boundaries, env vars | execution-model |
+| Server Routes | API endpoints, HTTP handlers, handler middleware | server-routes |
+| Deployment and Rendering | Hosting, selective SSR, prerendering, SEO | deployment, server-components |
## Skill Inventory
@@ -23,6 +23,7 @@ TanStack Start is a full-stack React framework built on TanStack Router and Vite
| execution-model | core | execution-model | Isomorphic defaults, environment functions, env vars | 4 |
| server-routes | core | server-routes | server property, HTTP handlers, createHandlers | 2 |
| deployment | core | deployment-and-rendering | Hosting, SSR modes, prerendering, SEO | 3 |
+| server-components | sub-skill | deployment-and-rendering | React Server Components, cache ownership, selective SSR | 3 |
| react-start | framework | project-setup | React bindings, useServerFn, full setup | 3 |
| migrate-from-nextjs | lifecycle | project-setup | Next.js App Router migration checklist | 3 |
@@ -77,6 +78,14 @@ TanStack Start is a full-stack React framework built on TanStack Router and Vite
| 2 | Bun deployment with React 18 | MEDIUM | docs/guide/hosting |
| 3 | Child route loosening parent SSR config | MEDIUM | docs/guide/selective-ssr |
+### server-components (3 failure modes)
+
+| # | Mistake | Priority | Source |
+| --- | ------------------------------------------------------------- | -------- | ---------------------------- |
+| 1 | Using renderServerComponent when the UI needs slots | HIGH | docs/guide/server-components |
+| 2 | Omitting structuralSharing: false for Query-cached RSC values | HIGH | docs/guide/server-components |
+| 3 | Copying stale renderRsc or .validator examples | MEDIUM | docs/guide/server-functions |
+
## Tensions
| Tension | Skills | Agent implication |
diff --git a/packages/react-start/skills/_artifacts/skill_tree.yaml b/packages/react-start/skills/_artifacts/skill_tree.yaml
index cf743b067c..f896955132 100644
--- a/packages/react-start/skills/_artifacts/skill_tree.yaml
+++ b/packages/react-start/skills/_artifacts/skill_tree.yaml
@@ -137,6 +137,25 @@ skills:
- 'TanStack/router:packages/react-start/src'
- 'TanStack/router:docs/start/framework/react/build-from-scratch.md'
+ - name: 'Server Components'
+ slug: 'react-start/server-components'
+ type: 'sub-skill'
+ domain: 'deployment-and-rendering'
+ path: 'skills/react-start/server-components/SKILL.md'
+ package: 'packages/react-start'
+ description: >-
+ Implement, review, debug, and refactor TanStack Start React
+ Server Components in React 19 apps.
+ requires:
+ - 'react-start'
+ - 'start-core/server-functions'
+ - 'start-core/execution-model'
+ sources:
+ - 'TanStack/router:docs/start/framework/react/guide/server-components.md'
+ - 'TanStack/router:docs/start/framework/react/guide/server-functions.md'
+ - 'TanStack/router:docs/start/framework/react/guide/execution-model.md'
+ - 'TanStack/router:docs/router/guide/data-loading.md'
+
# ── Lifecycle Skills ────────────────────────────────────────────
- name: 'Migrate from Next.js'
slug: 'lifecycle/migrate-from-nextjs'
diff --git a/packages/react-start/skills/react-start/SKILL.md b/packages/react-start/skills/react-start/SKILL.md
index e3067e9e05..2f3d569a55 100644
--- a/packages/react-start/skills/react-start/SKILL.md
+++ b/packages/react-start/skills/react-start/SKILL.md
@@ -22,6 +22,8 @@ This skill builds on start-core. Read [start-core](../../../start-client-core/sk
This skill covers the React-specific bindings, setup, and patterns for TanStack Start.
+For React Server Components patterns, see [react-start/server-components](./server-components/SKILL.md).
+
> **CRITICAL**: All code is ISOMORPHIC by default. Loaders run on BOTH server and client. Use `createServerFn` for server-only logic.
> **CRITICAL**: Do not confuse `@tanstack/react-start` with Next.js or Remix. They are completely different frameworks with different APIs.
diff --git a/packages/react-start/skills/react-start/server-components/SKILL.md b/packages/react-start/skills/react-start/server-components/SKILL.md
new file mode 100644
index 0000000000..271113df3c
--- /dev/null
+++ b/packages/react-start/skills/react-start/server-components/SKILL.md
@@ -0,0 +1,127 @@
+---
+name: react-start/server-components
+description: >-
+ Implement, review, debug, and refactor TanStack Start React Server
+ Components in React 19 apps. Use when tasks mention
+ @tanstack/react-start/rsc, renderServerComponent,
+ createCompositeComponent, CompositeComponent,
+ renderToReadableStream, createFromReadableStream, createFromFetch,
+ Composite Components, React Flight streams, loader or query owned
+ RSC caching, router.invalidate, structuralSharing: false,
+ selective SSR, stale names like renderRsc or .validator, or
+ migration from Next App Router RSC patterns. Do not use for
+ generic SSR or non-TanStack RSC frameworks except brief
+ comparison.
+type: sub-skill
+library: tanstack-start
+library_version: '1.166.2'
+requires:
+ - react-start
+ - start-core/server-functions
+ - start-core/execution-model
+sources:
+ - TanStack/router:docs/start/framework/react/guide/server-components.md
+ - TanStack/router:docs/start/framework/react/guide/server-functions.md
+ - TanStack/router:docs/start/framework/react/guide/execution-model.md
+ - TanStack/router:docs/router/guide/data-loading.md
+---
+
+# TanStack Start React Server Components
+
+Treat TanStack Start RSCs as fetchable React Flight payloads, not as a framework-owned server tree. Start from data ownership and cache ownership, then choose the smallest RSC primitive that fits.
+
+## When this skill is active
+
+1. Inspect `vite.config.*` for `tanstackStart({ rsc: { enabled: true } })`, `rsc()`, and `viteReact()`.
+2. Inspect route files for `loader`, `loaderDeps`, `staleTime`, `ssr`, and `errorComponent`.
+3. Inspect server boundaries: `createServerFn`, `createServerOnlyFn`, `.server.*`, and imports from `@tanstack/react-start/server`.
+4. Identify the cache owner: Router loader cache, TanStack Query, or HTTP/server cache.
+5. Identify the refresh path: `router.invalidate()`, `invalidateQueries`, `refetchQueries`, or GET cache headers.
+
+## Hard invariants
+
+- Route loaders are isomorphic. Do not put DB access, secrets, or Node-only APIs directly in a loader. If the loader itself must use browser APIs, make that route `ssr: false`.
+- `renderServerComponent(...)` returns a renderable fragment. It does not support slots.
+- `createCompositeComponent(...)` is for server-rendered UI that must accept client-provided `children`, render props, or component props.
+- Query-cached RSC values require `structuralSharing: false`.
+- Slot payloads are opaque on the server. Do not inspect, map, or clone `props.children`.
+- Render-prop and component-slot arguments must stay Flight-serializable.
+- Current server function validation API is `.inputValidator(...)`. Older snippets may still show `.validator(...)`; normalize them.
+- TanStack custom serialization does not apply inside RSCs yet. Stay inside native Flight-supported values.
+
+## Decide three things immediately
+
+### 1) Transport / composition primitive
+
+- No client slots needed -> `renderServerComponent`
+- Client interactivity must be inserted inside server-rendered markup -> `createCompositeComponent` + ` `
+- Need custom Flight streaming, API routes, or non-standard transport -> `renderToReadableStream`, `createFromReadableStream`, `createFromFetch`
+
+### 2) Cache owner
+
+- Route-shaped data keyed by pathname, params, or search -> Router cache
+- Independent key space, background refetch, or non-route ownership -> TanStack Query
+- Cross-request reuse on server or CDN -> GET `createServerFn` + response cache headers and/or external server cache
+
+### 3) Refresh owner
+
+- Router-owned RSC -> `router.invalidate()`
+- Query-owned RSC -> `queryClient.invalidateQueries(...)` or `refetchQueries(...)`
+- Mixed Router + Query -> invalidate both deliberately; do not assume one refreshes the other
+
+## Pattern chooser
+
+- Simple server fragment in a route loader -> `renderServerComponent`
+- Interactive slot inside server markup -> `createCompositeComponent`
+- Route component needs browser APIs but loader can still prefetch on the server -> `ssr: 'data-only'`
+- Loader itself needs browser APIs -> `ssr: false`
+- Route cache key must include search params -> `loaderDeps`
+- Query-managed RSC -> `useSuspenseQuery` + SSR `ensureQueryData`
+- Multiple independent RSCs -> separate server functions + `Promise.all`
+- Multiple RSCs sharing data or invalidating together -> one server function returning many renderables or sources
+- Need isolated widget failures or staggered reveal -> return promises from the loader and resolve with `use()` inside Suspense
+
+## Slot choice
+
+- `children`: free-form composition, no server-to-client data flow
+- render props: the server must pass serializable data into client-rendered UI
+- component props: reusable client slot with a stable typed prop surface
+- If you are about to use `Children.map`, `cloneElement`, or inspect `children` on the server, stop and convert it to a render prop
+
+## Review / refactor checklist
+
+- Is the chosen primitive the smallest one that fits?
+- Does the loader own the RSC, or should Query own it?
+- Are route cache keys complete (`params` + minimal `loaderDeps`)?
+- Is invalidation hitting the real cache owner?
+- Are query options using `structuralSharing: false` for any RSC value?
+- Are mutations explicit `createServerFn({ method: 'POST' })` calls instead of hidden server actions?
+- Are server-only imports kept inside server functions or server-only boundaries?
+- Are examples using current names (`renderServerComponent`, `.inputValidator`) instead of stale ones?
+
+## Debug fast
+
+- Setup, exports, or stale docs mismatch -> `docs/current-api-notes.md`
+- Composite Component design or slot bug -> `docs/composite-components.md`
+- Stale data, refetching, loader keys, Query vs Router ownership, or SSR mode -> `docs/caching-refresh-ssr.md`
+- Review, refactor, import leaks, error boundaries, or serialization bugs -> `docs/debugging-review.md`
+- Architecture and Next/App Router translation -> `docs/architecture.md`
+
+## Copy-paste patterns
+
+- `examples/01-renderable-route-loader.tsx`
+- `examples/02-composite-slots.tsx`
+- `examples/03-query-owned-rsc.tsx`
+- `examples/04-selective-ssr-data-only.tsx`
+- `examples/05-ssr-false-browser-loader.tsx`
+- `examples/06-low-level-flight-api-route.tsx`
+
+## Default implementation sequence
+
+1. Keep server-only work inside `createServerFn` or `createServerOnlyFn`
+2. Return an RSC from the server function
+3. Consume it through the route loader unless Query has a clear ownership advantage
+4. Add the smallest cache policy that satisfies freshness requirements
+5. Wire invalidation exactly once at the real cache owner
+6. Escalate to Composite Components only when the client must fill slots
+7. Escalate to low-level Flight APIs only when high-level helpers cannot express the transport
diff --git a/packages/react-start/skills/react-start/server-components/docs/architecture.md b/packages/react-start/skills/react-start/server-components/docs/architecture.md
new file mode 100644
index 0000000000..f416b832ad
--- /dev/null
+++ b/packages/react-start/skills/react-start/server-components/docs/architecture.md
@@ -0,0 +1,84 @@
+# Architecture and mental model
+
+## Core model
+
+TanStack Start treats React Server Components as plain React Flight data:
+
+- create them on the server
+- return them from a server function or API route
+- decode and render them during SSR or on the client
+- cache them with whatever already owns the data flow
+
+That matters because the framework is not asking you to move the whole UI tree to the server. RSCs are opt-in fragments that fit into existing Router and Query workflows.
+
+## Boundary model
+
+The fastest way to get TanStack Start RSC wrong is to think “loader = server”.
+
+Use these boundaries instead:
+
+- `createServerFn`: explicit RPC boundary; safe to call from client code because the client gets an RPC stub
+- `createServerOnlyFn`: utility that must never run on the client
+- route `loader`: orchestration layer that runs on the server for the initial SSR request and in the browser on client navigation unless the route is `ssr: false`
+
+Practical rule: loaders decide _when_ to fetch. Server functions decide _what_ must stay on the server.
+
+## What still works inside RSCs
+
+Do not over-correct and assume RSCs are a stripped-down universe.
+
+- TanStack Router `Link` works inside server components
+- CSS Modules and global CSS imports work inside server components
+- `React.cache` works for request-scoped memoization inside server components
+
+Use those directly when they simplify the tree.
+
+## When RSCs actually pay off
+
+Use TanStack Start RSCs when one or more of these are true:
+
+- a region is heavy to render but mostly static once delivered
+- a server-only dependency should never enter the client bundle
+- data fetching and render logic want to live together
+- you want progressively streamed HTML for part of the route
+- the result can be cached better as a fragment than as an entire page
+
+Do not force RSCs into highly interactive, state-dense client surfaces unless they materially reduce bundle size or remove awkward client/server sync.
+
+## Choosing tree ownership
+
+Think in terms of ownership:
+
+- client-owned UI: plain client components, Query, SPA patterns
+- route-owned RSC: route loader fetches a fragment and Router cache owns freshness
+- query-owned RSC: Query owns the fragment because its lifecycle is not route-shaped
+- mixed ownership: the route owns coarse navigation state, Query owns sub-fragments
+
+The wrong smell is accidental double ownership: one RSC is fetched in a loader, then also separately cached in Query, then only one side is invalidated.
+
+## Composite Components in one sentence
+
+A Composite Component is a server-rendered fragment with placeholders the client fills later.
+
+That makes it the replacement for “I need server-rendered markup here, but I still need client interactivity in the middle of it.”
+
+The client can wrap, nest, reorder, and interleave those fragments instead of accepting a single framework-owned server tree.
+
+## Next App Router translation
+
+Use this mapping when someone is thinking in Next terms:
+
+- Next “server-first tree” -> Start “isomorphic-first app with opt-in RSC fragments”
+- Next `'use client'` boundary -> Start Composite Component slot boundary
+- Next server actions -> Start explicit `createServerFn({ method: 'POST' })`
+- Next framework cache semantics -> Start Router cache, Query cache, and HTTP cache you control directly
+
+The useful mental shift is this: in TanStack Start, RSC is a transport and composition primitive, not the center of gravity for the whole app.
+
+## High-value heuristics
+
+- If the fragment never accepts client content, demote it to `renderServerComponent`.
+- If a route-scoped RSC never needs independent refetching, keep it in the loader cache.
+- If a fragment is reused across routes or refreshed independently, consider Query ownership.
+- If several fragments always share data and invalidate together, bundle them in one server function.
+- If one slow fragment blocks everything, stop awaiting it in the loader and defer it.
diff --git a/packages/react-start/skills/react-start/server-components/docs/caching-refresh-ssr.md b/packages/react-start/skills/react-start/server-components/docs/caching-refresh-ssr.md
new file mode 100644
index 0000000000..6619f78942
--- /dev/null
+++ b/packages/react-start/skills/react-start/server-components/docs/caching-refresh-ssr.md
@@ -0,0 +1,137 @@
+# Caching, refresh, SSR modes, and loading patterns
+
+## Pick one cache owner first
+
+### Router cache
+
+Use Router when the RSC is route-shaped and keyed by URL state.
+
+Relevant facts:
+
+- Router loader cache keys are based on pathname and params, plus anything you add through `loaderDeps`
+- default navigation `staleTime` is `0`
+- default preload freshness is `30s`
+- default stale reload mode is background stale-while-revalidate
+- `router.invalidate()` reloads active loaders immediately and marks cached routes stale
+
+Use Router ownership when the fragment naturally belongs to the route and should track navigation.
+
+### TanStack Query
+
+Use Query when the fragment has its own lifecycle.
+
+Typical reasons:
+
+- reuse across routes
+- background refetching independent of navigation
+- manual query invalidation
+- non-route ownership
+
+Hard rule:
+
+```tsx
+structuralSharing: false
+```
+
+Without that, Query may try to merge RSC values across fetches.
+
+### HTTP / server cache
+
+Use GET server functions and response headers when you want cross-request reuse:
+
+- CDN caching
+- edge caching
+- reverse proxies
+- shared server caches
+
+Set headers in a GET `createServerFn` via `setResponseHeaders(...)`.
+
+## Router-owned RSC pattern
+
+Use a server function to return the RSC, then fetch it in the route loader.
+
+Tune Router with:
+
+- `staleTime` when revisits should stay fresh for a window
+- `loaderDeps` when search params affect the fragment
+- `staleReloadMode: 'blocking'` when showing stale data during reload is unacceptable
+
+`loaderDeps` rule: include only values the loader actually uses. Returning the whole search object causes noisy invalidation.
+
+## Query-owned RSC pattern
+
+Use Query when you want explicit cache keys and background fetch behavior.
+
+Recommended shape:
+
+```tsx
+const postQueryOptions = (postId: string) => ({
+ queryKey: ['post-rsc', postId],
+ structuralSharing: false,
+ queryFn: () => getPostRsc({ data: { postId } }),
+ staleTime: 5 * 60 * 1000,
+})
+```
+
+For SSR reuse, prefetch in the route loader:
+
+```tsx
+await context.queryClient.ensureQueryData(postQueryOptions(params.postId))
+```
+
+Then read it with `useSuspenseQuery` in the component.
+
+## Refresh rules
+
+- loader-owned fragment changed -> `router.invalidate()`
+- query-owned fragment changed -> `queryClient.invalidateQueries(...)`
+- shared route and query state -> refresh both if both are authoritative
+- CDN or response-header cache involved -> make sure the mutation path also busts or bypasses server-side cache
+
+Do not “spray” invalidation everywhere. Decide who owns freshness, then target that owner.
+
+## Selective SSR modes
+
+### `ssr: 'data-only'`
+
+Use when:
+
+- the route component needs browser APIs
+- the loader can still fetch the RSC on the server for first paint
+- you want server-fetched fragment data ready before the client component mounts
+
+This is often the right shape for responsive charts, viewport-dependent layout wrappers, or widgets that need `window` but still benefit from server-rendered content.
+
+### `ssr: false`
+
+Use when the loader itself depends on browser APIs such as:
+
+- `localStorage`
+- `window`
+- browser-only client state
+
+In this mode, both the loader and component run in the browser. The loader can still call a server function that returns an RSC.
+
+## Loading patterns
+
+### Independent fragments -> parallel
+
+If the fragments do not share data, fetch them with separate server functions and `Promise.all`.
+
+### Shared data or shared invalidation -> bundle
+
+If several fragments always share a fetch or invalidate together, return them from one server function. This reduces round trips and keeps ownership aligned.
+
+### One slow fragment should not block everything -> defer
+
+Return promises from the loader instead of awaiting them. Resolve them with `use()` inside Suspense. This also lets you isolate failures with a local ErrorBoundary instead of the route error boundary.
+
+### Large or unbounded lists -> async generators
+
+Use async generators when items should arrive incrementally and total size or per-item latency is unpredictable.
+
+## Request-scoped memoization
+
+`React.cache` works inside server components. Use it when several async server components in one request need the same expensive fetch or computation.
+
+That is request-scoped deduplication, not a cross-request cache.
diff --git a/packages/react-start/skills/react-start/server-components/docs/composite-components.md b/packages/react-start/skills/react-start/server-components/docs/composite-components.md
new file mode 100644
index 0000000000..738e07c632
--- /dev/null
+++ b/packages/react-start/skills/react-start/server-components/docs/composite-components.md
@@ -0,0 +1,115 @@
+# Composite Components and slot composition
+
+## The real mechanism
+
+Inside `createCompositeComponent`, slot props are placeholders, not real client elements.
+
+Server-side behavior:
+
+- reading `props.children` records “there will be children here”
+- calling `props.renderSomething(args)` records “call this slot with these args later”
+- reading a component prop like `props.AddToCart` records “render this client component here with these props later”
+
+Client-side behavior:
+
+- ` ` replaces those placeholders with the real props you passed at render time
+
+This is why slots are powerful and why some React habits stop working.
+
+## Choose the slot type by data flow
+
+### `children`
+
+Use when:
+
+- the server only needs a hole for client content
+- no server data needs to flow into the slotted content
+- free-form composition matters more than a rigid interface
+
+Do not use when the server must inject IDs, permissions, pricing, or derived data into the child content.
+
+### render props
+
+Use when:
+
+- the server must pass data into the client-rendered content
+- the data is serializable
+- you want the call site to stay flexible
+
+This is usually the best default when the server owns the data and the client owns the interactive control.
+
+### component props
+
+Use when:
+
+- you have a reusable client component
+- the prop contract is stable
+- you want the server to decide where it renders and which typed props it receives
+
+This is a good fit for buttons, menus, controls, widgets, and repeated productized patterns.
+
+## Rules that matter
+
+- `renderServerComponent` does not support slots
+- do not use `React.Children.map`, `cloneElement`, or child inspection on the server
+- render-prop arguments and component-slot props must be Flight-serializable
+- keep slot contracts narrow; pass IDs and plain data, not giant objects by default
+
+## The most common anti-pattern
+
+Bad instinct:
+
+```tsx
+createCompositeComponent((props: { children?: React.ReactNode }) => (
+
+ {React.Children.map(props.children, (child) =>
+ React.cloneElement(child, { extra: 'prop' }),
+ )}
+
+))
+```
+
+Correct rewrite:
+
+```tsx
+createCompositeComponent<{
+ renderItem?: (data: { extra: string }) => React.ReactNode
+}>((props) => {props.renderItem?.({ extra: 'prop' })}
)
+```
+
+Server-side slot content is opaque. If the server needs to add data, make the data explicit.
+
+## Good slot contracts
+
+Prefer contracts like:
+
+- `renderActions?: ({ postId, authorId }) => ReactNode`
+- `AddToCart?: ComponentType<{ productId: string; price: number }>`
+- `children?: ReactNode`
+
+Avoid contracts like:
+
+- `renderAnything?: (data: EntirePostRecordFromDB) => ReactNode`
+- `children` plus child inspection and mutation
+- opaque callbacks that expect non-serializable classes or functions from the server
+
+## Composition patterns that age well
+
+### Shell + actions
+
+The server renders an article, card, or panel and exposes one `renderActions` slot for buttons, menus, or controls.
+
+### Shell + body children
+
+The server renders stable framing UI and accepts `children` for optional interactive regions like comments, drawers, or editors.
+
+### Stable control slot
+
+The server accepts a component prop such as `AddToCart`, `UserMenu`, or `RowActions` and supplies clean typed props to it.
+
+## Refactor heuristics
+
+- No slot use anywhere -> replace the Composite Component with `renderServerComponent`
+- Slot exists only to pass data -> prefer a render prop over `children`
+- Repeated render-prop call sites with the same component -> promote to a component prop
+- Giant slot arg object -> shrink it to the smallest serializable payload that the client really needs
diff --git a/packages/react-start/skills/react-start/server-components/docs/current-api-notes.md b/packages/react-start/skills/react-start/server-components/docs/current-api-notes.md
new file mode 100644
index 0000000000..a6ca6fee5e
--- /dev/null
+++ b/packages/react-start/skills/react-start/server-components/docs/current-api-notes.md
@@ -0,0 +1,74 @@
+# Current API notes and stale example corrections
+
+Validated against official TanStack Start, TanStack Router, TanStack blog, and Vite docs on 2026-04-13.
+
+## Current setup shape
+
+Use the current RSC setup:
+
+- React 19+
+- Vite 7+
+- `@vitejs/plugin-rsc`
+- `tanstackStart({ rsc: { enabled: true } })`
+- `rsc()`
+- `viteReact()`
+
+## Current high-level APIs
+
+Prefer:
+
+- `renderServerComponent`
+- `createCompositeComponent`
+- `CompositeComponent`
+
+Use low-level APIs only for custom transport:
+
+- `renderToReadableStream`
+- `createFromReadableStream`
+- `createFromFetch`
+
+## Current validation API
+
+Use `.inputValidator(...)` on `createServerFn`.
+
+Important because some current RSC docs snippets still show the older `.validator(...)` spelling. Normalize those examples before copying them into real code.
+
+## Current constraints
+
+- RSC support is still experimental
+- TanStack custom serialization is not available inside RSCs yet
+- slot args must stay Flight-serializable
+- `structuralSharing: false` is mandatory for Query-cached RSC values
+
+## Stale example traps to avoid
+
+### Old `renderRsc` examples
+
+You may still find older official repo examples using `renderRsc` and older config shapes. Do not cargo-cult them into new code. Normalize to the current docs and current `@tanstack/react-start/rsc` APIs.
+
+### Old validation snippets
+
+If you see `.validator(z.object(...))` in an RSC example, rewrite it to `.inputValidator(z.object(...))` to match the current server function API.
+
+### Old Vite config shapes
+
+If an example enables Start but does not also install and register `@vitejs/plugin-rsc`, treat it as stale for current TanStack Start RSC setup.
+
+## Maintenance rule
+
+When docs, examples, and repo snippets disagree:
+
+1. prefer the current TanStack Start docs
+2. prefer the current TanStack blog announcement over older repo samples
+3. cross-check with current Server Functions and Execution Model docs
+4. then normalize all local examples to one coherent modern API surface
+
+## Official source list
+
+- TanStack Start Server Components docs
+- TanStack Start Server Functions docs
+- TanStack Start Execution Model docs
+- TanStack Start Import Protection docs
+- TanStack Router Data Loading docs
+- TanStack blog: React Server Components Your Way
+- Vite docs for `@vitejs/plugin-rsc`
diff --git a/packages/react-start/skills/react-start/server-components/docs/debugging-review.md b/packages/react-start/skills/react-start/server-components/docs/debugging-review.md
new file mode 100644
index 0000000000..68580a9674
--- /dev/null
+++ b/packages/react-start/skills/react-start/server-components/docs/debugging-review.md
@@ -0,0 +1,141 @@
+# Debugging and review guide
+
+## Triage by failure stage
+
+### 1. Setup / build failure
+
+Likely causes:
+
+- `@vitejs/plugin-rsc` missing
+- RSC not enabled in `tanstackStart({ rsc: { enabled: true } })`
+- stale example using old exports
+- wrong React or Vite baseline
+
+Checks:
+
+- inspect `vite.config.*`
+- inspect imports from `@tanstack/react-start/rsc`
+- normalize to `renderServerComponent`, `createCompositeComponent`, `CompositeComponent`, `.inputValidator(...)`
+
+### 2. Wrong environment failure
+
+Symptoms:
+
+- DB or secret access explodes on client navigation
+- `window` or `localStorage` explodes during SSR
+- import protection complaints about server-only code
+
+Likely causes:
+
+- server-only logic placed directly in an isomorphic loader
+- browser-only logic used in SSR route/component
+- helper referencing `.server` imports outside a recognized server boundary
+
+Fixes:
+
+- move server-only work into `createServerFn` or `createServerOnlyFn`
+- use `ssr: 'data-only'` when only the component needs browser APIs
+- use `ssr: false` when the loader itself needs browser APIs
+- keep server-only imports inside server-only callbacks or files
+
+## Composition / slot bugs
+
+Symptoms:
+
+- child content disappears or cannot be modified
+- `Children.map` or `cloneElement` does nothing useful
+- component prop slot receives unusable data
+- Composite Component seems heavier than necessary
+
+Likely causes:
+
+- trying to inspect server-side slot placeholders
+- non-serializable slot args
+- using a Composite Component for a fragment that has no slots
+
+Fixes:
+
+- replace child inspection with a render prop
+- narrow slot args to serializable values
+- demote slotless composites to `renderServerComponent`
+
+## Cache / staleness bugs
+
+Symptoms:
+
+- stale UI after mutation
+- route revisits do not refresh when expected
+- route refreshes too often
+- Query errors or weird object merging on RSC values
+
+Likely causes:
+
+- invalidating the wrong cache owner
+- missing or oversized `loaderDeps`
+- missing `structuralSharing: false`
+- `staleTime` / `staleReloadMode` mismatch with desired UX
+
+Checks:
+
+- decide whether Router or Query owns the fragment
+- inspect `loaderDeps` for only the params actually used
+- verify Query key includes all real inputs
+- verify `structuralSharing: false`
+- use `router.invalidate()` only when the loader owns freshness
+
+## Error boundary surprises
+
+Rule:
+
+- awaited loader failure -> route `errorComponent`
+- deferred promise failure -> local ErrorBoundary around the deferred read
+
+If a single failing widget should not take down the route, stop awaiting it in the loader.
+
+## Serialization bugs
+
+Symptoms:
+
+- odd runtime decode failures
+- slot args rejected or malformed
+- custom serializer assumptions fail
+
+Likely causes:
+
+- passing classes, functions, Maps/Sets with custom serialization expectations, or other non-Flight-friendly values
+- relying on TanStack custom serialization inside RSCs
+
+Fixes:
+
+- reduce payloads to primitives, Dates, plain objects, arrays, and React elements where appropriate
+- pass IDs, not rich server objects, unless they are plain and intentionally serialized
+
+## Import protection and bundling gotchas
+
+- static imports of server functions are safe; the client build gets RPC stubs
+- dynamic imports of server functions can cause bundler issues
+- dev-mode import protection warnings can be informational because there is no tree-shaking; build output is the authoritative check
+
+## Code review checklist
+
+- correct primitive: renderable vs composite vs low-level stream
+- loader is orchestration, not secret storage
+- `loaderDeps` only covers actual inputs
+- Query-owned RSC uses `structuralSharing: false`
+- invalidation targets the real cache owner
+- mutations are explicit `POST` server functions
+- slot contracts are narrow and serializable
+- stale examples normalized to current APIs
+- route-level vs component-level error handling matches the UX requirement
+
+## Simplify-first recovery path
+
+When a bug is tangled across Query, Router, Composite Components, and SSR modes:
+
+1. collapse to one route-owned `renderServerComponent`
+2. verify the server function and loader path
+3. reintroduce Query only if you need independent ownership
+4. reintroduce Composite Components only if you need slots
+5. reintroduce deferred loading only if you need staggered reveal or isolated failures
+
+This sequence removes entire classes of bugs instead of trying to patch all of them at once.
diff --git a/packages/react-start/skills/react-start/server-components/docs/sources.md b/packages/react-start/skills/react-start/server-components/docs/sources.md
new file mode 100644
index 0000000000..fc1546ef84
--- /dev/null
+++ b/packages/react-start/skills/react-start/server-components/docs/sources.md
@@ -0,0 +1,39 @@
+# Official sources
+
+Validated on 2026-04-13.
+
+## TanStack Start
+
+- Server Components guide
+ https://tanstack.com/start/latest/docs/framework/react/guide/server-components
+
+- Server Functions guide
+ https://tanstack.com/start/latest/docs/framework/react/guide/server-functions
+
+- Execution Model guide
+ https://tanstack.com/start/latest/docs/framework/react/guide/execution-model
+
+- Import Protection guide
+ https://tanstack.com/start/latest/docs/framework/react/guide/import-protection
+
+## TanStack Router
+
+- Data Loading guide
+ https://tanstack.com/router/latest/docs/framework/react/guide/data-loading
+
+## TanStack blog
+
+- React Server Components Your Way
+ https://tanstack.com/blog/react-server-components
+
+## Vite
+
+- `@vitejs/plugin-rsc` documentation / discovery entry point
+ https://vite.dev/plugins/
+
+## Notes on drift observed during validation
+
+- Current RSC docs and blog use `renderServerComponent`, `createCompositeComponent`, `CompositeComponent`, and low-level Flight APIs from `@tanstack/react-start/rsc`.
+- Current Server Functions docs use `.inputValidator(...)`.
+- Some current RSC docs snippets still show older `.validator(...)`.
+- Older official repo examples may still show `renderRsc` and older config shapes. Prefer the current docs above.
diff --git a/packages/react-start/skills/react-start/server-components/examples/01-renderable-route-loader.tsx b/packages/react-start/skills/react-start/server-components/examples/01-renderable-route-loader.tsx
new file mode 100644
index 0000000000..eb4a308abb
--- /dev/null
+++ b/packages/react-start/skills/react-start/server-components/examples/01-renderable-route-loader.tsx
@@ -0,0 +1,28 @@
+// Current TanStack Start RSC pattern.
+// Replace route paths and data sources with your own app code.
+
+import { createFileRoute } from '@tanstack/react-router'
+import { createServerFn } from '@tanstack/react-start'
+import { renderServerComponent } from '@tanstack/react-start/rsc'
+
+function Greeting() {
+ return Hello from TanStack Start RSC
+}
+
+const getGreeting = createServerFn({ method: 'GET' }).handler(async () => {
+ const Renderable = await renderServerComponent( )
+ return { Renderable }
+})
+
+export const Route = createFileRoute('/hello')({
+ loader: async () => {
+ const { Renderable } = await getGreeting()
+ return { Greeting: Renderable }
+ },
+ component: HelloPage,
+})
+
+function HelloPage() {
+ const { Greeting } = Route.useLoaderData()
+ return <>{Greeting}>
+}
diff --git a/packages/react-start/skills/react-start/server-components/examples/02-composite-slots.tsx b/packages/react-start/skills/react-start/server-components/examples/02-composite-slots.tsx
new file mode 100644
index 0000000000..5bf1d77414
--- /dev/null
+++ b/packages/react-start/skills/react-start/server-components/examples/02-composite-slots.tsx
@@ -0,0 +1,124 @@
+// Composite Component patterns:
+// - children slot for free-form composition
+// - render-prop slot when the server must pass data into client UI
+// - component prop slot for reusable typed interactive controls
+
+import type { ComponentType, ReactNode } from 'react'
+import { createFileRoute } from '@tanstack/react-router'
+import { createServerFn } from '@tanstack/react-start'
+import {
+ CompositeComponent,
+ createCompositeComponent,
+} from '@tanstack/react-start/rsc'
+import { z } from 'zod'
+
+// Replace with your own server-only data layer
+declare const db: {
+ posts: {
+ findById(postId: string): Promise<{
+ id: string
+ authorId: string
+ title: string
+ body: string
+ }>
+ }
+ products: {
+ findById(productId: string): Promise<{
+ id: string
+ name: string
+ price: number
+ }>
+ }
+}
+
+const getPostCard = createServerFn({ method: 'GET' })
+ .inputValidator(z.object({ postId: z.string() }))
+ .handler(async ({ data }) => {
+ const post = await db.posts.findById(data.postId)
+
+ const src = await createCompositeComponent<{
+ children?: ReactNode
+ renderActions?: (args: { postId: string; authorId: string }) => ReactNode
+ }>((props) => (
+
+ {post.title}
+ {post.body}
+
+
+ {props.renderActions?.({
+ postId: post.id,
+ authorId: post.authorId,
+ })}
+
+
+
+
+ ))
+
+ return { src }
+ })
+
+export const Route = createFileRoute('/posts/$postId')({
+ loader: async ({ params }) =>
+ getPostCard({ data: { postId: params.postId } }),
+ component: PostPage,
+})
+
+function PostPage() {
+ const { src } = Route.useLoaderData()
+
+ return (
+ (
+
+ )}
+ >
+
+
+ )
+}
+
+function Comments() {
+ return Interactive comments go here
+}
+
+function PostActions(props: { postId: string; authorId: string }) {
+ return (
+
+ Moderate {props.postId} / {props.authorId}
+
+ )
+}
+
+// Component-prop slot variant
+const getProductCard = createServerFn({ method: 'GET' })
+ .inputValidator(z.object({ productId: z.string() }))
+ .handler(async ({ data }) => {
+ const product = await db.products.findById(data.productId)
+
+ const src = await createCompositeComponent<{
+ AddToCart?: ComponentType<{ productId: string; price: number }>
+ }>((props) => (
+
+ {product.name}
+ {props.AddToCart ? (
+
+ ) : null}
+
+ ))
+
+ return { src }
+ })
+
+function AddToCartButton(props: { productId: string; price: number }) {
+ return (
+
+ Add {props.productId} at {props.price}
+
+ )
+}
+
+// Example usage somewhere else:
+// const { src } = await getProductCard({ data: { productId: 'p-1' } })
+//
diff --git a/packages/react-start/skills/react-start/server-components/examples/03-query-owned-rsc.tsx b/packages/react-start/skills/react-start/server-components/examples/03-query-owned-rsc.tsx
new file mode 100644
index 0000000000..0b5c7c895a
--- /dev/null
+++ b/packages/react-start/skills/react-start/server-components/examples/03-query-owned-rsc.tsx
@@ -0,0 +1,97 @@
+// Query-owned RSC pattern.
+// Assumes your router context provides a queryClient for SSR prefetch.
+
+import type { ReactNode } from 'react'
+import { createFileRoute } from '@tanstack/react-router'
+import { createServerFn } from '@tanstack/react-start'
+import {
+ CompositeComponent,
+ createCompositeComponent,
+} from '@tanstack/react-start/rsc'
+import { useQueryClient, useSuspenseQuery } from '@tanstack/react-query'
+import { z } from 'zod'
+
+// Replace with your own data layer
+declare const db: {
+ posts: {
+ findById(postId: string): Promise<{
+ id: string
+ title: string
+ body: string
+ }>
+ update(
+ postId: string,
+ patch: { title?: string; body?: string },
+ ): Promise
+ }
+}
+
+const getPostRsc = createServerFn({ method: 'GET' })
+ .inputValidator(z.object({ postId: z.string() }))
+ .handler(async ({ data }) => {
+ const post = await db.posts.findById(data.postId)
+
+ const src = await createCompositeComponent<{
+ renderActions?: (args: { postId: string }) => ReactNode
+ }>((props) => (
+
+ {post.title}
+ {post.body}
+ {props.renderActions?.({ postId: post.id })}
+
+ ))
+
+ return { src }
+ })
+
+const updatePost = createServerFn({ method: 'POST' })
+ .inputValidator(
+ z.object({
+ postId: z.string(),
+ title: z.string().optional(),
+ body: z.string().optional(),
+ }),
+ )
+ .handler(async ({ data }) => {
+ await db.posts.update(data.postId, {
+ title: data.title,
+ body: data.body,
+ })
+ })
+
+const postQueryOptions = (postId: string) => ({
+ queryKey: ['post-rsc', postId],
+ structuralSharing: false,
+ queryFn: () => getPostRsc({ data: { postId } }),
+ staleTime: 5 * 60 * 1000,
+})
+
+export const Route = createFileRoute('/posts/$postId')({
+ loader: async ({ context, params }) => {
+ await context.queryClient.ensureQueryData(postQueryOptions(params.postId))
+ },
+ component: PostPage,
+})
+
+function PostPage() {
+ const { postId } = Route.useParams()
+ const queryClient = useQueryClient()
+
+ const { data } = useSuspenseQuery(postQueryOptions(postId))
+
+ const handleRename = async () => {
+ await updatePost({ data: { postId, title: 'Updated title' } })
+ await queryClient.invalidateQueries({ queryKey: ['post-rsc', postId] })
+ }
+
+ return (
+ (
+
+ Refresh {postId}
+
+ )}
+ />
+ )
+}
diff --git a/packages/react-start/skills/react-start/server-components/examples/04-selective-ssr-data-only.tsx b/packages/react-start/skills/react-start/server-components/examples/04-selective-ssr-data-only.tsx
new file mode 100644
index 0000000000..a068c3c001
--- /dev/null
+++ b/packages/react-start/skills/react-start/server-components/examples/04-selective-ssr-data-only.tsx
@@ -0,0 +1,72 @@
+// Selective SSR: the loader fetches the RSC on the server,
+// but the route component renders on the client because it needs browser APIs.
+
+import * as React from 'react'
+import type { ReactNode } from 'react'
+import { createFileRoute } from '@tanstack/react-router'
+import { createServerFn } from '@tanstack/react-start'
+import {
+ CompositeComponent,
+ createCompositeComponent,
+} from '@tanstack/react-start/rsc'
+
+// Replace with your own server-side data source
+declare function getDashboardStats(): Promise<{
+ series: Array<{ x: number; y: number }>
+ totalUsers: number
+}>
+
+const getDashboard = createServerFn({ method: 'GET' }).handler(async () => {
+ const stats = await getDashboardStats()
+
+ const src = await createCompositeComponent<{
+ renderChart?: (args: {
+ series: Array<{ x: number; y: number }>
+ }) => ReactNode
+ }>((props) => (
+
+ Users: {stats.totalUsers}
+ {props.renderChart?.({ series: stats.series })}
+
+ ))
+
+ return { src }
+})
+
+export const Route = createFileRoute('/dashboard')({
+ ssr: 'data-only',
+ loader: async () => ({
+ Dashboard: await getDashboard(),
+ }),
+ component: DashboardPage,
+})
+
+function DashboardPage() {
+ const { Dashboard } = Route.useLoaderData()
+ const [width, setWidth] = React.useState(0)
+
+ React.useEffect(() => {
+ setWidth(window.innerWidth)
+ }, [])
+
+ return (
+ (
+
+ )}
+ />
+ )
+}
+
+// Replace with your real chart component
+function ResponsiveChart(props: {
+ data: Array<{ x: number; y: number }>
+ width: number
+}) {
+ return (
+
+ {JSON.stringify({ width: props.width, points: props.data.length })}
+
+ )
+}
diff --git a/packages/react-start/skills/react-start/server-components/examples/05-ssr-false-browser-loader.tsx b/packages/react-start/skills/react-start/server-components/examples/05-ssr-false-browser-loader.tsx
new file mode 100644
index 0000000000..fa5b4aae55
--- /dev/null
+++ b/packages/react-start/skills/react-start/server-components/examples/05-ssr-false-browser-loader.tsx
@@ -0,0 +1,40 @@
+// Browser-owned loader pattern.
+// Use when the loader itself needs browser APIs such as localStorage.
+
+import { createFileRoute } from '@tanstack/react-router'
+import { createServerFn } from '@tanstack/react-start'
+import { renderServerComponent } from '@tanstack/react-start/rsc'
+import { z } from 'zod'
+
+const getDrawingTools = createServerFn({ method: 'POST' })
+ .inputValidator(z.object({ savedState: z.string().nullable() }))
+ .handler(async ({ data }) => {
+ const Tools = await renderServerComponent(
+ ,
+ )
+
+ return { Tools }
+ })
+
+export const Route = createFileRoute('/canvas')({
+ ssr: false,
+ loader: async () => {
+ const savedState = localStorage.getItem('canvas-state')
+ return getDrawingTools({ data: { savedState } })
+ },
+ component: CanvasPage,
+})
+
+function CanvasPage() {
+ const { Tools } = Route.useLoaderData()
+ return <>{Tools}>
+}
+
+function ToolPalette(props: { savedState: string | null }) {
+ return (
+
+ Canvas tools
+ {props.savedState ?? 'no saved state'}
+
+ )
+}
diff --git a/packages/react-start/skills/react-start/server-components/examples/06-low-level-flight-api-route.tsx b/packages/react-start/skills/react-start/server-components/examples/06-low-level-flight-api-route.tsx
new file mode 100644
index 0000000000..17415d00a8
--- /dev/null
+++ b/packages/react-start/skills/react-start/server-components/examples/06-low-level-flight-api-route.tsx
@@ -0,0 +1,40 @@
+// Low-level Flight stream APIs.
+// Prefer high-level helpers unless you need a custom transport.
+
+import { createAPIFileRoute } from '@tanstack/react-start/api'
+import { createServerFn } from '@tanstack/react-start'
+import {
+ createFromFetch,
+ renderToReadableStream,
+} from '@tanstack/react-start/rsc'
+import { useSuspenseQuery } from '@tanstack/react-query'
+
+const getFlightStream = createServerFn({ method: 'GET' }).handler(async () => {
+ return renderToReadableStream(Server rendered content
)
+})
+
+export const APIRoute = createAPIFileRoute('/api/rsc')({
+ GET: async () => {
+ const stream = await getFlightStream()
+
+ return new Response(stream, {
+ headers: {
+ 'Content-Type': 'text/x-component',
+ },
+ })
+ },
+})
+
+const rscQueryOptions = () => ({
+ queryKey: ['api-rsc'],
+ structuralSharing: false,
+ queryFn: async () => {
+ const Renderable = await createFromFetch(fetch('/api/rsc'))
+ return { Renderable }
+ },
+})
+
+export function ApiBackedRscWidget() {
+ const { data } = useSuspenseQuery(rscQueryOptions())
+ return <>{data.Renderable}>
+}
From df611998cb69e3010e88e2afd5d2bcc50cfd8f23 Mon Sep 17 00:00:00 2001
From: Nicolas Beaussart
Date: Tue, 14 Apr 2026 13:17:12 +0200
Subject: [PATCH 012/608] chore: add sharding for playwright tests (#7187)
* add sharding
* fix dependnancy
* fix playwright shard port reuse
* full bust
* throw more runners into this run
* try to throw money at it and see the effect
* tune
---
.nx/workflows/dynamic-changesets.yaml | 6 +-
e2e/react-start/rsc/package.json | 7 +-
e2e/react-start/rsc/playwright.config.ts | 16 +-
.../rsc/tests/setup/global.setup.ts | 2 +-
.../rsc/tests/setup/global.teardown.ts | 2 +-
nx.json | 11 +-
package.json | 5 +-
pnpm-lock.yaml | 648 ++++++++++++------
scripts/nx/playwright-plugin.md | 151 ++++
scripts/nx/playwright-plugin.ts | 130 ++++
10 files changed, 751 insertions(+), 227 deletions(-)
create mode 100644 scripts/nx/playwright-plugin.md
create mode 100644 scripts/nx/playwright-plugin.ts
diff --git a/.nx/workflows/dynamic-changesets.yaml b/.nx/workflows/dynamic-changesets.yaml
index d3536f3ba7..786111053d 100644
--- a/.nx/workflows/dynamic-changesets.yaml
+++ b/.nx/workflows/dynamic-changesets.yaml
@@ -1,4 +1,4 @@
distribute-on:
- small-changeset: 3 linux-medium-js
- medium-changeset: 6 linux-medium-js
- large-changeset: 10 linux-medium-js
+ small-changeset: 4 linux-medium-js
+ medium-changeset: 8 linux-medium-js
+ large-changeset: 14 linux-medium-js
diff --git a/e2e/react-start/rsc/package.json b/e2e/react-start/rsc/package.json
index 5c57315f05..eec6e1581d 100644
--- a/e2e/react-start/rsc/package.json
+++ b/e2e/react-start/rsc/package.json
@@ -9,7 +9,12 @@
"build": "vite build && tsc --noEmit",
"preview": "vite preview",
"start": "pnpx srvx --prod -s ../client dist/server/server.js",
- "test:e2e": "rm -rf port*.txt; playwright test --project=chromium"
+ "test:e2e-full": "pnpm build && sh -c 'rm -f \"port-${E2E_PORT_KEY:-$npm_package_name}.txt\" \"port-${E2E_PORT_KEY:-$npm_package_name}-external.txt\"' && playwright test --project=chromium"
+ },
+ "nx": {
+ "metadata": {
+ "playwrightShards": 6
+ }
},
"dependencies": {
"@tanstack/react-router": "workspace:^",
diff --git a/e2e/react-start/rsc/playwright.config.ts b/e2e/react-start/rsc/playwright.config.ts
index ec873aadb1..b6c13c0798 100644
--- a/e2e/react-start/rsc/playwright.config.ts
+++ b/e2e/react-start/rsc/playwright.config.ts
@@ -1,8 +1,20 @@
+import fs from 'node:fs'
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 e2ePortKey = process.env.E2E_PORT_KEY ?? packageJson.name
+
+if (process.env.TEST_WORKER_INDEX === undefined) {
+ for (const portFile of [
+ `port-${e2ePortKey}.txt`,
+ `port-${e2ePortKey}-external.txt`,
+ ]) {
+ fs.rmSync(portFile, { force: true })
+ }
+}
+
+const PORT = await getTestServerPort(e2ePortKey)
const baseURL = `http://localhost:${PORT}`
export default defineConfig({
@@ -18,7 +30,7 @@ export default defineConfig({
},
webServer: {
- command: `PORT=${PORT} pnpm build && PORT=${PORT} pnpm start`,
+ command: `PORT=${PORT} pnpm start`,
url: baseURL,
reuseExistingServer: !process.env.CI,
stdout: 'pipe',
diff --git a/e2e/react-start/rsc/tests/setup/global.setup.ts b/e2e/react-start/rsc/tests/setup/global.setup.ts
index 3593d10ab9..3def5f6941 100644
--- a/e2e/react-start/rsc/tests/setup/global.setup.ts
+++ b/e2e/react-start/rsc/tests/setup/global.setup.ts
@@ -2,5 +2,5 @@ import { e2eStartDummyServer } from '@tanstack/router-e2e-utils'
import packageJson from '../../package.json' with { type: 'json' }
export default async function setup() {
- await e2eStartDummyServer(packageJson.name)
+ await e2eStartDummyServer(process.env.E2E_PORT_KEY ?? packageJson.name)
}
diff --git a/e2e/react-start/rsc/tests/setup/global.teardown.ts b/e2e/react-start/rsc/tests/setup/global.teardown.ts
index 62fd79911c..a9ad1445f7 100644
--- a/e2e/react-start/rsc/tests/setup/global.teardown.ts
+++ b/e2e/react-start/rsc/tests/setup/global.teardown.ts
@@ -2,5 +2,5 @@ import { e2eStopDummyServer } from '@tanstack/router-e2e-utils'
import packageJson from '../../package.json' with { type: 'json' }
export default async function teardown() {
- await e2eStopDummyServer(packageJson.name)
+ await e2eStopDummyServer(process.env.E2E_PORT_KEY ?? packageJson.name)
}
diff --git a/nx.json b/nx.json
index 797ac91658..88eb404453 100644
--- a/nx.json
+++ b/nx.json
@@ -42,7 +42,7 @@
},
"test:e2e": {
"cache": true,
- "dependsOn": ["^build"],
+ "dependsOn": ["^build", "test:e2e--*"],
"inputs": ["default", "^production"]
},
"test:e2e:nitro": {
@@ -76,5 +76,12 @@
"dependsOn": ["build"],
"inputs": ["production"]
}
- }
+ },
+ "plugins": [
+ {
+ "name": "Playwright Sharding Plugin",
+ "plugin": "./scripts/nx/playwright-plugin.ts"
+ }
+ ],
+ "analytics": true
}
diff --git a/package.json b/package.json
index 8905e44f74..3abe245fa8 100644
--- a/package.json
+++ b/package.json
@@ -48,8 +48,11 @@
"@arethetypeswrong/cli": "^0.18.2",
"@changesets/cli": "^2.30.0",
"@eslint-react/eslint-plugin": "^1.26.2",
+ "@nx/devkit": "22.6.5",
"@playwright/test": "^1.57.0",
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
+ "@swc-node/core": "^1.14.1",
+ "@swc-node/register": "^1.11.1",
"@tanstack/eslint-config": "0.4.0",
"@tanstack/query-core": "^5.90.19",
"@tanstack/react-query": "^5.90.19",
@@ -64,7 +67,7 @@
"eslint-plugin-unused-imports": "^4.1.4",
"jsdom": "^25.0.1",
"markdown-link-extractor": "^4.0.3",
- "nx": "22.5.1",
+ "nx": "22.6.5",
"prettier": "^3.8.0",
"publint": "^0.3.16",
"react": "^19.2.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9afc7270ff..262710a585 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -71,12 +71,21 @@ importers:
'@eslint-react/eslint-plugin':
specifier: ^1.26.2
version: 1.26.2(eslint@9.22.0(jiti@2.6.1))(ts-api-utils@2.4.0(typescript@6.0.2))(typescript@6.0.2)
+ '@nx/devkit':
+ specifier: 22.6.5
+ version: 22.6.5(nx@22.6.5(@swc-node/register@1.11.1(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)(@swc/core@1.10.15(@swc/helpers@0.5.15))(@swc/types@0.1.17)(typescript@6.0.2))(@swc/core@1.10.15(@swc/helpers@0.5.15)))
'@playwright/test':
specifier: ^1.57.0
version: 1.58.0
'@svitejs/changesets-changelog-github-compact':
specifier: ^1.2.0
version: 1.2.0(encoding@0.1.13)
+ '@swc-node/core':
+ specifier: ^1.14.1
+ version: 1.14.1(@swc/core@1.10.15(@swc/helpers@0.5.15))(@swc/types@0.1.17)
+ '@swc-node/register':
+ specifier: ^1.11.1
+ version: 1.11.1(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)(@swc/core@1.10.15(@swc/helpers@0.5.15))(@swc/types@0.1.17)(typescript@6.0.2)
'@tanstack/eslint-config':
specifier: 0.4.0
version: 0.4.0(@typescript-eslint/utils@8.57.1(eslint@9.22.0(jiti@2.6.1))(typescript@6.0.2))(eslint-import-resolver-node@0.3.9)(eslint@9.22.0(jiti@2.6.1))(typescript@6.0.2)
@@ -120,8 +129,8 @@ importers:
specifier: ^4.0.3
version: 4.0.3
nx:
- specifier: 22.5.1
- version: 22.5.1
+ specifier: 22.6.5
+ version: 22.6.5(@swc-node/register@1.11.1(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)(@swc/core@1.10.15(@swc/helpers@0.5.15))(@swc/types@0.1.17)(typescript@6.0.2))(@swc/core@1.10.15(@swc/helpers@0.5.15))
prettier:
specifier: ^3.8.0
version: 3.8.1
@@ -385,7 +394,7 @@ importers:
version: 5.9.2
vitest:
specifier: ^3.2.4
- version: 3.2.4(@types/debug@4.1.12)(@types/node@25.0.9)(@vitest/browser@4.0.18(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(vite@8.0.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))(vitest@4.0.18))(@vitest/ui@4.0.18)(esbuild@0.27.4)(jiti@2.6.1)(jsdom@27.0.0(postcss@8.5.8))(msw@2.7.0(@types/node@25.0.9)(typescript@5.9.2))(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1)
+ version: 3.2.4(@types/debug@4.1.12)(@types/node@25.0.9)(@vitest/browser@4.0.18(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(vite@8.0.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))(vitest@4.0.18))(@vitest/ui@4.0.18(vitest@4.0.18))(esbuild@0.27.4)(jiti@2.6.1)(jsdom@27.0.0(postcss@8.5.8))(msw@2.7.0(@types/node@25.0.9)(typescript@5.9.2))(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1)
e2e/react-router/basepath-file-based:
dependencies:
@@ -5446,7 +5455,7 @@ importers:
version: 1.0.6(@rsbuild/core@1.2.4)
'@rsbuild/plugin-vue':
specifier: ^1.2.2
- version: 1.2.2(@rsbuild/core@1.2.4)(esbuild@0.27.4)(vue@3.5.25(typescript@6.0.2))
+ version: 1.2.2(@rsbuild/core@1.2.4)(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)(vue@3.5.25(typescript@6.0.2))
'@rsbuild/plugin-vue-jsx':
specifier: ^1.1.1
version: 1.1.1(@babel/core@7.29.0)(@rsbuild/core@1.2.4)
@@ -5501,7 +5510,7 @@ importers:
version: 1.0.6(@rsbuild/core@1.2.4)
'@rsbuild/plugin-vue':
specifier: ^1.2.2
- version: 1.2.2(@rsbuild/core@1.2.4)(esbuild@0.27.4)(vue@3.5.25(typescript@6.0.2))
+ version: 1.2.2(@rsbuild/core@1.2.4)(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)(vue@3.5.25(typescript@6.0.2))
'@rsbuild/plugin-vue-jsx':
specifier: ^1.1.1
version: 1.1.1(@babel/core@7.29.0)(@rsbuild/core@1.2.4)
@@ -8945,7 +8954,7 @@ importers:
version: 8.0.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)
vitest:
specifier: ^3.2.4
- version: 3.2.4(@types/debug@4.1.12)(@types/node@25.0.9)(@vitest/browser@4.0.18(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(vite@8.0.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))(vitest@4.0.18))(@vitest/ui@4.0.18)(esbuild@0.27.4)(jiti@2.6.1)(jsdom@27.0.0(postcss@8.5.8))(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1)
+ version: 3.2.4(@types/debug@4.1.12)(@types/node@25.0.9)(@vitest/browser@4.0.18(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(vite@8.0.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))(vitest@4.0.18))(@vitest/ui@4.0.18(vitest@4.0.18))(esbuild@0.27.4)(jiti@2.6.1)(jsdom@27.0.0(postcss@8.5.8))(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1)
web-vitals:
specifier: ^5.1.0
version: 5.1.0
@@ -10845,7 +10854,7 @@ importers:
version: 6.0.2
webpack:
specifier: ^5.97.1
- version: 5.97.1(esbuild@0.27.4)(webpack-cli@5.1.4)
+ version: 5.97.1(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)(webpack-cli@5.1.4)
webpack-cli:
specifier: ^5.1.4
version: 5.1.4(webpack-dev-server@5.2.0)(webpack@5.97.1)
@@ -11459,7 +11468,7 @@ importers:
version: 2.11.11(@testing-library/jest-dom@6.6.3)(solid-js@1.9.10)(vite@8.0.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))
vitest:
specifier: ^3.2.4
- version: 3.2.4(@types/debug@4.1.12)(@types/node@25.0.9)(@vitest/browser@4.0.18(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(vite@8.0.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))(vitest@4.0.18))(@vitest/ui@4.0.18)(esbuild@0.27.4)(jiti@2.6.1)(jsdom@27.0.0(postcss@8.5.8))(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1)
+ version: 3.2.4(@types/debug@4.1.12)(@types/node@25.0.9)(@vitest/browser@4.0.18(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(vite@8.0.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))(vitest@4.0.18))(@vitest/ui@4.0.18(vitest@4.0.18))(esbuild@0.27.4)(jiti@2.6.1)(jsdom@27.0.0(postcss@8.5.8))(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1)
web-vitals:
specifier: ^5.1.0
version: 5.1.0
@@ -12569,7 +12578,7 @@ importers:
version: 2.11.11(@testing-library/jest-dom@6.6.3)(solid-js@1.9.10)(vite@8.0.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))
webpack:
specifier: '>=5.92.0'
- version: 5.97.1(esbuild@0.27.4)
+ version: 5.97.1(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)
zod:
specifier: ^3.24.2
version: 3.25.57
@@ -15711,14 +15720,6 @@ packages:
'@ioredis/commands@1.5.0':
resolution: {integrity: sha512-eUgLqrMf8nJkZxT24JvVRrQya1vZkQh8BBeYNwGDqa5I0VUi8ACx7uFvAaLxintokpTenkK6DASvo/bvNbBGow==}
- '@isaacs/balanced-match@4.0.1':
- resolution: {integrity: sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==}
- engines: {node: 20 || >=22}
-
- '@isaacs/brace-expansion@5.0.0':
- resolution: {integrity: sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==}
- engines: {node: 20 || >=22}
-
'@isaacs/cliui@8.0.2':
resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}
engines: {node: '>=12'}
@@ -16212,53 +16213,58 @@ packages:
'@nothing-but/utils@0.17.0':
resolution: {integrity: sha512-TuCHcHLOqDL0SnaAxACfuRHBNRgNJcNn9X0GiH5H3YSDBVquCr3qEIG3FOQAuMyZCbu9w8nk2CHhOsn7IvhIwQ==}
- '@nx/nx-darwin-arm64@22.5.1':
- resolution: {integrity: sha512-DuvOwhXPO6l9W7/zM4/BaAbGTIXFyHVcbbCD1c7HfgZ3VfJPmcE7H4+TuQH0cigHHtpg/eGqV100NQbd7N4zwg==}
+ '@nx/devkit@22.6.5':
+ resolution: {integrity: sha512-9kvAI+kk2pfEXLqS8OyjI9XvWmp+Gdn7jPfxDAz8BOqxMyPy3p5hYl+jc4TIsLOWunAFl8azqrcYsHzEpaWCIA==}
+ peerDependencies:
+ nx: '>= 21 <= 23 || ^22.0.0-0'
+
+ '@nx/nx-darwin-arm64@22.6.5':
+ resolution: {integrity: sha512-qT77Omkg5xQuL2+pDbneX2tI+XW5ZeayMylu7UUgK8OhTrAkJLKjpuYRH4xT5XBipxbDtlxmO3aLS3Ib1pKzJQ==}
cpu: [arm64]
os: [darwin]
- '@nx/nx-darwin-x64@22.5.1':
- resolution: {integrity: sha512-81Lb7+rp3Qltpgy33Kc1qxk+8IWqZLhqvdLdRFSVV1FN1pPSJDFKyPjCn9oMpRryNPSJ8DgZDpfIaVVyP85rUw==}
+ '@nx/nx-darwin-x64@22.6.5':
+ resolution: {integrity: sha512-9jICxb7vfJ56y/7Yuh3b/n1QJqWxO9xnXKYEs6SO8xPoW/KomVckILGc1C6RQSs6/3ixVJC7k1Dh1wm5tKPFrg==}
cpu: [x64]
os: [darwin]
- '@nx/nx-freebsd-x64@22.5.1':
- resolution: {integrity: sha512-Ig8yQN3lSz9R+Zf3NQWcvEnIzwDX4NSeaFtEliPnC3OHlQXGNXbOUfkExa0U0UUgyxa4rgnCgefmwuc12H9q2Q==}
+ '@nx/nx-freebsd-x64@22.6.5':
+ resolution: {integrity: sha512-6B1wEKpqz5dI3AGMqttAVnA6M3DB/besAtuGyQiymK9ROlta1iuWgCcIYwcCQyhLn2Rx7vqj447KKcgCa8HlVw==}
cpu: [x64]
os: [freebsd]
- '@nx/nx-linux-arm-gnueabihf@22.5.1':
- resolution: {integrity: sha512-C7tGoLnR9MjKLJsLMF2VsKcDChPiygAsw6dSVgU4B650H7sBWmkEHM/QjvyRvkcZuoQBDamS/eVs/UaJu9wNhA==}
+ '@nx/nx-linux-arm-gnueabihf@22.6.5':
+ resolution: {integrity: sha512-xV50B8mnDPboct7JkAHftajI02s+8FszA8WTzhore+YGR+lEKHTLpucwGEaQuMlSdLplH7pQix4B4uK5pcMhZw==}
cpu: [arm]
os: [linux]
- '@nx/nx-linux-arm64-gnu@22.5.1':
- resolution: {integrity: sha512-GNxei+lwhzhrO9m+nNkibgxLhbkYKyFXPSRpOKLwv9VavNzJn5UmLfKJyhjNQPBOSYuNhiVPbU1Ja/qOBcozYw==}
+ '@nx/nx-linux-arm64-gnu@22.6.5':
+ resolution: {integrity: sha512-2JkWuMGj+HpW6oPAvU5VdAx1afTnEbiM10Y3YOrl3fipWV4BiP5VDx762QTrfCraP4hl6yqTgvTe7F9xaby+jQ==}
cpu: [arm64]
os: [linux]
- '@nx/nx-linux-arm64-musl@22.5.1':
- resolution: {integrity: sha512-VDJtdJP2nCgS8ommbfWFAKjoZCE51VH7tZyIfh8RFI5fxwoB3Pk6d6f6cmNHI/1t98YI3V7Onuf3Y9KBkYtyfQ==}
+ '@nx/nx-linux-arm64-musl@22.6.5':
+ resolution: {integrity: sha512-Z/zMqFClnEyqDXouJKEPoWVhMQIif5F0YuECWBYjd3ZLwQsXGTItoh+6Wm3XF/nGMA2uLOHyTq/X7iFXQY3RzA==}
cpu: [arm64]
os: [linux]
- '@nx/nx-linux-x64-gnu@22.5.1':
- resolution: {integrity: sha512-BZ/i+KTplEJmE8ZHKgPGD513Zl86DuSGyRAvbDZ7Qf19Tei7Of6vxW+ypvVDIwmDbyXfe13u54M5gDt8iiqFGQ==}
+ '@nx/nx-linux-x64-gnu@22.6.5':
+ resolution: {integrity: sha512-FlotSyqNnaXSn0K+yWw+hRdYBwusABrPgKLyixfJIYRzsy+xPKN6pON6vZfqGwzuWF/9mEGReRz+iM8PiW0XSg==}
cpu: [x64]
os: [linux]
- '@nx/nx-linux-x64-musl@22.5.1':
- resolution: {integrity: sha512-e0VdiV6fe88Dbhill2gUjYAD9jMhHjYsafGOPR+/uaGMAYPoI1jKur6uPGY+ik6fvwvDFFl0VT2+HACKVn7RoA==}
+ '@nx/nx-linux-x64-musl@22.6.5':
+ resolution: {integrity: sha512-RVOe2qcwhoIx6mxQURPjUfAW5SEOmT2gdhewvdcvX9ICq1hj5B2VarmkhTg0qroO7xiyqOqwq26mCzoV2I3NgQ==}
cpu: [x64]
os: [linux]
- '@nx/nx-win32-arm64-msvc@22.5.1':
- resolution: {integrity: sha512-3vWZO9y7uHKeyepcU55pE8VQTKGome3mLdicvx1TCoKKl0cA3bTR341Jdo2Zl4Waa2ENk7pGQbLWRQ3ZkaA92A==}
+ '@nx/nx-win32-arm64-msvc@22.6.5':
+ resolution: {integrity: sha512-ZqurqI8VuYnsr2Kn4K4t+Gx6j/BZdf6qz/6Tv4A7XQQ6oNYVQgTqoNEFj+CCkVaIe6aIdCWpousFLqs+ZgBqYQ==}
cpu: [arm64]
os: [win32]
- '@nx/nx-win32-x64-msvc@22.5.1':
- resolution: {integrity: sha512-4e5LduuhpBx96JgD1J3fHUGCwC+/lL+tvXp3UVtjh/AOdINGsyI+scinT3uaI9vcB5GKBcybTxbBZzwcH50w9g==}
+ '@nx/nx-win32-x64-msvc@22.6.5':
+ resolution: {integrity: sha512-i2QFBJIuaYg9BHxrrnBV4O7W9rVL2k0pSIdk/rRp3EYJEU93iUng+qbZiY9wh1xvmXuUCE2G7TRd+8/SG/RFKg==}
cpu: [x64]
os: [win32]
@@ -16419,6 +16425,106 @@ packages:
'@oxc-project/types@0.124.0':
resolution: {integrity: sha512-VBFWMTBvHxS11Z5Lvlr3IWgrwhMTXV+Md+EQF0Xf60+wAdsGFTBx7X7K/hP4pi8N7dcm1RvcHwDxZ16Qx8keUg==}
+ '@oxc-resolver/binding-android-arm-eabi@11.19.1':
+ resolution: {integrity: sha512-aUs47y+xyXHUKlbhqHUjBABjvycq6YSD7bpxSW7vplUmdzAlJ93yXY6ZR0c1o1x5A/QKbENCvs3+NlY8IpIVzg==}
+ cpu: [arm]
+ os: [android]
+
+ '@oxc-resolver/binding-android-arm64@11.19.1':
+ resolution: {integrity: sha512-oolbkRX+m7Pq2LNjr/kKgYeC7bRDMVTWPgxBGMjSpZi/+UskVo4jsMU3MLheZV55jL6c3rNelPl4oD60ggYmqA==}
+ cpu: [arm64]
+ os: [android]
+
+ '@oxc-resolver/binding-darwin-arm64@11.19.1':
+ resolution: {integrity: sha512-nUC6d2i3R5B12sUW4O646qD5cnMXf2oBGPLIIeaRfU9doJRORAbE2SGv4eW6rMqhD+G7nf2Y8TTJTLiiO3Q/dQ==}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@oxc-resolver/binding-darwin-x64@11.19.1':
+ resolution: {integrity: sha512-cV50vE5+uAgNcFa3QY1JOeKDSkM/9ReIcc/9wn4TavhW/itkDGrXhw9jaKnkQnGbjJ198Yh5nbX/Gr2mr4Z5jQ==}
+ cpu: [x64]
+ os: [darwin]
+
+ '@oxc-resolver/binding-freebsd-x64@11.19.1':
+ resolution: {integrity: sha512-xZOQiYGFxtk48PBKff+Zwoym7ScPAIVp4c14lfLxizO2LTTTJe5sx9vQNGrBymrf/vatSPNMD4FgsaaRigPkqw==}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@oxc-resolver/binding-linux-arm-gnueabihf@11.19.1':
+ resolution: {integrity: sha512-lXZYWAC6kaGe/ky2su94e9jN9t6M0/6c+GrSlCqL//XO1cxi5lpAhnJYdyrKfm0ZEr/c7RNyAx3P7FSBcBd5+A==}
+ cpu: [arm]
+ os: [linux]
+
+ '@oxc-resolver/binding-linux-arm-musleabihf@11.19.1':
+ resolution: {integrity: sha512-veG1kKsuK5+t2IsO9q0DErYVSw2azvCVvWHnfTOS73WE0STdLLB7Q1bB9WR+yHPQM76ASkFyRbogWo1GR1+WbQ==}
+ cpu: [arm]
+ os: [linux]
+
+ '@oxc-resolver/binding-linux-arm64-gnu@11.19.1':
+ resolution: {integrity: sha512-heV2+jmXyYnUrpUXSPugqWDRpnsQcDm2AX4wzTuvgdlZfoNYO0O3W2AVpJYaDn9AG4JdM6Kxom8+foE7/BcSig==}
+ cpu: [arm64]
+ os: [linux]
+
+ '@oxc-resolver/binding-linux-arm64-musl@11.19.1':
+ resolution: {integrity: sha512-jvo2Pjs1c9KPxMuMPIeQsgu0mOJF9rEb3y3TdpsrqwxRM+AN6/nDDwv45n5ZrUnQMsdBy5gIabioMKnQfWo9ew==}
+ cpu: [arm64]
+ os: [linux]
+
+ '@oxc-resolver/binding-linux-ppc64-gnu@11.19.1':
+ resolution: {integrity: sha512-vLmdNxWCdN7Uo5suays6A/+ywBby2PWBBPXctWPg5V0+eVuzsJxgAn6MMB4mPlshskYbppjpN2Zg83ArHze9gQ==}
+ cpu: [ppc64]
+ os: [linux]
+
+ '@oxc-resolver/binding-linux-riscv64-gnu@11.19.1':
+ resolution: {integrity: sha512-/b+WgR+VTSBxzgOhDO7TlMXC1ufPIMR6Vj1zN+/x+MnyXGW7prTLzU9eW85Aj7Th7CCEG9ArCbTeqxCzFWdg2w==}
+ cpu: [riscv64]
+ os: [linux]
+
+ '@oxc-resolver/binding-linux-riscv64-musl@11.19.1':
+ resolution: {integrity: sha512-YlRdeWb9j42p29ROh+h4eg/OQ3dTJlpHSa+84pUM9+p6i3djtPz1q55yLJhgW9XfDch7FN1pQ/Vd6YP+xfRIuw==}
+ cpu: [riscv64]
+ os: [linux]
+
+ '@oxc-resolver/binding-linux-s390x-gnu@11.19.1':
+ resolution: {integrity: sha512-EDpafVOQWF8/MJynsjOGFThcqhRHy417sRyLfQmeiamJ8qVhSKAn2Dn2VVKUGCjVB9C46VGjhNo7nOPUi1x6uA==}
+ cpu: [s390x]
+ os: [linux]
+
+ '@oxc-resolver/binding-linux-x64-gnu@11.19.1':
+ resolution: {integrity: sha512-NxjZe+rqWhr+RT8/Ik+5ptA3oz7tUw361Wa5RWQXKnfqwSSHdHyrw6IdcTfYuml9dM856AlKWZIUXDmA9kkiBQ==}
+ cpu: [x64]
+ os: [linux]
+
+ '@oxc-resolver/binding-linux-x64-musl@11.19.1':
+ resolution: {integrity: sha512-cM/hQwsO3ReJg5kR+SpI69DMfvNCp+A/eVR4b4YClE5bVZwz8rh2Nh05InhwI5HR/9cArbEkzMjcKgTHS6UaNw==}
+ cpu: [x64]
+ os: [linux]
+
+ '@oxc-resolver/binding-openharmony-arm64@11.19.1':
+ resolution: {integrity: sha512-QF080IowFB0+9Rh6RcD19bdgh49BpQHUW5TajG1qvWHvmrQznTZZjYlgE2ltLXyKY+qs4F/v5xuX1XS7Is+3qA==}
+ cpu: [arm64]
+ os: [openharmony]
+
+ '@oxc-resolver/binding-wasm32-wasi@11.19.1':
+ resolution: {integrity: sha512-w8UCKhX826cP/ZLokXDS6+milN8y4X7zidsAttEdWlVoamTNf6lhBJldaWr3ukTDiye7s4HRcuPEPOXNC432Vg==}
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
+
+ '@oxc-resolver/binding-win32-arm64-msvc@11.19.1':
+ resolution: {integrity: sha512-nJ4AsUVZrVKwnU/QRdzPCCrO0TrabBqgJ8pJhXITdZGYOV28TIYystV1VFLbQ7DtAcaBHpocT5/ZJnF78YJPtQ==}
+ cpu: [arm64]
+ os: [win32]
+
+ '@oxc-resolver/binding-win32-ia32-msvc@11.19.1':
+ resolution: {integrity: sha512-EW+ND5q2Tl+a3pH81l1QbfgbF3HmqgwLfDfVithRFheac8OTcnbXt/JxqD2GbDkb7xYEqy1zNaVFRr3oeG8npA==}
+ cpu: [ia32]
+ os: [win32]
+
+ '@oxc-resolver/binding-win32-x64-msvc@11.19.1':
+ resolution: {integrity: sha512-6hIU3RQu45B+VNTY4Ru8ppFwjVS/S5qwYyGhBotmjxfEKk41I2DlGtRfGJndZ5+6lneE2pwloqunlOyZuX/XAw==}
+ cpu: [x64]
+ os: [win32]
+
'@oxc-transform/binding-android-arm-eabi@0.110.0':
resolution: {integrity: sha512-sE9dxvqqAax1YYJ3t7j+h5ZSI9jl6dYuDfngl6ieZUrIy5P89/8JKVgAzgp8o3wQSo7ndpJvYsi1K4ZqrmbP7w==}
engines: {node: ^20.19.0 || >=22.12.0}
@@ -18351,6 +18457,22 @@ packages:
resolution: {integrity: sha512-08eKiDAjj4zLug1taXSIJ0kGL5cawjVCyJkBb6EWSg5fEPX6L+Wtr0CH2If4j5KYylz85iaZiFlUItvgJvll5g==}
engines: {node: ^14.13.1 || ^16.0.0 || >=18}
+ '@swc-node/core@1.14.1':
+ resolution: {integrity: sha512-jrt5GUaZUU6cmMS+WTJEvGvaB6j1YNKPHPzC2PUi2BjaFbtxURHj6641Az6xN7b665hNniAIdvjxWcRml5yCnw==}
+ engines: {node: '>= 10'}
+ peerDependencies:
+ '@swc/core': '>= 1.13.3'
+ '@swc/types': '>= 0.1'
+
+ '@swc-node/register@1.11.1':
+ resolution: {integrity: sha512-VQ0hJ5jX31TVv/fhZx4xJRzd8pwn6VvzYd2tGOHHr2TfXGCBixZoqdPDXTiEoJLCTS2MmvBf6zyQZZ0M8aGQCQ==}
+ peerDependencies:
+ '@swc/core': '>= 1.4.13'
+ typescript: '>= 4.3'
+
+ '@swc-node/sourcemap-support@0.6.1':
+ resolution: {integrity: sha512-ovltDVH5QpdHXZkW138vG4+dgcNsxfwxHVoV6BtmTbz2KKl1A8ZSlbdtxzzfNjCjbpayda8Us9eMtcHobm38dA==}
+
'@swc/core-darwin-arm64@1.10.15':
resolution: {integrity: sha512-zFdZ6/yHqMCPk7OhLFqHy/MQ1EqJhcZMpNHd1gXYT7VRU3FaqvvKETrUlG3VYl65McPC7AhMRfXPyJ0JO/jARQ==}
engines: {node: '>=10'}
@@ -19909,6 +20031,9 @@ packages:
axios@1.13.2:
resolution: {integrity: sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==}
+ axios@1.15.0:
+ resolution: {integrity: sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==}
+
b4a@1.6.7:
resolution: {integrity: sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==}
@@ -20983,9 +21108,9 @@ packages:
effect@3.18.4:
resolution: {integrity: sha512-b1LXQJLe9D11wfnOKAk3PKxuqYshQ0Heez+y5pnkd3jLj1yx9QhM72zZ9uUrOQyNvrs2GZZd/3maL0ZV18YuDA==}
- ejs@3.1.10:
- resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==}
- engines: {node: '>=0.10.0'}
+ ejs@5.0.1:
+ resolution: {integrity: sha512-COqBPFMxuPTPspXl2DkVYaDS3HtrD1GpzOGkNTJ1IYkifq/r9h8SVEFrjA3D9/VJGOEoMQcrlhpntcSUrM8k6A==}
+ engines: {node: '>=0.12.18'}
hasBin: true
electron-to-chromium@1.5.267:
@@ -21561,9 +21686,6 @@ packages:
file-uri-to-path@1.0.0:
resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==}
- filelist@1.0.6:
- resolution: {integrity: sha512-5giy2PkLYY1cP39p17Ech+2xlpTRL9HLspOfEgm0L6CwBXBTgsK5ou0JtzYuepxkaQ/tvhCFIJ5uXo0OrM2DxA==}
-
fill-range@7.1.1:
resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
engines: {node: '>=8'}
@@ -21636,6 +21758,15 @@ packages:
debug:
optional: true
+ follow-redirects@1.16.0:
+ resolution: {integrity: sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==}
+ engines: {node: '>=4.0'}
+ peerDependencies:
+ debug: '*'
+ peerDependenciesMeta:
+ debug:
+ optional: true
+
for-each@0.3.5:
resolution: {integrity: sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==}
engines: {node: '>= 0.4'}
@@ -22435,11 +22566,6 @@ packages:
jackspeak@3.4.3:
resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==}
- jake@10.9.4:
- resolution: {integrity: sha512-wpHYzhxiVQL+IV05BLE2Xn34zW1S223hvjtqk0+gsPrwd/8JNLXJgZZM/iPFsYc1xyphF+6M6EvdE5E9MBGkDA==}
- engines: {node: '>=10'}
- hasBin: true
-
jest-diff@30.0.5:
resolution: {integrity: sha512-1UIqE9PoEKaHcIKvq2vbibrCog4Y8G0zmOxgQUVEiTqwR5hJVMCoDsN1vFvI5JvwD37hjueZ1C4l2FyGnfpE0A==}
engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
@@ -23014,10 +23140,6 @@ packages:
resolution: {integrity: sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==}
engines: {node: 20 || >=22}
- minimatch@10.1.1:
- resolution: {integrity: sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==}
- engines: {node: 20 || >=22}
-
minimatch@10.2.4:
resolution: {integrity: sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==}
engines: {node: 18 || 20 || >=22}
@@ -23288,9 +23410,6 @@ packages:
resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==}
hasBin: true
- node-machine-id@1.1.12:
- resolution: {integrity: sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ==}
-
node-mock-http@1.0.4:
resolution: {integrity: sha512-8DY+kFsDkNXy1sJglUfuODx1/opAGJGyrTuFqEoN90oRc2Vk0ZbD4K2qmKXBBEhZQzdKHIVfEJpDU8Ak2NJEvQ==}
@@ -23344,12 +23463,12 @@ packages:
nwsapi@2.2.16:
resolution: {integrity: sha512-F1I/bimDpj3ncaNDhfyMWuFqmQDBwDB0Fogc2qpL3BWvkQteFD/8BzWuIRl83rq0DXfm8SGt/HFhLXZyljTXcQ==}
- nx@22.5.1:
- resolution: {integrity: sha512-KIQqOSdoshkav9JuoH/+Vp42niA5MTRtACupe+q8CaB7bHiLsWr5nctQVC7ul3NauAmsoqNWH7t5CIi8KgrPIQ==}
+ nx@22.6.5:
+ resolution: {integrity: sha512-VRKhDAt684dXNSz9MNjE7MekkCfQF41P2PSx5jEWQjDEP1Z4jFZbyeygWs5ZyOroG7/n0MoWAJTe6ftvIcBOAg==}
hasBin: true
peerDependencies:
- '@swc-node/register': 1.11.1
- '@swc/core': 1.15.8
+ '@swc-node/register': ^1.11.1
+ '@swc/core': ^1.15.8
peerDependenciesMeta:
'@swc-node/register':
optional: true
@@ -23464,6 +23583,9 @@ packages:
resolution: {integrity: sha512-KWGTzPo83QmGrXC4ml83PM9HDwUPtZFfasiclUvTV4i3/0j7xRRqINVkrL77CbQnoWura3CMxkRofjQKVDuhBw==}
engines: {node: ^20.19.0 || >=22.12.0}
+ oxc-resolver@11.19.1:
+ resolution: {integrity: sha512-qE/CIg/spwrTBFt5aKmwe3ifeDdLfA2NESN30E42X/lII5ClF8V7Wt6WIJhcGZjp0/Q+nQ+9vgxGk//xZNX2hg==}
+
oxc-transform@0.110.0:
resolution: {integrity: sha512-/fymQNzzUoKZweH0nC5yvbI2eR0yWYusT9TEKDYVgOgYrf9Qmdez9lUFyvxKR9ycx+PTHi/reIOzqf3wkShQsw==}
engines: {node: ^20.19.0 || >=22.12.0}
@@ -23685,6 +23807,10 @@ packages:
resolution: {integrity: sha512-0GNPNzHXBKw6U/InGe79A3Crzyk9bcSyObF9/Gfo9DLEf5qj5RF50RSjsu0W1rZ6ZqRGdzDFCRBQvi9/rSGPtA==}
hasBin: true
+ pirates@4.0.7:
+ resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==}
+ engines: {node: '>= 6'}
+
pixelmatch@7.1.0:
resolution: {integrity: sha512-1wrVzJ2STrpmONHKBy228LM1b84msXDUoAzVEl0R8Mz4Ce6EPr+IVtxm8+yvrqLYMHswREkjYFaMxnyGnaY3Ng==}
hasBin: true
@@ -23913,6 +24039,10 @@ packages:
proxy-from-env@1.1.0:
resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==}
+ proxy-from-env@2.1.0:
+ resolution: {integrity: sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==}
+ engines: {node: '>=10'}
+
psl@1.15.0:
resolution: {integrity: sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==}
@@ -24683,6 +24813,10 @@ packages:
smob@1.5.0:
resolution: {integrity: sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==}
+ smol-toml@1.6.1:
+ resolution: {integrity: sha512-dWUG8F5sIIARXih1DTaQAX4SsiTXhInKf1buxdY9DIg4ZYPZK5nGM1VRIYmEbDbsHt7USo99xSLFu5Q1IqTmsg==}
+ engines: {node: '>= 18'}
+
sockjs@0.3.24:
resolution: {integrity: sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ==}
@@ -27354,30 +27488,30 @@ snapshots:
dependencies:
'@emnapi/wasi-threads': 1.1.0
tslib: 2.8.1
+ optional: true
'@emnapi/core@1.9.2':
dependencies:
'@emnapi/wasi-threads': 1.2.1
tslib: 2.8.1
- optional: true
'@emnapi/runtime@1.7.1':
dependencies:
tslib: 2.8.1
+ optional: true
'@emnapi/runtime@1.9.2':
dependencies:
tslib: 2.8.1
- optional: true
'@emnapi/wasi-threads@1.1.0':
dependencies:
tslib: 2.8.1
+ optional: true
'@emnapi/wasi-threads@1.2.1':
dependencies:
tslib: 2.8.1
- optional: true
'@emotion/babel-plugin@11.13.5':
dependencies:
@@ -28720,12 +28854,6 @@ snapshots:
'@ioredis/commands@1.5.0': {}
- '@isaacs/balanced-match@4.0.1': {}
-
- '@isaacs/brace-expansion@5.0.0':
- dependencies:
- '@isaacs/balanced-match': 4.0.1
-
'@isaacs/cliui@8.0.2':
dependencies:
string-width: 5.1.2
@@ -29148,8 +29276,8 @@ snapshots:
'@napi-rs/wasm-runtime@0.2.4':
dependencies:
- '@emnapi/core': 1.7.1
- '@emnapi/runtime': 1.7.1
+ '@emnapi/core': 1.9.2
+ '@emnapi/runtime': 1.9.2
'@tybys/wasm-util': 0.9.0
'@napi-rs/wasm-runtime@1.1.1':
@@ -29517,34 +29645,45 @@ snapshots:
'@nothing-but/utils@0.17.0': {}
- '@nx/nx-darwin-arm64@22.5.1':
+ '@nx/devkit@22.6.5(nx@22.6.5(@swc-node/register@1.11.1(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)(@swc/core@1.10.15(@swc/helpers@0.5.15))(@swc/types@0.1.17)(typescript@6.0.2))(@swc/core@1.10.15(@swc/helpers@0.5.15)))':
+ dependencies:
+ '@zkochan/js-yaml': 0.0.7
+ ejs: 5.0.1
+ enquirer: 2.3.6
+ minimatch: 10.2.4
+ nx: 22.6.5(@swc-node/register@1.11.1(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)(@swc/core@1.10.15(@swc/helpers@0.5.15))(@swc/types@0.1.17)(typescript@6.0.2))(@swc/core@1.10.15(@swc/helpers@0.5.15))
+ semver: 7.7.3
+ tslib: 2.8.1
+ yargs-parser: 21.1.1
+
+ '@nx/nx-darwin-arm64@22.6.5':
optional: true
- '@nx/nx-darwin-x64@22.5.1':
+ '@nx/nx-darwin-x64@22.6.5':
optional: true
- '@nx/nx-freebsd-x64@22.5.1':
+ '@nx/nx-freebsd-x64@22.6.5':
optional: true
- '@nx/nx-linux-arm-gnueabihf@22.5.1':
+ '@nx/nx-linux-arm-gnueabihf@22.6.5':
optional: true
- '@nx/nx-linux-arm64-gnu@22.5.1':
+ '@nx/nx-linux-arm64-gnu@22.6.5':
optional: true
- '@nx/nx-linux-arm64-musl@22.5.1':
+ '@nx/nx-linux-arm64-musl@22.6.5':
optional: true
- '@nx/nx-linux-x64-gnu@22.5.1':
+ '@nx/nx-linux-x64-gnu@22.6.5':
optional: true
- '@nx/nx-linux-x64-musl@22.5.1':
+ '@nx/nx-linux-x64-musl@22.6.5':
optional: true
- '@nx/nx-win32-arm64-msvc@22.5.1':
+ '@nx/nx-win32-arm64-msvc@22.6.5':
optional: true
- '@nx/nx-win32-x64-msvc@22.5.1':
+ '@nx/nx-win32-x64-msvc@22.6.5':
optional: true
'@one-ini/wasm@0.1.1': {}
@@ -29643,6 +29782,71 @@ snapshots:
'@oxc-project/types@0.124.0': {}
+ '@oxc-resolver/binding-android-arm-eabi@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-android-arm64@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-darwin-arm64@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-darwin-x64@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-freebsd-x64@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-linux-arm-gnueabihf@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-linux-arm-musleabihf@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-linux-arm64-gnu@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-linux-arm64-musl@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-linux-ppc64-gnu@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-linux-riscv64-gnu@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-linux-riscv64-musl@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-linux-s390x-gnu@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-linux-x64-gnu@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-linux-x64-musl@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-openharmony-arm64@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-wasm32-wasi@11.19.1(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)':
+ dependencies:
+ '@napi-rs/wasm-runtime': 1.1.3(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)
+ transitivePeerDependencies:
+ - '@emnapi/core'
+ - '@emnapi/runtime'
+ optional: true
+
+ '@oxc-resolver/binding-win32-arm64-msvc@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-win32-ia32-msvc@11.19.1':
+ optional: true
+
+ '@oxc-resolver/binding-win32-x64-msvc@11.19.1':
+ optional: true
+
'@oxc-transform/binding-android-arm-eabi@0.110.0':
optional: true
@@ -31038,11 +31242,11 @@ snapshots:
- '@babel/core'
- supports-color
- '@rsbuild/plugin-vue@1.2.2(@rsbuild/core@1.2.4)(esbuild@0.27.4)(vue@3.5.25(typescript@6.0.2))':
+ '@rsbuild/plugin-vue@1.2.2(@rsbuild/core@1.2.4)(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)(vue@3.5.25(typescript@6.0.2))':
dependencies:
'@rsbuild/core': 1.2.4
- rspack-vue-loader: 17.4.4(vue@3.5.25(typescript@6.0.2))(webpack@5.104.0(esbuild@0.27.4))
- webpack: 5.104.0(esbuild@0.27.4)
+ rspack-vue-loader: 17.4.4(vue@3.5.25(typescript@6.0.2))(webpack@5.104.0(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4))
+ webpack: 5.104.0(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)
transitivePeerDependencies:
- '@swc/core'
- '@vue/compiler-sfc'
@@ -31564,6 +31768,33 @@ snapshots:
transitivePeerDependencies:
- encoding
+ '@swc-node/core@1.14.1(@swc/core@1.10.15(@swc/helpers@0.5.15))(@swc/types@0.1.17)':
+ dependencies:
+ '@swc/core': 1.10.15(@swc/helpers@0.5.15)
+ '@swc/types': 0.1.17
+
+ '@swc-node/register@1.11.1(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)(@swc/core@1.10.15(@swc/helpers@0.5.15))(@swc/types@0.1.17)(typescript@6.0.2)':
+ dependencies:
+ '@swc-node/core': 1.14.1(@swc/core@1.10.15(@swc/helpers@0.5.15))(@swc/types@0.1.17)
+ '@swc-node/sourcemap-support': 0.6.1
+ '@swc/core': 1.10.15(@swc/helpers@0.5.15)
+ colorette: 2.0.20
+ debug: 4.4.3
+ oxc-resolver: 11.19.1(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)
+ pirates: 4.0.7
+ tslib: 2.8.1
+ typescript: 6.0.2
+ transitivePeerDependencies:
+ - '@emnapi/core'
+ - '@emnapi/runtime'
+ - '@swc/types'
+ - supports-color
+
+ '@swc-node/sourcemap-support@0.6.1':
+ dependencies:
+ source-map-support: 0.5.21
+ tslib: 2.8.1
+
'@swc/core-darwin-arm64@1.10.15':
optional: true
@@ -33100,7 +33331,7 @@ snapshots:
sirv: 3.0.2
tinyglobby: 0.2.15
tinyrainbow: 3.0.3
- vitest: 4.0.18(@types/node@25.0.9)(@vitest/ui@4.0.18)(esbuild@0.27.4)(jiti@2.6.1)(jsdom@27.0.0(postcss@8.5.8))(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1)
+ vitest: 4.0.18(@types/node@25.0.9)(@vitest/ui@4.0.18)(esbuild@0.27.4)(jiti@2.6.1)(jsdom@25.0.1)(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1)
'@vitest/utils@3.2.4':
dependencies:
@@ -33776,6 +34007,14 @@ snapshots:
transitivePeerDependencies:
- debug
+ axios@1.15.0:
+ dependencies:
+ follow-redirects: 1.16.0
+ form-data: 4.0.5
+ proxy-from-env: 2.1.0
+ transitivePeerDependencies:
+ - debug
+
b4a@1.6.7: {}
babel-dead-code-elimination@1.0.12:
@@ -33791,7 +34030,7 @@ snapshots:
dependencies:
'@babel/core': 7.28.5
find-up: 5.0.0
- webpack: 5.97.1(esbuild@0.27.4)(webpack-cli@5.1.4)
+ webpack: 5.97.1(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)(webpack-cli@5.1.4)
babel-plugin-jsx-dom-expressions@0.40.3(@babel/core@7.28.5):
dependencies:
@@ -34507,7 +34746,7 @@ snapshots:
semver: 7.7.3
optionalDependencies:
'@rspack/core': 1.2.2(@swc/helpers@0.5.15)
- webpack: 5.97.1(esbuild@0.27.4)(webpack-cli@5.1.4)
+ webpack: 5.97.1(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)(webpack-cli@5.1.4)
css-select@4.3.0:
dependencies:
@@ -34871,9 +35110,7 @@ snapshots:
'@standard-schema/spec': 1.0.0
fast-check: 3.23.2
- ejs@3.1.10:
- dependencies:
- jake: 10.9.4
+ ejs@5.0.1: {}
electron-to-chromium@1.5.267: {}
@@ -35749,10 +35986,6 @@ snapshots:
file-uri-to-path@1.0.0: {}
- filelist@1.0.6:
- dependencies:
- minimatch: 5.1.6
-
fill-range@7.1.1:
dependencies:
to-regex-range: 5.0.1
@@ -35863,6 +36096,8 @@ snapshots:
optionalDependencies:
debug: 4.4.3
+ follow-redirects@1.16.0: {}
+
for-each@0.3.5:
dependencies:
is-callable: 1.2.7
@@ -36025,7 +36260,7 @@ snapshots:
glob@13.0.0:
dependencies:
- minimatch: 10.1.1
+ minimatch: 10.2.4
minipass: 7.1.2
path-scurry: 2.0.0
@@ -36651,12 +36886,6 @@ snapshots:
optionalDependencies:
'@pkgjs/parseargs': 0.11.0
- jake@10.9.4:
- dependencies:
- async: 3.2.6
- filelist: 1.0.6
- picocolors: 1.1.1
-
jest-diff@30.0.5:
dependencies:
'@jest/diff-sequences': 30.0.1
@@ -37227,10 +37456,6 @@ snapshots:
dependencies:
brace-expansion: 2.0.1
- minimatch@10.1.1:
- dependencies:
- '@isaacs/brace-expansion': 5.0.0
-
minimatch@10.2.4:
dependencies:
brace-expansion: 5.0.4
@@ -37686,8 +37911,6 @@ snapshots:
node-gyp-build@4.8.4: {}
- node-machine-id@1.1.12: {}
-
node-mock-http@1.0.4: {}
node-releases@2.0.19: {}
@@ -37734,19 +37957,19 @@ snapshots:
nwsapi@2.2.16: {}
- nx@22.5.1:
+ nx@22.6.5(@swc-node/register@1.11.1(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)(@swc/core@1.10.15(@swc/helpers@0.5.15))(@swc/types@0.1.17)(typescript@6.0.2))(@swc/core@1.10.15(@swc/helpers@0.5.15)):
dependencies:
'@napi-rs/wasm-runtime': 0.2.4
'@yarnpkg/lockfile': 1.1.0
'@yarnpkg/parsers': 3.0.2
'@zkochan/js-yaml': 0.0.7
- axios: 1.13.2
+ axios: 1.15.0
cli-cursor: 3.1.0
cli-spinners: 2.6.1
cliui: 8.0.1
dotenv: 16.4.7
dotenv-expand: 11.0.7
- ejs: 3.1.10
+ ejs: 5.0.1
enquirer: 2.3.6
figures: 3.2.0
flat: 5.0.2
@@ -37755,14 +37978,14 @@ snapshots:
jest-diff: 30.0.5
jsonc-parser: 3.2.0
lines-and-columns: 2.0.3
- minimatch: 10.1.1
- node-machine-id: 1.1.12
+ minimatch: 10.2.4
npm-run-path: 4.0.1
open: 8.4.2
ora: 5.3.0
picocolors: 1.1.1
resolve.exports: 2.0.3
semver: 7.7.3
+ smol-toml: 1.6.1
string-width: 4.2.3
tar-stream: 2.2.0
tmp: 0.2.3
@@ -37773,16 +37996,18 @@ snapshots:
yargs: 17.7.2
yargs-parser: 21.1.1
optionalDependencies:
- '@nx/nx-darwin-arm64': 22.5.1
- '@nx/nx-darwin-x64': 22.5.1
- '@nx/nx-freebsd-x64': 22.5.1
- '@nx/nx-linux-arm-gnueabihf': 22.5.1
- '@nx/nx-linux-arm64-gnu': 22.5.1
- '@nx/nx-linux-arm64-musl': 22.5.1
- '@nx/nx-linux-x64-gnu': 22.5.1
- '@nx/nx-linux-x64-musl': 22.5.1
- '@nx/nx-win32-arm64-msvc': 22.5.1
- '@nx/nx-win32-x64-msvc': 22.5.1
+ '@nx/nx-darwin-arm64': 22.6.5
+ '@nx/nx-darwin-x64': 22.6.5
+ '@nx/nx-freebsd-x64': 22.6.5
+ '@nx/nx-linux-arm-gnueabihf': 22.6.5
+ '@nx/nx-linux-arm64-gnu': 22.6.5
+ '@nx/nx-linux-arm64-musl': 22.6.5
+ '@nx/nx-linux-x64-gnu': 22.6.5
+ '@nx/nx-linux-x64-musl': 22.6.5
+ '@nx/nx-win32-arm64-msvc': 22.6.5
+ '@nx/nx-win32-x64-msvc': 22.6.5
+ '@swc-node/register': 1.11.1(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)(@swc/core@1.10.15(@swc/helpers@0.5.15))(@swc/types@0.1.17)(typescript@6.0.2)
+ '@swc/core': 1.10.15(@swc/helpers@0.5.15)
transitivePeerDependencies:
- debug
@@ -37926,6 +38151,32 @@ snapshots:
'@oxc-minify/binding-win32-ia32-msvc': 0.110.0
'@oxc-minify/binding-win32-x64-msvc': 0.110.0
+ oxc-resolver@11.19.1(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2):
+ optionalDependencies:
+ '@oxc-resolver/binding-android-arm-eabi': 11.19.1
+ '@oxc-resolver/binding-android-arm64': 11.19.1
+ '@oxc-resolver/binding-darwin-arm64': 11.19.1
+ '@oxc-resolver/binding-darwin-x64': 11.19.1
+ '@oxc-resolver/binding-freebsd-x64': 11.19.1
+ '@oxc-resolver/binding-linux-arm-gnueabihf': 11.19.1
+ '@oxc-resolver/binding-linux-arm-musleabihf': 11.19.1
+ '@oxc-resolver/binding-linux-arm64-gnu': 11.19.1
+ '@oxc-resolver/binding-linux-arm64-musl': 11.19.1
+ '@oxc-resolver/binding-linux-ppc64-gnu': 11.19.1
+ '@oxc-resolver/binding-linux-riscv64-gnu': 11.19.1
+ '@oxc-resolver/binding-linux-riscv64-musl': 11.19.1
+ '@oxc-resolver/binding-linux-s390x-gnu': 11.19.1
+ '@oxc-resolver/binding-linux-x64-gnu': 11.19.1
+ '@oxc-resolver/binding-linux-x64-musl': 11.19.1
+ '@oxc-resolver/binding-openharmony-arm64': 11.19.1
+ '@oxc-resolver/binding-wasm32-wasi': 11.19.1(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)
+ '@oxc-resolver/binding-win32-arm64-msvc': 11.19.1
+ '@oxc-resolver/binding-win32-ia32-msvc': 11.19.1
+ '@oxc-resolver/binding-win32-x64-msvc': 11.19.1
+ transitivePeerDependencies:
+ - '@emnapi/core'
+ - '@emnapi/runtime'
+
oxc-transform@0.110.0:
optionalDependencies:
'@oxc-transform/binding-android-arm-eabi': 0.110.0
@@ -38148,6 +38399,8 @@ snapshots:
sonic-boom: 4.2.0
thread-stream: 4.0.0
+ pirates@4.0.7: {}
+
pixelmatch@7.1.0:
dependencies:
pngjs: 7.0.0
@@ -38188,7 +38441,7 @@ snapshots:
semver: 7.7.3
optionalDependencies:
'@rspack/core': 1.2.2(@swc/helpers@0.5.15)
- webpack: 5.97.1(esbuild@0.27.4)(webpack-cli@5.1.4)
+ webpack: 5.97.1(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)(webpack-cli@5.1.4)
transitivePeerDependencies:
- typescript
@@ -38396,6 +38649,8 @@ snapshots:
proxy-from-env@1.1.0: {}
+ proxy-from-env@2.1.0: {}
+
psl@1.15.0:
dependencies:
punycode: 2.3.1
@@ -38893,11 +39148,11 @@ snapshots:
rrweb-cssom@0.8.0: {}
- rspack-vue-loader@17.4.4(vue@3.5.25(typescript@6.0.2))(webpack@5.104.0(esbuild@0.27.4)):
+ rspack-vue-loader@17.4.4(vue@3.5.25(typescript@6.0.2))(webpack@5.104.0(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)):
dependencies:
chalk: 4.1.2
watchpack: 2.4.2
- webpack: 5.104.0(esbuild@0.27.4)
+ webpack: 5.104.0(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)
optionalDependencies:
vue: 3.5.25(typescript@6.0.2)
@@ -39328,6 +39583,8 @@ snapshots:
smob@1.5.0: {}
+ smol-toml@1.6.1: {}
+
sockjs@0.3.24:
dependencies:
faye-websocket: 0.11.4
@@ -39527,7 +39784,7 @@ snapshots:
style-loader@4.0.0(webpack@5.97.1):
dependencies:
- webpack: 5.97.1(esbuild@0.27.4)(webpack-cli@5.1.4)
+ webpack: 5.97.1(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)(webpack-cli@5.1.4)
style-to-object@1.0.8:
dependencies:
@@ -39623,6 +39880,18 @@ snapshots:
term-size@2.2.1: {}
+ terser-webpack-plugin@5.3.11(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)(webpack@5.97.1(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)):
+ dependencies:
+ '@jridgewell/trace-mapping': 0.3.31
+ jest-worker: 27.5.1
+ schema-utils: 4.3.0
+ serialize-javascript: 6.0.2
+ terser: 5.37.0
+ webpack: 5.97.1(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)
+ optionalDependencies:
+ '@swc/core': 1.10.15(@swc/helpers@0.5.15)
+ esbuild: 0.27.4
+
terser-webpack-plugin@5.3.11(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)(webpack@5.97.1):
dependencies:
'@jridgewell/trace-mapping': 0.3.31
@@ -39635,37 +39904,16 @@ snapshots:
'@swc/core': 1.10.15(@swc/helpers@0.5.15)
esbuild: 0.27.4
- terser-webpack-plugin@5.3.11(esbuild@0.27.4)(webpack@5.97.1(esbuild@0.27.4)):
- dependencies:
- '@jridgewell/trace-mapping': 0.3.31
- jest-worker: 27.5.1
- schema-utils: 4.3.0
- serialize-javascript: 6.0.2
- terser: 5.37.0
- webpack: 5.97.1(esbuild@0.27.4)
- optionalDependencies:
- esbuild: 0.27.4
-
- terser-webpack-plugin@5.3.11(esbuild@0.27.4)(webpack@5.97.1):
- dependencies:
- '@jridgewell/trace-mapping': 0.3.31
- jest-worker: 27.5.1
- schema-utils: 4.3.0
- serialize-javascript: 6.0.2
- terser: 5.37.0
- webpack: 5.97.1(esbuild@0.27.4)(webpack-cli@5.1.4)
- optionalDependencies:
- esbuild: 0.27.4
-
- terser-webpack-plugin@5.3.16(esbuild@0.27.4)(webpack@5.104.0(esbuild@0.27.4)):
+ terser-webpack-plugin@5.3.16(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)(webpack@5.104.0(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)):
dependencies:
'@jridgewell/trace-mapping': 0.3.31
jest-worker: 27.5.1
schema-utils: 4.3.3
serialize-javascript: 6.0.2
terser: 5.37.0
- webpack: 5.104.0(esbuild@0.27.4)
+ webpack: 5.104.0(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)
optionalDependencies:
+ '@swc/core': 1.10.15(@swc/helpers@0.5.15)
esbuild: 0.27.4
terser@5.37.0:
@@ -39811,7 +40059,7 @@ snapshots:
ts-declaration-location@1.0.5(typescript@6.0.2):
dependencies:
- minimatch: 10.1.1
+ minimatch: 10.2.4
typescript: 6.0.2
ts-declaration-location@1.0.7(typescript@6.0.2):
@@ -40324,7 +40572,7 @@ snapshots:
optionalDependencies:
vite: 8.0.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)
- vitest@3.2.4(@types/debug@4.1.12)(@types/node@25.0.9)(@vitest/browser@4.0.18(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(vite@8.0.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))(vitest@4.0.18))(@vitest/ui@4.0.18)(esbuild@0.27.4)(jiti@2.6.1)(jsdom@27.0.0(postcss@8.5.8))(msw@2.7.0(@types/node@25.0.9)(typescript@5.9.2))(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1):
+ vitest@3.2.4(@types/debug@4.1.12)(@types/node@25.0.9)(@vitest/browser@4.0.18(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(vite@8.0.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))(vitest@4.0.18))(@vitest/ui@4.0.18(vitest@4.0.18))(esbuild@0.27.4)(jiti@2.6.1)(jsdom@27.0.0(postcss@8.5.8))(msw@2.7.0(@types/node@25.0.9)(typescript@5.9.2))(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1):
dependencies:
'@types/chai': 5.2.2
'@vitest/expect': 3.2.4
@@ -40370,7 +40618,7 @@ snapshots:
- tsx
- yaml
- vitest@3.2.4(@types/debug@4.1.12)(@types/node@25.0.9)(@vitest/browser@4.0.18(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(vite@8.0.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))(vitest@4.0.18))(@vitest/ui@4.0.18)(esbuild@0.27.4)(jiti@2.6.1)(jsdom@27.0.0(postcss@8.5.8))(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1):
+ vitest@3.2.4(@types/debug@4.1.12)(@types/node@25.0.9)(@vitest/browser@4.0.18(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(vite@8.0.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))(vitest@4.0.18))(@vitest/ui@4.0.18(vitest@4.0.18))(esbuild@0.27.4)(jiti@2.6.1)(jsdom@27.0.0(postcss@8.5.8))(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.2))(sass-embedded@1.97.2)(sass@1.97.2)(terser@5.37.0)(tsx@4.20.3)(yaml@2.8.1):
dependencies:
'@types/chai': 5.2.2
'@vitest/expect': 3.2.4
@@ -40715,7 +40963,7 @@ snapshots:
webpack-virtual-modules@0.6.2: {}
- webpack@5.104.0(esbuild@0.27.4):
+ webpack@5.104.0(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4):
dependencies:
'@types/eslint-scope': 3.7.7
'@types/estree': 1.0.8
@@ -40739,7 +40987,7 @@ snapshots:
neo-async: 2.6.2
schema-utils: 4.3.3
tapable: 2.3.0
- terser-webpack-plugin: 5.3.16(esbuild@0.27.4)(webpack@5.104.0(esbuild@0.27.4))
+ terser-webpack-plugin: 5.3.16(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)(webpack@5.104.0(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4))
watchpack: 2.4.4
webpack-sources: 3.3.3
transitivePeerDependencies:
@@ -40747,6 +40995,36 @@ snapshots:
- esbuild
- uglify-js
+ webpack@5.97.1(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4):
+ dependencies:
+ '@types/eslint-scope': 3.7.7
+ '@types/estree': 1.0.7
+ '@webassemblyjs/ast': 1.14.1
+ '@webassemblyjs/wasm-edit': 1.14.1
+ '@webassemblyjs/wasm-parser': 1.14.1
+ acorn: 8.14.1
+ browserslist: 4.24.4
+ chrome-trace-event: 1.0.4
+ enhanced-resolve: 5.18.1
+ es-module-lexer: 1.6.0
+ eslint-scope: 5.1.1
+ events: 3.3.0
+ glob-to-regexp: 0.4.1
+ graceful-fs: 4.2.11
+ json-parse-even-better-errors: 2.3.1
+ loader-runner: 4.3.0
+ mime-types: 2.1.35
+ neo-async: 2.6.2
+ schema-utils: 3.3.0
+ tapable: 2.2.1
+ terser-webpack-plugin: 5.3.11(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)(webpack@5.97.1(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4))
+ watchpack: 2.4.2
+ webpack-sources: 3.2.3
+ transitivePeerDependencies:
+ - '@swc/core'
+ - esbuild
+ - uglify-js
+
webpack@5.97.1(@swc/core@1.10.15(@swc/helpers@0.5.15))(esbuild@0.27.4)(webpack-cli@5.1.4):
dependencies:
'@types/eslint-scope': 3.7.7
@@ -40779,68 +41057,6 @@ snapshots:
- esbuild
- uglify-js
- webpack@5.97.1(esbuild@0.27.4):
- dependencies:
- '@types/eslint-scope': 3.7.7
- '@types/estree': 1.0.7
- '@webassemblyjs/ast': 1.14.1
- '@webassemblyjs/wasm-edit': 1.14.1
- '@webassemblyjs/wasm-parser': 1.14.1
- acorn: 8.14.1
- browserslist: 4.24.4
- chrome-trace-event: 1.0.4
- enhanced-resolve: 5.18.1
- es-module-lexer: 1.6.0
- eslint-scope: 5.1.1
- events: 3.3.0
- glob-to-regexp: 0.4.1
- graceful-fs: 4.2.11
- json-parse-even-better-errors: 2.3.1
- loader-runner: 4.3.0
- mime-types: 2.1.35
- neo-async: 2.6.2
- schema-utils: 3.3.0
- tapable: 2.2.1
- terser-webpack-plugin: 5.3.11(esbuild@0.27.4)(webpack@5.97.1(esbuild@0.27.4))
- watchpack: 2.4.2
- webpack-sources: 3.2.3
- transitivePeerDependencies:
- - '@swc/core'
- - esbuild
- - uglify-js
-
- webpack@5.97.1(esbuild@0.27.4)(webpack-cli@5.1.4):
- dependencies:
- '@types/eslint-scope': 3.7.7
- '@types/estree': 1.0.7
- '@webassemblyjs/ast': 1.14.1
- '@webassemblyjs/wasm-edit': 1.14.1
- '@webassemblyjs/wasm-parser': 1.14.1
- acorn: 8.14.1
- browserslist: 4.24.4
- chrome-trace-event: 1.0.4
- enhanced-resolve: 5.18.1
- es-module-lexer: 1.6.0
- eslint-scope: 5.1.1
- events: 3.3.0
- glob-to-regexp: 0.4.1
- graceful-fs: 4.2.11
- json-parse-even-better-errors: 2.3.1
- loader-runner: 4.3.0
- mime-types: 2.1.35
- neo-async: 2.6.2
- schema-utils: 3.3.0
- tapable: 2.2.1
- terser-webpack-plugin: 5.3.11(esbuild@0.27.4)(webpack@5.97.1)
- watchpack: 2.4.2
- webpack-sources: 3.2.3
- optionalDependencies:
- webpack-cli: 5.1.4(webpack-dev-server@5.2.0)(webpack@5.97.1)
- transitivePeerDependencies:
- - '@swc/core'
- - esbuild
- - uglify-js
-
websocket-driver@0.7.4:
dependencies:
http-parser-js: 0.5.9
diff --git a/scripts/nx/playwright-plugin.md b/scripts/nx/playwright-plugin.md
new file mode 100644
index 0000000000..8fdf391141
--- /dev/null
+++ b/scripts/nx/playwright-plugin.md
@@ -0,0 +1,151 @@
+# Playwright E2E Sharding
+
+Use `scripts/nx/playwright-plugin.ts` to turn a Playwright e2e project into Nx shard targets.
+
+The plugin looks for `nx.metadata.playwrightShards` in a project's `package.json`. When present, it generates:
+
+- `test:e2e--shard-1-of-N` through `test:e2e--shard-N-of-N`
+- a parent `test:e2e` target that depends on all shard targets
+
+Each shard target runs Playwright with:
+
+- `--shard=/`
+- a shard-specific `E2E_PORT_KEY`
+- a dependency on `build` and `^build`
+
+## 1. Enable sharding in `package.json`
+
+```json
+{
+ "name": "tanstack-react-start-e2e-rsc",
+ "nx": {
+ "metadata": {
+ "playwrightShards": 6
+ }
+ }
+}
+```
+
+The package name is used to build the shard port key:
+
+```txt
+-shard--of-
+```
+
+## 2. Do not build inside `playwright.config.ts`
+
+The plugin already makes each shard depend on `build`, so the Playwright `webServer` command should only start the built app.
+
+Good:
+
+```ts
+webServer: {
+ command: `PORT=${PORT} pnpm start`,
+ url: baseURL,
+}
+```
+
+Avoid:
+
+```ts
+webServer: {
+ command: `PORT=${PORT} pnpm build && PORT=${PORT} pnpm start`,
+ url: baseURL,
+}
+```
+
+Running the build inside every shard causes unnecessary work and can create races when multiple shards share the same project directory.
+
+## 3. Use `E2E_PORT_KEY` for every derived port
+
+If the project uses `getTestServerPort`, `getDummyServerPort`, `e2eStartDummyServer`, or `e2eStopDummyServer`, key them off `process.env.E2E_PORT_KEY` first.
+
+Example:
+
+```ts
+import { getTestServerPort } from '@tanstack/router-e2e-utils'
+import packageJson from './package.json' with { type: 'json' }
+
+const e2ePortKey = process.env.E2E_PORT_KEY ?? packageJson.name
+const PORT = await getTestServerPort(e2ePortKey)
+```
+
+Dummy server setup/teardown should use the same key:
+
+```ts
+await e2eStartDummyServer(process.env.E2E_PORT_KEY ?? packageJson.name)
+await e2eStopDummyServer(process.env.E2E_PORT_KEY ?? packageJson.name)
+```
+
+Without this, multiple shards on the same runner will reuse the same `port-*.txt` files and tear each other down.
+
+## 4. Clean stale port files once per Playwright run
+
+If the project allocates ports through `@tanstack/router-e2e-utils`, clean stale `port-*.txt` files before resolving the port.
+
+Important: do this only in the main Playwright config load. Playwright loads the config more than once, and unconditional cleanup can remap the port after the web server has already started.
+
+Example:
+
+```ts
+import fs from 'node:fs'
+import packageJson from './package.json' with { type: 'json' }
+
+const e2ePortKey = process.env.E2E_PORT_KEY ?? packageJson.name
+
+if (process.env.TEST_WORKER_INDEX === undefined) {
+ for (const portFile of [
+ `port-${e2ePortKey}.txt`,
+ `port-${e2ePortKey}-external.txt`,
+ ]) {
+ fs.rmSync(portFile, { force: true })
+ }
+}
+```
+
+Avoid broad cleanup such as `rm -rf port*.txt` in shared shard runs.
+
+## 5. Keep the base URL derived from the shard key
+
+```ts
+const PORT = await getTestServerPort(e2ePortKey)
+const baseURL = `http://localhost:${PORT}`
+
+export default defineConfig({
+ use: {
+ baseURL,
+ },
+ webServer: {
+ command: `PORT=${PORT} pnpm start`,
+ url: baseURL,
+ },
+})
+```
+
+## 6. Run the generated targets
+
+Examples:
+
+```sh
+pnpm nx run tanstack-react-start-e2e-rsc:test:e2e--shard-1-of-6
+pnpm nx run tanstack-react-start-e2e-rsc:test:e2e
+```
+
+## Checklist
+
+- add `nx.metadata.playwrightShards` to `package.json`
+- make sure the project has a working `build` target
+- remove `build` from `webServer.command`
+- read ports from `process.env.E2E_PORT_KEY ?? packageJson.name`
+- use the same key for helper servers in setup and teardown
+- clean shard-specific `port-*.txt` files once, guarded by `TEST_WORKER_INDEX === undefined`
+- avoid wildcard port cleanup in shared shard runs
+
+## Reference
+
+Working example:
+
+- `e2e/react-start/rsc/package.json`
+- `e2e/react-start/rsc/playwright.config.ts`
+- `e2e/react-start/rsc/tests/setup/global.setup.ts`
+- `e2e/react-start/rsc/tests/setup/global.teardown.ts`
diff --git a/scripts/nx/playwright-plugin.ts b/scripts/nx/playwright-plugin.ts
new file mode 100644
index 0000000000..9e8c9618ad
--- /dev/null
+++ b/scripts/nx/playwright-plugin.ts
@@ -0,0 +1,130 @@
+import { dirname } from 'node:path'
+import { createNodesFromFiles, readJsonFile } from '@nx/devkit'
+import type {
+ CreateNodesContextV2,
+ CreateNodesV2,
+ TargetConfiguration,
+} from '@nx/devkit'
+
+export const createNodesV2: CreateNodesV2 = [
+ '**/package.json',
+ async (configFiles, options, context) => {
+ return await createNodesFromFiles(
+ (configFile, options, context) =>
+ createNodesInternal(configFile, context),
+ configFiles,
+ options,
+ context,
+ )
+ },
+]
+
+async function createNodesInternal(
+ configFilePath: string,
+ context: CreateNodesContextV2,
+) {
+ const projectConfiguration = readJsonFile<{
+ name?: string
+ nx?: { metadata?: { playwrightShards?: number } }
+ }>(configFilePath)
+ const root = dirname(configFilePath)
+
+ if (!projectConfiguration.nx?.metadata?.playwrightShards) {
+ return {
+ projects: {
+ [root]: {},
+ },
+ }
+ }
+
+ const { targets, targetGroupEntries } = buildShardedTargets(
+ root,
+ projectConfiguration.name ?? root,
+ projectConfiguration.nx.metadata.playwrightShards,
+ ['default', '^production'],
+ )
+ // Project configuration to be merged into the rest of the Nx configuration
+ return {
+ projects: {
+ [root]: {
+ targets,
+ metadata: {
+ targetGroups: {
+ playwright: targetGroupEntries,
+ },
+ },
+ tags: ['playwright:shareded'],
+ },
+ },
+ }
+}
+
+const CI_TARGET_NAME = 'test:e2e'
+
+function buildShardedTargets(
+ projectRoot: string,
+ packageName: string,
+ shardCount: number,
+ testInputs: TargetConfiguration['inputs'],
+): {
+ targets: Record
+ targetGroupEntries: Array
+} {
+ const targets: Record = {}
+ const targetGroup: Array = []
+
+ // Create individual shard targets
+ for (let shardIndex = 1; shardIndex <= shardCount; shardIndex++) {
+ const shardTargetName = `${CI_TARGET_NAME}--shard-${shardIndex}-of-${shardCount}`
+ const e2ePortKey = `${packageName}-shard-${shardIndex}-of-${shardCount}`
+
+ targets[shardTargetName] = {
+ executor: 'nx:run-commands',
+ options: {
+ command: `playwright test --project=chromium --shard=${shardIndex}/${shardCount}`,
+ cwd: projectRoot,
+ env: {
+ E2E_PORT_KEY: e2ePortKey,
+ },
+ },
+ cache: true,
+ inputs: testInputs,
+ dependsOn: [`^build`, 'build'],
+ metadata: {
+ technologies: ['playwright'],
+ description: `Run Playwright shard ${shardIndex} of ${shardCount}`,
+ help: {
+ command: `npx playwright run --help`,
+ example: {
+ options: {
+ shard: `${shardIndex}/${shardCount}`,
+ },
+ },
+ },
+ },
+ }
+
+ targetGroup.push(shardTargetName)
+ }
+
+ // Create the parent CI target that depends on merge (which itself depends on all shards)
+ targets[CI_TARGET_NAME] = {
+ executor: 'nx:noop',
+ cache: true,
+ inputs: testInputs,
+ dependsOn: targetGroup.map((shardTargetName) => ({
+ target: shardTargetName,
+ projects: 'self' as const,
+ params: 'forward' as const,
+ })),
+ metadata: {
+ technologies: ['playwright'],
+ description: `Run all Playwright shards (${shardCount} shards)`,
+ },
+ }
+
+ return {
+ targets,
+ targetGroupEntries: [...targetGroup, CI_TARGET_NAME],
+ }
+}
From e30814d949110ff25829de44d729ead47555940a Mon Sep 17 00:00:00 2001
From: Manuel Schiller
Date: Wed, 15 Apr 2026 02:19:51 +0200
Subject: [PATCH 013/608] fix react-router shared route css persistence on nav
(#7186)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---
.changeset/tough-bears-tease.md | 5 +
.../css-modules/src/routeTree.gen.ts | 61 +--
.../css-modules/src/routes/__root.tsx | 14 -
.../src/styles/shared-widget.module.css | 19 -
.../css-modules/tests/css.prod.spec.ts | 140 ------
.../rsc/tests/rsc-css-modules.spec.ts | 29 ++
.../src/components/AppShell.tsx | 4 +
.../src/components/SharedCard.tsx | 9 +
.../src/components/SharedWidget.tsx} | 3 +-
.../src/components/SharedWidgetLazy.tsx} | 2 +-
.../start-manifest/src/routeTree.gen.ts | 84 ++++
.../start-manifest/src/routes/a.tsx | 17 +
.../start-manifest/src/routes/b.tsx | 17 +
.../src/routes/lazy-css-lazy.tsx | 6 +-
.../src/routes/lazy-css-static.tsx | 6 +-
.../src/styles/page-a.module.css | 10 +
.../src/styles/page-b.module.css | 10 +
.../src/styles/shared-card.module.css | 8 +
.../src/styles/shared-widget.module.css | 17 +
.../tests/start-manifest.spec.ts | 142 +++++-
e2e/solid-start/start-manifest/package.json | 33 ++
.../start-manifest/playwright.config.ts | 30 ++
.../src/components/AppShell.tsx | 38 ++
.../src/components/SharedCard.tsx | 10 +
.../src/components/SharedNestedLayout.tsx | 31 ++
.../src/components/SharedWidget.tsx | 15 +
.../src/components/SharedWidgetLazy.tsx | 5 +
.../start-manifest/src/routeTree.gen.ts | 345 +++++++++++++
e2e/solid-start/start-manifest/src/router.tsx | 18 +
.../start-manifest/src/routes/__root.tsx | 29 ++
.../start-manifest/src/routes/a.tsx | 18 +
.../start-manifest/src/routes/b.tsx | 18 +
.../start-manifest/src/routes/index.tsx | 16 +
.../src/routes/lazy-css-lazy.tsx | 26 +
.../src/routes/lazy-css-static.tsx | 24 +
.../start-manifest/src/routes/r1.tsx | 18 +
.../start-manifest/src/routes/r2.tsx | 18 +
.../start-manifest/src/routes/r3.tsx | 5 +
.../start-manifest/src/routes/r4.tsx | 5 +
.../start-manifest/src/routes/r5.tsx | 5 +
.../start-manifest/src/routes/r6.tsx | 5 +
.../start-manifest/src/routes/shared-a.tsx | 14 +
.../start-manifest/src/routes/shared-b.tsx | 14 +
.../start-manifest/src/routes/shared-c.tsx | 14 +
.../src/styles/page-a.module.css | 10 +
.../src/styles/page-b.module.css | 10 +
.../src/styles/root-shell.module.css | 37 ++
.../src/styles/route-one.module.css | 7 +
.../src/styles/route-two.module.css | 7 +
.../src/styles/shared-card.module.css | 8 +
.../src/styles/shared-layout.module.css | 16 +
.../src/styles/shared-widget.module.css | 17 +
.../tests/start-manifest.spec.ts | 453 +++++++++++++++++
e2e/solid-start/start-manifest/tsconfig.json | 23 +
e2e/solid-start/start-manifest/vite.config.ts | 13 +
e2e/vue-start/start-manifest/package.json | 33 ++
.../start-manifest/playwright.config.ts | 30 ++
.../src/components/AppShell.tsx | 38 ++
.../src/components/SharedCard.tsx | 10 +
.../src/components/SharedNestedLayout.tsx | 34 ++
.../src/components/SharedWidget.tsx | 15 +
.../src/components/SharedWidgetLazy.tsx | 5 +
.../start-manifest/src/routeTree.gen.ts | 345 +++++++++++++
e2e/vue-start/start-manifest/src/router.tsx | 18 +
.../start-manifest/src/routes/__root.tsx | 35 ++
e2e/vue-start/start-manifest/src/routes/a.tsx | 18 +
e2e/vue-start/start-manifest/src/routes/b.tsx | 18 +
.../start-manifest/src/routes/index.tsx | 16 +
.../src/routes/lazy-css-lazy.tsx | 31 ++
.../src/routes/lazy-css-static.tsx | 24 +
.../start-manifest/src/routes/r1.tsx | 18 +
.../start-manifest/src/routes/r2.tsx | 18 +
.../start-manifest/src/routes/r3.tsx | 5 +
.../start-manifest/src/routes/r4.tsx | 5 +
.../start-manifest/src/routes/r5.tsx | 5 +
.../start-manifest/src/routes/r6.tsx | 5 +
.../start-manifest/src/routes/shared-a.tsx | 14 +
.../start-manifest/src/routes/shared-b.tsx | 14 +
.../start-manifest/src/routes/shared-c.tsx | 14 +
.../src/styles/page-a.module.css | 10 +
.../src/styles/page-b.module.css | 10 +
.../src/styles/root-shell.module.css | 37 ++
.../src/styles/route-one.module.css | 7 +
.../src/styles/route-two.module.css | 7 +
.../src/styles/shared-card.module.css | 8 +
.../src/styles/shared-layout.module.css | 16 +
.../src/styles/shared-widget.module.css | 17 +
.../tests/start-manifest.spec.ts | 457 ++++++++++++++++++
e2e/vue-start/start-manifest/tsconfig.json | 23 +
e2e/vue-start/start-manifest/vite.config.ts | 13 +
packages/react-router/src/Asset.tsx | 12 +-
packages/react-router/tests/Scripts.test.tsx | 74 ++-
.../start-manifest-plugin/manifestBuilder.ts | 143 ++----
.../manifestBuilder.test.ts | 312 ++----------
pnpm-lock.yaml | 80 ++-
95 files changed, 3305 insertions(+), 647 deletions(-)
create mode 100644 .changeset/tough-bears-tease.md
delete mode 100644 e2e/react-start/css-modules/src/styles/shared-widget.module.css
delete mode 100644 e2e/react-start/css-modules/tests/css.prod.spec.ts
create mode 100644 e2e/react-start/start-manifest/src/components/SharedCard.tsx
rename e2e/react-start/{css-modules/src/components/shared-widget.tsx => start-manifest/src/components/SharedWidget.tsx} (76%)
rename e2e/react-start/{css-modules/src/components/shared-widget-lazy.tsx => start-manifest/src/components/SharedWidgetLazy.tsx} (61%)
create mode 100644 e2e/react-start/start-manifest/src/routes/a.tsx
create mode 100644 e2e/react-start/start-manifest/src/routes/b.tsx
rename e2e/react-start/{css-modules => start-manifest}/src/routes/lazy-css-lazy.tsx (89%)
rename e2e/react-start/{css-modules => start-manifest}/src/routes/lazy-css-static.tsx (85%)
create mode 100644 e2e/react-start/start-manifest/src/styles/page-a.module.css
create mode 100644 e2e/react-start/start-manifest/src/styles/page-b.module.css
create mode 100644 e2e/react-start/start-manifest/src/styles/shared-card.module.css
create mode 100644 e2e/react-start/start-manifest/src/styles/shared-widget.module.css
create mode 100644 e2e/solid-start/start-manifest/package.json
create mode 100644 e2e/solid-start/start-manifest/playwright.config.ts
create mode 100644 e2e/solid-start/start-manifest/src/components/AppShell.tsx
create mode 100644 e2e/solid-start/start-manifest/src/components/SharedCard.tsx
create mode 100644 e2e/solid-start/start-manifest/src/components/SharedNestedLayout.tsx
create mode 100644 e2e/solid-start/start-manifest/src/components/SharedWidget.tsx
create mode 100644 e2e/solid-start/start-manifest/src/components/SharedWidgetLazy.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routeTree.gen.ts
create mode 100644 e2e/solid-start/start-manifest/src/router.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/__root.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/a.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/b.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/index.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/lazy-css-lazy.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/lazy-css-static.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/r1.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/r2.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/r3.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/r4.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/r5.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/r6.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/shared-a.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/shared-b.tsx
create mode 100644 e2e/solid-start/start-manifest/src/routes/shared-c.tsx
create mode 100644 e2e/solid-start/start-manifest/src/styles/page-a.module.css
create mode 100644 e2e/solid-start/start-manifest/src/styles/page-b.module.css
create mode 100644 e2e/solid-start/start-manifest/src/styles/root-shell.module.css
create mode 100644 e2e/solid-start/start-manifest/src/styles/route-one.module.css
create mode 100644 e2e/solid-start/start-manifest/src/styles/route-two.module.css
create mode 100644 e2e/solid-start/start-manifest/src/styles/shared-card.module.css
create mode 100644 e2e/solid-start/start-manifest/src/styles/shared-layout.module.css
create mode 100644 e2e/solid-start/start-manifest/src/styles/shared-widget.module.css
create mode 100644 e2e/solid-start/start-manifest/tests/start-manifest.spec.ts
create mode 100644 e2e/solid-start/start-manifest/tsconfig.json
create mode 100644 e2e/solid-start/start-manifest/vite.config.ts
create mode 100644 e2e/vue-start/start-manifest/package.json
create mode 100644 e2e/vue-start/start-manifest/playwright.config.ts
create mode 100644 e2e/vue-start/start-manifest/src/components/AppShell.tsx
create mode 100644 e2e/vue-start/start-manifest/src/components/SharedCard.tsx
create mode 100644 e2e/vue-start/start-manifest/src/components/SharedNestedLayout.tsx
create mode 100644 e2e/vue-start/start-manifest/src/components/SharedWidget.tsx
create mode 100644 e2e/vue-start/start-manifest/src/components/SharedWidgetLazy.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routeTree.gen.ts
create mode 100644 e2e/vue-start/start-manifest/src/router.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/__root.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/a.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/b.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/index.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/lazy-css-lazy.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/lazy-css-static.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/r1.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/r2.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/r3.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/r4.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/r5.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/r6.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/shared-a.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/shared-b.tsx
create mode 100644 e2e/vue-start/start-manifest/src/routes/shared-c.tsx
create mode 100644 e2e/vue-start/start-manifest/src/styles/page-a.module.css
create mode 100644 e2e/vue-start/start-manifest/src/styles/page-b.module.css
create mode 100644 e2e/vue-start/start-manifest/src/styles/root-shell.module.css
create mode 100644 e2e/vue-start/start-manifest/src/styles/route-one.module.css
create mode 100644 e2e/vue-start/start-manifest/src/styles/route-two.module.css
create mode 100644 e2e/vue-start/start-manifest/src/styles/shared-card.module.css
create mode 100644 e2e/vue-start/start-manifest/src/styles/shared-layout.module.css
create mode 100644 e2e/vue-start/start-manifest/src/styles/shared-widget.module.css
create mode 100644 e2e/vue-start/start-manifest/tests/start-manifest.spec.ts
create mode 100644 e2e/vue-start/start-manifest/tsconfig.json
create mode 100644 e2e/vue-start/start-manifest/vite.config.ts
diff --git a/.changeset/tough-bears-tease.md b/.changeset/tough-bears-tease.md
new file mode 100644
index 0000000000..67fd6a3be8
--- /dev/null
+++ b/.changeset/tough-bears-tease.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/react-router': patch
+---
+
+Preserve shared route stylesheet links across client navigation by rendering route CSS assets with React stylesheet precedence.
diff --git a/e2e/react-start/css-modules/src/routeTree.gen.ts b/e2e/react-start/css-modules/src/routeTree.gen.ts
index ab5f0b6554..d19ae80e5a 100644
--- a/e2e/react-start/css-modules/src/routeTree.gen.ts
+++ b/e2e/react-start/css-modules/src/routeTree.gen.ts
@@ -12,8 +12,6 @@ import { Route as rootRouteImport } from './routes/__root'
import { Route as SassMixinRouteImport } from './routes/sass-mixin'
import { Route as QuotesRouteImport } from './routes/quotes'
import { Route as ModulesRouteImport } from './routes/modules'
-import { Route as LazyCssStaticRouteImport } from './routes/lazy-css-static'
-import { Route as LazyCssLazyRouteImport } from './routes/lazy-css-lazy'
import { Route as IndexRouteImport } from './routes/index'
const SassMixinRoute = SassMixinRouteImport.update({
@@ -31,16 +29,6 @@ const ModulesRoute = ModulesRouteImport.update({
path: '/modules',
getParentRoute: () => rootRouteImport,
} as any)
-const LazyCssStaticRoute = LazyCssStaticRouteImport.update({
- id: '/lazy-css-static',
- path: '/lazy-css-static',
- getParentRoute: () => rootRouteImport,
-} as any)
-const LazyCssLazyRoute = LazyCssLazyRouteImport.update({
- id: '/lazy-css-lazy',
- path: '/lazy-css-lazy',
- getParentRoute: () => rootRouteImport,
-} as any)
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
@@ -49,16 +37,12 @@ const IndexRoute = IndexRouteImport.update({
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
- '/lazy-css-lazy': typeof LazyCssLazyRoute
- '/lazy-css-static': typeof LazyCssStaticRoute
'/modules': typeof ModulesRoute
'/quotes': typeof QuotesRoute
'/sass-mixin': typeof SassMixinRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
- '/lazy-css-lazy': typeof LazyCssLazyRoute
- '/lazy-css-static': typeof LazyCssStaticRoute
'/modules': typeof ModulesRoute
'/quotes': typeof QuotesRoute
'/sass-mixin': typeof SassMixinRoute
@@ -66,43 +50,20 @@ export interface FileRoutesByTo {
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
- '/lazy-css-lazy': typeof LazyCssLazyRoute
- '/lazy-css-static': typeof LazyCssStaticRoute
'/modules': typeof ModulesRoute
'/quotes': typeof QuotesRoute
'/sass-mixin': typeof SassMixinRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
- fullPaths:
- | '/'
- | '/lazy-css-lazy'
- | '/lazy-css-static'
- | '/modules'
- | '/quotes'
- | '/sass-mixin'
+ fullPaths: '/' | '/modules' | '/quotes' | '/sass-mixin'
fileRoutesByTo: FileRoutesByTo
- to:
- | '/'
- | '/lazy-css-lazy'
- | '/lazy-css-static'
- | '/modules'
- | '/quotes'
- | '/sass-mixin'
- id:
- | '__root__'
- | '/'
- | '/lazy-css-lazy'
- | '/lazy-css-static'
- | '/modules'
- | '/quotes'
- | '/sass-mixin'
+ to: '/' | '/modules' | '/quotes' | '/sass-mixin'
+ id: '__root__' | '/' | '/modules' | '/quotes' | '/sass-mixin'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
- LazyCssLazyRoute: typeof LazyCssLazyRoute
- LazyCssStaticRoute: typeof LazyCssStaticRoute
ModulesRoute: typeof ModulesRoute
QuotesRoute: typeof QuotesRoute
SassMixinRoute: typeof SassMixinRoute
@@ -131,20 +92,6 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof ModulesRouteImport
parentRoute: typeof rootRouteImport
}
- '/lazy-css-static': {
- id: '/lazy-css-static'
- path: '/lazy-css-static'
- fullPath: '/lazy-css-static'
- preLoaderRoute: typeof LazyCssStaticRouteImport
- parentRoute: typeof rootRouteImport
- }
- '/lazy-css-lazy': {
- id: '/lazy-css-lazy'
- path: '/lazy-css-lazy'
- fullPath: '/lazy-css-lazy'
- preLoaderRoute: typeof LazyCssLazyRouteImport
- parentRoute: typeof rootRouteImport
- }
'/': {
id: '/'
path: '/'
@@ -157,8 +104,6 @@ declare module '@tanstack/react-router' {
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
- LazyCssLazyRoute: LazyCssLazyRoute,
- LazyCssStaticRoute: LazyCssStaticRoute,
ModulesRoute: ModulesRoute,
QuotesRoute: QuotesRoute,
SassMixinRoute: SassMixinRoute,
diff --git a/e2e/react-start/css-modules/src/routes/__root.tsx b/e2e/react-start/css-modules/src/routes/__root.tsx
index a383beacec..d7840bc0c1 100644
--- a/e2e/react-start/css-modules/src/routes/__root.tsx
+++ b/e2e/react-start/css-modules/src/routes/__root.tsx
@@ -62,20 +62,6 @@ function RootComponent() {
>
Quoted CSS
-
- Lazy CSS Static
-
-
- Lazy CSS Lazy
-
diff --git a/e2e/react-start/css-modules/src/styles/shared-widget.module.css b/e2e/react-start/css-modules/src/styles/shared-widget.module.css
deleted file mode 100644
index 66f3d679d8..0000000000
--- a/e2e/react-start/css-modules/src/styles/shared-widget.module.css
+++ /dev/null
@@ -1,19 +0,0 @@
-.widget {
- background: rgb(255, 247, 237);
- border: 2px solid rgb(249, 115, 22);
- border-radius: 14px;
- padding: 20px;
-}
-
-.title {
- color: rgb(154, 52, 18);
- font-size: 20px;
- font-weight: 700;
- margin-bottom: 8px;
-}
-
-.content {
- color: rgb(194, 65, 12);
- font-size: 14px;
- line-height: 1.5;
-}
diff --git a/e2e/react-start/css-modules/tests/css.prod.spec.ts b/e2e/react-start/css-modules/tests/css.prod.spec.ts
deleted file mode 100644
index 66aeff5700..0000000000
--- a/e2e/react-start/css-modules/tests/css.prod.spec.ts
+++ /dev/null
@@ -1,140 +0,0 @@
-import { expect } from '@playwright/test'
-import { test } from '@tanstack/router-e2e-utils'
-
-test.skip(process.env.MODE === 'dev', 'Prod-only repro')
-
-test.describe('CSS styles in SSR (prod only)', () => {
- const buildUrl = (baseURL: string, path: string) => {
- return baseURL.replace(/\/$/, '') + path
- }
-
- test('CSS modules stay applied when navigating from static to lazy route', async ({
- page,
- baseURL,
- }) => {
- await page.goto(buildUrl(baseURL!, '/lazy-css-static'))
-
- const widget = page.getByTestId('shared-widget')
- await expect(widget).toBeVisible()
-
- const backgroundColor = await widget.evaluate(
- (el) => getComputedStyle(el).backgroundColor,
- )
- expect(backgroundColor).toBe('rgb(255, 247, 237)')
-
- const borderTopColor = await widget.evaluate(
- (el) => getComputedStyle(el).borderTopColor,
- )
- expect(borderTopColor).toBe('rgb(249, 115, 22)')
-
- await expect(page.getByTestId('lazy-css-static-hydrated')).toBeVisible()
-
- await page.getByTestId('nav-lazy-css-lazy').click()
- await page.waitForURL('**/lazy-css-lazy')
- await expect(page.getByTestId('lazy-css-lazy-heading')).toBeVisible()
-
- const lazyWidget = page.getByTestId('shared-widget')
- await expect(lazyWidget).toBeVisible()
-
- await expect
- .poll(
- () => lazyWidget.evaluate((el) => getComputedStyle(el).backgroundColor),
- { timeout: 5_000 },
- )
- .toBe('rgb(255, 247, 237)')
- })
-
- test('CSS modules stay applied when navigating from lazy to static route', async ({
- page,
- baseURL,
- }) => {
- await page.goto(buildUrl(baseURL!, '/lazy-css-lazy'))
- await expect(page.getByTestId('lazy-css-lazy-heading')).toBeVisible()
-
- // Wait for lazy widget to load
- const lazyWidget = page.getByTestId('shared-widget')
- await expect(lazyWidget).toBeVisible()
-
- await expect
- .poll(
- () => lazyWidget.evaluate((el) => getComputedStyle(el).backgroundColor),
- { timeout: 5_000 },
- )
- .toBe('rgb(255, 247, 237)')
-
- // Navigate to static route
- await page.getByTestId('nav-lazy-css-static').click()
- await page.waitForURL('**/lazy-css-static')
-
- const staticWidget = page.getByTestId('shared-widget')
- await expect(staticWidget).toBeVisible()
-
- await expect
- .poll(
- () =>
- staticWidget.evaluate((el) => getComputedStyle(el).backgroundColor),
- { timeout: 5_000 },
- )
- .toBe('rgb(255, 247, 237)')
-
- const borderTopColor = await staticWidget.evaluate(
- (el) => getComputedStyle(el).borderTopColor,
- )
- expect(borderTopColor).toBe('rgb(249, 115, 22)')
- })
-
- test('CSS modules applied on direct navigation to lazy route', async ({
- page,
- baseURL,
- }) => {
- // Navigate directly to the lazy route (cold start, no prior static route)
- await page.goto(buildUrl(baseURL!, '/lazy-css-lazy'))
- await expect(page.getByTestId('lazy-css-lazy-heading')).toBeVisible()
-
- const widget = page.getByTestId('shared-widget')
- await expect(widget).toBeVisible()
-
- await expect
- .poll(
- () => widget.evaluate((el) => getComputedStyle(el).backgroundColor),
- { timeout: 5_000 },
- )
- .toBe('rgb(255, 247, 237)')
-
- const borderTopColor = await widget.evaluate(
- (el) => getComputedStyle(el).borderTopColor,
- )
- expect(borderTopColor).toBe('rgb(249, 115, 22)')
- })
-
- test('CSS persists after navigating away from lazy and back', async ({
- page,
- baseURL,
- }) => {
- await page.goto(buildUrl(baseURL!, '/lazy-css-static'))
- await expect(page.getByTestId('lazy-css-static-hydrated')).toBeVisible()
-
- // Navigate to lazy
- await page.getByTestId('nav-lazy-css-lazy').click()
- await page.waitForURL('**/lazy-css-lazy')
- await expect(page.getByTestId('shared-widget')).toBeVisible()
-
- // Navigate away to home
- await page.getByTestId('nav-home').click()
- await page.waitForURL(/\/([^/]*)(\/)?($|\?)/)
-
- // Navigate back to lazy
- await page.getByTestId('nav-lazy-css-lazy').click()
- await page.waitForURL('**/lazy-css-lazy')
-
- const widget = page.getByTestId('shared-widget')
- await expect(widget).toBeVisible()
-
- await expect
- .poll(
- () => widget.evaluate((el) => getComputedStyle(el).backgroundColor),
- { timeout: 5_000 },
- )
- .toBe('rgb(255, 247, 237)')
- })
-})
diff --git a/e2e/react-start/rsc/tests/rsc-css-modules.spec.ts b/e2e/react-start/rsc/tests/rsc-css-modules.spec.ts
index 50d461803b..01a499a70f 100644
--- a/e2e/react-start/rsc/tests/rsc-css-modules.spec.ts
+++ b/e2e/react-start/rsc/tests/rsc-css-modules.spec.ts
@@ -122,4 +122,33 @@ test.describe('RSC CSS Modules Tests', () => {
)
expect(backgroundColor).toBe('rgb(224, 242, 254)')
})
+
+ test('RSC CSS module styles persist across sibling client-side navigation', async ({
+ page,
+ }) => {
+ await page.goto('/rsc-css-modules')
+ await page.waitForURL('/rsc-css-modules')
+
+ const cssModulesContent = page.getByTestId('rsc-css-modules-content')
+ await expect(cssModulesContent).toBeVisible()
+
+ const initialBackgroundColor = await cssModulesContent.evaluate(
+ (el) => getComputedStyle(el).backgroundColor,
+ )
+ expect(initialBackgroundColor).toBe('rgb(224, 242, 254)')
+
+ await page.getByTestId('nav-global-css').click()
+ await page.waitForURL('/rsc-global-css')
+ await expect(page.getByTestId('rsc-global-css-content')).toBeVisible()
+
+ await page.getByTestId('nav-css-modules').click()
+ await page.waitForURL('/rsc-css-modules')
+
+ await expect(cssModulesContent).toBeVisible()
+
+ const finalBackgroundColor = await cssModulesContent.evaluate(
+ (el) => getComputedStyle(el).backgroundColor,
+ )
+ expect(finalBackgroundColor).toBe('rgb(224, 242, 254)')
+ })
})
diff --git a/e2e/react-start/start-manifest/src/components/AppShell.tsx b/e2e/react-start/start-manifest/src/components/AppShell.tsx
index 99df40387b..f504a4fd66 100644
--- a/e2e/react-start/start-manifest/src/components/AppShell.tsx
+++ b/e2e/react-start/start-manifest/src/components/AppShell.tsx
@@ -3,6 +3,10 @@ import styles from '~/styles/root-shell.module.css'
const ROUTES = linkOptions([
{ to: '/', label: 'home' },
+ { to: '/a', label: '/a' },
+ { to: '/b', label: '/b' },
+ { to: '/lazy-css-static', label: '/lazy-css-static' },
+ { to: '/lazy-css-lazy', label: '/lazy-css-lazy' },
{ to: '/r1', label: '/r1' },
{ to: '/r2', label: '/r2' },
{ to: '/shared-a', label: '/shared-a' },
diff --git a/e2e/react-start/start-manifest/src/components/SharedCard.tsx b/e2e/react-start/start-manifest/src/components/SharedCard.tsx
new file mode 100644
index 0000000000..812e02da3d
--- /dev/null
+++ b/e2e/react-start/start-manifest/src/components/SharedCard.tsx
@@ -0,0 +1,9 @@
+import styles from '~/styles/shared-card.module.css'
+
+export function SharedCard({ label }: { label: string }) {
+ return (
+
+ Shared card {label}
+
+ )
+}
diff --git a/e2e/react-start/css-modules/src/components/shared-widget.tsx b/e2e/react-start/start-manifest/src/components/SharedWidget.tsx
similarity index 76%
rename from e2e/react-start/css-modules/src/components/shared-widget.tsx
rename to e2e/react-start/start-manifest/src/components/SharedWidget.tsx
index 51a3be072c..0937bd1c7b 100644
--- a/e2e/react-start/css-modules/src/components/shared-widget.tsx
+++ b/e2e/react-start/start-manifest/src/components/SharedWidget.tsx
@@ -1,4 +1,3 @@
-///
import styles from '~/styles/shared-widget.module.css'
export function SharedWidget() {
@@ -8,7 +7,7 @@ export function SharedWidget() {
Shared widget styles
- This widget uses a CSS module shared by a static route and a lazy route.
+ This widget uses CSS shared by a static route and a lazy route.
)
diff --git a/e2e/react-start/css-modules/src/components/shared-widget-lazy.tsx b/e2e/react-start/start-manifest/src/components/SharedWidgetLazy.tsx
similarity index 61%
rename from e2e/react-start/css-modules/src/components/shared-widget-lazy.tsx
rename to e2e/react-start/start-manifest/src/components/SharedWidgetLazy.tsx
index 6d9ddce6f5..5f1f6410a5 100644
--- a/e2e/react-start/css-modules/src/components/shared-widget-lazy.tsx
+++ b/e2e/react-start/start-manifest/src/components/SharedWidgetLazy.tsx
@@ -1,4 +1,4 @@
-import { SharedWidget } from './shared-widget'
+import { SharedWidget } from './SharedWidget'
export default function SharedWidgetLazy() {
return
diff --git a/e2e/react-start/start-manifest/src/routeTree.gen.ts b/e2e/react-start/start-manifest/src/routeTree.gen.ts
index 0571da3592..b7ee033842 100644
--- a/e2e/react-start/start-manifest/src/routeTree.gen.ts
+++ b/e2e/react-start/start-manifest/src/routeTree.gen.ts
@@ -18,6 +18,10 @@ import { Route as R4RouteImport } from './routes/r4'
import { Route as R3RouteImport } from './routes/r3'
import { Route as R2RouteImport } from './routes/r2'
import { Route as R1RouteImport } from './routes/r1'
+import { Route as LazyCssStaticRouteImport } from './routes/lazy-css-static'
+import { Route as LazyCssLazyRouteImport } from './routes/lazy-css-lazy'
+import { Route as BRouteImport } from './routes/b'
+import { Route as ARouteImport } from './routes/a'
import { Route as IndexRouteImport } from './routes/index'
const SharedCRoute = SharedCRouteImport.update({
@@ -65,6 +69,26 @@ const R1Route = R1RouteImport.update({
path: '/r1',
getParentRoute: () => rootRouteImport,
} as any)
+const LazyCssStaticRoute = LazyCssStaticRouteImport.update({
+ id: '/lazy-css-static',
+ path: '/lazy-css-static',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const LazyCssLazyRoute = LazyCssLazyRouteImport.update({
+ id: '/lazy-css-lazy',
+ path: '/lazy-css-lazy',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const BRoute = BRouteImport.update({
+ id: '/b',
+ path: '/b',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const ARoute = ARouteImport.update({
+ id: '/a',
+ path: '/a',
+ getParentRoute: () => rootRouteImport,
+} as any)
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
@@ -73,6 +97,10 @@ const IndexRoute = IndexRouteImport.update({
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
+ '/a': typeof ARoute
+ '/b': typeof BRoute
+ '/lazy-css-lazy': typeof LazyCssLazyRoute
+ '/lazy-css-static': typeof LazyCssStaticRoute
'/r1': typeof R1Route
'/r2': typeof R2Route
'/r3': typeof R3Route
@@ -85,6 +113,10 @@ export interface FileRoutesByFullPath {
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
+ '/a': typeof ARoute
+ '/b': typeof BRoute
+ '/lazy-css-lazy': typeof LazyCssLazyRoute
+ '/lazy-css-static': typeof LazyCssStaticRoute
'/r1': typeof R1Route
'/r2': typeof R2Route
'/r3': typeof R3Route
@@ -98,6 +130,10 @@ export interface FileRoutesByTo {
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
+ '/a': typeof ARoute
+ '/b': typeof BRoute
+ '/lazy-css-lazy': typeof LazyCssLazyRoute
+ '/lazy-css-static': typeof LazyCssStaticRoute
'/r1': typeof R1Route
'/r2': typeof R2Route
'/r3': typeof R3Route
@@ -112,6 +148,10 @@ export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths:
| '/'
+ | '/a'
+ | '/b'
+ | '/lazy-css-lazy'
+ | '/lazy-css-static'
| '/r1'
| '/r2'
| '/r3'
@@ -124,6 +164,10 @@ export interface FileRouteTypes {
fileRoutesByTo: FileRoutesByTo
to:
| '/'
+ | '/a'
+ | '/b'
+ | '/lazy-css-lazy'
+ | '/lazy-css-static'
| '/r1'
| '/r2'
| '/r3'
@@ -136,6 +180,10 @@ export interface FileRouteTypes {
id:
| '__root__'
| '/'
+ | '/a'
+ | '/b'
+ | '/lazy-css-lazy'
+ | '/lazy-css-static'
| '/r1'
| '/r2'
| '/r3'
@@ -149,6 +197,10 @@ export interface FileRouteTypes {
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
+ ARoute: typeof ARoute
+ BRoute: typeof BRoute
+ LazyCssLazyRoute: typeof LazyCssLazyRoute
+ LazyCssStaticRoute: typeof LazyCssStaticRoute
R1Route: typeof R1Route
R2Route: typeof R2Route
R3Route: typeof R3Route
@@ -225,6 +277,34 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof R1RouteImport
parentRoute: typeof rootRouteImport
}
+ '/lazy-css-static': {
+ id: '/lazy-css-static'
+ path: '/lazy-css-static'
+ fullPath: '/lazy-css-static'
+ preLoaderRoute: typeof LazyCssStaticRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/lazy-css-lazy': {
+ id: '/lazy-css-lazy'
+ path: '/lazy-css-lazy'
+ fullPath: '/lazy-css-lazy'
+ preLoaderRoute: typeof LazyCssLazyRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/b': {
+ id: '/b'
+ path: '/b'
+ fullPath: '/b'
+ preLoaderRoute: typeof BRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/a': {
+ id: '/a'
+ path: '/a'
+ fullPath: '/a'
+ preLoaderRoute: typeof ARouteImport
+ parentRoute: typeof rootRouteImport
+ }
'/': {
id: '/'
path: '/'
@@ -237,6 +317,10 @@ declare module '@tanstack/react-router' {
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
+ ARoute: ARoute,
+ BRoute: BRoute,
+ LazyCssLazyRoute: LazyCssLazyRoute,
+ LazyCssStaticRoute: LazyCssStaticRoute,
R1Route: R1Route,
R2Route: R2Route,
R3Route: R3Route,
diff --git a/e2e/react-start/start-manifest/src/routes/a.tsx b/e2e/react-start/start-manifest/src/routes/a.tsx
new file mode 100644
index 0000000000..434803920d
--- /dev/null
+++ b/e2e/react-start/start-manifest/src/routes/a.tsx
@@ -0,0 +1,17 @@
+import { createFileRoute } from '@tanstack/react-router'
+import { SharedCard } from '~/components/SharedCard'
+import styles from '~/styles/page-a.module.css'
+
+export const Route = createFileRoute('/a')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Route /a
+ Route /a keeps the shared card styled.
+
+
+ )
+}
diff --git a/e2e/react-start/start-manifest/src/routes/b.tsx b/e2e/react-start/start-manifest/src/routes/b.tsx
new file mode 100644
index 0000000000..a418aeabeb
--- /dev/null
+++ b/e2e/react-start/start-manifest/src/routes/b.tsx
@@ -0,0 +1,17 @@
+import { createFileRoute } from '@tanstack/react-router'
+import { SharedCard } from '~/components/SharedCard'
+import styles from '~/styles/page-b.module.css'
+
+export const Route = createFileRoute('/b')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Route /b
+ Route /b should keep the shared card stylesheet after nav.
+
+
+ )
+}
diff --git a/e2e/react-start/css-modules/src/routes/lazy-css-lazy.tsx b/e2e/react-start/start-manifest/src/routes/lazy-css-lazy.tsx
similarity index 89%
rename from e2e/react-start/css-modules/src/routes/lazy-css-lazy.tsx
rename to e2e/react-start/start-manifest/src/routes/lazy-css-lazy.tsx
index 4d147a9651..28cec3aff3 100644
--- a/e2e/react-start/css-modules/src/routes/lazy-css-lazy.tsx
+++ b/e2e/react-start/start-manifest/src/routes/lazy-css-lazy.tsx
@@ -2,7 +2,7 @@ import * as React from 'react'
import { createFileRoute } from '@tanstack/react-router'
const LazySharedWidget = React.lazy(
- () => import('~/components/shared-widget-lazy'),
+ () => import('~/components/SharedWidgetLazy'),
)
export const Route = createFileRoute('/lazy-css-lazy')({
@@ -11,7 +11,7 @@ export const Route = createFileRoute('/lazy-css-lazy')({
function LazyCssLazyRoute() {
return (
-
+
Lazy CSS Repro - Lazy Route
This route renders the same widget through React.lazy so the CSS only
@@ -23,6 +23,6 @@ function LazyCssLazyRoute() {
>
-
+
)
}
diff --git a/e2e/react-start/css-modules/src/routes/lazy-css-static.tsx b/e2e/react-start/start-manifest/src/routes/lazy-css-static.tsx
similarity index 85%
rename from e2e/react-start/css-modules/src/routes/lazy-css-static.tsx
rename to e2e/react-start/start-manifest/src/routes/lazy-css-static.tsx
index c9e3f33a0e..349e90f33e 100644
--- a/e2e/react-start/css-modules/src/routes/lazy-css-static.tsx
+++ b/e2e/react-start/start-manifest/src/routes/lazy-css-static.tsx
@@ -1,5 +1,5 @@
import { ClientOnly, createFileRoute } from '@tanstack/react-router'
-import { SharedWidget } from '~/components/shared-widget'
+import { SharedWidget } from '~/components/SharedWidget'
export const Route = createFileRoute('/lazy-css-static')({
component: LazyCssStaticRoute,
@@ -7,7 +7,7 @@ export const Route = createFileRoute('/lazy-css-static')({
function LazyCssStaticRoute() {
return (
-
+
Lazy CSS Repro - Static Route
This route statically imports the shared widget so its CSS is present in
@@ -19,6 +19,6 @@ function LazyCssStaticRoute() {
-
+
)
}
diff --git a/e2e/react-start/start-manifest/src/styles/page-a.module.css b/e2e/react-start/start-manifest/src/styles/page-a.module.css
new file mode 100644
index 0000000000..7ed4301097
--- /dev/null
+++ b/e2e/react-start/start-manifest/src/styles/page-a.module.css
@@ -0,0 +1,10 @@
+.page {
+ padding: 1rem;
+ min-height: 12rem;
+ background: rgb(240, 253, 244);
+ border: 4px solid rgb(22, 163, 74);
+}
+
+.title {
+ color: rgb(21, 128, 61);
+}
diff --git a/e2e/react-start/start-manifest/src/styles/page-b.module.css b/e2e/react-start/start-manifest/src/styles/page-b.module.css
new file mode 100644
index 0000000000..93d1d39a01
--- /dev/null
+++ b/e2e/react-start/start-manifest/src/styles/page-b.module.css
@@ -0,0 +1,10 @@
+.page {
+ padding: 1rem;
+ min-height: 12rem;
+ background: rgb(239, 246, 255);
+ border: 4px solid rgb(37, 99, 235);
+}
+
+.title {
+ color: rgb(29, 78, 216);
+}
diff --git a/e2e/react-start/start-manifest/src/styles/shared-card.module.css b/e2e/react-start/start-manifest/src/styles/shared-card.module.css
new file mode 100644
index 0000000000..2aa5a6ac17
--- /dev/null
+++ b/e2e/react-start/start-manifest/src/styles/shared-card.module.css
@@ -0,0 +1,8 @@
+.card {
+ margin-top: 1rem;
+ padding: 1.5rem;
+ border-radius: 0.75rem;
+ background: rgb(252, 231, 243);
+ border: 2px solid rgb(190, 24, 93);
+ color: rgb(157, 23, 77);
+}
diff --git a/e2e/react-start/start-manifest/src/styles/shared-widget.module.css b/e2e/react-start/start-manifest/src/styles/shared-widget.module.css
new file mode 100644
index 0000000000..ed197cddb0
--- /dev/null
+++ b/e2e/react-start/start-manifest/src/styles/shared-widget.module.css
@@ -0,0 +1,17 @@
+.widget {
+ margin-top: 1rem;
+ padding: 1rem;
+ border-top: 4px solid rgb(249, 115, 22);
+ border-radius: 0.75rem;
+ background: rgb(255, 247, 237);
+}
+
+.title {
+ font-weight: 700;
+ color: rgb(154, 52, 18);
+}
+
+.content {
+ margin-top: 0.5rem;
+ color: rgb(124, 45, 18);
+}
diff --git a/e2e/react-start/start-manifest/tests/start-manifest.spec.ts b/e2e/react-start/start-manifest/tests/start-manifest.spec.ts
index d04d42b2db..1767728ac3 100644
--- a/e2e/react-start/start-manifest/tests/start-manifest.spec.ts
+++ b/e2e/react-start/start-manifest/tests/start-manifest.spec.ts
@@ -5,11 +5,12 @@ import { readdir } from 'node:fs/promises'
import path from 'node:path'
import { pathToFileURL } from 'node:url'
-test.skip(process.env.MODE === 'dev', 'Prod-only manifest dehydration coverage')
-
const ROOT_SHELL_COLOR = 'rgb(22, 101, 52)'
const ROUTE_ONE_COLOR = 'rgb(30, 64, 175)'
const ROUTE_TWO_COLOR = 'rgb(126, 34, 206)'
+const SHARED_CARD_BG = 'rgb(252, 231, 243)'
+const SHARED_WIDGET_BG = 'rgb(255, 247, 237)'
+const SHARED_WIDGET_BORDER = 'rgb(249, 115, 22)'
const buildUrl = (baseURL: string, pathname: string) =>
baseURL.replace(/\/$/, '') + pathname
@@ -20,6 +21,12 @@ async function getColor(testId: string, page: Page) {
.evaluate((element) => getComputedStyle(element).color)
}
+async function getBackgroundColor(testId: string, page: Page) {
+ return page
+ .getByTestId(testId)
+ .evaluate((element) => getComputedStyle(element).backgroundColor)
+}
+
function getStylesheetHrefsFromHtml(html: string) {
return Array.from(
html.matchAll(/ ]+rel="stylesheet"[^>]+href="([^"]+)"/g),
@@ -313,3 +320,134 @@ test('built start manifest preserves shared layout asset identity across sibling
expect(sharedAAsset).toBe(sharedBAsset)
expect(sharedBAsset).toBe(sharedCAsset)
})
+
+test('shared CSS chunk persists across client-side nav', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/a'))
+
+ await expect(page.getByTestId('page-a')).toBeVisible()
+ await expect(page.getByTestId('shared-card')).toBeVisible()
+ await expect
+ .poll(() => getBackgroundColor('shared-card', page))
+ .toBe(SHARED_CARD_BG)
+ await expect(
+ page.locator('head link[rel="stylesheet"][href*="SharedCard"]'),
+ ).toHaveCount(1)
+
+ await page.getByTestId('nav-/b').click()
+ await page.waitForURL('**/b')
+ await expect(page.getByTestId('page-b')).toBeVisible()
+
+ await expect(
+ page.locator('head link[rel="stylesheet"][href*="SharedCard"]'),
+ ).toHaveCount(1)
+ await expect
+ .poll(() => getBackgroundColor('shared-card', page))
+ .toBe(SHARED_CARD_BG)
+})
+
+test('shared widget CSS stays applied when navigating from static to lazy route', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/lazy-css-static'))
+
+ const widget = page.getByTestId('shared-widget')
+ await expect(widget).toBeVisible()
+ expect(await getBackgroundColor('shared-widget', page)).toBe(SHARED_WIDGET_BG)
+ expect(
+ await widget.evaluate(
+ (element) => getComputedStyle(element).borderTopColor,
+ ),
+ ).toBe(SHARED_WIDGET_BORDER)
+
+ await expect(page.getByTestId('lazy-css-static-hydrated')).toBeVisible()
+
+ await page.getByTestId('nav-/lazy-css-lazy').click()
+ await page.waitForURL('**/lazy-css-lazy')
+ await expect(page.getByTestId('lazy-css-lazy-heading')).toBeVisible()
+
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+})
+
+test('shared widget CSS stays applied when navigating from lazy to static route', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/lazy-css-lazy'))
+ await expect(page.getByTestId('lazy-css-lazy-heading')).toBeVisible()
+
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+
+ await page.getByTestId('nav-/lazy-css-static').click()
+ await page.waitForURL('**/lazy-css-static')
+
+ const widget = page.getByTestId('shared-widget')
+ await expect(widget).toBeVisible()
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+ expect(
+ await widget.evaluate(
+ (element) => getComputedStyle(element).borderTopColor,
+ ),
+ ).toBe(SHARED_WIDGET_BORDER)
+})
+
+test('shared widget CSS is applied on direct navigation to lazy route', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/lazy-css-lazy'))
+ await expect(page.getByTestId('lazy-css-lazy-heading')).toBeVisible()
+
+ const widget = page.getByTestId('shared-widget')
+ await expect(widget).toBeVisible()
+
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+ expect(
+ await widget.evaluate(
+ (element) => getComputedStyle(element).borderTopColor,
+ ),
+ ).toBe(SHARED_WIDGET_BORDER)
+})
+
+test('shared widget CSS persists after navigating away from lazy and back', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/lazy-css-static'))
+ await expect(page.getByTestId('lazy-css-static-hydrated')).toBeVisible()
+
+ await page.getByTestId('nav-/lazy-css-lazy').click()
+ await page.waitForURL('**/lazy-css-lazy')
+ await expect(page.getByTestId('shared-widget')).toBeVisible()
+
+ await page.getByTestId('nav-home').click()
+ await page.waitForURL((url) => url.pathname === '/')
+
+ await page.getByTestId('nav-/lazy-css-lazy').click()
+ await page.waitForURL('**/lazy-css-lazy')
+
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+})
diff --git a/e2e/solid-start/start-manifest/package.json b/e2e/solid-start/start-manifest/package.json
new file mode 100644
index 0000000000..1fe9c87c94
--- /dev/null
+++ b/e2e/solid-start/start-manifest/package.json
@@ -0,0 +1,33 @@
+{
+ "name": "tanstack-solid-start-e2e-start-manifest",
+ "private": true,
+ "sideEffects": false,
+ "type": "module",
+ "scripts": {
+ "build": "vite build && tsc --noEmit",
+ "preview": "vite preview",
+ "start": "pnpx srvx --prod -s ../client dist/server/server.js",
+ "test:e2e": "playwright test --project=chromium"
+ },
+ "dependencies": {
+ "@tanstack/solid-router": "workspace:^",
+ "@tanstack/solid-start": "workspace:^",
+ "solid-js": "^1.9.10"
+ },
+ "devDependencies": {
+ "@playwright/test": "^1.50.1",
+ "@tanstack/router-e2e-utils": "workspace:^",
+ "@types/node": "^22.10.2",
+ "srvx": "^0.11.9",
+ "typescript": "^6.0.2",
+ "vite": "^8.0.0",
+ "vite-plugin-solid": "^2.11.11"
+ },
+ "nx": {
+ "targets": {
+ "test:e2e": {
+ "parallelism": false
+ }
+ }
+ }
+}
diff --git a/e2e/solid-start/start-manifest/playwright.config.ts b/e2e/solid-start/start-manifest/playwright.config.ts
new file mode 100644
index 0000000000..b9f835c16a
--- /dev/null
+++ b/e2e/solid-start/start-manifest/playwright.config.ts
@@ -0,0 +1,30 @@
+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 && PORT=${PORT} pnpm start`,
+ url: baseURL,
+ reuseExistingServer: !process.env.CI,
+ stdout: 'pipe',
+ },
+
+ projects: [
+ {
+ name: 'chromium',
+ use: { ...devices['Desktop Chrome'] },
+ },
+ ],
+})
diff --git a/e2e/solid-start/start-manifest/src/components/AppShell.tsx b/e2e/solid-start/start-manifest/src/components/AppShell.tsx
new file mode 100644
index 0000000000..cb1101c0c4
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/components/AppShell.tsx
@@ -0,0 +1,38 @@
+///
+import { ClientOnly, Link, Outlet, linkOptions } from '@tanstack/solid-router'
+import styles from '~/styles/root-shell.module.css'
+
+const ROUTES = linkOptions([
+ { to: '/', label: 'home' },
+ { to: '/a', label: '/a' },
+ { to: '/b', label: '/b' },
+ { to: '/lazy-css-static', label: '/lazy-css-static' },
+ { to: '/lazy-css-lazy', label: '/lazy-css-lazy' },
+ { to: '/r1', label: '/r1' },
+ { to: '/r2', label: '/r2' },
+ { to: '/shared-a', label: '/shared-a' },
+])
+
+export function AppShell() {
+ return (
+
+
+ {ROUTES.map((route) => (
+
+ {route.label}
+
+ ))}
+
+
+
+
+ Start manifest CSS root shell
+
+
+ hydrated
+
+
+
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/components/SharedCard.tsx b/e2e/solid-start/start-manifest/src/components/SharedCard.tsx
new file mode 100644
index 0000000000..c82b2b0ea5
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/components/SharedCard.tsx
@@ -0,0 +1,10 @@
+///
+import styles from '~/styles/shared-card.module.css'
+
+export function SharedCard({ label }: { label: string }) {
+ return (
+
+ Shared card {label}
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/components/SharedNestedLayout.tsx b/e2e/solid-start/start-manifest/src/components/SharedNestedLayout.tsx
new file mode 100644
index 0000000000..5e86c0e8ad
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/components/SharedNestedLayout.tsx
@@ -0,0 +1,31 @@
+///
+import { Link, linkOptions } from '@tanstack/solid-router'
+import styles from '~/styles/shared-layout.module.css'
+
+const ROUTES = linkOptions([
+ { to: '/shared-a', label: '/shared-a' },
+ { to: '/shared-b', label: '/shared-b' },
+ { to: '/shared-c', label: '/shared-c' },
+])
+
+export function SharedNestedLayout(props: { children?: any }) {
+ return (
+
+
+ Shared nested layout CSS
+
+
+
+ {ROUTES.map((route) => (
+
+ {route.label}
+
+ ))}
+
+
+
+ {props.children}
+
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/components/SharedWidget.tsx b/e2e/solid-start/start-manifest/src/components/SharedWidget.tsx
new file mode 100644
index 0000000000..9074d5b2b0
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/components/SharedWidget.tsx
@@ -0,0 +1,15 @@
+///
+import styles from '~/styles/shared-widget.module.css'
+
+export function SharedWidget() {
+ return (
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/components/SharedWidgetLazy.tsx b/e2e/solid-start/start-manifest/src/components/SharedWidgetLazy.tsx
new file mode 100644
index 0000000000..5f1f6410a5
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/components/SharedWidgetLazy.tsx
@@ -0,0 +1,5 @@
+import { SharedWidget } from './SharedWidget'
+
+export default function SharedWidgetLazy() {
+ return
+}
diff --git a/e2e/solid-start/start-manifest/src/routeTree.gen.ts b/e2e/solid-start/start-manifest/src/routeTree.gen.ts
new file mode 100644
index 0000000000..982f80b150
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routeTree.gen.ts
@@ -0,0 +1,345 @@
+/* eslint-disable */
+
+// @ts-nocheck
+
+// noinspection JSUnusedGlobalSymbols
+
+// This file was automatically generated by TanStack Router.
+// You should NOT make any changes in this file as it will be overwritten.
+// 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 SharedCRouteImport } from './routes/shared-c'
+import { Route as SharedBRouteImport } from './routes/shared-b'
+import { Route as SharedARouteImport } from './routes/shared-a'
+import { Route as R6RouteImport } from './routes/r6'
+import { Route as R5RouteImport } from './routes/r5'
+import { Route as R4RouteImport } from './routes/r4'
+import { Route as R3RouteImport } from './routes/r3'
+import { Route as R2RouteImport } from './routes/r2'
+import { Route as R1RouteImport } from './routes/r1'
+import { Route as LazyCssStaticRouteImport } from './routes/lazy-css-static'
+import { Route as LazyCssLazyRouteImport } from './routes/lazy-css-lazy'
+import { Route as BRouteImport } from './routes/b'
+import { Route as ARouteImport } from './routes/a'
+import { Route as IndexRouteImport } from './routes/index'
+
+const SharedCRoute = SharedCRouteImport.update({
+ id: '/shared-c',
+ path: '/shared-c',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const SharedBRoute = SharedBRouteImport.update({
+ id: '/shared-b',
+ path: '/shared-b',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const SharedARoute = SharedARouteImport.update({
+ id: '/shared-a',
+ path: '/shared-a',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const R6Route = R6RouteImport.update({
+ id: '/r6',
+ path: '/r6',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const R5Route = R5RouteImport.update({
+ id: '/r5',
+ path: '/r5',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const R4Route = R4RouteImport.update({
+ id: '/r4',
+ path: '/r4',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const R3Route = R3RouteImport.update({
+ id: '/r3',
+ path: '/r3',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const R2Route = R2RouteImport.update({
+ id: '/r2',
+ path: '/r2',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const R1Route = R1RouteImport.update({
+ id: '/r1',
+ path: '/r1',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const LazyCssStaticRoute = LazyCssStaticRouteImport.update({
+ id: '/lazy-css-static',
+ path: '/lazy-css-static',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const LazyCssLazyRoute = LazyCssLazyRouteImport.update({
+ id: '/lazy-css-lazy',
+ path: '/lazy-css-lazy',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const BRoute = BRouteImport.update({
+ id: '/b',
+ path: '/b',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const ARoute = ARouteImport.update({
+ id: '/a',
+ path: '/a',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const IndexRoute = IndexRouteImport.update({
+ id: '/',
+ path: '/',
+ getParentRoute: () => rootRouteImport,
+} as any)
+
+export interface FileRoutesByFullPath {
+ '/': typeof IndexRoute
+ '/a': typeof ARoute
+ '/b': typeof BRoute
+ '/lazy-css-lazy': typeof LazyCssLazyRoute
+ '/lazy-css-static': typeof LazyCssStaticRoute
+ '/r1': typeof R1Route
+ '/r2': typeof R2Route
+ '/r3': typeof R3Route
+ '/r4': typeof R4Route
+ '/r5': typeof R5Route
+ '/r6': typeof R6Route
+ '/shared-a': typeof SharedARoute
+ '/shared-b': typeof SharedBRoute
+ '/shared-c': typeof SharedCRoute
+}
+export interface FileRoutesByTo {
+ '/': typeof IndexRoute
+ '/a': typeof ARoute
+ '/b': typeof BRoute
+ '/lazy-css-lazy': typeof LazyCssLazyRoute
+ '/lazy-css-static': typeof LazyCssStaticRoute
+ '/r1': typeof R1Route
+ '/r2': typeof R2Route
+ '/r3': typeof R3Route
+ '/r4': typeof R4Route
+ '/r5': typeof R5Route
+ '/r6': typeof R6Route
+ '/shared-a': typeof SharedARoute
+ '/shared-b': typeof SharedBRoute
+ '/shared-c': typeof SharedCRoute
+}
+export interface FileRoutesById {
+ __root__: typeof rootRouteImport
+ '/': typeof IndexRoute
+ '/a': typeof ARoute
+ '/b': typeof BRoute
+ '/lazy-css-lazy': typeof LazyCssLazyRoute
+ '/lazy-css-static': typeof LazyCssStaticRoute
+ '/r1': typeof R1Route
+ '/r2': typeof R2Route
+ '/r3': typeof R3Route
+ '/r4': typeof R4Route
+ '/r5': typeof R5Route
+ '/r6': typeof R6Route
+ '/shared-a': typeof SharedARoute
+ '/shared-b': typeof SharedBRoute
+ '/shared-c': typeof SharedCRoute
+}
+export interface FileRouteTypes {
+ fileRoutesByFullPath: FileRoutesByFullPath
+ fullPaths:
+ | '/'
+ | '/a'
+ | '/b'
+ | '/lazy-css-lazy'
+ | '/lazy-css-static'
+ | '/r1'
+ | '/r2'
+ | '/r3'
+ | '/r4'
+ | '/r5'
+ | '/r6'
+ | '/shared-a'
+ | '/shared-b'
+ | '/shared-c'
+ fileRoutesByTo: FileRoutesByTo
+ to:
+ | '/'
+ | '/a'
+ | '/b'
+ | '/lazy-css-lazy'
+ | '/lazy-css-static'
+ | '/r1'
+ | '/r2'
+ | '/r3'
+ | '/r4'
+ | '/r5'
+ | '/r6'
+ | '/shared-a'
+ | '/shared-b'
+ | '/shared-c'
+ id:
+ | '__root__'
+ | '/'
+ | '/a'
+ | '/b'
+ | '/lazy-css-lazy'
+ | '/lazy-css-static'
+ | '/r1'
+ | '/r2'
+ | '/r3'
+ | '/r4'
+ | '/r5'
+ | '/r6'
+ | '/shared-a'
+ | '/shared-b'
+ | '/shared-c'
+ fileRoutesById: FileRoutesById
+}
+export interface RootRouteChildren {
+ IndexRoute: typeof IndexRoute
+ ARoute: typeof ARoute
+ BRoute: typeof BRoute
+ LazyCssLazyRoute: typeof LazyCssLazyRoute
+ LazyCssStaticRoute: typeof LazyCssStaticRoute
+ R1Route: typeof R1Route
+ R2Route: typeof R2Route
+ R3Route: typeof R3Route
+ R4Route: typeof R4Route
+ R5Route: typeof R5Route
+ R6Route: typeof R6Route
+ SharedARoute: typeof SharedARoute
+ SharedBRoute: typeof SharedBRoute
+ SharedCRoute: typeof SharedCRoute
+}
+
+declare module '@tanstack/solid-router' {
+ interface FileRoutesByPath {
+ '/shared-c': {
+ id: '/shared-c'
+ path: '/shared-c'
+ fullPath: '/shared-c'
+ preLoaderRoute: typeof SharedCRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/shared-b': {
+ id: '/shared-b'
+ path: '/shared-b'
+ fullPath: '/shared-b'
+ preLoaderRoute: typeof SharedBRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/shared-a': {
+ id: '/shared-a'
+ path: '/shared-a'
+ fullPath: '/shared-a'
+ preLoaderRoute: typeof SharedARouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/r6': {
+ id: '/r6'
+ path: '/r6'
+ fullPath: '/r6'
+ preLoaderRoute: typeof R6RouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/r5': {
+ id: '/r5'
+ path: '/r5'
+ fullPath: '/r5'
+ preLoaderRoute: typeof R5RouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/r4': {
+ id: '/r4'
+ path: '/r4'
+ fullPath: '/r4'
+ preLoaderRoute: typeof R4RouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/r3': {
+ id: '/r3'
+ path: '/r3'
+ fullPath: '/r3'
+ preLoaderRoute: typeof R3RouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/r2': {
+ id: '/r2'
+ path: '/r2'
+ fullPath: '/r2'
+ preLoaderRoute: typeof R2RouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/r1': {
+ id: '/r1'
+ path: '/r1'
+ fullPath: '/r1'
+ preLoaderRoute: typeof R1RouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/lazy-css-static': {
+ id: '/lazy-css-static'
+ path: '/lazy-css-static'
+ fullPath: '/lazy-css-static'
+ preLoaderRoute: typeof LazyCssStaticRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/lazy-css-lazy': {
+ id: '/lazy-css-lazy'
+ path: '/lazy-css-lazy'
+ fullPath: '/lazy-css-lazy'
+ preLoaderRoute: typeof LazyCssLazyRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/b': {
+ id: '/b'
+ path: '/b'
+ fullPath: '/b'
+ preLoaderRoute: typeof BRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/a': {
+ id: '/a'
+ path: '/a'
+ fullPath: '/a'
+ preLoaderRoute: typeof ARouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/': {
+ id: '/'
+ path: '/'
+ fullPath: '/'
+ preLoaderRoute: typeof IndexRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ }
+}
+
+const rootRouteChildren: RootRouteChildren = {
+ IndexRoute: IndexRoute,
+ ARoute: ARoute,
+ BRoute: BRoute,
+ LazyCssLazyRoute: LazyCssLazyRoute,
+ LazyCssStaticRoute: LazyCssStaticRoute,
+ R1Route: R1Route,
+ R2Route: R2Route,
+ R3Route: R3Route,
+ R4Route: R4Route,
+ R5Route: R5Route,
+ R6Route: R6Route,
+ SharedARoute: SharedARoute,
+ SharedBRoute: SharedBRoute,
+ SharedCRoute: SharedCRoute,
+}
+export const routeTree = rootRouteImport
+ ._addFileChildren(rootRouteChildren)
+ ._addFileTypes()
+
+import type { getRouter } from './router.tsx'
+import type { createStart } from '@tanstack/solid-start'
+declare module '@tanstack/solid-start' {
+ interface Register {
+ ssr: true
+ router: Awaited>
+ }
+}
diff --git a/e2e/solid-start/start-manifest/src/router.tsx b/e2e/solid-start/start-manifest/src/router.tsx
new file mode 100644
index 0000000000..801095c695
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/router.tsx
@@ -0,0 +1,18 @@
+import { createRouter } from '@tanstack/solid-router'
+import { routeTree } from './routeTree.gen'
+
+export const getRouter = () => {
+ const router = createRouter({
+ routeTree,
+ scrollRestoration: true,
+ defaultPreload: 'intent',
+ })
+
+ return router
+}
+
+declare module '@tanstack/solid-router' {
+ interface Register {
+ router: ReturnType
+ }
+}
diff --git a/e2e/solid-start/start-manifest/src/routes/__root.tsx b/e2e/solid-start/start-manifest/src/routes/__root.tsx
new file mode 100644
index 0000000000..90935e1236
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/__root.tsx
@@ -0,0 +1,29 @@
+import { HeadContent, Scripts, createRootRoute } from '@tanstack/solid-router'
+import { HydrationScript } from 'solid-js/web'
+import { AppShell } from '~/components/AppShell'
+
+export const Route = createRootRoute({
+ head: () => ({
+ meta: [
+ { charSet: 'utf-8' },
+ { name: 'viewport', content: 'width=device-width, initial-scale=1' },
+ { title: 'TanStack Start Manifest Bloat E2E' },
+ ],
+ }),
+ component: RootComponent,
+})
+
+function RootComponent() {
+ return (
+
+
+
+
+
+
+
+
+
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/routes/a.tsx b/e2e/solid-start/start-manifest/src/routes/a.tsx
new file mode 100644
index 0000000000..d9cda03adc
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/a.tsx
@@ -0,0 +1,18 @@
+///
+import { createFileRoute } from '@tanstack/solid-router'
+import { SharedCard } from '~/components/SharedCard'
+import styles from '~/styles/page-a.module.css'
+
+export const Route = createFileRoute('/a')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Route /a
+ Route /a keeps the shared card styled.
+
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/routes/b.tsx b/e2e/solid-start/start-manifest/src/routes/b.tsx
new file mode 100644
index 0000000000..fd17811d56
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/b.tsx
@@ -0,0 +1,18 @@
+///
+import { createFileRoute } from '@tanstack/solid-router'
+import { SharedCard } from '~/components/SharedCard'
+import styles from '~/styles/page-b.module.css'
+
+export const Route = createFileRoute('/b')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Route /b
+ Route /b should keep the shared card stylesheet after nav.
+
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/routes/index.tsx b/e2e/solid-start/start-manifest/src/routes/index.tsx
new file mode 100644
index 0000000000..e61358aa7b
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/index.tsx
@@ -0,0 +1,16 @@
+import { createFileRoute } from '@tanstack/solid-router'
+
+export const Route = createFileRoute('/')({
+ component: HomeRoute,
+})
+
+function HomeRoute() {
+ return (
+
+ Start manifest fixture
+
+ Use this page to navigate between CSS module routes.
+
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/routes/lazy-css-lazy.tsx b/e2e/solid-start/start-manifest/src/routes/lazy-css-lazy.tsx
new file mode 100644
index 0000000000..dc2bb845bf
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/lazy-css-lazy.tsx
@@ -0,0 +1,26 @@
+import { createFileRoute } from '@tanstack/solid-router'
+import { Suspense, lazy } from 'solid-js'
+
+const LazySharedWidget = lazy(() => import('~/components/SharedWidgetLazy'))
+
+export const Route = createFileRoute('/lazy-css-lazy')({
+ component: LazyCssLazyRoute,
+})
+
+function LazyCssLazyRoute() {
+ return (
+
+ Lazy CSS Repro - Lazy Route
+
+ This route renders the same widget through a lazy component so the CSS
+ only exists behind a dynamic import boundary.
+
+
+ Loading...}
+ >
+
+
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/routes/lazy-css-static.tsx b/e2e/solid-start/start-manifest/src/routes/lazy-css-static.tsx
new file mode 100644
index 0000000000..1112c8ae90
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/lazy-css-static.tsx
@@ -0,0 +1,24 @@
+import { ClientOnly, createFileRoute } from '@tanstack/solid-router'
+import { SharedWidget } from '~/components/SharedWidget'
+
+export const Route = createFileRoute('/lazy-css-static')({
+ component: LazyCssStaticRoute,
+})
+
+function LazyCssStaticRoute() {
+ return (
+
+ Lazy CSS Repro - Static Route
+
+ This route statically imports the shared widget so its CSS is present in
+ the SSR head.
+
+
+
+ hydrated
+
+
+
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/routes/r1.tsx b/e2e/solid-start/start-manifest/src/routes/r1.tsx
new file mode 100644
index 0000000000..d3979ecaf1
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/r1.tsx
@@ -0,0 +1,18 @@
+///
+import { createFileRoute } from '@tanstack/solid-router'
+import styles from '~/styles/route-one.module.css'
+
+export const Route = createFileRoute('/r1')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Route /r1
+
+ Route /r1 CSS module styling
+
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/routes/r2.tsx b/e2e/solid-start/start-manifest/src/routes/r2.tsx
new file mode 100644
index 0000000000..836257cd2e
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/r2.tsx
@@ -0,0 +1,18 @@
+///
+import { createFileRoute } from '@tanstack/solid-router'
+import styles from '~/styles/route-two.module.css'
+
+export const Route = createFileRoute('/r2')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Route /r2
+
+ Route /r2 CSS module styling
+
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/routes/r3.tsx b/e2e/solid-start/start-manifest/src/routes/r3.tsx
new file mode 100644
index 0000000000..178a4b2a41
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/r3.tsx
@@ -0,0 +1,5 @@
+import { createFileRoute } from '@tanstack/solid-router'
+
+export const Route = createFileRoute('/r3')({
+ component: () => Route /r3
,
+})
diff --git a/e2e/solid-start/start-manifest/src/routes/r4.tsx b/e2e/solid-start/start-manifest/src/routes/r4.tsx
new file mode 100644
index 0000000000..c625e4961e
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/r4.tsx
@@ -0,0 +1,5 @@
+import { createFileRoute } from '@tanstack/solid-router'
+
+export const Route = createFileRoute('/r4')({
+ component: () => Route /r4
,
+})
diff --git a/e2e/solid-start/start-manifest/src/routes/r5.tsx b/e2e/solid-start/start-manifest/src/routes/r5.tsx
new file mode 100644
index 0000000000..d4f5dcb95f
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/r5.tsx
@@ -0,0 +1,5 @@
+import { createFileRoute } from '@tanstack/solid-router'
+
+export const Route = createFileRoute('/r5')({
+ component: () => Route /r5
,
+})
diff --git a/e2e/solid-start/start-manifest/src/routes/r6.tsx b/e2e/solid-start/start-manifest/src/routes/r6.tsx
new file mode 100644
index 0000000000..235ff13538
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/r6.tsx
@@ -0,0 +1,5 @@
+import { createFileRoute } from '@tanstack/solid-router'
+
+export const Route = createFileRoute('/r6')({
+ component: () => Route /r6
,
+})
diff --git a/e2e/solid-start/start-manifest/src/routes/shared-a.tsx b/e2e/solid-start/start-manifest/src/routes/shared-a.tsx
new file mode 100644
index 0000000000..ccb94d1e46
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/shared-a.tsx
@@ -0,0 +1,14 @@
+import { createFileRoute } from '@tanstack/solid-router'
+import { SharedNestedLayout } from '~/components/SharedNestedLayout'
+
+export const Route = createFileRoute('/shared-a')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Shared route A
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/routes/shared-b.tsx b/e2e/solid-start/start-manifest/src/routes/shared-b.tsx
new file mode 100644
index 0000000000..ced02fcf12
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/shared-b.tsx
@@ -0,0 +1,14 @@
+import { createFileRoute } from '@tanstack/solid-router'
+import { SharedNestedLayout } from '~/components/SharedNestedLayout'
+
+export const Route = createFileRoute('/shared-b')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Shared route B
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/routes/shared-c.tsx b/e2e/solid-start/start-manifest/src/routes/shared-c.tsx
new file mode 100644
index 0000000000..9b8ea62f3f
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/routes/shared-c.tsx
@@ -0,0 +1,14 @@
+import { createFileRoute } from '@tanstack/solid-router'
+import { SharedNestedLayout } from '~/components/SharedNestedLayout'
+
+export const Route = createFileRoute('/shared-c')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Shared route C
+
+ )
+}
diff --git a/e2e/solid-start/start-manifest/src/styles/page-a.module.css b/e2e/solid-start/start-manifest/src/styles/page-a.module.css
new file mode 100644
index 0000000000..7ed4301097
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/styles/page-a.module.css
@@ -0,0 +1,10 @@
+.page {
+ padding: 1rem;
+ min-height: 12rem;
+ background: rgb(240, 253, 244);
+ border: 4px solid rgb(22, 163, 74);
+}
+
+.title {
+ color: rgb(21, 128, 61);
+}
diff --git a/e2e/solid-start/start-manifest/src/styles/page-b.module.css b/e2e/solid-start/start-manifest/src/styles/page-b.module.css
new file mode 100644
index 0000000000..93d1d39a01
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/styles/page-b.module.css
@@ -0,0 +1,10 @@
+.page {
+ padding: 1rem;
+ min-height: 12rem;
+ background: rgb(239, 246, 255);
+ border: 4px solid rgb(37, 99, 235);
+}
+
+.title {
+ color: rgb(29, 78, 216);
+}
diff --git a/e2e/solid-start/start-manifest/src/styles/root-shell.module.css b/e2e/solid-start/start-manifest/src/styles/root-shell.module.css
new file mode 100644
index 0000000000..e7bece8664
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/styles/root-shell.module.css
@@ -0,0 +1,37 @@
+.shell {
+ font-family:
+ -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
+ min-height: 100vh;
+ background: rgb(248, 250, 252);
+ color: rgb(15, 23, 42);
+}
+
+.nav {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.75rem;
+ padding: 1rem;
+ border-bottom: 1px solid rgb(226, 232, 240);
+ background: white;
+}
+
+.nav a {
+ color: rgb(37, 99, 235);
+ text-decoration: none;
+}
+
+.content {
+ max-width: 760px;
+ margin: 0 auto;
+ padding: 1.5rem 1rem 3rem;
+}
+
+.rootBadge {
+ display: inline-block;
+ margin-bottom: 1rem;
+ padding: 0.375rem 0.75rem;
+ border-radius: 9999px;
+ background: rgb(220, 252, 231);
+ color: rgb(22, 101, 52);
+ font-weight: 700;
+}
diff --git a/e2e/solid-start/start-manifest/src/styles/route-one.module.css b/e2e/solid-start/start-manifest/src/styles/route-one.module.css
new file mode 100644
index 0000000000..623d03e6a3
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/styles/route-one.module.css
@@ -0,0 +1,7 @@
+.card {
+ padding: 1rem;
+ border-radius: 0.75rem;
+ background: rgb(239, 246, 255);
+ color: rgb(30, 64, 175);
+ border: 2px solid rgb(96, 165, 250);
+}
diff --git a/e2e/solid-start/start-manifest/src/styles/route-two.module.css b/e2e/solid-start/start-manifest/src/styles/route-two.module.css
new file mode 100644
index 0000000000..66ed355711
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/styles/route-two.module.css
@@ -0,0 +1,7 @@
+.card {
+ padding: 1rem;
+ border-radius: 0.75rem;
+ background: rgb(250, 245, 255);
+ color: rgb(126, 34, 206);
+ border: 2px solid rgb(192, 132, 252);
+}
diff --git a/e2e/solid-start/start-manifest/src/styles/shared-card.module.css b/e2e/solid-start/start-manifest/src/styles/shared-card.module.css
new file mode 100644
index 0000000000..2aa5a6ac17
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/styles/shared-card.module.css
@@ -0,0 +1,8 @@
+.card {
+ margin-top: 1rem;
+ padding: 1.5rem;
+ border-radius: 0.75rem;
+ background: rgb(252, 231, 243);
+ border: 2px solid rgb(190, 24, 93);
+ color: rgb(157, 23, 77);
+}
diff --git a/e2e/solid-start/start-manifest/src/styles/shared-layout.module.css b/e2e/solid-start/start-manifest/src/styles/shared-layout.module.css
new file mode 100644
index 0000000000..6025a1da06
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/styles/shared-layout.module.css
@@ -0,0 +1,16 @@
+.layout {
+ padding: 1rem;
+ border-radius: 0.75rem;
+ background: rgb(255, 251, 235);
+ border: 2px solid rgb(245, 158, 11);
+}
+
+.heading {
+ color: rgb(180, 83, 9);
+ font-weight: 700;
+ margin-bottom: 0.5rem;
+}
+
+.body {
+ color: rgb(146, 64, 14);
+}
diff --git a/e2e/solid-start/start-manifest/src/styles/shared-widget.module.css b/e2e/solid-start/start-manifest/src/styles/shared-widget.module.css
new file mode 100644
index 0000000000..ed197cddb0
--- /dev/null
+++ b/e2e/solid-start/start-manifest/src/styles/shared-widget.module.css
@@ -0,0 +1,17 @@
+.widget {
+ margin-top: 1rem;
+ padding: 1rem;
+ border-top: 4px solid rgb(249, 115, 22);
+ border-radius: 0.75rem;
+ background: rgb(255, 247, 237);
+}
+
+.title {
+ font-weight: 700;
+ color: rgb(154, 52, 18);
+}
+
+.content {
+ margin-top: 0.5rem;
+ color: rgb(124, 45, 18);
+}
diff --git a/e2e/solid-start/start-manifest/tests/start-manifest.spec.ts b/e2e/solid-start/start-manifest/tests/start-manifest.spec.ts
new file mode 100644
index 0000000000..23244db828
--- /dev/null
+++ b/e2e/solid-start/start-manifest/tests/start-manifest.spec.ts
@@ -0,0 +1,453 @@
+import { expect } from '@playwright/test'
+import { test } from '@tanstack/router-e2e-utils'
+import type { Page } from '@playwright/test'
+import { readdir } from 'node:fs/promises'
+import path from 'node:path'
+import { pathToFileURL } from 'node:url'
+
+const ROOT_SHELL_COLOR = 'rgb(22, 101, 52)'
+const ROUTE_ONE_COLOR = 'rgb(30, 64, 175)'
+const ROUTE_TWO_COLOR = 'rgb(126, 34, 206)'
+const SHARED_CARD_BG = 'rgb(252, 231, 243)'
+const SHARED_WIDGET_BG = 'rgb(255, 247, 237)'
+const SHARED_WIDGET_BORDER = 'rgb(249, 115, 22)'
+
+const buildUrl = (baseURL: string, pathname: string) =>
+ baseURL.replace(/\/$/, '') + pathname
+
+async function getColor(testId: string, page: Page) {
+ return page
+ .getByTestId(testId)
+ .evaluate((element) => getComputedStyle(element).color)
+}
+
+async function getBackgroundColor(testId: string, page: Page) {
+ return page
+ .getByTestId(testId)
+ .evaluate((element) => getComputedStyle(element).backgroundColor)
+}
+
+function getStylesheetHrefsFromHtml(html: string) {
+ return Array.from(
+ html.matchAll(/ ]+rel="stylesheet"[^>]+href="([^"]+)"/g),
+ (match) => match[1]!,
+ )
+}
+
+async function getHeadStylesheetHrefs(page: Page) {
+ return page.locator('head link[rel="stylesheet"]').evaluateAll((links) => {
+ return links.map(
+ (link) => (link as HTMLLinkElement).getAttribute('href') || '',
+ )
+ })
+}
+
+function countMatchingStylesheetHrefs(hrefs: Array, pattern: string) {
+ return hrefs.filter((href) => href.includes(pattern)).length
+}
+
+async function loadBuiltStartManifest() {
+ const serverDir = path.resolve(import.meta.dirname, '../dist/server/assets')
+ const entries = await readdir(serverDir)
+ const manifestFile = entries.find(
+ (entry) =>
+ entry.startsWith('_tanstack-start-manifest_v-') && entry.endsWith('.js'),
+ )
+
+ expect(manifestFile).toBeTruthy()
+
+ const moduleUrl = `${pathToFileURL(path.join(serverDir, manifestFile!)).href}?t=${Date.now()}`
+ const manifestModule = await import(moduleUrl)
+
+ return manifestModule.tsrStartManifest() as {
+ routes: Record }>
+ }
+}
+
+async function expectDirectEntry({
+ page,
+ request,
+ baseURL,
+ pathname,
+ expectedVisibleTestId,
+ expectedAbsentTestId,
+ expectedStylesheetPattern,
+ unexpectedStylesheetPattern,
+ expectedColorTestId,
+ expectedColor,
+}: {
+ page: Page
+ request: {
+ get: (url: string) => Promise<{ ok(): boolean; text(): Promise }>
+ }
+ baseURL: string
+ pathname: string
+ expectedVisibleTestId: string
+ expectedAbsentTestId: string
+ expectedStylesheetPattern: string
+ unexpectedStylesheetPattern: string
+ expectedColorTestId: string
+ expectedColor: string
+}) {
+ const url = buildUrl(baseURL, pathname)
+ const response = await request.get(url)
+ const ssrHtml = await response.text()
+
+ expect(response.ok()).toBe(true)
+ expect(ssrHtml).toContain('root-shell-marker')
+ expect(ssrHtml).toContain(expectedVisibleTestId)
+ expect(ssrHtml).not.toContain(expectedAbsentTestId)
+
+ const stylesheetLinks = getStylesheetHrefsFromHtml(ssrHtml)
+
+ expect(
+ countMatchingStylesheetHrefs(stylesheetLinks, expectedStylesheetPattern),
+ ).toBe(1)
+ expect(
+ countMatchingStylesheetHrefs(stylesheetLinks, unexpectedStylesheetPattern),
+ ).toBe(0)
+ expect(stylesheetLinks).toHaveLength(2)
+
+ await page.goto(url)
+ await expect(page.getByTestId(expectedVisibleTestId)).toBeVisible()
+ await expect(page.getByTestId('hydration-marker')).toBeVisible()
+
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return countMatchingStylesheetHrefs(hrefs, expectedStylesheetPattern)
+ })
+ .toBe(1)
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return countMatchingStylesheetHrefs(hrefs, unexpectedStylesheetPattern)
+ })
+ .toBe(0)
+
+ await expect
+ .poll(() => getColor('root-shell-marker', page))
+ .toBe(ROOT_SHELL_COLOR)
+ await expect
+ .poll(() => getColor(expectedColorTestId, page))
+ .toBe(expectedColor)
+}
+
+test('SSR and client navigation keep CSS module styles correct without hydration errors', async ({
+ page,
+ baseURL,
+ request,
+}) => {
+ const routeOneUrl = buildUrl(baseURL!, '/r1')
+ const response = await request.get(routeOneUrl)
+ const ssrHtml = await response.text()
+
+ expect(response.ok()).toBe(true)
+ expect(ssrHtml).toContain('root-shell-marker')
+ expect(ssrHtml).toContain('route-r1-card')
+ expect(ssrHtml).not.toContain('route-r2-card')
+
+ const stylesheetLinks = getStylesheetHrefsFromHtml(ssrHtml)
+
+ expect(countMatchingStylesheetHrefs(stylesheetLinks, 'r1-')).toBe(1)
+ expect(countMatchingStylesheetHrefs(stylesheetLinks, 'r2-')).toBe(0)
+ expect(stylesheetLinks).toHaveLength(2)
+
+ await page.goto(routeOneUrl)
+
+ await expect(page.getByTestId('route-r1-card')).toBeVisible()
+ await expect(page.getByTestId('hydration-marker')).toBeVisible()
+
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return countMatchingStylesheetHrefs(hrefs, 'r1-')
+ })
+ .toBe(1)
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return countMatchingStylesheetHrefs(hrefs, 'r2-')
+ })
+ .toBe(0)
+
+ await expect
+ .poll(() => getColor('root-shell-marker', page))
+ .toBe(ROOT_SHELL_COLOR)
+ await expect.poll(() => getColor('route-r1-card', page)).toBe(ROUTE_ONE_COLOR)
+
+ await page.getByTestId('nav-/r2').click()
+ await page.waitForURL('**/r2')
+ await expect(page.getByTestId('route-r2-card')).toBeVisible()
+
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return countMatchingStylesheetHrefs(hrefs, 'r2-')
+ })
+ .toBe(1)
+
+ await expect
+ .poll(() => getColor('root-shell-marker', page))
+ .toBe(ROOT_SHELL_COLOR)
+ await expect.poll(() => getColor('route-r2-card', page)).toBe(ROUTE_TWO_COLOR)
+
+ await page.getByTestId('nav-/r1').click()
+ await page.waitForURL('**/r1')
+ await expect(page.getByTestId('route-r1-card')).toBeVisible()
+
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return countMatchingStylesheetHrefs(hrefs, 'r1-')
+ })
+ .toBe(1)
+
+ await expect
+ .poll(() => getColor('root-shell-marker', page))
+ .toBe(ROOT_SHELL_COLOR)
+ await expect.poll(() => getColor('route-r1-card', page)).toBe(ROUTE_ONE_COLOR)
+})
+
+test('direct SSR entry on /r2 only includes its stylesheet and hydrates cleanly', async ({
+ page,
+ baseURL,
+ request,
+}) => {
+ await expectDirectEntry({
+ page,
+ request,
+ baseURL: baseURL!,
+ pathname: '/r2',
+ expectedVisibleTestId: 'route-r2-card',
+ expectedAbsentTestId: 'route-r1-card',
+ expectedStylesheetPattern: 'r2-',
+ unexpectedStylesheetPattern: 'r1-',
+ expectedColorTestId: 'route-r2-card',
+ expectedColor: ROUTE_TWO_COLOR,
+ })
+})
+
+test('direct SSR entries on different route-css pages stay isolated', async ({
+ page,
+ baseURL,
+ request,
+}) => {
+ await expectDirectEntry({
+ page,
+ request,
+ baseURL: baseURL!,
+ pathname: '/r2',
+ expectedVisibleTestId: 'route-r2-card',
+ expectedAbsentTestId: 'route-r1-card',
+ expectedStylesheetPattern: 'r2-',
+ unexpectedStylesheetPattern: 'r1-',
+ expectedColorTestId: 'route-r2-card',
+ expectedColor: ROUTE_TWO_COLOR,
+ })
+
+ await expectDirectEntry({
+ page,
+ request,
+ baseURL: baseURL!,
+ pathname: '/r1',
+ expectedVisibleTestId: 'route-r1-card',
+ expectedAbsentTestId: 'route-r2-card',
+ expectedStylesheetPattern: 'r1-',
+ unexpectedStylesheetPattern: 'r2-',
+ expectedColorTestId: 'route-r1-card',
+ expectedColor: ROUTE_ONE_COLOR,
+ })
+})
+
+test('home route only renders the root stylesheet and no route-specific CSS', async ({
+ page,
+ baseURL,
+ request,
+}) => {
+ const homeUrl = buildUrl(baseURL!, '/')
+ const response = await request.get(homeUrl)
+ const ssrHtml = await response.text()
+
+ expect(response.ok()).toBe(true)
+ expect(ssrHtml).toContain('root-shell-marker')
+ expect(ssrHtml).toContain('home-copy')
+ expect(ssrHtml).not.toContain('route-r1-card')
+ expect(ssrHtml).not.toContain('route-r2-card')
+
+ const stylesheetLinks = getStylesheetHrefsFromHtml(ssrHtml)
+
+ expect(countMatchingStylesheetHrefs(stylesheetLinks, 'r1-')).toBe(0)
+ expect(countMatchingStylesheetHrefs(stylesheetLinks, 'r2-')).toBe(0)
+ expect(stylesheetLinks).toHaveLength(1)
+
+ await page.goto(homeUrl)
+ await expect(page.getByTestId('home-copy')).toBeVisible()
+ await expect(page.getByTestId('hydration-marker')).toBeVisible()
+
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return countMatchingStylesheetHrefs(hrefs, 'r1-')
+ })
+ .toBe(0)
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return countMatchingStylesheetHrefs(hrefs, 'r2-')
+ })
+ .toBe(0)
+
+ await expect
+ .poll(() => getColor('root-shell-marker', page))
+ .toBe(ROOT_SHELL_COLOR)
+})
+
+test('built start manifest preserves shared layout asset identity across sibling routes', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/shared-a'))
+ await expect(page.getByTestId('shared-a-card')).toBeVisible()
+
+ const manifest = await loadBuiltStartManifest()
+
+ const sharedAAsset = manifest.routes['/shared-a']?.assets?.[0]
+ const sharedBAsset = manifest.routes['/shared-b']?.assets?.[0]
+ const sharedCAsset = manifest.routes['/shared-c']?.assets?.[0]
+
+ expect(sharedAAsset).toBeTruthy()
+ expect(sharedAAsset).toBe(sharedBAsset)
+ expect(sharedBAsset).toBe(sharedCAsset)
+})
+
+test('shared CSS chunk persists across client-side nav', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/a'))
+
+ await expect(page.getByTestId('page-a')).toBeVisible()
+ await expect(page.getByTestId('shared-card')).toBeVisible()
+ await expect
+ .poll(() => getBackgroundColor('shared-card', page))
+ .toBe(SHARED_CARD_BG)
+ await expect(
+ page.locator('head link[rel="stylesheet"][href*="SharedCard"]'),
+ ).toHaveCount(1)
+
+ await page.getByTestId('nav-/b').click()
+ await page.waitForURL('**/b')
+ await expect(page.getByTestId('page-b')).toBeVisible()
+
+ await expect(
+ page.locator('head link[rel="stylesheet"][href*="SharedCard"]'),
+ ).toHaveCount(1)
+ await expect
+ .poll(() => getBackgroundColor('shared-card', page))
+ .toBe(SHARED_CARD_BG)
+})
+
+test('shared widget CSS stays applied when navigating from static to lazy route', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/lazy-css-static'))
+
+ const widget = page.getByTestId('shared-widget')
+ await expect(widget).toBeVisible()
+ expect(await getBackgroundColor('shared-widget', page)).toBe(SHARED_WIDGET_BG)
+ expect(
+ await widget.evaluate(
+ (element) => getComputedStyle(element).borderTopColor,
+ ),
+ ).toBe(SHARED_WIDGET_BORDER)
+
+ await expect(page.getByTestId('lazy-css-static-hydrated')).toBeVisible()
+
+ await page.getByTestId('nav-/lazy-css-lazy').click()
+ await page.waitForURL('**/lazy-css-lazy')
+ await expect(page.getByTestId('lazy-css-lazy-heading')).toBeVisible()
+
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+})
+
+test('shared widget CSS stays applied when navigating from lazy to static route', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/lazy-css-lazy'))
+ await expect(page.getByTestId('lazy-css-lazy-heading')).toBeVisible()
+
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+
+ await page.getByTestId('nav-/lazy-css-static').click()
+ await page.waitForURL('**/lazy-css-static')
+
+ const widget = page.getByTestId('shared-widget')
+ await expect(widget).toBeVisible()
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+ expect(
+ await widget.evaluate(
+ (element) => getComputedStyle(element).borderTopColor,
+ ),
+ ).toBe(SHARED_WIDGET_BORDER)
+})
+
+test('shared widget CSS is applied on direct navigation to lazy route', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/lazy-css-lazy'))
+ await expect(page.getByTestId('lazy-css-lazy-heading')).toBeVisible()
+
+ const widget = page.getByTestId('shared-widget')
+ await expect(widget).toBeVisible()
+
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+ expect(
+ await widget.evaluate(
+ (element) => getComputedStyle(element).borderTopColor,
+ ),
+ ).toBe(SHARED_WIDGET_BORDER)
+})
+
+test('shared widget CSS persists after navigating away from lazy and back', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/lazy-css-static'))
+ await expect(page.getByTestId('lazy-css-static-hydrated')).toBeVisible()
+
+ await page.getByTestId('nav-/lazy-css-lazy').click()
+ await page.waitForURL('**/lazy-css-lazy')
+ await expect(page.getByTestId('shared-widget')).toBeVisible()
+
+ await page.getByTestId('nav-home').click()
+ await page.waitForURL(/\/([^/]*)(\/)?($|\?)/)
+
+ await page.getByTestId('nav-/lazy-css-lazy').click()
+ await page.waitForURL('**/lazy-css-lazy')
+
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+})
diff --git a/e2e/solid-start/start-manifest/tsconfig.json b/e2e/solid-start/start-manifest/tsconfig.json
new file mode 100644
index 0000000000..76cf3401fa
--- /dev/null
+++ b/e2e/solid-start/start-manifest/tsconfig.json
@@ -0,0 +1,23 @@
+{
+ "include": ["**/*.ts", "**/*.tsx"],
+ "compilerOptions": {
+ "strict": true,
+ "esModuleInterop": true,
+ "jsx": "preserve",
+ "jsxImportSource": "solid-js",
+ "module": "ESNext",
+ "moduleResolution": "Bundler",
+ "lib": ["DOM", "DOM.Iterable", "ES2022"],
+ "isolatedModules": true,
+ "resolveJsonModule": true,
+ "skipLibCheck": true,
+ "target": "ES2024",
+ "allowJs": true,
+ "forceConsistentCasingInFileNames": true,
+ "paths": {
+ "~/*": ["./src/*"]
+ },
+ "noEmit": true,
+ "types": ["vite/client"]
+ }
+}
diff --git a/e2e/solid-start/start-manifest/vite.config.ts b/e2e/solid-start/start-manifest/vite.config.ts
new file mode 100644
index 0000000000..896fa284f1
--- /dev/null
+++ b/e2e/solid-start/start-manifest/vite.config.ts
@@ -0,0 +1,13 @@
+import { tanstackStart } from '@tanstack/solid-start/plugin/vite'
+import { defineConfig } from 'vite'
+import viteSolid from 'vite-plugin-solid'
+
+export default defineConfig({
+ server: {
+ port: 3000,
+ },
+ resolve: {
+ tsconfigPaths: true,
+ },
+ plugins: [tanstackStart({ srcDirectory: 'src' }), viteSolid({ ssr: true })],
+})
diff --git a/e2e/vue-start/start-manifest/package.json b/e2e/vue-start/start-manifest/package.json
new file mode 100644
index 0000000000..ffe9b414c9
--- /dev/null
+++ b/e2e/vue-start/start-manifest/package.json
@@ -0,0 +1,33 @@
+{
+ "name": "tanstack-vue-start-e2e-start-manifest",
+ "private": true,
+ "sideEffects": false,
+ "type": "module",
+ "scripts": {
+ "build": "vite build && tsc --noEmit",
+ "preview": "vite preview",
+ "start": "pnpx srvx --prod -s ../client dist/server/server.js",
+ "test:e2e": "playwright test --project=chromium"
+ },
+ "dependencies": {
+ "@tanstack/vue-router": "workspace:^",
+ "@tanstack/vue-start": "workspace:^",
+ "vue": "^3.5.16"
+ },
+ "devDependencies": {
+ "@playwright/test": "^1.50.1",
+ "@tanstack/router-e2e-utils": "workspace:^",
+ "@types/node": "^22.10.2",
+ "@vitejs/plugin-vue-jsx": "^5.1.5",
+ "srvx": "^0.11.9",
+ "typescript": "^6.0.2",
+ "vite": "^8.0.0"
+ },
+ "nx": {
+ "targets": {
+ "test:e2e": {
+ "parallelism": false
+ }
+ }
+ }
+}
diff --git a/e2e/vue-start/start-manifest/playwright.config.ts b/e2e/vue-start/start-manifest/playwright.config.ts
new file mode 100644
index 0000000000..b9f835c16a
--- /dev/null
+++ b/e2e/vue-start/start-manifest/playwright.config.ts
@@ -0,0 +1,30 @@
+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 && PORT=${PORT} pnpm start`,
+ url: baseURL,
+ reuseExistingServer: !process.env.CI,
+ stdout: 'pipe',
+ },
+
+ projects: [
+ {
+ name: 'chromium',
+ use: { ...devices['Desktop Chrome'] },
+ },
+ ],
+})
diff --git a/e2e/vue-start/start-manifest/src/components/AppShell.tsx b/e2e/vue-start/start-manifest/src/components/AppShell.tsx
new file mode 100644
index 0000000000..0d57b2d0e3
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/components/AppShell.tsx
@@ -0,0 +1,38 @@
+///
+import { ClientOnly, Link, Outlet, linkOptions } from '@tanstack/vue-router'
+import styles from '~/styles/root-shell.module.css'
+
+const ROUTES = linkOptions([
+ { to: '/', label: 'home' },
+ { to: '/a', label: '/a' },
+ { to: '/b', label: '/b' },
+ { to: '/lazy-css-static', label: '/lazy-css-static' },
+ { to: '/lazy-css-lazy', label: '/lazy-css-lazy' },
+ { to: '/r1', label: '/r1' },
+ { to: '/r2', label: '/r2' },
+ { to: '/shared-a', label: '/shared-a' },
+])
+
+export function AppShell() {
+ return (
+
+
+ {ROUTES.map((route) => (
+
+ {route.label}
+
+ ))}
+
+
+
+
+ Start manifest CSS root shell
+
+
+ hydrated
+
+
+
+
+ )
+}
diff --git a/e2e/vue-start/start-manifest/src/components/SharedCard.tsx b/e2e/vue-start/start-manifest/src/components/SharedCard.tsx
new file mode 100644
index 0000000000..c82b2b0ea5
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/components/SharedCard.tsx
@@ -0,0 +1,10 @@
+///
+import styles from '~/styles/shared-card.module.css'
+
+export function SharedCard({ label }: { label: string }) {
+ return (
+
+ Shared card {label}
+
+ )
+}
diff --git a/e2e/vue-start/start-manifest/src/components/SharedNestedLayout.tsx b/e2e/vue-start/start-manifest/src/components/SharedNestedLayout.tsx
new file mode 100644
index 0000000000..9c1f63f2f9
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/components/SharedNestedLayout.tsx
@@ -0,0 +1,34 @@
+///
+import { Link, linkOptions } from '@tanstack/vue-router'
+import { defineComponent } from 'vue'
+import styles from '~/styles/shared-layout.module.css'
+
+const ROUTES = linkOptions([
+ { to: '/shared-a', label: '/shared-a' },
+ { to: '/shared-b', label: '/shared-b' },
+ { to: '/shared-c', label: '/shared-c' },
+])
+
+export const SharedNestedLayout = defineComponent({
+ setup(_, { slots }) {
+ return () => (
+
+
+ Shared nested layout CSS
+
+
+
+ {ROUTES.map((route) => (
+
+ {route.label}
+
+ ))}
+
+
+
+ {slots.default?.()}
+
+
+ )
+ },
+})
diff --git a/e2e/vue-start/start-manifest/src/components/SharedWidget.tsx b/e2e/vue-start/start-manifest/src/components/SharedWidget.tsx
new file mode 100644
index 0000000000..9074d5b2b0
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/components/SharedWidget.tsx
@@ -0,0 +1,15 @@
+///
+import styles from '~/styles/shared-widget.module.css'
+
+export function SharedWidget() {
+ return (
+
+ )
+}
diff --git a/e2e/vue-start/start-manifest/src/components/SharedWidgetLazy.tsx b/e2e/vue-start/start-manifest/src/components/SharedWidgetLazy.tsx
new file mode 100644
index 0000000000..5f1f6410a5
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/components/SharedWidgetLazy.tsx
@@ -0,0 +1,5 @@
+import { SharedWidget } from './SharedWidget'
+
+export default function SharedWidgetLazy() {
+ return
+}
diff --git a/e2e/vue-start/start-manifest/src/routeTree.gen.ts b/e2e/vue-start/start-manifest/src/routeTree.gen.ts
new file mode 100644
index 0000000000..357d3be62b
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routeTree.gen.ts
@@ -0,0 +1,345 @@
+/* eslint-disable */
+
+// @ts-nocheck
+
+// noinspection JSUnusedGlobalSymbols
+
+// This file was automatically generated by TanStack Router.
+// You should NOT make any changes in this file as it will be overwritten.
+// 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 SharedCRouteImport } from './routes/shared-c'
+import { Route as SharedBRouteImport } from './routes/shared-b'
+import { Route as SharedARouteImport } from './routes/shared-a'
+import { Route as R6RouteImport } from './routes/r6'
+import { Route as R5RouteImport } from './routes/r5'
+import { Route as R4RouteImport } from './routes/r4'
+import { Route as R3RouteImport } from './routes/r3'
+import { Route as R2RouteImport } from './routes/r2'
+import { Route as R1RouteImport } from './routes/r1'
+import { Route as LazyCssStaticRouteImport } from './routes/lazy-css-static'
+import { Route as LazyCssLazyRouteImport } from './routes/lazy-css-lazy'
+import { Route as BRouteImport } from './routes/b'
+import { Route as ARouteImport } from './routes/a'
+import { Route as IndexRouteImport } from './routes/index'
+
+const SharedCRoute = SharedCRouteImport.update({
+ id: '/shared-c',
+ path: '/shared-c',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const SharedBRoute = SharedBRouteImport.update({
+ id: '/shared-b',
+ path: '/shared-b',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const SharedARoute = SharedARouteImport.update({
+ id: '/shared-a',
+ path: '/shared-a',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const R6Route = R6RouteImport.update({
+ id: '/r6',
+ path: '/r6',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const R5Route = R5RouteImport.update({
+ id: '/r5',
+ path: '/r5',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const R4Route = R4RouteImport.update({
+ id: '/r4',
+ path: '/r4',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const R3Route = R3RouteImport.update({
+ id: '/r3',
+ path: '/r3',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const R2Route = R2RouteImport.update({
+ id: '/r2',
+ path: '/r2',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const R1Route = R1RouteImport.update({
+ id: '/r1',
+ path: '/r1',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const LazyCssStaticRoute = LazyCssStaticRouteImport.update({
+ id: '/lazy-css-static',
+ path: '/lazy-css-static',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const LazyCssLazyRoute = LazyCssLazyRouteImport.update({
+ id: '/lazy-css-lazy',
+ path: '/lazy-css-lazy',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const BRoute = BRouteImport.update({
+ id: '/b',
+ path: '/b',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const ARoute = ARouteImport.update({
+ id: '/a',
+ path: '/a',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const IndexRoute = IndexRouteImport.update({
+ id: '/',
+ path: '/',
+ getParentRoute: () => rootRouteImport,
+} as any)
+
+export interface FileRoutesByFullPath {
+ '/': typeof IndexRoute
+ '/a': typeof ARoute
+ '/b': typeof BRoute
+ '/lazy-css-lazy': typeof LazyCssLazyRoute
+ '/lazy-css-static': typeof LazyCssStaticRoute
+ '/r1': typeof R1Route
+ '/r2': typeof R2Route
+ '/r3': typeof R3Route
+ '/r4': typeof R4Route
+ '/r5': typeof R5Route
+ '/r6': typeof R6Route
+ '/shared-a': typeof SharedARoute
+ '/shared-b': typeof SharedBRoute
+ '/shared-c': typeof SharedCRoute
+}
+export interface FileRoutesByTo {
+ '/': typeof IndexRoute
+ '/a': typeof ARoute
+ '/b': typeof BRoute
+ '/lazy-css-lazy': typeof LazyCssLazyRoute
+ '/lazy-css-static': typeof LazyCssStaticRoute
+ '/r1': typeof R1Route
+ '/r2': typeof R2Route
+ '/r3': typeof R3Route
+ '/r4': typeof R4Route
+ '/r5': typeof R5Route
+ '/r6': typeof R6Route
+ '/shared-a': typeof SharedARoute
+ '/shared-b': typeof SharedBRoute
+ '/shared-c': typeof SharedCRoute
+}
+export interface FileRoutesById {
+ __root__: typeof rootRouteImport
+ '/': typeof IndexRoute
+ '/a': typeof ARoute
+ '/b': typeof BRoute
+ '/lazy-css-lazy': typeof LazyCssLazyRoute
+ '/lazy-css-static': typeof LazyCssStaticRoute
+ '/r1': typeof R1Route
+ '/r2': typeof R2Route
+ '/r3': typeof R3Route
+ '/r4': typeof R4Route
+ '/r5': typeof R5Route
+ '/r6': typeof R6Route
+ '/shared-a': typeof SharedARoute
+ '/shared-b': typeof SharedBRoute
+ '/shared-c': typeof SharedCRoute
+}
+export interface FileRouteTypes {
+ fileRoutesByFullPath: FileRoutesByFullPath
+ fullPaths:
+ | '/'
+ | '/a'
+ | '/b'
+ | '/lazy-css-lazy'
+ | '/lazy-css-static'
+ | '/r1'
+ | '/r2'
+ | '/r3'
+ | '/r4'
+ | '/r5'
+ | '/r6'
+ | '/shared-a'
+ | '/shared-b'
+ | '/shared-c'
+ fileRoutesByTo: FileRoutesByTo
+ to:
+ | '/'
+ | '/a'
+ | '/b'
+ | '/lazy-css-lazy'
+ | '/lazy-css-static'
+ | '/r1'
+ | '/r2'
+ | '/r3'
+ | '/r4'
+ | '/r5'
+ | '/r6'
+ | '/shared-a'
+ | '/shared-b'
+ | '/shared-c'
+ id:
+ | '__root__'
+ | '/'
+ | '/a'
+ | '/b'
+ | '/lazy-css-lazy'
+ | '/lazy-css-static'
+ | '/r1'
+ | '/r2'
+ | '/r3'
+ | '/r4'
+ | '/r5'
+ | '/r6'
+ | '/shared-a'
+ | '/shared-b'
+ | '/shared-c'
+ fileRoutesById: FileRoutesById
+}
+export interface RootRouteChildren {
+ IndexRoute: typeof IndexRoute
+ ARoute: typeof ARoute
+ BRoute: typeof BRoute
+ LazyCssLazyRoute: typeof LazyCssLazyRoute
+ LazyCssStaticRoute: typeof LazyCssStaticRoute
+ R1Route: typeof R1Route
+ R2Route: typeof R2Route
+ R3Route: typeof R3Route
+ R4Route: typeof R4Route
+ R5Route: typeof R5Route
+ R6Route: typeof R6Route
+ SharedARoute: typeof SharedARoute
+ SharedBRoute: typeof SharedBRoute
+ SharedCRoute: typeof SharedCRoute
+}
+
+declare module '@tanstack/vue-router' {
+ interface FileRoutesByPath {
+ '/shared-c': {
+ id: '/shared-c'
+ path: '/shared-c'
+ fullPath: '/shared-c'
+ preLoaderRoute: typeof SharedCRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/shared-b': {
+ id: '/shared-b'
+ path: '/shared-b'
+ fullPath: '/shared-b'
+ preLoaderRoute: typeof SharedBRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/shared-a': {
+ id: '/shared-a'
+ path: '/shared-a'
+ fullPath: '/shared-a'
+ preLoaderRoute: typeof SharedARouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/r6': {
+ id: '/r6'
+ path: '/r6'
+ fullPath: '/r6'
+ preLoaderRoute: typeof R6RouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/r5': {
+ id: '/r5'
+ path: '/r5'
+ fullPath: '/r5'
+ preLoaderRoute: typeof R5RouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/r4': {
+ id: '/r4'
+ path: '/r4'
+ fullPath: '/r4'
+ preLoaderRoute: typeof R4RouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/r3': {
+ id: '/r3'
+ path: '/r3'
+ fullPath: '/r3'
+ preLoaderRoute: typeof R3RouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/r2': {
+ id: '/r2'
+ path: '/r2'
+ fullPath: '/r2'
+ preLoaderRoute: typeof R2RouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/r1': {
+ id: '/r1'
+ path: '/r1'
+ fullPath: '/r1'
+ preLoaderRoute: typeof R1RouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/lazy-css-static': {
+ id: '/lazy-css-static'
+ path: '/lazy-css-static'
+ fullPath: '/lazy-css-static'
+ preLoaderRoute: typeof LazyCssStaticRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/lazy-css-lazy': {
+ id: '/lazy-css-lazy'
+ path: '/lazy-css-lazy'
+ fullPath: '/lazy-css-lazy'
+ preLoaderRoute: typeof LazyCssLazyRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/b': {
+ id: '/b'
+ path: '/b'
+ fullPath: '/b'
+ preLoaderRoute: typeof BRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/a': {
+ id: '/a'
+ path: '/a'
+ fullPath: '/a'
+ preLoaderRoute: typeof ARouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/': {
+ id: '/'
+ path: '/'
+ fullPath: '/'
+ preLoaderRoute: typeof IndexRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ }
+}
+
+const rootRouteChildren: RootRouteChildren = {
+ IndexRoute: IndexRoute,
+ ARoute: ARoute,
+ BRoute: BRoute,
+ LazyCssLazyRoute: LazyCssLazyRoute,
+ LazyCssStaticRoute: LazyCssStaticRoute,
+ R1Route: R1Route,
+ R2Route: R2Route,
+ R3Route: R3Route,
+ R4Route: R4Route,
+ R5Route: R5Route,
+ R6Route: R6Route,
+ SharedARoute: SharedARoute,
+ SharedBRoute: SharedBRoute,
+ SharedCRoute: SharedCRoute,
+}
+export const routeTree = rootRouteImport
+ ._addFileChildren(rootRouteChildren)
+ ._addFileTypes()
+
+import type { getRouter } from './router.tsx'
+import type { createStart } from '@tanstack/vue-start'
+declare module '@tanstack/vue-start' {
+ interface Register {
+ ssr: true
+ router: Awaited>
+ }
+}
diff --git a/e2e/vue-start/start-manifest/src/router.tsx b/e2e/vue-start/start-manifest/src/router.tsx
new file mode 100644
index 0000000000..d7cd8e8284
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/router.tsx
@@ -0,0 +1,18 @@
+import { createRouter } from '@tanstack/vue-router'
+import { routeTree } from './routeTree.gen'
+
+export const getRouter = () => {
+ const router = createRouter({
+ routeTree,
+ scrollRestoration: true,
+ defaultPreload: 'intent',
+ })
+
+ return router
+}
+
+declare module '@tanstack/vue-router' {
+ interface Register {
+ router: ReturnType
+ }
+}
diff --git a/e2e/vue-start/start-manifest/src/routes/__root.tsx b/e2e/vue-start/start-manifest/src/routes/__root.tsx
new file mode 100644
index 0000000000..b62d37c0f0
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/__root.tsx
@@ -0,0 +1,35 @@
+///
+import {
+ Body,
+ HeadContent,
+ Html,
+ Scripts,
+ createRootRoute,
+} from '@tanstack/vue-router'
+import { AppShell } from '~/components/AppShell'
+
+export const Route = createRootRoute({
+ head: () => ({
+ meta: [
+ { charSet: 'utf-8' },
+ { name: 'viewport', content: 'width=device-width, initial-scale=1' },
+ { title: 'TanStack Start Manifest Bloat E2E' },
+ ],
+ }),
+ component: AppShell,
+ shellComponent: RootDocument,
+})
+
+function RootDocument(_: unknown, { slots }: { slots: any }) {
+ return (
+
+
+
+
+
+ {slots.default?.()}
+
+
+
+ )
+}
diff --git a/e2e/vue-start/start-manifest/src/routes/a.tsx b/e2e/vue-start/start-manifest/src/routes/a.tsx
new file mode 100644
index 0000000000..e53399273d
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/a.tsx
@@ -0,0 +1,18 @@
+///
+import { createFileRoute } from '@tanstack/vue-router'
+import { SharedCard } from '~/components/SharedCard'
+import styles from '~/styles/page-a.module.css'
+
+export const Route = createFileRoute('/a')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Route /a
+ Route /a keeps the shared card styled.
+
+
+ )
+}
diff --git a/e2e/vue-start/start-manifest/src/routes/b.tsx b/e2e/vue-start/start-manifest/src/routes/b.tsx
new file mode 100644
index 0000000000..cb989a257f
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/b.tsx
@@ -0,0 +1,18 @@
+///
+import { createFileRoute } from '@tanstack/vue-router'
+import { SharedCard } from '~/components/SharedCard'
+import styles from '~/styles/page-b.module.css'
+
+export const Route = createFileRoute('/b')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Route /b
+ Route /b should keep the shared card stylesheet after nav.
+
+
+ )
+}
diff --git a/e2e/vue-start/start-manifest/src/routes/index.tsx b/e2e/vue-start/start-manifest/src/routes/index.tsx
new file mode 100644
index 0000000000..728cc55e88
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/index.tsx
@@ -0,0 +1,16 @@
+import { createFileRoute } from '@tanstack/vue-router'
+
+export const Route = createFileRoute('/')({
+ component: HomeRoute,
+})
+
+function HomeRoute() {
+ return (
+
+ Start manifest fixture
+
+ Use this page to navigate between CSS module routes.
+
+
+ )
+}
diff --git a/e2e/vue-start/start-manifest/src/routes/lazy-css-lazy.tsx b/e2e/vue-start/start-manifest/src/routes/lazy-css-lazy.tsx
new file mode 100644
index 0000000000..0db0845425
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/lazy-css-lazy.tsx
@@ -0,0 +1,31 @@
+import { createFileRoute } from '@tanstack/vue-router'
+import { Suspense, defineAsyncComponent } from 'vue'
+
+const LazySharedWidget = defineAsyncComponent(
+ () => import('~/components/SharedWidgetLazy'),
+)
+
+export const Route = createFileRoute('/lazy-css-lazy')({
+ component: LazyCssLazyRoute,
+})
+
+function LazyCssLazyRoute() {
+ return (
+
+ Lazy CSS Repro - Lazy Route
+
+ This route renders the same widget through a lazy component so the CSS
+ only exists behind a dynamic import boundary.
+
+
+
+ {{
+ default: () => ,
+ fallback: () => (
+ Loading...
+ ),
+ }}
+
+
+ )
+}
diff --git a/e2e/vue-start/start-manifest/src/routes/lazy-css-static.tsx b/e2e/vue-start/start-manifest/src/routes/lazy-css-static.tsx
new file mode 100644
index 0000000000..2a8352e67e
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/lazy-css-static.tsx
@@ -0,0 +1,24 @@
+import { ClientOnly, createFileRoute } from '@tanstack/vue-router'
+import { SharedWidget } from '~/components/SharedWidget'
+
+export const Route = createFileRoute('/lazy-css-static')({
+ component: LazyCssStaticRoute,
+})
+
+function LazyCssStaticRoute() {
+ return (
+
+ Lazy CSS Repro - Static Route
+
+ This route statically imports the shared widget so its CSS is present in
+ the SSR head.
+
+
+
+ hydrated
+
+
+
+
+ )
+}
diff --git a/e2e/vue-start/start-manifest/src/routes/r1.tsx b/e2e/vue-start/start-manifest/src/routes/r1.tsx
new file mode 100644
index 0000000000..b35bec54e3
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/r1.tsx
@@ -0,0 +1,18 @@
+///
+import { createFileRoute } from '@tanstack/vue-router'
+import styles from '~/styles/route-one.module.css'
+
+export const Route = createFileRoute('/r1')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Route /r1
+
+ Route /r1 CSS module styling
+
+
+ )
+}
diff --git a/e2e/vue-start/start-manifest/src/routes/r2.tsx b/e2e/vue-start/start-manifest/src/routes/r2.tsx
new file mode 100644
index 0000000000..eadd952f98
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/r2.tsx
@@ -0,0 +1,18 @@
+///
+import { createFileRoute } from '@tanstack/vue-router'
+import styles from '~/styles/route-two.module.css'
+
+export const Route = createFileRoute('/r2')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Route /r2
+
+ Route /r2 CSS module styling
+
+
+ )
+}
diff --git a/e2e/vue-start/start-manifest/src/routes/r3.tsx b/e2e/vue-start/start-manifest/src/routes/r3.tsx
new file mode 100644
index 0000000000..a5a486cfaa
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/r3.tsx
@@ -0,0 +1,5 @@
+import { createFileRoute } from '@tanstack/vue-router'
+
+export const Route = createFileRoute('/r3')({
+ component: () => Route /r3
,
+})
diff --git a/e2e/vue-start/start-manifest/src/routes/r4.tsx b/e2e/vue-start/start-manifest/src/routes/r4.tsx
new file mode 100644
index 0000000000..9739966d02
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/r4.tsx
@@ -0,0 +1,5 @@
+import { createFileRoute } from '@tanstack/vue-router'
+
+export const Route = createFileRoute('/r4')({
+ component: () => Route /r4
,
+})
diff --git a/e2e/vue-start/start-manifest/src/routes/r5.tsx b/e2e/vue-start/start-manifest/src/routes/r5.tsx
new file mode 100644
index 0000000000..7c081e29a6
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/r5.tsx
@@ -0,0 +1,5 @@
+import { createFileRoute } from '@tanstack/vue-router'
+
+export const Route = createFileRoute('/r5')({
+ component: () => Route /r5
,
+})
diff --git a/e2e/vue-start/start-manifest/src/routes/r6.tsx b/e2e/vue-start/start-manifest/src/routes/r6.tsx
new file mode 100644
index 0000000000..c56c2afda3
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/r6.tsx
@@ -0,0 +1,5 @@
+import { createFileRoute } from '@tanstack/vue-router'
+
+export const Route = createFileRoute('/r6')({
+ component: () => Route /r6
,
+})
diff --git a/e2e/vue-start/start-manifest/src/routes/shared-a.tsx b/e2e/vue-start/start-manifest/src/routes/shared-a.tsx
new file mode 100644
index 0000000000..e7253a94ac
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/shared-a.tsx
@@ -0,0 +1,14 @@
+import { createFileRoute } from '@tanstack/vue-router'
+import { SharedNestedLayout } from '~/components/SharedNestedLayout'
+
+export const Route = createFileRoute('/shared-a')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Shared route A
+
+ )
+}
diff --git a/e2e/vue-start/start-manifest/src/routes/shared-b.tsx b/e2e/vue-start/start-manifest/src/routes/shared-b.tsx
new file mode 100644
index 0000000000..ed02b3429b
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/shared-b.tsx
@@ -0,0 +1,14 @@
+import { createFileRoute } from '@tanstack/vue-router'
+import { SharedNestedLayout } from '~/components/SharedNestedLayout'
+
+export const Route = createFileRoute('/shared-b')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Shared route B
+
+ )
+}
diff --git a/e2e/vue-start/start-manifest/src/routes/shared-c.tsx b/e2e/vue-start/start-manifest/src/routes/shared-c.tsx
new file mode 100644
index 0000000000..e395b33ed5
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/routes/shared-c.tsx
@@ -0,0 +1,14 @@
+import { createFileRoute } from '@tanstack/vue-router'
+import { SharedNestedLayout } from '~/components/SharedNestedLayout'
+
+export const Route = createFileRoute('/shared-c')({
+ component: RouteComponent,
+})
+
+function RouteComponent() {
+ return (
+
+ Shared route C
+
+ )
+}
diff --git a/e2e/vue-start/start-manifest/src/styles/page-a.module.css b/e2e/vue-start/start-manifest/src/styles/page-a.module.css
new file mode 100644
index 0000000000..7ed4301097
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/styles/page-a.module.css
@@ -0,0 +1,10 @@
+.page {
+ padding: 1rem;
+ min-height: 12rem;
+ background: rgb(240, 253, 244);
+ border: 4px solid rgb(22, 163, 74);
+}
+
+.title {
+ color: rgb(21, 128, 61);
+}
diff --git a/e2e/vue-start/start-manifest/src/styles/page-b.module.css b/e2e/vue-start/start-manifest/src/styles/page-b.module.css
new file mode 100644
index 0000000000..93d1d39a01
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/styles/page-b.module.css
@@ -0,0 +1,10 @@
+.page {
+ padding: 1rem;
+ min-height: 12rem;
+ background: rgb(239, 246, 255);
+ border: 4px solid rgb(37, 99, 235);
+}
+
+.title {
+ color: rgb(29, 78, 216);
+}
diff --git a/e2e/vue-start/start-manifest/src/styles/root-shell.module.css b/e2e/vue-start/start-manifest/src/styles/root-shell.module.css
new file mode 100644
index 0000000000..e7bece8664
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/styles/root-shell.module.css
@@ -0,0 +1,37 @@
+.shell {
+ font-family:
+ -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
+ min-height: 100vh;
+ background: rgb(248, 250, 252);
+ color: rgb(15, 23, 42);
+}
+
+.nav {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.75rem;
+ padding: 1rem;
+ border-bottom: 1px solid rgb(226, 232, 240);
+ background: white;
+}
+
+.nav a {
+ color: rgb(37, 99, 235);
+ text-decoration: none;
+}
+
+.content {
+ max-width: 760px;
+ margin: 0 auto;
+ padding: 1.5rem 1rem 3rem;
+}
+
+.rootBadge {
+ display: inline-block;
+ margin-bottom: 1rem;
+ padding: 0.375rem 0.75rem;
+ border-radius: 9999px;
+ background: rgb(220, 252, 231);
+ color: rgb(22, 101, 52);
+ font-weight: 700;
+}
diff --git a/e2e/vue-start/start-manifest/src/styles/route-one.module.css b/e2e/vue-start/start-manifest/src/styles/route-one.module.css
new file mode 100644
index 0000000000..623d03e6a3
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/styles/route-one.module.css
@@ -0,0 +1,7 @@
+.card {
+ padding: 1rem;
+ border-radius: 0.75rem;
+ background: rgb(239, 246, 255);
+ color: rgb(30, 64, 175);
+ border: 2px solid rgb(96, 165, 250);
+}
diff --git a/e2e/vue-start/start-manifest/src/styles/route-two.module.css b/e2e/vue-start/start-manifest/src/styles/route-two.module.css
new file mode 100644
index 0000000000..66ed355711
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/styles/route-two.module.css
@@ -0,0 +1,7 @@
+.card {
+ padding: 1rem;
+ border-radius: 0.75rem;
+ background: rgb(250, 245, 255);
+ color: rgb(126, 34, 206);
+ border: 2px solid rgb(192, 132, 252);
+}
diff --git a/e2e/vue-start/start-manifest/src/styles/shared-card.module.css b/e2e/vue-start/start-manifest/src/styles/shared-card.module.css
new file mode 100644
index 0000000000..2aa5a6ac17
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/styles/shared-card.module.css
@@ -0,0 +1,8 @@
+.card {
+ margin-top: 1rem;
+ padding: 1.5rem;
+ border-radius: 0.75rem;
+ background: rgb(252, 231, 243);
+ border: 2px solid rgb(190, 24, 93);
+ color: rgb(157, 23, 77);
+}
diff --git a/e2e/vue-start/start-manifest/src/styles/shared-layout.module.css b/e2e/vue-start/start-manifest/src/styles/shared-layout.module.css
new file mode 100644
index 0000000000..6025a1da06
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/styles/shared-layout.module.css
@@ -0,0 +1,16 @@
+.layout {
+ padding: 1rem;
+ border-radius: 0.75rem;
+ background: rgb(255, 251, 235);
+ border: 2px solid rgb(245, 158, 11);
+}
+
+.heading {
+ color: rgb(180, 83, 9);
+ font-weight: 700;
+ margin-bottom: 0.5rem;
+}
+
+.body {
+ color: rgb(146, 64, 14);
+}
diff --git a/e2e/vue-start/start-manifest/src/styles/shared-widget.module.css b/e2e/vue-start/start-manifest/src/styles/shared-widget.module.css
new file mode 100644
index 0000000000..ed197cddb0
--- /dev/null
+++ b/e2e/vue-start/start-manifest/src/styles/shared-widget.module.css
@@ -0,0 +1,17 @@
+.widget {
+ margin-top: 1rem;
+ padding: 1rem;
+ border-top: 4px solid rgb(249, 115, 22);
+ border-radius: 0.75rem;
+ background: rgb(255, 247, 237);
+}
+
+.title {
+ font-weight: 700;
+ color: rgb(154, 52, 18);
+}
+
+.content {
+ margin-top: 0.5rem;
+ color: rgb(124, 45, 18);
+}
diff --git a/e2e/vue-start/start-manifest/tests/start-manifest.spec.ts b/e2e/vue-start/start-manifest/tests/start-manifest.spec.ts
new file mode 100644
index 0000000000..6d13e25764
--- /dev/null
+++ b/e2e/vue-start/start-manifest/tests/start-manifest.spec.ts
@@ -0,0 +1,457 @@
+import { expect } from '@playwright/test'
+import { test } from '@tanstack/router-e2e-utils'
+import type { Page } from '@playwright/test'
+import { readdir } from 'node:fs/promises'
+import path from 'node:path'
+import { pathToFileURL } from 'node:url'
+
+const ROOT_SHELL_COLOR = 'rgb(22, 101, 52)'
+const ROUTE_ONE_COLOR = 'rgb(30, 64, 175)'
+const ROUTE_TWO_COLOR = 'rgb(126, 34, 206)'
+const SHARED_CARD_BG = 'rgb(252, 231, 243)'
+const SHARED_WIDGET_BG = 'rgb(255, 247, 237)'
+const SHARED_WIDGET_BORDER = 'rgb(249, 115, 22)'
+
+const buildUrl = (baseURL: string, pathname: string) =>
+ baseURL.replace(/\/$/, '') + pathname
+
+async function getColor(testId: string, page: Page) {
+ return page
+ .getByTestId(testId)
+ .evaluate((element) => getComputedStyle(element).color)
+}
+
+async function getBackgroundColor(testId: string, page: Page) {
+ return page
+ .getByTestId(testId)
+ .evaluate((element) => getComputedStyle(element).backgroundColor)
+}
+
+function getStylesheetHrefsFromHtml(html: string) {
+ return Array.from(
+ html.matchAll(/ ]+rel="stylesheet"[^>]+href="([^"]+)"/g),
+ (match) => match[1]!,
+ )
+}
+
+async function getHeadStylesheetHrefs(page: Page) {
+ return page.locator('head link[rel="stylesheet"]').evaluateAll((links) => {
+ return links.map(
+ (link) => (link as HTMLLinkElement).getAttribute('href') || '',
+ )
+ })
+}
+
+function hasMatchingStylesheetHref(hrefs: Array, pattern: string) {
+ return hrefs.some((href) => href.includes(pattern))
+}
+
+function countMatchingStylesheetHrefs(hrefs: Array, pattern: string) {
+ return hrefs.filter((href) => href.includes(pattern)).length
+}
+
+async function loadBuiltStartManifest() {
+ const serverDir = path.resolve(import.meta.dirname, '../dist/server/assets')
+ const entries = await readdir(serverDir)
+ const manifestFile = entries.find(
+ (entry) =>
+ entry.startsWith('_tanstack-start-manifest_v-') && entry.endsWith('.js'),
+ )
+
+ expect(manifestFile).toBeTruthy()
+
+ const moduleUrl = `${pathToFileURL(path.join(serverDir, manifestFile!)).href}?t=${Date.now()}`
+ const manifestModule = await import(moduleUrl)
+
+ return manifestModule.tsrStartManifest() as {
+ routes: Record }>
+ }
+}
+
+async function expectDirectEntry({
+ page,
+ request,
+ baseURL,
+ pathname,
+ expectedVisibleTestId,
+ expectedAbsentTestId,
+ expectedStylesheetPattern,
+ unexpectedStylesheetPattern,
+ expectedColorTestId,
+ expectedColor,
+}: {
+ page: Page
+ request: {
+ get: (url: string) => Promise<{ ok(): boolean; text(): Promise }>
+ }
+ baseURL: string
+ pathname: string
+ expectedVisibleTestId: string
+ expectedAbsentTestId: string
+ expectedStylesheetPattern: string
+ unexpectedStylesheetPattern: string
+ expectedColorTestId: string
+ expectedColor: string
+}) {
+ const url = buildUrl(baseURL, pathname)
+ const response = await request.get(url)
+ const ssrHtml = await response.text()
+
+ expect(response.ok()).toBe(true)
+ expect(ssrHtml).toContain('root-shell-marker')
+ expect(ssrHtml).toContain(expectedVisibleTestId)
+ expect(ssrHtml).not.toContain(expectedAbsentTestId)
+
+ const stylesheetLinks = getStylesheetHrefsFromHtml(ssrHtml)
+
+ expect(
+ countMatchingStylesheetHrefs(stylesheetLinks, expectedStylesheetPattern),
+ ).toBe(1)
+ expect(
+ countMatchingStylesheetHrefs(stylesheetLinks, unexpectedStylesheetPattern),
+ ).toBe(0)
+ expect(stylesheetLinks).toHaveLength(2)
+
+ await page.goto(url)
+ await expect(page.getByTestId(expectedVisibleTestId)).toBeVisible()
+ await expect(page.getByTestId('hydration-marker')).toBeVisible()
+
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return hasMatchingStylesheetHref(hrefs, expectedStylesheetPattern)
+ })
+ .toBe(true)
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return countMatchingStylesheetHrefs(hrefs, unexpectedStylesheetPattern)
+ })
+ .toBe(0)
+
+ await expect
+ .poll(() => getColor('root-shell-marker', page))
+ .toBe(ROOT_SHELL_COLOR)
+ await expect
+ .poll(() => getColor(expectedColorTestId, page))
+ .toBe(expectedColor)
+}
+
+test('SSR and client navigation keep CSS module styles correct without hydration errors', async ({
+ page,
+ baseURL,
+ request,
+}) => {
+ const routeOneUrl = buildUrl(baseURL!, '/r1')
+ const response = await request.get(routeOneUrl)
+ const ssrHtml = await response.text()
+
+ expect(response.ok()).toBe(true)
+ expect(ssrHtml).toContain('root-shell-marker')
+ expect(ssrHtml).toContain('route-r1-card')
+ expect(ssrHtml).not.toContain('route-r2-card')
+
+ const stylesheetLinks = getStylesheetHrefsFromHtml(ssrHtml)
+
+ expect(countMatchingStylesheetHrefs(stylesheetLinks, 'r1-')).toBe(1)
+ expect(countMatchingStylesheetHrefs(stylesheetLinks, 'r2-')).toBe(0)
+ expect(stylesheetLinks).toHaveLength(2)
+
+ await page.goto(routeOneUrl)
+
+ await expect(page.getByTestId('route-r1-card')).toBeVisible()
+ await expect(page.getByTestId('hydration-marker')).toBeVisible()
+
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return hasMatchingStylesheetHref(hrefs, 'r1-')
+ })
+ .toBe(true)
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return countMatchingStylesheetHrefs(hrefs, 'r2-')
+ })
+ .toBe(0)
+
+ await expect
+ .poll(() => getColor('root-shell-marker', page))
+ .toBe(ROOT_SHELL_COLOR)
+ await expect.poll(() => getColor('route-r1-card', page)).toBe(ROUTE_ONE_COLOR)
+
+ await page.getByTestId('nav-/r2').click()
+ await page.waitForURL('**/r2')
+ await expect(page.getByTestId('route-r2-card')).toBeVisible()
+
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return hasMatchingStylesheetHref(hrefs, 'r2-')
+ })
+ .toBe(true)
+
+ await expect
+ .poll(() => getColor('root-shell-marker', page))
+ .toBe(ROOT_SHELL_COLOR)
+ await expect.poll(() => getColor('route-r2-card', page)).toBe(ROUTE_TWO_COLOR)
+
+ await page.getByTestId('nav-/r1').click()
+ await page.waitForURL('**/r1')
+ await expect(page.getByTestId('route-r1-card')).toBeVisible()
+
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return hasMatchingStylesheetHref(hrefs, 'r1-')
+ })
+ .toBe(true)
+
+ await expect
+ .poll(() => getColor('root-shell-marker', page))
+ .toBe(ROOT_SHELL_COLOR)
+ await expect.poll(() => getColor('route-r1-card', page)).toBe(ROUTE_ONE_COLOR)
+})
+
+test('direct SSR entry on /r2 only includes its stylesheet and hydrates cleanly', async ({
+ page,
+ baseURL,
+ request,
+}) => {
+ await expectDirectEntry({
+ page,
+ request,
+ baseURL: baseURL!,
+ pathname: '/r2',
+ expectedVisibleTestId: 'route-r2-card',
+ expectedAbsentTestId: 'route-r1-card',
+ expectedStylesheetPattern: 'r2-',
+ unexpectedStylesheetPattern: 'r1-',
+ expectedColorTestId: 'route-r2-card',
+ expectedColor: ROUTE_TWO_COLOR,
+ })
+})
+
+test('direct SSR entries on different route-css pages stay isolated', async ({
+ page,
+ baseURL,
+ request,
+}) => {
+ await expectDirectEntry({
+ page,
+ request,
+ baseURL: baseURL!,
+ pathname: '/r2',
+ expectedVisibleTestId: 'route-r2-card',
+ expectedAbsentTestId: 'route-r1-card',
+ expectedStylesheetPattern: 'r2-',
+ unexpectedStylesheetPattern: 'r1-',
+ expectedColorTestId: 'route-r2-card',
+ expectedColor: ROUTE_TWO_COLOR,
+ })
+
+ await expectDirectEntry({
+ page,
+ request,
+ baseURL: baseURL!,
+ pathname: '/r1',
+ expectedVisibleTestId: 'route-r1-card',
+ expectedAbsentTestId: 'route-r2-card',
+ expectedStylesheetPattern: 'r1-',
+ unexpectedStylesheetPattern: 'r2-',
+ expectedColorTestId: 'route-r1-card',
+ expectedColor: ROUTE_ONE_COLOR,
+ })
+})
+
+test('home route only renders the root stylesheet and no route-specific CSS', async ({
+ page,
+ baseURL,
+ request,
+}) => {
+ const homeUrl = buildUrl(baseURL!, '/')
+ const response = await request.get(homeUrl)
+ const ssrHtml = await response.text()
+
+ expect(response.ok()).toBe(true)
+ expect(ssrHtml).toContain('root-shell-marker')
+ expect(ssrHtml).toContain('home-copy')
+ expect(ssrHtml).not.toContain('route-r1-card')
+ expect(ssrHtml).not.toContain('route-r2-card')
+
+ const stylesheetLinks = getStylesheetHrefsFromHtml(ssrHtml)
+
+ expect(countMatchingStylesheetHrefs(stylesheetLinks, 'r1-')).toBe(0)
+ expect(countMatchingStylesheetHrefs(stylesheetLinks, 'r2-')).toBe(0)
+ expect(stylesheetLinks).toHaveLength(1)
+
+ await page.goto(homeUrl)
+ await expect(page.getByTestId('home-copy')).toBeVisible()
+ await expect(page.getByTestId('hydration-marker')).toBeVisible()
+
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return countMatchingStylesheetHrefs(hrefs, 'r1-')
+ })
+ .toBe(0)
+ await expect
+ .poll(async () => {
+ const hrefs = await getHeadStylesheetHrefs(page)
+ return countMatchingStylesheetHrefs(hrefs, 'r2-')
+ })
+ .toBe(0)
+
+ await expect
+ .poll(() => getColor('root-shell-marker', page))
+ .toBe(ROOT_SHELL_COLOR)
+})
+
+test('built start manifest preserves shared layout asset identity across sibling routes', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/shared-a'))
+ await expect(page.getByTestId('shared-a-card')).toBeVisible()
+
+ const manifest = await loadBuiltStartManifest()
+
+ const sharedAAsset = manifest.routes['/shared-a']?.assets?.[0]
+ const sharedBAsset = manifest.routes['/shared-b']?.assets?.[0]
+ const sharedCAsset = manifest.routes['/shared-c']?.assets?.[0]
+
+ expect(sharedAAsset).toBeTruthy()
+ expect(sharedAAsset).toBe(sharedBAsset)
+ expect(sharedBAsset).toBe(sharedCAsset)
+})
+
+test('shared CSS chunk persists across client-side nav', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/a'))
+
+ await expect(page.getByTestId('page-a')).toBeVisible()
+ await expect(page.getByTestId('shared-card')).toBeVisible()
+ await expect
+ .poll(() => getBackgroundColor('shared-card', page))
+ .toBe(SHARED_CARD_BG)
+ await expect(
+ page.locator('head link[rel="stylesheet"][href*="SharedCard"]'),
+ ).toHaveCount(1)
+
+ await page.getByTestId('nav-/b').click()
+ await page.waitForURL('**/b')
+ await expect(page.getByTestId('page-b')).toBeVisible()
+
+ await expect(
+ page.locator('head link[rel="stylesheet"][href*="SharedCard"]'),
+ ).toHaveCount(1)
+ await expect
+ .poll(() => getBackgroundColor('shared-card', page))
+ .toBe(SHARED_CARD_BG)
+})
+
+test('shared widget CSS stays applied when navigating from static to lazy route', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/lazy-css-static'))
+
+ const widget = page.getByTestId('shared-widget')
+ await expect(widget).toBeVisible()
+ expect(await getBackgroundColor('shared-widget', page)).toBe(SHARED_WIDGET_BG)
+ expect(
+ await widget.evaluate(
+ (element) => getComputedStyle(element).borderTopColor,
+ ),
+ ).toBe(SHARED_WIDGET_BORDER)
+
+ await expect(page.getByTestId('lazy-css-static-hydrated')).toBeVisible()
+
+ await page.getByTestId('nav-/lazy-css-lazy').click()
+ await page.waitForURL('**/lazy-css-lazy')
+ await expect(page.getByTestId('lazy-css-lazy-heading')).toBeVisible()
+
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+})
+
+test('shared widget CSS stays applied when navigating from lazy to static route', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/lazy-css-lazy'))
+ await expect(page.getByTestId('lazy-css-lazy-heading')).toBeVisible()
+
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+
+ await page.getByTestId('nav-/lazy-css-static').click()
+ await page.waitForURL('**/lazy-css-static')
+
+ const widget = page.getByTestId('shared-widget')
+ await expect(widget).toBeVisible()
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+ expect(
+ await widget.evaluate(
+ (element) => getComputedStyle(element).borderTopColor,
+ ),
+ ).toBe(SHARED_WIDGET_BORDER)
+})
+
+test('shared widget CSS is applied on direct navigation to lazy route', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/lazy-css-lazy'))
+ await expect(page.getByTestId('lazy-css-lazy-heading')).toBeVisible()
+
+ const widget = page.getByTestId('shared-widget')
+ await expect(widget).toBeVisible()
+
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+ expect(
+ await widget.evaluate(
+ (element) => getComputedStyle(element).borderTopColor,
+ ),
+ ).toBe(SHARED_WIDGET_BORDER)
+})
+
+test('shared widget CSS persists after navigating away from lazy and back', async ({
+ page,
+ baseURL,
+}) => {
+ await page.goto(buildUrl(baseURL!, '/lazy-css-static'))
+ await expect(page.getByTestId('lazy-css-static-hydrated')).toBeVisible()
+
+ await page.getByTestId('nav-/lazy-css-lazy').click()
+ await page.waitForURL('**/lazy-css-lazy')
+ await expect(page.getByTestId('shared-widget')).toBeVisible()
+
+ await page.getByTestId('nav-home').click()
+ await page.waitForURL(/\/([^/]*)(\/)?($|\?)/)
+
+ await page.getByTestId('nav-/lazy-css-lazy').click()
+ await page.waitForURL('**/lazy-css-lazy')
+
+ await expect
+ .poll(() => getBackgroundColor('shared-widget', page), {
+ timeout: 5_000,
+ })
+ .toBe(SHARED_WIDGET_BG)
+})
diff --git a/e2e/vue-start/start-manifest/tsconfig.json b/e2e/vue-start/start-manifest/tsconfig.json
new file mode 100644
index 0000000000..44a68ebf56
--- /dev/null
+++ b/e2e/vue-start/start-manifest/tsconfig.json
@@ -0,0 +1,23 @@
+{
+ "include": ["**/*.ts", "**/*.tsx"],
+ "compilerOptions": {
+ "strict": true,
+ "esModuleInterop": true,
+ "jsx": "preserve",
+ "jsxImportSource": "vue",
+ "module": "ESNext",
+ "moduleResolution": "Bundler",
+ "lib": ["DOM", "DOM.Iterable", "ES2022"],
+ "isolatedModules": true,
+ "resolveJsonModule": true,
+ "skipLibCheck": true,
+ "target": "ES2024",
+ "allowJs": true,
+ "forceConsistentCasingInFileNames": true,
+ "paths": {
+ "~/*": ["./src/*"]
+ },
+ "noEmit": true,
+ "types": ["vite/client"]
+ }
+}
diff --git a/e2e/vue-start/start-manifest/vite.config.ts b/e2e/vue-start/start-manifest/vite.config.ts
new file mode 100644
index 0000000000..f1102cffab
--- /dev/null
+++ b/e2e/vue-start/start-manifest/vite.config.ts
@@ -0,0 +1,13 @@
+import { defineConfig } from 'vite'
+import { tanstackStart } from '@tanstack/vue-start/plugin/vite'
+import vueJsx from '@vitejs/plugin-vue-jsx'
+
+export default defineConfig({
+ server: {
+ port: 3000,
+ },
+ resolve: {
+ tsconfigPaths: true,
+ },
+ plugins: [tanstackStart({ srcDirectory: 'src' }), vueJsx()],
+})
diff --git a/packages/react-router/src/Asset.tsx b/packages/react-router/src/Asset.tsx
index a1018ac93b..5ad2e01516 100644
--- a/packages/react-router/src/Asset.tsx
+++ b/packages/react-router/src/Asset.tsx
@@ -28,7 +28,17 @@ export function Asset({
case 'meta':
return
case 'link':
- return
+ return (
+
+ )
case 'style':
return (
case 'script':
return
@@ -26,6 +34,29 @@ export function Asset({
}
}
+function InlineCssStyle({
+ attrs,
+ children,
+}: {
+ attrs?: Record
+ children?: RouterManagedTag['children']
+}) {
+ const isInlineCssPlaceholder = children === undefined
+ const html = isInlineCssPlaceholder
+ ? typeof document === 'undefined'
+ ? ''
+ : (document.querySelector(
+ `style[${INLINE_CSS_HYDRATION_ATTR}]`,
+ )?.textContent ?? '')
+ : (children ?? '')
+
+ return (
+
+ )
+}
+
interface ScriptAttrs {
[key: string]: string | boolean | undefined
src?: string
diff --git a/packages/solid-router/src/headContentUtils.tsx b/packages/solid-router/src/headContentUtils.tsx
index 853daa5c3b..7886ba4696 100644
--- a/packages/solid-router/src/headContentUtils.tsx
+++ b/packages/solid-router/src/headContentUtils.tsx
@@ -2,6 +2,7 @@ import * as Solid from 'solid-js'
import {
escapeHtml,
getAssetCrossOrigin,
+ isInlinableStylesheet,
replaceEqualDeep,
resolveManifestAssetLink,
} from '@tanstack/router-core'
@@ -117,20 +118,42 @@ export const useTags = (assetCrossOrigin?: AssetCrossOriginConfig) => {
.map((match) => manifest?.routes[match.routeId]?.assets ?? [])
.filter(Boolean)
.flat(1)
- .filter((asset) => asset.tag === 'link')
- .map(
- (asset) =>
- ({
- tag: 'link',
- attrs: {
- ...asset.attrs,
- crossOrigin:
- getAssetCrossOrigin(assetCrossOrigin, 'stylesheet') ??
- asset.attrs?.crossOrigin,
- nonce,
+ .flatMap((asset): Array => {
+ if (asset.tag === 'link') {
+ if (isInlinableStylesheet(manifest, asset)) {
+ return []
+ }
+
+ return [
+ {
+ tag: 'link',
+ attrs: {
+ ...asset.attrs,
+ crossOrigin:
+ getAssetCrossOrigin(assetCrossOrigin, 'stylesheet') ??
+ asset.attrs?.crossOrigin,
+ nonce,
+ },
},
- }) satisfies RouterManagedTag,
- )
+ ]
+ }
+
+ if (asset.tag === 'style') {
+ return [
+ {
+ tag: 'style',
+ attrs: {
+ ...asset.attrs,
+ nonce,
+ },
+ children: asset.children,
+ ...(asset.inlineCss ? { inlineCss: true as const } : {}),
+ },
+ ]
+ }
+
+ return []
+ })
return [...constructed, ...assets]
})
diff --git a/packages/start-plugin-core/package.json b/packages/start-plugin-core/package.json
index ed9335ec4b..8e70f34986 100644
--- a/packages/start-plugin-core/package.json
+++ b/packages/start-plugin-core/package.json
@@ -98,6 +98,7 @@
"seroval": "^1.5.0",
"cheerio": "^1.0.0",
"exsolve": "^1.0.7",
+ "lightningcss": "^1.32.0",
"pathe": "^2.0.3",
"picomatch": "^4.0.3",
"srvx": "^0.11.9",
diff --git a/packages/start-plugin-core/src/rsbuild/normalized-client-build.ts b/packages/start-plugin-core/src/rsbuild/normalized-client-build.ts
index bc0234095d..b349b68040 100644
--- a/packages/start-plugin-core/src/rsbuild/normalized-client-build.ts
+++ b/packages/start-plugin-core/src/rsbuild/normalized-client-build.ts
@@ -1,4 +1,5 @@
import { tsrSplit } from '@tanstack/router-plugin'
+import { getCssAssetSource } from '../start-manifest-plugin/inlineCss'
import { RSBUILD_ENVIRONMENT_NAMES } from './planning'
import type { RsbuildPluginAPI, Rspack } from '@rsbuild/core'
import type { NormalizedClientBuild, NormalizedClientChunk } from '../types'
@@ -162,6 +163,7 @@ export function normalizeRspackClientBuild(
const chunksByFileName = new Map()
const chunkFileNamesByRouteFilePath = new Map>()
const cssFilesBySourcePath = new Map>()
+ const cssContentByFileName = new Map()
let entryChunkFileName: string | undefined
// Collect all initial JS file names from the main entry for computing
@@ -272,6 +274,17 @@ export function normalizeRspackClientBuild(
throw new Error('No entry file found in rspack client build')
}
+ for (const asset of compilation.getAssets()) {
+ if (!asset.name.endsWith('.css')) {
+ continue
+ }
+
+ const css = getCssAssetSource(asset.source.source())
+ if (css !== undefined) {
+ cssContentByFileName.set(asset.name, css)
+ }
+ }
+
// In RSC mode, CSS from server components is associated with the 'rsc'
// client entry chunk (not the main 'index' entry). The manifest builder
// merges the entry chunk's CSS into __root__, so by appending RSC CSS
@@ -299,6 +312,7 @@ export function normalizeRspackClientBuild(
chunksByFileName,
chunkFileNamesByRouteFilePath,
cssFilesBySourcePath,
+ cssContentByFileName,
}
}
diff --git a/packages/start-plugin-core/src/rsbuild/plugin.ts b/packages/start-plugin-core/src/rsbuild/plugin.ts
index 6ac23451ab..81d526dd1e 100644
--- a/packages/start-plugin-core/src/rsbuild/plugin.ts
+++ b/packages/start-plugin-core/src/rsbuild/plugin.ts
@@ -161,6 +161,7 @@ export function tanStackStartRsbuild(
routerBasepath,
serverFnBase: startConfig.serverFns.base,
})
+ const inlineCssEnabled = !isDev && startConfig.server.build.inlineCss
return mergeRsbuildConfig(rsbuildConfig, {
source: {
@@ -188,6 +189,12 @@ export function tanStackStartRsbuild(
'import.meta.env.TSS_DEV_SSR_STYLES_BASEPATH': JSON.stringify(
resolvedStartConfig.basePaths.publicBase,
),
+ 'process.env.TSS_INLINE_CSS_ENABLED': JSON.stringify(
+ inlineCssEnabled ? 'true' : 'false',
+ ),
+ 'import.meta.env.TSS_INLINE_CSS_ENABLED': JSON.stringify(
+ inlineCssEnabled ? 'true' : 'false',
+ ),
},
},
server: {
diff --git a/packages/start-plugin-core/src/rsbuild/virtual-modules.ts b/packages/start-plugin-core/src/rsbuild/virtual-modules.ts
index a084164aa3..2f7d92a4d4 100644
--- a/packages/start-plugin-core/src/rsbuild/virtual-modules.ts
+++ b/packages/start-plugin-core/src/rsbuild/virtual-modules.ts
@@ -76,33 +76,39 @@ export const tsrStartManifest = () => globalThis[${JSON.stringify(DEV_START_MANI
function buildStartManifestData(
clientBuild: NormalizedClientBuild,
publicBase: string,
+ inlineCss: boolean,
) {
const routeTreeRoutes = globalThis.TSS_ROUTES_MANIFEST
return buildStartManifest({
clientBuild,
routeTreeRoutes,
basePath: publicBase,
+ inlineCss,
})
}
function serializeStartManifestData(
clientBuild: NormalizedClientBuild,
publicBase: string,
+ inlineCss: boolean,
): string {
- return JSON.stringify(buildStartManifestData(clientBuild, publicBase))
+ return JSON.stringify(
+ buildStartManifestData(clientBuild, publicBase, inlineCss),
+ )
}
function generateManifestModuleBuild(
clientBuild: NormalizedClientBuild | undefined,
publicBase: string,
_devClientEntryUrl: string,
+ inlineCss: boolean,
): string {
if (!clientBuild) {
return `const tsrStartManifestData = ${JSON.stringify(START_MANIFEST_PLACEHOLDER)}
export const tsrStartManifest = () => tsrStartManifestData`
}
- return `export const tsrStartManifest = () => (${serializeStartManifestData(clientBuild, publicBase)})`
+ return `export const tsrStartManifest = () => (${serializeStartManifestData(clientBuild, publicBase, inlineCss)})`
}
// ---------------------------------------------------------------------------
@@ -345,7 +351,7 @@ export function registerVirtualModules(
// Generate initial content for each virtual module per environment
function getInitialContent(environmentName: string): Record {
// Safe to call getConfig() here — this runs inside modifyRspackConfig
- const { resolvedStartConfig } = opts.getConfig()
+ const { resolvedStartConfig, startConfig } = opts.getConfig()
const isServerEnv = environmentName === RSBUILD_ENVIRONMENT_NAMES.server
const isClientEnv = environmentName === RSBUILD_ENVIRONMENT_NAMES.client
const content: Record = {}
@@ -361,6 +367,7 @@ export function registerVirtualModules(
clientBuild,
resolvedStartConfig.basePaths.publicBase,
devClientEntryUrl,
+ startConfig.server.build.inlineCss,
)
} else {
content[paths.manifest] = 'export default {}'
@@ -495,7 +502,7 @@ export function createFromReadableStream() { throw new Error('RSC SSR decode is
},
generateManifestContent(newClientBuild: NormalizedClientBuild): string {
- const { resolvedStartConfig } = opts.getConfig()
+ const { resolvedStartConfig, startConfig } = opts.getConfig()
const devClientEntryUrl = opts.getDevClientEntryUrl(
resolvedStartConfig.basePaths.publicBase,
)
@@ -503,16 +510,18 @@ export function createFromReadableStream() { throw new Error('RSC SSR decode is
newClientBuild,
resolvedStartConfig.basePaths.publicBase,
devClientEntryUrl,
+ !isDev && startConfig.server.build.inlineCss,
)
},
generateManifestValueLiteral(
newClientBuild: NormalizedClientBuild,
): string {
- const { resolvedStartConfig } = opts.getConfig()
+ const { resolvedStartConfig, startConfig } = opts.getConfig()
return serializeStartManifestData(
newClientBuild,
resolvedStartConfig.basePaths.publicBase,
+ !isDev && startConfig.server.build.inlineCss,
)
},
@@ -528,6 +537,7 @@ export function createFromReadableStream() { throw new Error('RSC SSR decode is
)[DEV_START_MANIFEST_GLOBAL] = buildStartManifestData(
clientBuild,
resolvedStartConfig.basePaths.publicBase,
+ false,
)
}
},
diff --git a/packages/start-plugin-core/src/schema.ts b/packages/start-plugin-core/src/schema.ts
index 58a2b77470..e0287858e6 100644
--- a/packages/start-plugin-core/src/schema.ts
+++ b/packages/start-plugin-core/src/schema.ts
@@ -209,6 +209,12 @@ export const tanstackStartOptionsObjectSchema = z.object({
build: z
.object({
staticNodeEnv: z.boolean().optional().default(true),
+ /**
+ * Inline route CSS into the server-rendered HTML response.
+ *
+ * @experimental This option is experimental!
+ */
+ inlineCss: z.boolean().optional().default(false),
})
.optional()
.default({}),
diff --git a/packages/start-plugin-core/src/start-manifest-plugin/inlineCss.ts b/packages/start-plugin-core/src/start-manifest-plugin/inlineCss.ts
new file mode 100644
index 0000000000..432f0738ba
--- /dev/null
+++ b/packages/start-plugin-core/src/start-manifest-plugin/inlineCss.ts
@@ -0,0 +1,93 @@
+import { transform } from 'lightningcss'
+
+const cssUrlPattern =
+ /url\(\s*(?:"([^"]*)"|'([^']*)'|([^)"']*?))\s*\)|@import\s+(?:url\(\s*(?:"([^"]*)"|'([^']*)'|([^)"']*?))\s*\)|"([^"]*)"|'([^']*)')/gi
+
+function isRelativeCssUrl(url: string) {
+ if (!url) return false
+ if (url.startsWith('#')) return false
+ if (url.startsWith('/')) return false
+ if (/^[a-z][a-z\d+.-]*:/i.test(url)) return false
+ return true
+}
+
+export function shouldRebaseInlineCssUrls(css: string) {
+ cssUrlPattern.lastIndex = 0
+
+ for (const match of css.matchAll(cssUrlPattern)) {
+ const url = (
+ match[1] ??
+ match[2] ??
+ match[3] ??
+ match[4] ??
+ match[5] ??
+ match[6] ??
+ match[7] ??
+ match[8] ??
+ ''
+ ).trim()
+
+ if (isRelativeCssUrl(url)) {
+ return true
+ }
+ }
+
+ return false
+}
+
+function rebaseCssUrl(url: string, cssHref: string) {
+ if (!isRelativeCssUrl(url)) {
+ return url
+ }
+
+ const fakeOrigin = 'http://tanstack.local'
+ const resolved = new URL(url, new URL(cssHref, fakeOrigin))
+
+ if (resolved.origin === fakeOrigin) {
+ return `${resolved.pathname}${resolved.search}${resolved.hash}`
+ }
+
+ return resolved.href
+}
+
+export function rebaseInlineCssUrls(options: { css: string; cssHref: string }) {
+ const css = options.css.trim()
+
+ if (!shouldRebaseInlineCssUrls(css)) {
+ return css
+ }
+
+ const result = transform({
+ filename: options.cssHref,
+ code: Buffer.from(css),
+ minify: true,
+ visitor: {
+ Url(url) {
+ return {
+ ...url,
+ url: rebaseCssUrl(url.url, options.cssHref),
+ }
+ },
+ Rule: {
+ import(rule: any) {
+ return {
+ ...rule,
+ value: {
+ ...rule.value,
+ url: rebaseCssUrl(rule.value.url, options.cssHref),
+ },
+ }
+ },
+ },
+ },
+ })
+
+ return Buffer.from(result.code).toString('utf8')
+}
+
+export function getCssAssetSource(source: unknown) {
+ if (typeof source === 'string') return source
+ if (source instanceof Uint8Array) return Buffer.from(source).toString('utf8')
+ if (source == null) return undefined
+ return String(source)
+}
diff --git a/packages/start-plugin-core/src/start-manifest-plugin/manifestBuilder.ts b/packages/start-plugin-core/src/start-manifest-plugin/manifestBuilder.ts
index 83285a60e8..1c52d124eb 100644
--- a/packages/start-plugin-core/src/start-manifest-plugin/manifestBuilder.ts
+++ b/packages/start-plugin-core/src/start-manifest-plugin/manifestBuilder.ts
@@ -1,12 +1,17 @@
/* eslint-disable @typescript-eslint/prefer-for-of */
import { serialize } from 'seroval'
import { joinURL } from 'ufo'
-import { resolveManifestAssetLink, rootRouteId } from '@tanstack/router-core'
+import {
+ getStylesheetHref,
+ resolveManifestAssetLink,
+ rootRouteId,
+} from '@tanstack/router-core'
import {
getRouteFilePathsFromModuleIds,
normalizeViteClientBuild,
normalizeViteClientChunk,
} from '../vite/start-manifest-plugin/normalized-client-build'
+import { rebaseInlineCssUrls } from './inlineCss'
import type { ManifestAssetLink, RouterManagedTag } from '@tanstack/router-core'
import type { NormalizedClientBuild, NormalizedClientChunk } from '../types'
@@ -42,6 +47,9 @@ type DedupeRoute = {
export interface StartManifest {
routes: Record
clientEntry: string
+ inlineCss?: {
+ styles: Record
+ }
}
export function appendUniqueStrings(
@@ -152,6 +160,7 @@ export function buildStartManifest(options: {
clientBuild: NormalizedClientBuild
routeTreeRoutes: RouteTreeRoutes
basePath: string
+ inlineCss?: boolean
additionalRouteAssets?: Partial<
Record>
>
@@ -180,10 +189,20 @@ export function buildStartManifest(options: {
}
}
- return {
+ const result: StartManifest = {
routes,
clientEntry: assetResolvers.getAssetPath(scannedChunks.entryChunk.fileName),
}
+
+ if (options.inlineCss) {
+ result.inlineCss = buildInlineCssManifestData({
+ routes,
+ basePath: options.basePath,
+ cssContentByFileName: options.clientBuild.cssContentByFileName,
+ })
+ }
+
+ return result
}
export function serializeStartManifest(startManifest: StartManifest) {
@@ -347,6 +366,57 @@ export function createChunkCssAssetCollector(options: {
return { getChunkCssAssets }
}
+function buildInlineCssManifestData(options: {
+ routes: Record
+ basePath: string
+ cssContentByFileName: ReadonlyMap | undefined
+}): StartManifest['inlineCss'] {
+ const stylesheetHrefs = new Set()
+
+ for (const route of Object.values(options.routes)) {
+ for (const asset of route.assets ?? []) {
+ const href = getStylesheetHref(asset)
+ if (href) {
+ stylesheetHrefs.add(href)
+ }
+ }
+ }
+
+ if (stylesheetHrefs.size === 0) {
+ return { styles: {} }
+ }
+
+ if (!options.cssContentByFileName) {
+ throw new Error(
+ 'TanStack Start inlineCss is enabled, but the client build did not provide CSS content',
+ )
+ }
+
+ const { getAssetPath } = createManifestAssetResolvers(options.basePath)
+ const styles: Record = {}
+ const missingHrefs = new Set(stylesheetHrefs)
+
+ for (const [cssFile, css] of options.cssContentByFileName) {
+ const cssHref = getAssetPath(cssFile)
+ if (!stylesheetHrefs.has(cssHref)) {
+ continue
+ }
+
+ styles[cssHref] = rebaseInlineCssUrls({ css, cssHref })
+ missingHrefs.delete(cssHref)
+ }
+
+ if (missingHrefs.size > 0) {
+ throw new Error(
+ `TanStack Start inlineCss could not find CSS content for: ${Array.from(
+ missingHrefs,
+ ).join(', ')}`,
+ )
+ }
+
+ return { styles }
+}
+
export function buildRouteManifestRoutes(options: {
routeTreeRoutes: RouteTreeRoutes
routeChunksByFilePath: ReadonlyMap<
diff --git a/packages/start-plugin-core/src/types.ts b/packages/start-plugin-core/src/types.ts
index 0c83d32583..a5f4324315 100644
--- a/packages/start-plugin-core/src/types.ts
+++ b/packages/start-plugin-core/src/types.ts
@@ -47,6 +47,7 @@ export interface NormalizedClientBuild {
chunksByFileName: ReadonlyMap
chunkFileNamesByRouteFilePath: ReadonlyMap>
cssFilesBySourcePath: ReadonlyMap>
+ cssContentByFileName?: ReadonlyMap
}
export interface TanStackStartCoreOptions {
diff --git a/packages/start-plugin-core/src/vite/planning.ts b/packages/start-plugin-core/src/vite/planning.ts
index 56766a58af..5db724ba8d 100644
--- a/packages/start-plugin-core/src/vite/planning.ts
+++ b/packages/start-plugin-core/src/vite/planning.ts
@@ -136,6 +136,7 @@ export function createViteDefineConfig(opts: {
spaEnabled: boolean | undefined
devSsrStylesEnabled: boolean
devSsrStylesBasepath: string
+ inlineCssEnabled: boolean
staticNodeEnv: boolean
}) {
return {
@@ -156,6 +157,10 @@ export function createViteDefineConfig(opts: {
'TSS_DEV_SSR_STYLES_BASEPATH',
opts.devSsrStylesBasepath,
),
+ ...defineReplaceEnv(
+ 'TSS_INLINE_CSS_ENABLED',
+ opts.inlineCssEnabled ? 'true' : 'false',
+ ),
...(opts.command === 'build' && opts.staticNodeEnv
? {
'process.env.NODE_ENV': JSON.stringify(
diff --git a/packages/start-plugin-core/src/vite/plugin.ts b/packages/start-plugin-core/src/vite/plugin.ts
index 084565ecc6..e6cee02e48 100644
--- a/packages/start-plugin-core/src/vite/plugin.ts
+++ b/packages/start-plugin-core/src/vite/plugin.ts
@@ -185,6 +185,8 @@ export function tanStackStartVite(
devSsrStylesBasepath:
startConfig.dev.ssrStyles.basepath ??
resolvedStartConfig.basePaths.publicBase,
+ inlineCssEnabled:
+ command === 'build' && startConfig.server.build.inlineCss,
staticNodeEnv: startConfig.server.build.staticNodeEnv,
}),
builder: {
diff --git a/packages/start-plugin-core/src/vite/start-manifest-plugin/normalized-client-build.ts b/packages/start-plugin-core/src/vite/start-manifest-plugin/normalized-client-build.ts
index 39c55b5484..8ac7915ff0 100644
--- a/packages/start-plugin-core/src/vite/start-manifest-plugin/normalized-client-build.ts
+++ b/packages/start-plugin-core/src/vite/start-manifest-plugin/normalized-client-build.ts
@@ -1,4 +1,5 @@
import { tsrSplit } from '@tanstack/router-plugin'
+import { getCssAssetSource } from '../../start-manifest-plugin/inlineCss'
import type { Rollup } from 'vite'
import type { NormalizedClientBuild, NormalizedClientChunk } from '../../types'
@@ -40,6 +41,7 @@ export function normalizeViteClientBuild(
const chunksByFileName = normalizeViteClientChunks(clientBundle)
const chunkFileNamesByRouteFilePath = new Map>()
const cssFilesBySourcePath = new Map>()
+ const cssContentByFileName = new Map()
for (const chunk of chunksByFileName.values()) {
const bundleEntry = clientBundle[chunk.fileName] as Rollup.OutputChunk
@@ -78,6 +80,22 @@ export function normalizeViteClientBuild(
}
}
+ for (const fileName in clientBundle) {
+ if (!fileName.endsWith('.css')) {
+ continue
+ }
+
+ const bundleEntry = clientBundle[fileName]!
+ if (bundleEntry.type !== 'asset') {
+ continue
+ }
+
+ const css = getCssAssetSource(bundleEntry.source)
+ if (css !== undefined) {
+ cssContentByFileName.set(fileName, css)
+ }
+ }
+
if (!entryChunkFileName) {
throw new Error('No entry file found')
}
@@ -87,6 +105,7 @@ export function normalizeViteClientBuild(
chunksByFileName,
chunkFileNamesByRouteFilePath,
cssFilesBySourcePath,
+ cssContentByFileName,
}
}
diff --git a/packages/start-plugin-core/src/vite/start-manifest-plugin/plugin.ts b/packages/start-plugin-core/src/vite/start-manifest-plugin/plugin.ts
index 22a290f08b..dc027cf32f 100644
--- a/packages/start-plugin-core/src/vite/start-manifest-plugin/plugin.ts
+++ b/packages/start-plugin-core/src/vite/start-manifest-plugin/plugin.ts
@@ -44,7 +44,7 @@ export function startManifestPlugin(opts: {
moduleId: VIRTUAL_MODULES.startManifest,
enforce: 'pre',
load() {
- const { resolvedStartConfig } = opts.getConfig()
+ const { resolvedStartConfig, startConfig } = opts.getConfig()
const clientEntry = joinURL(
resolvedStartConfig.basePaths.publicBase,
'@id',
@@ -70,6 +70,7 @@ export function startManifestPlugin(opts: {
clientBuild,
routeTreeRoutes,
basePath: resolvedStartConfig.basePaths.publicBase,
+ inlineCss: startConfig.server.build.inlineCss,
additionalRouteAssets: getViteAdditionalRouteAssets({
cssCodeSplitDisabledFileName,
basePath: resolvedStartConfig.basePaths.publicBase,
diff --git a/packages/start-plugin-core/tests/start-manifest-plugin/manifestBuilder.test.ts b/packages/start-plugin-core/tests/start-manifest-plugin/manifestBuilder.test.ts
index 8d673e07ae..de1d67c3e0 100644
--- a/packages/start-plugin-core/tests/start-manifest-plugin/manifestBuilder.test.ts
+++ b/packages/start-plugin-core/tests/start-manifest-plugin/manifestBuilder.test.ts
@@ -1,5 +1,6 @@
import { describe, expect, test } from 'vitest'
import { deserialize } from 'seroval'
+import { shouldRebaseInlineCssUrls } from '../../src/start-manifest-plugin/inlineCss'
import {
appendUniqueAssets,
appendUniqueStrings,
@@ -60,6 +61,18 @@ function makeChunk(options: {
} as unknown as Rollup.OutputChunk
}
+function makeCssAsset(fileName: string, source: string): Rollup.OutputAsset {
+ return {
+ type: 'asset',
+ fileName,
+ name: fileName,
+ names: [fileName],
+ source,
+ needsCodeReference: false,
+ originalFileNames: [],
+ } as unknown as Rollup.OutputAsset
+}
+
describe('getRouteFilePathsFromModuleIds', () => {
test('returns unique route file paths only for tsr split modules', () => {
expect(
@@ -389,6 +402,81 @@ describe('createChunkCssAssetCollector', () => {
})
describe('buildStartManifest', () => {
+ test('skips inline CSS transforms when no relative URLs need rebasing', () => {
+ expect(shouldRebaseInlineCssUrls('.root {\n color: red;\n}')).toBe(false)
+ expect(shouldRebaseInlineCssUrls('.root{background:url(/dot.svg)}')).toBe(
+ false,
+ )
+ expect(
+ shouldRebaseInlineCssUrls(
+ '.root{background:url(data:image/svg+xml,foo)}',
+ ),
+ ).toBe(false)
+ expect(shouldRebaseInlineCssUrls('.card{background:url(./dot.svg)}')).toBe(
+ true,
+ )
+ expect(shouldRebaseInlineCssUrls('@import "../theme.css";')).toBe(true)
+ })
+
+ test('embeds rebased inline CSS content when enabled', () => {
+ const entryChunk = makeChunk({
+ fileName: 'entry.js',
+ isEntry: true,
+ importedCss: ['root.css'],
+ })
+ const routeChunk = makeChunk({
+ fileName: 'dashboard.js',
+ importedCss: ['dashboard.css'],
+ moduleIds: ['/routes/dashboard.tsx?tsr-split=component'],
+ })
+
+ const manifest = buildStartManifest({
+ clientBuild: normalizeTestBuild({
+ 'entry.js': entryChunk,
+ 'dashboard.js': routeChunk,
+ 'root.css': makeCssAsset('root.css', '.root{color:red}'),
+ 'dashboard.css': makeCssAsset(
+ 'dashboard.css',
+ '.card{background:url("./dot.svg")}',
+ ),
+ }),
+ routeTreeRoutes: {
+ __root__: {},
+ '/dashboard': { filePath: '/routes/dashboard.tsx' },
+ },
+ basePath: '/assets',
+ inlineCss: true,
+ })
+
+ expect(manifest.inlineCss?.styles['/assets/root.css']).toBe(
+ '.root{color:red}',
+ )
+ expect(manifest.inlineCss?.styles['/assets/dashboard.css']).toBe(
+ '.card{background:url(/assets/dot.svg)}',
+ )
+ })
+
+ test('throws when inline CSS content is missing for a stylesheet asset', () => {
+ const entryChunk = makeChunk({
+ fileName: 'entry.js',
+ isEntry: true,
+ importedCss: ['root.css'],
+ })
+
+ expect(() =>
+ buildStartManifest({
+ clientBuild: normalizeTestBuild({
+ 'entry.js': entryChunk,
+ }),
+ routeTreeRoutes: {
+ __root__: {},
+ },
+ basePath: '/assets',
+ inlineCss: true,
+ }),
+ ).toThrow('could not find CSS content')
+ })
+
test('allows callers to attach additional route assets', () => {
const entryChunk = makeChunk({
fileName: 'entry.js',
diff --git a/packages/start-server-core/src/router-manifest.ts b/packages/start-server-core/src/router-manifest.ts
index d20be26942..f15b689c7d 100644
--- a/packages/start-server-core/src/router-manifest.ts
+++ b/packages/start-server-core/src/router-manifest.ts
@@ -62,6 +62,7 @@ export async function getStartManifest(
}
const manifest = {
+ inlineCss: startManifest.inlineCss,
routes: Object.fromEntries(
Object.entries(startManifest.routes).flatMap(([k, v]) => {
const result = {} as {
diff --git a/packages/start-server-core/src/transformAssetUrls.ts b/packages/start-server-core/src/transformAssetUrls.ts
index 6c347e2343..e34cafedec 100644
--- a/packages/start-server-core/src/transformAssetUrls.ts
+++ b/packages/start-server-core/src/transformAssetUrls.ts
@@ -410,7 +410,7 @@ export async function transformManifestAssets(
)
}
- if (route.assets) {
+ if (route.assets && !source.manifest.inlineCss) {
for (const asset of route.assets) {
if (asset.tag === 'link' && asset.attrs?.href) {
const rel = asset.attrs.rel
@@ -481,5 +481,5 @@ export function buildManifestWithClientEntry(
},
}
- return { routes }
+ return { inlineCss: source.manifest.inlineCss, routes }
}
diff --git a/packages/vue-router/src/Asset.tsx b/packages/vue-router/src/Asset.tsx
index 128ffa8ad3..fdbf140c79 100644
--- a/packages/vue-router/src/Asset.tsx
+++ b/packages/vue-router/src/Asset.tsx
@@ -3,6 +3,8 @@ import { isServer } from '@tanstack/router-core/isServer'
import { useRouter } from './useRouter'
import type { RouterManagedTag } from '@tanstack/router-core'
+const INLINE_CSS_HYDRATION_ATTR = 'data-tsr-inline-css'
+
interface ScriptAttrs {
[key: string]: string | boolean | undefined
src?: string
@@ -171,7 +173,42 @@ const Script = Vue.defineComponent({
},
})
-export function Asset({ tag, attrs, children }: RouterManagedTag): any {
+const InlineCssStyle = Vue.defineComponent({
+ name: 'InlineCssStyle',
+ props: {
+ attrs: {
+ type: Object as Vue.PropType>,
+ default: () => ({}),
+ },
+ children: {
+ type: String,
+ default: undefined,
+ },
+ },
+ setup(props) {
+ const isInlineCssPlaceholder = props.children === undefined
+ const hydratedInlineCss =
+ isInlineCssPlaceholder && typeof document !== 'undefined'
+ ? (document.querySelector(
+ `style[${INLINE_CSS_HYDRATION_ATTR}]`,
+ )?.textContent ?? '')
+ : undefined
+
+ return () =>
+ Vue.h('style', {
+ ...props.attrs,
+ [INLINE_CSS_HYDRATION_ATTR]: '',
+ 'data-allow-mismatch': true,
+ innerHTML: isInlineCssPlaceholder
+ ? (hydratedInlineCss ?? '')
+ : (props.children ?? ''),
+ })
+ },
+})
+
+export function Asset(asset: RouterManagedTag): any {
+ const { tag, attrs, children } = asset
+
switch (tag) {
case 'title':
return Vue.h(Title, { children: children })
@@ -180,7 +217,21 @@ export function Asset({ tag, attrs, children }: RouterManagedTag): any {
case 'link':
return
case 'style':
- return
+ if (
+ asset.inlineCss &&
+ (process.env.TSS_INLINE_CSS_ENABLED === 'true' ||
+ (process.env.TSS_INLINE_CSS_ENABLED === undefined && isServer))
+ ) {
+ return Vue.h(InlineCssStyle, { attrs, children })
+ }
+
+ return (
+
+ )
case 'script':
return Vue.h(Script, { attrs, children: children })
default:
diff --git a/packages/vue-router/src/headContentUtils.tsx b/packages/vue-router/src/headContentUtils.tsx
index e441339cdb..79d2ee282f 100644
--- a/packages/vue-router/src/headContentUtils.tsx
+++ b/packages/vue-router/src/headContentUtils.tsx
@@ -2,6 +2,7 @@ import * as Vue from 'vue'
import {
escapeHtml,
getAssetCrossOrigin,
+ isInlinableStylesheet,
resolveManifestAssetLink,
} from '@tanstack/router-core'
import { useStore } from '@tanstack/vue-store'
@@ -138,19 +139,38 @@ export const useTags = (assetCrossOrigin?: AssetCrossOriginConfig) => {
.map((match) => manifest?.routes[match.routeId]?.assets ?? [])
.filter(Boolean)
.flat(1)
- .filter((asset) => asset.tag === 'link')
- .map(
- (asset) =>
- ({
- tag: 'link',
- attrs: {
- ...asset.attrs,
- crossOrigin:
- getAssetCrossOrigin(assetCrossOrigin, 'stylesheet') ??
- asset.attrs?.crossOrigin,
+ .flatMap((asset): Array => {
+ if (asset.tag === 'link') {
+ if (isInlinableStylesheet(manifest, asset)) {
+ return []
+ }
+
+ return [
+ {
+ tag: 'link',
+ attrs: {
+ ...asset.attrs,
+ crossOrigin:
+ getAssetCrossOrigin(assetCrossOrigin, 'stylesheet') ??
+ asset.attrs?.crossOrigin,
+ },
},
- }) satisfies RouterManagedTag,
- )
+ ]
+ }
+
+ if (asset.tag === 'style') {
+ return [
+ {
+ tag: 'style',
+ attrs: asset.attrs,
+ children: asset.children,
+ ...(asset.inlineCss ? { inlineCss: true as const } : {}),
+ },
+ ]
+ }
+
+ return []
+ })
return assets
})
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 570f8b579d..e1bb2715b3 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1738,6 +1738,58 @@ importers:
specifier: ^6.0.2
version: 6.0.2
+ e2e/react-start/css-inline:
+ dependencies:
+ '@tanstack/react-router':
+ specifier: workspace:*
+ version: link:../../../packages/react-router
+ '@tanstack/react-start':
+ specifier: workspace:*
+ version: link:../../../packages/react-start
+ express:
+ specifier: ^5.1.0
+ version: 5.1.0
+ react:
+ specifier: ^19.2.3
+ version: 19.2.3
+ react-dom:
+ specifier: ^19.2.3
+ version: 19.2.3(react@19.2.3)
+ srvx:
+ specifier: ^0.11.9
+ version: 0.11.15
+ devDependencies:
+ '@playwright/test':
+ specifier: ^1.57.0
+ version: 1.58.0
+ '@rsbuild/core':
+ specifier: ^2.0.0
+ version: 2.0.1(core-js@3.40.0)
+ '@rsbuild/plugin-react':
+ specifier: ^2.0.0
+ version: 2.0.0(@rsbuild/core@2.0.1(core-js@3.40.0))(@rspack/core@2.0.0(@swc/helpers@0.5.21))
+ '@tanstack/router-e2e-utils':
+ specifier: workspace:^
+ version: link:../../e2e-utils
+ '@types/node':
+ specifier: 25.0.9
+ version: 25.0.9
+ '@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)
+ '@vitejs/plugin-react':
+ specifier: ^6.0.1
+ version: 6.0.1(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))
+ typescript:
+ specifier: ^6.0.2
+ version: 6.0.2
+ 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-start/css-modules:
dependencies:
'@tanstack/react-router':
@@ -13009,6 +13061,9 @@ importers:
exsolve:
specifier: ^1.0.7
version: 1.0.7
+ lightningcss:
+ specifier: ^1.32.0
+ version: 1.32.0
pathe:
specifier: ^2.0.3
version: 2.0.3
From 4c161c53a8d7546e05f5307b460ce32bf965a77c Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Fri, 24 Apr 2026 23:23:49 +0000
Subject: [PATCH 044/608] ci: changeset release
---
.changeset/smooth-cobras-inline.md | 10 --
.../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 | 9 ++
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 | 9 ++
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 | 13 +++
packages/start-plugin-core/package.json | 2 +-
packages/start-server-core/CHANGELOG.md | 11 ++
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 | 9 ++
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, 502 insertions(+), 294 deletions(-)
delete mode 100644 .changeset/smooth-cobras-inline.md
diff --git a/.changeset/smooth-cobras-inline.md b/.changeset/smooth-cobras-inline.md
deleted file mode 100644
index dd4216c052..0000000000
--- a/.changeset/smooth-cobras-inline.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-'@tanstack/react-router': patch
-'@tanstack/router-core': patch
-'@tanstack/solid-router': patch
-'@tanstack/start-plugin-core': patch
-'@tanstack/start-server-core': patch
-'@tanstack/vue-router': patch
----
-
-Add TanStack Start inline CSS manifest support for SSR so route styles can be embedded in the HTML response and hydrated without duplicate stylesheet links.
diff --git a/examples/react/authenticated-routes-firebase/package.json b/examples/react/authenticated-routes-firebase/package.json
index 59a01c4872..0f2ee71b0d 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 3a39730b4c..d9317cf16b 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 00513d7a69..cab2e82189 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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 5c71774445..b4f52f5a43 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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 6e4b20fb91..ccd7b9d95e 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 ee4bbf86b9..80277d3db7 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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 03da92e035..bc1b9428db 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 cb95847c2d..8a55dadac6 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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 78c877cd37..d8dabbb24a 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.23",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/react-router": "^1.168.24",
+ "@tanstack/router-plugin": "^1.167.24",
"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 750c80dcc9..9a1725807f 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.23",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/react-router": "^1.168.24",
+ "@tanstack/router-plugin": "^1.167.24",
"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 d43ff5fb2e..800b9b2f3b 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"@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 901e28423a..c6413e01c1 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"@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 cba55e65ab..2d288352c9 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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 9b0c2c4fc7..34a22c3125 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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 afb6fe464a..23dcdcc323 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.23",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/react-router": "^1.168.24",
+ "@tanstack/router-plugin": "^1.167.24",
"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 72f531d822..5852d2660b 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 a99adb5eb1..50c60f8534 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 a617641cd0..77865d4d33 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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 5a0b1fabd6..0d99742e97 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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 43e64a310f..3e55f3668b 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 1c565b95c0..736409f23d 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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 e0ce3deea9..e3847182ed 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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 1aaef0dd56..eefe285984 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 de9fc14f6b..7c5feb8843 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 c729e6446e..96702c64a1 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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.23",
+ "@tanstack/router-plugin": "^1.167.24",
"@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 4acab3ec5d..0fb14d1dd4 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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.23",
+ "@tanstack/router-plugin": "^1.167.24",
"@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 a7b874c20f..852dd12c5a 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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 1648187122..d8ff933855 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 e3db3d9f68..d405b62f68 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.23",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/react-router": "^1.168.24",
+ "@tanstack/router-plugin": "^1.167.24",
"@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 fcdd224d9d..8639ad099d 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 c25a762e7c..ae31ef6b2c 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.23",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/react-router": "^1.168.24",
+ "@tanstack/router-plugin": "^1.167.24",
"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 794ecc41ff..022aba4c7e 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 6868173507..667278437d 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.23",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/react-router": "^1.168.24",
+ "@tanstack/router-plugin": "^1.167.24",
"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 8921e43fc2..b3529251aa 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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 059afeb419..ad4fd53f99 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"@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 49e28d7fef..643ccc02cf 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 fdf73e33d2..3a828e34e7 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 61a8aea71a..4fa6d7985e 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 2889b864f1..2e3cbdaecc 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 f98ad8a9df..3ee0c7c2a2 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 bac00f56db..256a2b624d 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
- "@tanstack/start-static-server-functions": "^1.166.33",
+ "@tanstack/react-start": "^1.167.46",
+ "@tanstack/start-static-server-functions": "^1.166.34",
"@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 598bc2efd7..afe9f2e52f 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 db581f3d87..f3b6ec3d0d 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.45",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/react-start": "^1.167.46",
+ "@tanstack/router-plugin": "^1.167.24",
"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 123a93b689..98c25f80c2 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"@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 b6475f67bd..b43b25f0c4 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 71f98ad5c8..d2507e59e9 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 8370f756e1..e6eada8b34 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 0c5291a937..e2c706e81f 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 33e274323f..d8fdf627e0 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.23",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-router": "^1.168.24",
+ "@tanstack/react-start": "^1.167.46",
"@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 cb5ef44646..baa34d7df0 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 d31cb9681f..03aaefc91e 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 aeafcff9ba..8a1d9d3dfc 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 7a68a3403e..da1ec0f371 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 c8239f42c3..675c59df71 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"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 fe96248ab5..29f3211f16 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.45",
+ "@tanstack/react-start": "^1.167.46",
"@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 ab46147f10..e06d6fd637 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 af7db24ff5..50ce961759 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@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 4b4b38f7e3..907846a0a8 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"@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 8ddd8a7376..b80f678d14 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.23",
+ "@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"@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 87d9cd0a03..aa449436c8 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 a28c8cfeff..0582286d71 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 e37001ccbf..f7f64e3a9a 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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 9274a3403c..18c9b1d5eb 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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 0721873690..04bfa63e7e 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 9f03b5fb34..2cf1bb3a18 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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 90024a5968..32f4433a35 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 6ea909f0cf..963085c5b4 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 a3da2bf514..9aa8933625 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.20",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/solid-router": "^1.168.21",
+ "@tanstack/router-plugin": "^1.167.24",
"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 b1b4127688..49c9858df9 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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.23",
+ "@tanstack/router-plugin": "^1.167.24",
"@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 16ac15d57c..86c5ba445e 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"@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 9a2792c7b6..63cfaf28ed 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"@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 51885f8a77..8f8fc97bdf 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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 c8be371646..3e4cc2999e 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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 75e9e97817..2290c3dd80 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.20",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/solid-router": "^1.168.21",
+ "@tanstack/router-plugin": "^1.167.24",
"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 d239e24b19..5c365d0b86 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 0497ae3f0d..2a05a0511e 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.23",
+ "@tanstack/router-plugin": "^1.167.24",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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 29a68a126b..bb840dd7bf 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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 4d41779976..c27183a44e 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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 675df42685..7a8d273c4f 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 8748a0e9d0..18d2f59b06 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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 1bb28eb799..029e0cb5b8 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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 701277b668..e10fdc0f91 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.23",
- "@tanstack/solid-router": "^1.168.20",
+ "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/solid-router": "^1.168.21",
"@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 95081288dc..4fe140bab3 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 9ff74ec940..107d9d024b 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 620daaa1cf..08d1087d9f 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 5f7326c805..27b088a47a 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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 49b73c775d..5f2048e2b9 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 701485e399..737d642ff1 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.20",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/solid-router": "^1.168.21",
+ "@tanstack/router-plugin": "^1.167.24",
"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 8f526ae0b9..3153f2b041 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 d426da9172..1d6df8c6be 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.20",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/solid-router": "^1.168.21",
+ "@tanstack/router-plugin": "^1.167.24",
"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 1896ed125e..02ad60d8fc 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 d21bcfadb9..305a827bd0 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.20",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/solid-router": "^1.168.21",
+ "@tanstack/router-plugin": "^1.167.24",
"@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 8d8acfc52a..afb9742cf1 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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 3142a0f948..bff158ed7f 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"@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 5febb14ec3..68a4a388cc 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.40",
+ "@tanstack/solid-start": "^1.167.41",
"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 7b02141fd1..1a39a77ecd 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.40",
+ "@tanstack/solid-start": "^1.167.41",
"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 0aa268eb34..aae1569396 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.40",
+ "@tanstack/solid-start": "^1.167.41",
"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 fd3985218d..c15e1ba6e4 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.40",
+ "@tanstack/solid-start": "^1.167.41",
"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 8553868de0..fb19471b7e 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.40",
+ "@tanstack/solid-start": "^1.167.41",
"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 06d403c035..9069889e55 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.11",
- "@tanstack/solid-start": "^1.167.40",
+ "@tanstack/solid-start": "^1.167.41",
"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 eb6877fa9a..e3ba5bb217 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.40",
- "@tanstack/start-static-server-functions": "^1.166.33",
+ "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/start-static-server-functions": "^1.166.34",
"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 afd353b52b..73cf1a7baf 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.40",
+ "@tanstack/solid-start": "^1.167.41",
"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 81510e3729..2492892561 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.11",
- "@tanstack/solid-start": "^1.167.40",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/router-plugin": "^1.167.24",
"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 c49f652375..797b5ab60e 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.40",
+ "@tanstack/solid-start": "^1.167.41",
"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 b4c748ce80..c0b5b3ab6f 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.40",
+ "@tanstack/solid-start": "^1.167.41",
"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 85ecebd751..25a9396f41 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.40",
+ "@tanstack/solid-start": "^1.167.41",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-large/package.json b/examples/solid/start-large/package.json
index e379d2a584..1341185097 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.40",
+ "@tanstack/solid-start": "^1.167.41",
"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 161052e50d..5aa039fdfd 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.40",
+ "@tanstack/solid-start": "^1.167.41",
"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 6012513886..097dd519b2 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.40",
+ "@tanstack/solid-start": "^1.167.41",
"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 a613d497a5..26f2ec3950 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.40",
+ "@tanstack/solid-start": "^1.167.41",
"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 051755345c..dbf45168a0 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"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 c6a1bf55d4..0d10979001 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@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 b83f60767b..aa683dc2d5 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.20",
+ "@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.23",
+ "@tanstack/router-plugin": "^1.167.24",
"@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 59a7dc5cda..5900600d00 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.23",
- "@tanstack/vue-router": "^1.168.19",
+ "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/vue-router": "^1.168.20",
"@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 f97845ab21..08b0406724 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.23",
- "@tanstack/vue-router": "^1.168.19",
+ "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/vue-router": "^1.168.20",
"@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 adca570e49..529b3c8c2f 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.19",
+ "@tanstack/vue-router": "^1.168.20",
"@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 518b546c5c..b68f391425 100644
--- a/packages/react-router/CHANGELOG.md
+++ b/packages/react-router/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/react-router
+## 1.168.24
+
+### Patch Changes
+
+- Add TanStack Start inline CSS manifest support for SSR so route styles can be embedded in the HTML response and hydrated without duplicate stylesheet links. ([#7253](https://github.com/TanStack/router/pull/7253))
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/router-core@1.168.16
+
## 1.168.23
### Patch Changes
diff --git a/packages/react-router/package.json b/packages/react-router/package.json
index 05e0950616..3444127fee 100644
--- a/packages/react-router/package.json
+++ b/packages/react-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-router",
- "version": "1.168.23",
+ "version": "1.168.24",
"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 e91d877ade..5c7cb99d6d 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.41
+
+### Patch Changes
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/react-router@1.168.24
+ - @tanstack/router-core@1.168.16
+ - @tanstack/start-client-core@1.167.18
+
## 1.166.40
### Patch Changes
diff --git a/packages/react-start-client/package.json b/packages/react-start-client/package.json
index 304c6fdbc4..6d07e7041a 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.40",
+ "version": "1.166.41",
"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 6433238716..ede4964dea 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.25
+
+### Patch Changes
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/react-router@1.168.24
+ - @tanstack/router-core@1.168.16
+ - @tanstack/start-plugin-core@1.169.2
+ - @tanstack/start-server-core@1.167.20
+ - @tanstack/react-start-server@1.166.42
+ - @tanstack/start-client-core@1.167.18
+ - @tanstack/start-storage-context@1.166.30
+
## 0.0.24
### Patch Changes
diff --git a/packages/react-start-rsc/package.json b/packages/react-start-rsc/package.json
index 469cbe0f82..2bc23d8a78 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.24",
+ "version": "0.0.25",
"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 2d6c24816e..958fd1905c 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.42
+
+### Patch Changes
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/react-router@1.168.24
+ - @tanstack/router-core@1.168.16
+ - @tanstack/start-server-core@1.167.20
+ - @tanstack/start-client-core@1.167.18
+
## 1.166.41
### Patch Changes
diff --git a/packages/react-start-server/package.json b/packages/react-start-server/package.json
index 4509b968c3..544fb72cb6 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.41",
+ "version": "1.166.42",
"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 98b4669ae7..59f8adf69d 100644
--- a/packages/react-start/CHANGELOG.md
+++ b/packages/react-start/CHANGELOG.md
@@ -1,5 +1,18 @@
# @tanstack/react-start
+## 1.167.46
+
+### Patch Changes
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/react-router@1.168.24
+ - @tanstack/start-plugin-core@1.169.2
+ - @tanstack/start-server-core@1.167.20
+ - @tanstack/react-start-client@1.166.41
+ - @tanstack/react-start-rsc@0.0.25
+ - @tanstack/react-start-server@1.166.42
+ - @tanstack/start-client-core@1.167.18
+
## 1.167.45
### Patch Changes
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index 6075464da2..cb64f201cf 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.167.45",
+ "version": "1.167.46",
"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 e3e8b0ee4b..2312b38769 100644
--- a/packages/router-cli/CHANGELOG.md
+++ b/packages/router-cli/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-cli
+## 1.166.35
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/router-generator@1.166.34
+
## 1.166.34
### Patch Changes
diff --git a/packages/router-cli/package.json b/packages/router-cli/package.json
index 8c9136487a..167b4b2a24 100644
--- a/packages/router-cli/package.json
+++ b/packages/router-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-cli",
- "version": "1.166.34",
+ "version": "1.166.35",
"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 5fecaef60b..bc543bd2ba 100644
--- a/packages/router-core/CHANGELOG.md
+++ b/packages/router-core/CHANGELOG.md
@@ -1,5 +1,11 @@
# @tanstack/router-core
+## 1.168.16
+
+### Patch Changes
+
+- Add TanStack Start inline CSS manifest support for SSR so route styles can be embedded in the HTML response and hydrated without duplicate stylesheet links. ([#7253](https://github.com/TanStack/router/pull/7253))
+
## 1.168.15
### Patch Changes
diff --git a/packages/router-core/package.json b/packages/router-core/package.json
index 779fe17d47..0b69768fcd 100644
--- a/packages/router-core/package.json
+++ b/packages/router-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-core",
- "version": "1.168.15",
+ "version": "1.168.16",
"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 0eb1625a46..2b8c961788 100644
--- a/packages/router-generator/CHANGELOG.md
+++ b/packages/router-generator/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-generator
+## 1.166.34
+
+### Patch Changes
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/router-core@1.168.16
+
## 1.166.33
### Patch Changes
diff --git a/packages/router-generator/package.json b/packages/router-generator/package.json
index 894ad61029..b1c58977eb 100644
--- a/packages/router-generator/package.json
+++ b/packages/router-generator/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-generator",
- "version": "1.166.33",
+ "version": "1.166.34",
"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 c6be436c71..2b23236536 100644
--- a/packages/router-plugin/CHANGELOG.md
+++ b/packages/router-plugin/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/router-plugin
+## 1.167.24
+
+### Patch Changes
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/react-router@1.168.24
+ - @tanstack/router-core@1.168.16
+ - @tanstack/router-generator@1.166.34
+
## 1.167.23
### Patch Changes
diff --git a/packages/router-plugin/package.json b/packages/router-plugin/package.json
index 8e0d494f3a..c566af59b6 100644
--- a/packages/router-plugin/package.json
+++ b/packages/router-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-plugin",
- "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/router-vite-plugin/CHANGELOG.md b/packages/router-vite-plugin/CHANGELOG.md
index 9d348f6c17..b07ca9f5bd 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.39
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/router-plugin@1.167.24
+
## 1.166.38
### Patch Changes
diff --git a/packages/router-vite-plugin/package.json b/packages/router-vite-plugin/package.json
index 70961d9f02..10301b02ee 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.38",
+ "version": "1.166.39",
"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 35a866a818..4d738a4f99 100644
--- a/packages/solid-router/CHANGELOG.md
+++ b/packages/solid-router/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/solid-router
+## 1.168.21
+
+### Patch Changes
+
+- Add TanStack Start inline CSS manifest support for SSR so route styles can be embedded in the HTML response and hydrated without duplicate stylesheet links. ([#7253](https://github.com/TanStack/router/pull/7253))
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/router-core@1.168.16
+
## 1.168.20
### Patch Changes
diff --git a/packages/solid-router/package.json b/packages/solid-router/package.json
index 311832823a..f8f8032370 100644
--- a/packages/solid-router/package.json
+++ b/packages/solid-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-router",
- "version": "1.168.20",
+ "version": "1.168.21",
"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 bf84319a58..33744b8bb0 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.37
+
+### Patch Changes
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/router-core@1.168.16
+ - @tanstack/solid-router@1.168.21
+ - @tanstack/start-client-core@1.167.18
+
## 1.166.36
### Patch Changes
diff --git a/packages/solid-start-client/package.json b/packages/solid-start-client/package.json
index 6eeb4ce196..88adc325e7 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.36",
+ "version": "1.166.37",
"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 eab14edec4..98e6e445ee 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.38
+
+### Patch Changes
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/router-core@1.168.16
+ - @tanstack/solid-router@1.168.21
+ - @tanstack/start-server-core@1.167.20
+ - @tanstack/start-client-core@1.167.18
+
## 1.166.37
### Patch Changes
diff --git a/packages/solid-start-server/package.json b/packages/solid-start-server/package.json
index 42886cd282..d7e2b80df1 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.37",
+ "version": "1.166.38",
"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 7752e421e1..2da0f3b006 100644
--- a/packages/solid-start/CHANGELOG.md
+++ b/packages/solid-start/CHANGELOG.md
@@ -1,5 +1,17 @@
# @tanstack/solid-start
+## 1.167.41
+
+### Patch Changes
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/solid-router@1.168.21
+ - @tanstack/start-plugin-core@1.169.2
+ - @tanstack/start-server-core@1.167.20
+ - @tanstack/solid-start-client@1.166.37
+ - @tanstack/solid-start-server@1.166.38
+ - @tanstack/start-client-core@1.167.18
+
## 1.167.40
### Patch Changes
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index 23b3898abc..ee34c61217 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.167.40",
+ "version": "1.167.41",
"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 cfbb33e86a..4fa0776745 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.18
+
+### Patch Changes
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/router-core@1.168.16
+ - @tanstack/start-storage-context@1.166.30
+
## 1.167.17
### Patch Changes
diff --git a/packages/start-client-core/package.json b/packages/start-client-core/package.json
index 39ce827da2..282a52cabc 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.17",
+ "version": "1.167.18",
"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 6ba6aedaa1..11bd898ede 100644
--- a/packages/start-plugin-core/CHANGELOG.md
+++ b/packages/start-plugin-core/CHANGELOG.md
@@ -1,5 +1,18 @@
# @tanstack/start-plugin-core
+## 1.169.2
+
+### Patch Changes
+
+- Add TanStack Start inline CSS manifest support for SSR so route styles can be embedded in the HTML response and hydrated without duplicate stylesheet links. ([#7253](https://github.com/TanStack/router/pull/7253))
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/router-core@1.168.16
+ - @tanstack/start-server-core@1.167.20
+ - @tanstack/router-generator@1.166.34
+ - @tanstack/router-plugin@1.167.24
+ - @tanstack/start-client-core@1.167.18
+
## 1.169.1
### Patch Changes
diff --git a/packages/start-plugin-core/package.json b/packages/start-plugin-core/package.json
index 8e70f34986..ba23b2a592 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.1",
+ "version": "1.169.2",
"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 fd7506dd57..2fb5fc1b7a 100644
--- a/packages/start-server-core/CHANGELOG.md
+++ b/packages/start-server-core/CHANGELOG.md
@@ -1,5 +1,16 @@
# @tanstack/start-server-core
+## 1.167.20
+
+### Patch Changes
+
+- Add TanStack Start inline CSS manifest support for SSR so route styles can be embedded in the HTML response and hydrated without duplicate stylesheet links. ([#7253](https://github.com/TanStack/router/pull/7253))
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/router-core@1.168.16
+ - @tanstack/start-client-core@1.167.18
+ - @tanstack/start-storage-context@1.166.30
+
## 1.167.19
### Patch Changes
diff --git a/packages/start-server-core/package.json b/packages/start-server-core/package.json
index 9fa626652b..1698428d65 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.19",
+ "version": "1.167.20",
"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 319c21bfe3..40cd95846d 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.34
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/react-start@1.167.46
+ - @tanstack/start-client-core@1.167.18
+ - @tanstack/solid-start@1.167.41
+
## 1.166.33
### Patch Changes
diff --git a/packages/start-static-server-functions/package.json b/packages/start-static-server-functions/package.json
index 3a521e8258..699eb7b72c 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.33",
+ "version": "1.166.34",
"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 1590207314..f0f9b388fb 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.30
+
+### Patch Changes
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/router-core@1.168.16
+
## 1.166.29
### Patch Changes
diff --git a/packages/start-storage-context/package.json b/packages/start-storage-context/package.json
index 31b7117c8f..76b97acb1f 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.29",
+ "version": "1.166.30",
"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 1ce2c54612..0e590e7795 100644
--- a/packages/vue-router/CHANGELOG.md
+++ b/packages/vue-router/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/vue-router
+## 1.168.20
+
+### Patch Changes
+
+- Add TanStack Start inline CSS manifest support for SSR so route styles can be embedded in the HTML response and hydrated without duplicate stylesheet links. ([#7253](https://github.com/TanStack/router/pull/7253))
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/router-core@1.168.16
+
## 1.168.19
### Patch Changes
diff --git a/packages/vue-router/package.json b/packages/vue-router/package.json
index 94a4f7d74b..626500486b 100644
--- a/packages/vue-router/package.json
+++ b/packages/vue-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-router",
- "version": "1.168.19",
+ "version": "1.168.20",
"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 51061ec6e2..f2ebe1f6c1 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.36
+
+### Patch Changes
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/router-core@1.168.16
+ - @tanstack/vue-router@1.168.20
+ - @tanstack/start-client-core@1.167.18
+
## 1.166.35
### Patch Changes
diff --git a/packages/vue-start-client/package.json b/packages/vue-start-client/package.json
index eaf9060e01..64ea40a42a 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.35",
+ "version": "1.166.36",
"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 f9de3ec8b0..0648ea3c85 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.37
+
+### Patch Changes
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/router-core@1.168.16
+ - @tanstack/start-server-core@1.167.20
+ - @tanstack/vue-router@1.168.20
+ - @tanstack/start-client-core@1.167.18
+
## 1.166.36
### Patch Changes
diff --git a/packages/vue-start-server/package.json b/packages/vue-start-server/package.json
index 8056ea4282..d0e11405d4 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.36",
+ "version": "1.166.37",
"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 561cb0e6b3..73c4c3c714 100644
--- a/packages/vue-start/CHANGELOG.md
+++ b/packages/vue-start/CHANGELOG.md
@@ -1,5 +1,17 @@
# @tanstack/vue-start
+## 1.167.40
+
+### Patch Changes
+
+- Updated dependencies [[`4d864ee`](https://github.com/TanStack/router/commit/4d864eebbd184265eabb563d326ab409c93feb17)]:
+ - @tanstack/start-plugin-core@1.169.2
+ - @tanstack/start-server-core@1.167.20
+ - @tanstack/vue-router@1.168.20
+ - @tanstack/start-client-core@1.167.18
+ - @tanstack/vue-start-client@1.166.36
+ - @tanstack/vue-start-server@1.166.37
+
## 1.167.39
### Patch Changes
diff --git a/packages/vue-start/package.json b/packages/vue-start/package.json
index 7dbe378012..6782f1e40b 100644
--- a/packages/vue-start/package.json
+++ b/packages/vue-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start",
- "version": "1.167.39",
+ "version": "1.167.40",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e1bb2715b3..5f59d00e82 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -9930,7 +9930,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -9967,7 +9967,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10007,7 +10007,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10047,7 +10047,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10081,7 +10081,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10112,7 +10112,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10149,7 +10149,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10192,7 +10192,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10232,7 +10232,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10269,7 +10269,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
compression:
specifier: ^1.8.0
@@ -10309,7 +10309,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10364,7 +10364,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10404,7 +10404,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10441,7 +10441,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10478,7 +10478,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
solid-js:
specifier: 1.9.12
@@ -10509,7 +10509,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10546,7 +10546,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10592,7 +10592,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10638,7 +10638,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10681,7 +10681,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10718,7 +10718,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10783,7 +10783,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10811,7 +10811,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10842,7 +10842,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10879,7 +10879,7 @@ importers:
specifier: ^4.2.2
version: 4.2.2
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10913,7 +10913,7 @@ importers:
examples/solid/quickstart-webpack-file-based:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -10974,7 +10974,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11048,7 +11048,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11082,7 +11082,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11122,7 +11122,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11168,7 +11168,7 @@ importers:
examples/solid/start-basic:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11220,7 +11220,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11269,7 +11269,7 @@ importers:
specifier: ^0.41.1
version: 0.41.1
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11309,7 +11309,7 @@ importers:
examples/solid/start-basic-cloudflare:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11349,7 +11349,7 @@ importers:
examples/solid/start-basic-netlify:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11386,7 +11386,7 @@ importers:
examples/solid/start-basic-nitro:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11429,7 +11429,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11472,7 +11472,7 @@ importers:
examples/solid/start-basic-static:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11524,7 +11524,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11588,7 +11588,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11643,7 +11643,7 @@ importers:
examples/solid/start-counter:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11686,7 +11686,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11726,7 +11726,7 @@ importers:
specifier: ^5.99.0
version: 5.99.0(solid-js@1.9.12)
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11769,7 +11769,7 @@ importers:
examples/solid/start-streaming-data-from-server-functions:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11806,7 +11806,7 @@ importers:
specifier: ^2.48.1
version: 2.48.1
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11843,7 +11843,7 @@ importers:
examples/solid/start-tailwind-v4:
dependencies:
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11889,7 +11889,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11923,7 +11923,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.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -11963,7 +11963,7 @@ importers:
specifier: workspace:*
version: link:../../../packages/router-plugin
'@tanstack/solid-router':
- specifier: ^1.168.20
+ specifier: ^1.168.21
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
From 1e371b60f1832c158ff4953a4ae6c5ccfe8460b3 Mon Sep 17 00:00:00 2001
From: Manuel Schiller
Date: Sat, 25 Apr 2026 01:45:22 +0200
Subject: [PATCH 045/608] fix: do not import 'react-refresh/runtime' (#7255)
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
---
.changeset/clean-tigers-rescue.md | 5 ++
.../src/core/hmr/webpack-adapter.ts | 48 +++++++------------
.../react/arrow-function@webpack-hot.tsx | 14 ++----
3 files changed, 26 insertions(+), 41 deletions(-)
create mode 100644 .changeset/clean-tigers-rescue.md
diff --git a/.changeset/clean-tigers-rescue.md b/.changeset/clean-tigers-rescue.md
new file mode 100644
index 0000000000..282197bb36
--- /dev/null
+++ b/.changeset/clean-tigers-rescue.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/router-plugin': patch
+---
+
+Fix React route HMR for webpack and rspack so it no longer imports `react-refresh/runtime`, avoiding failures when that optional dependency is not installed.
diff --git a/packages/router-plugin/src/core/hmr/webpack-adapter.ts b/packages/router-plugin/src/core/hmr/webpack-adapter.ts
index 3e3d6a4407..eaf34ccfb1 100644
--- a/packages/router-plugin/src/core/hmr/webpack-adapter.ts
+++ b/packages/router-plugin/src/core/hmr/webpack-adapter.ts
@@ -13,9 +13,7 @@ import type * as t from '@babel/types'
* `routeId` out of `hot.data`. `hot.dispose` stashes it for the next run, and
* `hot.accept()` (no callback) enrolls us as a self-accepting boundary.
*
- * Returns an array of statements so that for React we can prepend an
- * `import { performReactRefresh } from 'react-refresh/runtime'` hoisted to the
- * top of the module.
+ * Returns an array of statements that patches route definitions during HMR.
*/
export function createWebpackHmrStatement(
stableRouteOptionKeys: Array,
@@ -30,21 +28,16 @@ export function createWebpackHmrStatement(
? JSON.stringify(opts.routeId)
: 'undefined'
- const statements: Array = []
-
// React-only: route modules aren't React Refresh "boundaries" (they export
// a non-component `Route`), so the bundler's react-refresh runtime won't
// call `performReactRefresh` for us. We kick it manually after swapping
// route options so newly-registered component bodies get patched into live
// fibers.
//
- // We import `performReactRefresh` directly from `react-refresh/runtime` —
- // the canonical public API — rather than relying on the ProvidePlugin-
- // injected `__react_refresh_utils__` global, whose name is an internal
- // detail of `@rspack/plugin-react-refresh`. The rspack plugin aliases
- // `react-refresh` → its bundled runtime (getRefreshRuntimeDirPath), so this
- // resolves to the same singleton the plugin itself uses and shares the
- // registry React was patched against.
+ // Webpack and Rspack refresh plugins inject `__react_refresh_utils__` via
+ // ProvidePlugin. Use it when present instead of importing
+ // `react-refresh/runtime`, because Rsbuild apps may use React without the
+ // React plugin and therefore may not have that optional dependency installed.
//
// Use the same delayed refresh style as Rspack's React Refresh runtime.
// Route modules and their split component chunks can arrive in separate HMR
@@ -55,27 +48,22 @@ export function createWebpackHmrStatement(
const reactRefreshCall =
opts.targetFramework === 'react'
? `
- const tsrRefreshState = globalThis.__TSR_HMR__ ??= {}
try {
- if (!tsrRefreshState.refreshScheduled) {
- tsrRefreshState.refreshScheduled = true
- setTimeout(() => {
- tsrRefreshState.refreshScheduled = false
- try { __tsr_performReactRefresh() } catch (_e) { /* noop */ }
- }, 30)
+ const tsrReactRefreshUtils =
+ typeof __react_refresh_utils__ !== 'undefined'
+ ? __react_refresh_utils__
+ : undefined
+ const tsrEnqueueUpdate =
+ tsrReactRefreshUtils && typeof tsrReactRefreshUtils.enqueueUpdate === 'function'
+ ? tsrReactRefreshUtils.enqueueUpdate
+ : undefined
+ if (tsrEnqueueUpdate) {
+ tsrEnqueueUpdate(() => {})
}
} catch (_err) { /* noop */ }`
: ''
- if (opts.targetFramework === 'react') {
- statements.push(
- template.statement(
- `import { performReactRefresh as __tsr_performReactRefresh } from 'react-refresh/runtime'`,
- )(),
- )
- }
-
- statements.push(
+ return [
template.statement(
`
if (import.meta.webpackHot) {
@@ -104,7 +92,5 @@ if (import.meta.webpackHot) {
syntacticPlaceholders: true,
},
)(),
- )
-
- return statements
+ ]
}
diff --git a/packages/router-plugin/tests/add-hmr/snapshots/react/arrow-function@webpack-hot.tsx b/packages/router-plugin/tests/add-hmr/snapshots/react/arrow-function@webpack-hot.tsx
index 6e2777cba0..4c11947142 100644
--- a/packages/router-plugin/tests/add-hmr/snapshots/react/arrow-function@webpack-hot.tsx
+++ b/packages/router-plugin/tests/add-hmr/snapshots/react/arrow-function@webpack-hot.tsx
@@ -15,7 +15,6 @@ export const Route = createFileRoute('/posts')({
loader: fetchPosts,
component: TSRSplitComponent
});
-import { performReactRefresh as __tsr_performReactRefresh } from 'react-refresh/runtime';
if (import.meta.webpackHot) {
const hot = import.meta.webpackHot;
const hotData = hot.data ??= {};
@@ -149,16 +148,11 @@ if (import.meta.webpackHot) {
};
}
})(routeId, Route);
- const tsrRefreshState = globalThis.__TSR_HMR__ ??= {};
try {
- if (!tsrRefreshState.refreshScheduled) {
- tsrRefreshState.refreshScheduled = true;
- setTimeout(() => {
- tsrRefreshState.refreshScheduled = false;
- try {
- __tsr_performReactRefresh();
- } catch (_e) {}
- }, 30);
+ const tsrReactRefreshUtils = typeof __react_refresh_utils__ !== 'undefined' ? __react_refresh_utils__ : undefined;
+ const tsrEnqueueUpdate = tsrReactRefreshUtils && typeof tsrReactRefreshUtils.enqueueUpdate === 'function' ? tsrReactRefreshUtils.enqueueUpdate : undefined;
+ if (tsrEnqueueUpdate) {
+ tsrEnqueueUpdate(() => {});
}
} catch (_err) {}
}
From 99c672d27de857e572b956aea0902e9949a7485a Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Fri, 24 Apr 2026 23:50:09 +0000
Subject: [PATCH 046/608] ci: changeset release
---
.changeset/clean-tigers-rescue.md | 5 -----
examples/react/authenticated-routes-firebase/package.json | 2 +-
examples/react/authenticated-routes/package.json | 2 +-
examples/react/basic-file-based/package.json | 2 +-
examples/react/basic-react-query-file-based/package.json | 2 +-
examples/react/basic-ssr-file-based/package.json | 2 +-
.../react/basic-ssr-streaming-file-based/package.json | 2 +-
examples/react/basic-virtual-file-based/package.json | 2 +-
.../react/basic-virtual-inside-file-based/package.json | 2 +-
examples/react/i18n-paraglide/package.json | 2 +-
examples/react/kitchen-sink-file-based/package.json | 2 +-
.../kitchen-sink-react-query-file-based/package.json | 2 +-
examples/react/large-file-based/package.json | 2 +-
examples/react/quickstart-esbuild-file-based/package.json | 2 +-
examples/react/quickstart-file-based/package.json | 2 +-
examples/react/quickstart-rspack-file-based/package.json | 2 +-
examples/react/quickstart-webpack-file-based/package.json | 2 +-
examples/react/router-monorepo-react-query/package.json | 2 +-
.../packages/router/package.json | 2 +-
examples/react/router-monorepo-simple-lazy/package.json | 2 +-
.../packages/router/package.json | 2 +-
examples/react/router-monorepo-simple/package.json | 2 +-
.../router-monorepo-simple/packages/router/package.json | 2 +-
examples/react/search-validator-adapters/package.json | 2 +-
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 | 4 ++--
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/react/view-transitions/package.json | 2 +-
examples/react/with-trpc-react-query/package.json | 2 +-
examples/react/with-trpc/package.json | 2 +-
examples/solid/authenticated-routes-firebase/package.json | 2 +-
examples/solid/authenticated-routes/package.json | 2 +-
examples/solid/basic-file-based/package.json | 2 +-
examples/solid/basic-solid-query-file-based/package.json | 2 +-
examples/solid/basic-solid-query/package.json | 2 +-
examples/solid/basic-ssr-file-based/package.json | 2 +-
.../solid/basic-ssr-streaming-file-based/package.json | 2 +-
examples/solid/basic-virtual-file-based/package.json | 2 +-
.../solid/basic-virtual-inside-file-based/package.json | 2 +-
examples/solid/i18n-paraglide/package.json | 2 +-
examples/solid/kitchen-sink-file-based/package.json | 2 +-
.../kitchen-sink-solid-query-file-based/package.json | 2 +-
examples/solid/large-file-based/package.json | 2 +-
examples/solid/quickstart-esbuild-file-based/package.json | 2 +-
examples/solid/quickstart-file-based/package.json | 2 +-
examples/solid/quickstart-rspack-file-based/package.json | 2 +-
examples/solid/quickstart-webpack-file-based/package.json | 2 +-
examples/solid/router-monorepo-simple-lazy/package.json | 2 +-
.../packages/router/package.json | 2 +-
examples/solid/router-monorepo-simple/package.json | 2 +-
.../router-monorepo-simple/packages/router/package.json | 2 +-
examples/solid/router-monorepo-solid-query/package.json | 2 +-
.../packages/router/package.json | 2 +-
examples/solid/search-validator-adapters/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 | 4 ++--
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 +-
examples/solid/view-transitions/package.json | 2 +-
examples/solid/with-trpc/package.json | 2 +-
examples/vue/basic-file-based-jsx/package.json | 2 +-
examples/vue/basic-file-based-sfc/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/router-plugin/CHANGELOG.md | 6 ++++++
packages/router-plugin/package.json | 2 +-
packages/router-vite-plugin/CHANGELOG.md | 7 +++++++
packages/router-vite-plugin/package.json | 2 +-
packages/solid-start/CHANGELOG.md | 7 +++++++
packages/solid-start/package.json | 2 +-
packages/start-plugin-core/CHANGELOG.md | 7 +++++++
packages/start-plugin-core/package.json | 2 +-
packages/vue-start/CHANGELOG.md | 7 +++++++
packages/vue-start/package.json | 2 +-
105 files changed, 148 insertions(+), 104 deletions(-)
delete mode 100644 .changeset/clean-tigers-rescue.md
diff --git a/.changeset/clean-tigers-rescue.md b/.changeset/clean-tigers-rescue.md
deleted file mode 100644
index 282197bb36..0000000000
--- a/.changeset/clean-tigers-rescue.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/router-plugin': patch
----
-
-Fix React route HMR for webpack and rspack so it no longer imports `react-refresh/runtime`, avoiding failures when that optional dependency is not installed.
diff --git a/examples/react/authenticated-routes-firebase/package.json b/examples/react/authenticated-routes-firebase/package.json
index 0f2ee71b0d..1081203896 100644
--- a/examples/react/authenticated-routes-firebase/package.json
+++ b/examples/react/authenticated-routes-firebase/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 d9317cf16b..bad7fd2c2d 100644
--- a/examples/react/authenticated-routes/package.json
+++ b/examples/react/authenticated-routes/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-file-based/package.json b/examples/react/basic-file-based/package.json
index ccd7b9d95e..3459976a73 100644
--- a/examples/react/basic-file-based/package.json
+++ b/examples/react/basic-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-react-query-file-based/package.json b/examples/react/basic-react-query-file-based/package.json
index bc1b9428db..95fd7439dc 100644
--- a/examples/react/basic-react-query-file-based/package.json
+++ b/examples/react/basic-react-query-file-based/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-ssr-file-based/package.json b/examples/react/basic-ssr-file-based/package.json
index d8dabbb24a..fc860c678c 100644
--- a/examples/react/basic-ssr-file-based/package.json
+++ b/examples/react/basic-ssr-file-based/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 9a1725807f..91f5d4ddb2 100644
--- a/examples/react/basic-ssr-streaming-file-based/package.json
+++ b/examples/react/basic-ssr-streaming-file-based/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 800b9b2f3b..82fdb0aed3 100644
--- a/examples/react/basic-virtual-file-based/package.json
+++ b/examples/react/basic-virtual-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@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 c6413e01c1..1c88e27f93 100644
--- a/examples/react/basic-virtual-inside-file-based/package.json
+++ b/examples/react/basic-virtual-inside-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@tanstack/virtual-file-routes": "^1.161.7",
"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 23dcdcc323..9011b6a43f 100644
--- a/examples/react/i18n-paraglide/package.json
+++ b/examples/react/i18n-paraglide/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 5852d2660b..f284faff6b 100644
--- a/examples/react/kitchen-sink-file-based/package.json
+++ b/examples/react/kitchen-sink-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 50c60f8534..33c66c716e 100644
--- a/examples/react/kitchen-sink-react-query-file-based/package.json
+++ b/examples/react/kitchen-sink-react-query-file-based/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"immer": "^10.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/large-file-based/package.json b/examples/react/large-file-based/package.json
index 3e55f3668b..5c540abdfc 100644
--- a/examples/react/large-file-based/package.json
+++ b/examples/react/large-file-based/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/quickstart-esbuild-file-based/package.json b/examples/react/quickstart-esbuild-file-based/package.json
index eefe285984..45b504fbda 100644
--- a/examples/react/quickstart-esbuild-file-based/package.json
+++ b/examples/react/quickstart-esbuild-file-based/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 7c5feb8843..984c1db641 100644
--- a/examples/react/quickstart-file-based/package.json
+++ b/examples/react/quickstart-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 96702c64a1..3e8b46a1e4 100644
--- a/examples/react/quickstart-rspack-file-based/package.json
+++ b/examples/react/quickstart-rspack-file-based/package.json
@@ -19,7 +19,7 @@
"devDependencies": {
"@rsbuild/core": "^2.0.1",
"@rsbuild/plugin-react": "^2.0.0",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@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 0fb14d1dd4..340a4c8433 100644
--- a/examples/react/quickstart-webpack-file-based/package.json
+++ b/examples/react/quickstart-webpack-file-based/package.json
@@ -14,7 +14,7 @@
},
"devDependencies": {
"@swc/core": "^1.10.15",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"html-webpack-plugin": "^5.6.3",
diff --git a/examples/react/router-monorepo-react-query/package.json b/examples/react/router-monorepo-react-query/package.json
index d8ff933855..00d8694af2 100644
--- a/examples/react/router-monorepo-react-query/package.json
+++ b/examples/react/router-monorepo-react-query/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 d405b62f68..b1efbe2b73 100644
--- a/examples/react/router-monorepo-react-query/packages/router/package.json
+++ b/examples/react/router-monorepo-react-query/packages/router/package.json
@@ -11,7 +11,7 @@
"@tanstack/history": "^1.161.6",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@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 8639ad099d..1fc89dcb3c 100644
--- a/examples/react/router-monorepo-simple-lazy/package.json
+++ b/examples/react/router-monorepo-simple-lazy/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 ae31ef6b2c..d1009459bd 100644
--- a/examples/react/router-monorepo-simple-lazy/packages/router/package.json
+++ b/examples/react/router-monorepo-simple-lazy/packages/router/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 022aba4c7e..9ceca7203a 100644
--- a/examples/react/router-monorepo-simple/package.json
+++ b/examples/react/router-monorepo-simple/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 667278437d..c5be07215a 100644
--- a/examples/react/router-monorepo-simple/packages/router/package.json
+++ b/examples/react/router-monorepo-simple/packages/router/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"react": "^19.0.0",
diff --git a/examples/react/search-validator-adapters/package.json b/examples/react/search-validator-adapters/package.json
index ad4fd53f99..d98ee9eb2a 100644
--- a/examples/react/search-validator-adapters/package.json
+++ b/examples/react/search-validator-adapters/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@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 643ccc02cf..93bc56d878 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 3a828e34e7..c70295b123 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 4fa6d7985e..e60f88da72 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 2e3cbdaecc..e3e8124500 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 3ee0c7c2a2..d96c2cdad1 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 256a2b624d..c80eea0a9a 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"@tanstack/start-static-server-functions": "^1.166.34",
"@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 afe9f2e52f..89d75f49d0 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 f3b6ec3d0d..ded890a4fc 100644
--- a/examples/react/start-bun/package.json
+++ b/examples/react/start-bun/package.json
@@ -18,8 +18,8 @@
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.46",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/react-start": "^1.167.47",
+ "@tanstack/router-plugin": "^1.167.25",
"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 98c25f80c2..7c0226e04c 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"@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 b43b25f0c4..7e34f7e3fa 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 d2507e59e9..eef8940e91 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 e6eada8b34..9c339a4f1b 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 e2c706e81f..52f47a5253 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 d8fdf627e0..9e85ae0b82 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.24",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"@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 baa34d7df0..32403f1a96 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 03aaefc91e..0397610213 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 8a1d9d3dfc..c19b5a2fb6 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 da1ec0f371..1f8136698d 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 675c59df71..7e5e723b1f 100644
--- a/examples/react/start-trellaux/package.json
+++ b/examples/react/start-trellaux/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"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 29f3211f16..903d5ad3b5 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.46",
+ "@tanstack/react-start": "^1.167.47",
"@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 e06d6fd637..988c2c6c97 100644
--- a/examples/react/view-transitions/package.json
+++ b/examples/react/view-transitions/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/with-trpc-react-query/package.json b/examples/react/with-trpc-react-query/package.json
index 907846a0a8..441ba04157 100644
--- a/examples/react/with-trpc-react-query/package.json
+++ b/examples/react/with-trpc-react-query/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@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 b80f678d14..2253bbde41 100644
--- a/examples/react/with-trpc/package.json
+++ b/examples/react/with-trpc/package.json
@@ -13,7 +13,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@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 aa449436c8..6c5f6fb6ad 100644
--- a/examples/solid/authenticated-routes-firebase/package.json
+++ b/examples/solid/authenticated-routes-firebase/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 0582286d71..eab07cdd7a 100644
--- a/examples/solid/authenticated-routes/package.json
+++ b/examples/solid/authenticated-routes/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/basic-file-based/package.json b/examples/solid/basic-file-based/package.json
index 04bfa63e7e..86f3d177d8 100644
--- a/examples/solid/basic-file-based/package.json
+++ b/examples/solid/basic-file-based/package.json
@@ -18,7 +18,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/basic-solid-query-file-based/package.json b/examples/solid/basic-solid-query-file-based/package.json
index 32f4433a35..16f823906e 100644
--- a/examples/solid/basic-solid-query-file-based/package.json
+++ b/examples/solid/basic-solid-query-file-based/package.json
@@ -21,7 +21,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 963085c5b4..1065505ebf 100644
--- a/examples/solid/basic-solid-query/package.json
+++ b/examples/solid/basic-solid-query/package.json
@@ -19,7 +19,7 @@
"tailwindcss": "^4.2.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 9aa8933625..419e80a70a 100644
--- a/examples/solid/basic-ssr-file-based/package.json
+++ b/examples/solid/basic-ssr-file-based/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@tanstack/solid-router": "^1.168.21",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 49c9858df9..94e4301c31 100644
--- a/examples/solid/basic-ssr-streaming-file-based/package.json
+++ b/examples/solid/basic-ssr-streaming-file-based/package.json
@@ -24,7 +24,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@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 86c5ba445e..c4001eeb8c 100644
--- a/examples/solid/basic-virtual-file-based/package.json
+++ b/examples/solid/basic-virtual-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@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 63cfaf28ed..73adabce35 100644
--- a/examples/solid/basic-virtual-inside-file-based/package.json
+++ b/examples/solid/basic-virtual-inside-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@tanstack/virtual-file-routes": "^1.161.7",
"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 2290c3dd80..27424a3d96 100644
--- a/examples/solid/i18n-paraglide/package.json
+++ b/examples/solid/i18n-paraglide/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.21",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 5c365d0b86..912c812845 100644
--- a/examples/solid/kitchen-sink-file-based/package.json
+++ b/examples/solid/kitchen-sink-file-based/package.json
@@ -19,7 +19,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 2a05a0511e..53a43b7677 100644
--- a/examples/solid/kitchen-sink-solid-query-file-based/package.json
+++ b/examples/solid/kitchen-sink-solid-query-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
"@tanstack/solid-router": "^1.168.21",
diff --git a/examples/solid/large-file-based/package.json b/examples/solid/large-file-based/package.json
index 7a8d273c4f..f57da170fe 100644
--- a/examples/solid/large-file-based/package.json
+++ b/examples/solid/large-file-based/package.json
@@ -15,7 +15,7 @@
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/quickstart-esbuild-file-based/package.json b/examples/solid/quickstart-esbuild-file-based/package.json
index e10fdc0f91..1571e73ac4 100644
--- a/examples/solid/quickstart-esbuild-file-based/package.json
+++ b/examples/solid/quickstart-esbuild-file-based/package.json
@@ -9,7 +9,7 @@
"start": "dev"
},
"dependencies": {
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
diff --git a/examples/solid/quickstart-file-based/package.json b/examples/solid/quickstart-file-based/package.json
index 4fe140bab3..bf591590f2 100644
--- a/examples/solid/quickstart-file-based/package.json
+++ b/examples/solid/quickstart-file-based/package.json
@@ -18,7 +18,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 107d9d024b..2ed106babe 100644
--- a/examples/solid/quickstart-rspack-file-based/package.json
+++ b/examples/solid/quickstart-rspack-file-based/package.json
@@ -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.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 08d1087d9f..942558b3ca 100644
--- a/examples/solid/quickstart-webpack-file-based/package.json
+++ b/examples/solid/quickstart-webpack-file-based/package.json
@@ -15,7 +15,7 @@
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/preset-typescript": "^7.27.1",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"babel-loader": "^10.0.0",
"babel-preset-solid": "^1.9.10",
"css-loader": "^7.1.2",
diff --git a/examples/solid/router-monorepo-simple-lazy/package.json b/examples/solid/router-monorepo-simple-lazy/package.json
index 5f2048e2b9..8c5e48f18c 100644
--- a/examples/solid/router-monorepo-simple-lazy/package.json
+++ b/examples/solid/router-monorepo-simple-lazy/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 737d642ff1..678685a3b1 100644
--- a/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
+++ b/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/solid-router": "^1.168.21",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 3153f2b041..50fdc3efc5 100644
--- a/examples/solid/router-monorepo-simple/package.json
+++ b/examples/solid/router-monorepo-simple/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 1d6df8c6be..91b3741c12 100644
--- a/examples/solid/router-monorepo-simple/packages/router/package.json
+++ b/examples/solid/router-monorepo-simple/packages/router/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/solid-router": "^1.168.21",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 02ad60d8fc..c7897ebc10 100644
--- a/examples/solid/router-monorepo-solid-query/package.json
+++ b/examples/solid/router-monorepo-solid-query/package.json
@@ -14,7 +14,7 @@
"@tanstack/solid-query-devtools": "^5.90.0",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"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 305a827bd0..3f3cea295f 100644
--- a/examples/solid/router-monorepo-solid-query/packages/router/package.json
+++ b/examples/solid/router-monorepo-solid-query/packages/router/package.json
@@ -11,7 +11,7 @@
"@tanstack/history": "^1.161.6",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-router": "^1.168.21",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@router-solid-mono-solid-query/post-query": "workspace:*",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
diff --git a/examples/solid/search-validator-adapters/package.json b/examples/solid/search-validator-adapters/package.json
index bff158ed7f..36e5cc2333 100644
--- a/examples/solid/search-validator-adapters/package.json
+++ b/examples/solid/search-validator-adapters/package.json
@@ -15,7 +15,7 @@
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@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 68a4a388cc..4c7b7143d4 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"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 1a39a77ecd..347674dd48 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"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 aae1569396..25153dd366 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"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 c15e1ba6e4..87d3c9fac3 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"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 fb19471b7e..326ff756ba 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"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 9069889e55..ab02a99494 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.11",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"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 e3ba5bb217..7ff6f748fb 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"@tanstack/start-static-server-functions": "^1.166.34",
"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 73cf1a7baf..c21e5fab06 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"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 2492892561..7336b75cad 100644
--- a/examples/solid/start-bun/package.json
+++ b/examples/solid/start-bun/package.json
@@ -18,8 +18,8 @@
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.11",
- "@tanstack/solid-start": "^1.167.41",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/router-plugin": "^1.167.25",
"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 797b5ab60e..28a933dbf6 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"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 c0b5b3ab6f..3565c189b8 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"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 25a9396f41..e6437d818d 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-large/package.json b/examples/solid/start-large/package.json
index 1341185097..97c5a474af 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"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 5aa039fdfd..87e9b4634d 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"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 097dd519b2..78e0c90b23 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"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 26f2ec3950..49d0cec394 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.41",
+ "@tanstack/solid-start": "^1.167.42",
"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 dbf45168a0..70e9324c63 100644
--- a/examples/solid/view-transitions/package.json
+++ b/examples/solid/view-transitions/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/with-trpc/package.json b/examples/solid/with-trpc/package.json
index aa683dc2d5..cf1a31e6ae 100644
--- a/examples/solid/with-trpc/package.json
+++ b/examples/solid/with-trpc/package.json
@@ -13,7 +13,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@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 5900600d00..ee8815201f 100644
--- a/examples/vue/basic-file-based-jsx/package.json
+++ b/examples/vue/basic-file-based-jsx/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@tanstack/vue-router": "^1.168.20",
"@tanstack/vue-router-devtools": "^1.166.13",
"@tanstack/zod-adapter": "^1.166.9",
diff --git a/examples/vue/basic-file-based-sfc/package.json b/examples/vue/basic-file-based-sfc/package.json
index 08b0406724..e6405fe594 100644
--- a/examples/vue/basic-file-based-sfc/package.json
+++ b/examples/vue/basic-file-based-sfc/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.24",
+ "@tanstack/router-plugin": "^1.167.25",
"@tanstack/vue-router": "^1.168.20",
"@tanstack/vue-router-devtools": "^1.166.13",
"@tanstack/zod-adapter": "^1.166.9",
diff --git a/packages/react-start-rsc/CHANGELOG.md b/packages/react-start-rsc/CHANGELOG.md
index ede4964dea..1d347d7889 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.26
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/start-plugin-core@1.169.3
+
## 0.0.25
### Patch Changes
diff --git a/packages/react-start-rsc/package.json b/packages/react-start-rsc/package.json
index 2bc23d8a78..dce58ac1cc 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.25",
+ "version": "0.0.26",
"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 59f8adf69d..892e97f99c 100644
--- a/packages/react-start/CHANGELOG.md
+++ b/packages/react-start/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/react-start
+## 1.167.47
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/start-plugin-core@1.169.3
+ - @tanstack/react-start-rsc@0.0.26
+
## 1.167.46
### Patch Changes
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index cb64f201cf..e4a9d1eedf 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.167.46",
+ "version": "1.167.47",
"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 2b23236536..f381cf0818 100644
--- a/packages/router-plugin/CHANGELOG.md
+++ b/packages/router-plugin/CHANGELOG.md
@@ -1,5 +1,11 @@
# @tanstack/router-plugin
+## 1.167.25
+
+### Patch Changes
+
+- Fix React route HMR for webpack and rspack so it no longer imports `react-refresh/runtime`, avoiding failures when that optional dependency is not installed. ([#7255](https://github.com/TanStack/router/pull/7255))
+
## 1.167.24
### Patch Changes
diff --git a/packages/router-plugin/package.json b/packages/router-plugin/package.json
index c566af59b6..9e908a4ff1 100644
--- a/packages/router-plugin/package.json
+++ b/packages/router-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-plugin",
- "version": "1.167.24",
+ "version": "1.167.25",
"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 b07ca9f5bd..5d3956248d 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.40
+
+### Patch Changes
+
+- Updated dependencies [[`1e371b6`](https://github.com/TanStack/router/commit/1e371b60f1832c158ff4953a4ae6c5ccfe8460b3)]:
+ - @tanstack/router-plugin@1.167.25
+
## 1.166.39
### Patch Changes
diff --git a/packages/router-vite-plugin/package.json b/packages/router-vite-plugin/package.json
index 10301b02ee..35e5ffec27 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.39",
+ "version": "1.166.40",
"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 2da0f3b006..c16763807b 100644
--- a/packages/solid-start/CHANGELOG.md
+++ b/packages/solid-start/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/solid-start
+## 1.167.42
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/start-plugin-core@1.169.3
+
## 1.167.41
### Patch Changes
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index ee34c61217..56bb95f72a 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.167.41",
+ "version": "1.167.42",
"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 11bd898ede..54f378c1fa 100644
--- a/packages/start-plugin-core/CHANGELOG.md
+++ b/packages/start-plugin-core/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/start-plugin-core
+## 1.169.3
+
+### Patch Changes
+
+- Updated dependencies [[`1e371b6`](https://github.com/TanStack/router/commit/1e371b60f1832c158ff4953a4ae6c5ccfe8460b3)]:
+ - @tanstack/router-plugin@1.167.25
+
## 1.169.2
### Patch Changes
diff --git a/packages/start-plugin-core/package.json b/packages/start-plugin-core/package.json
index ba23b2a592..4b3dc80a9b 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.2",
+ "version": "1.169.3",
"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 73c4c3c714..0a8c7ce73e 100644
--- a/packages/vue-start/CHANGELOG.md
+++ b/packages/vue-start/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/vue-start
+## 1.167.41
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/start-plugin-core@1.169.3
+
## 1.167.40
### Patch Changes
diff --git a/packages/vue-start/package.json b/packages/vue-start/package.json
index 6782f1e40b..84afb64992 100644
--- a/packages/vue-start/package.json
+++ b/packages/vue-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start",
- "version": "1.167.40",
+ "version": "1.167.41",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
From c36bdcccb72d63519e068e995f8df0b7c3e5a772 Mon Sep 17 00:00:00 2001
From: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Date: Sat, 25 Apr 2026 11:58:43 +1200
Subject: [PATCH 047/608] chore(examples): checkin git outdated route-tree
files for react and solid examples (#7257)
---
.../src/routeTree.gen.ts | 64 +++++++++----------
.../src/routeTree.gen.ts | 64 +++++++++----------
2 files changed, 64 insertions(+), 64 deletions(-)
diff --git a/examples/react/basic-virtual-inside-file-based/src/routeTree.gen.ts b/examples/react/basic-virtual-inside-file-based/src/routeTree.gen.ts
index 13c88dd36d..947fd037d9 100644
--- a/examples/react/basic-virtual-inside-file-based/src/routeTree.gen.ts
+++ b/examples/react/basic-virtual-inside-file-based/src/routeTree.gen.ts
@@ -12,13 +12,13 @@ import { Route as rootRouteImport } from './routes/__root'
import { Route as PostsRouteImport } from './routes/posts'
import { Route as LayoutRouteImport } from './routes/_layout'
import { Route as IndexRouteImport } from './routes/index'
-import { Route as postsDetailsRouteImport } from './routes/posts/details'
+import { Route as PostsDetailsRouteImport } from './routes/posts/details'
import { Route as LayoutLayout2RouteImport } from './routes/_layout/_layout-2'
-import { Route as postsHomeRouteImport } from './routes/posts/home'
-import { Route as postsLetsGoIndexRouteImport } from './routes/posts/lets-go/index'
+import { Route as PostsHomeRouteImport } from './routes/posts/home'
+import { Route as PostsLetsGoIndexRouteImport } from './routes/posts/lets-go/index'
import { Route as LayoutLayout2LayoutBRouteImport } from './routes/_layout/_layout-2/layout-b'
import { Route as LayoutLayout2LayoutARouteImport } from './routes/_layout/_layout-2/layout-a'
-import { Route as postsLetsGoDeeperHomeRouteImport } from './routes/posts/lets-go/deeper/home'
+import { Route as PostsLetsGoDeeperHomeRouteImport } from './routes/posts/lets-go/deeper/home'
const PostsRoute = PostsRouteImport.update({
id: '/posts',
@@ -34,7 +34,7 @@ const IndexRoute = IndexRouteImport.update({
path: '/',
getParentRoute: () => rootRouteImport,
} as any)
-const postsDetailsRoute = postsDetailsRouteImport.update({
+const PostsDetailsRoute = PostsDetailsRouteImport.update({
id: '/$postId',
path: '/$postId',
getParentRoute: () => PostsRoute,
@@ -43,12 +43,12 @@ const LayoutLayout2Route = LayoutLayout2RouteImport.update({
id: '/_layout-2',
getParentRoute: () => LayoutRoute,
} as any)
-const postsHomeRoute = postsHomeRouteImport.update({
+const PostsHomeRoute = PostsHomeRouteImport.update({
id: '/',
path: '/',
getParentRoute: () => PostsRoute,
} as any)
-const postsLetsGoIndexRoute = postsLetsGoIndexRouteImport.update({
+const PostsLetsGoIndexRoute = PostsLetsGoIndexRouteImport.update({
id: '/inception/',
path: '/inception/',
getParentRoute: () => PostsRoute,
@@ -63,7 +63,7 @@ const LayoutLayout2LayoutARoute = LayoutLayout2LayoutARouteImport.update({
path: '/layout-a',
getParentRoute: () => LayoutLayout2Route,
} as any)
-const postsLetsGoDeeperHomeRoute = postsLetsGoDeeperHomeRouteImport.update({
+const PostsLetsGoDeeperHomeRoute = PostsLetsGoDeeperHomeRouteImport.update({
id: '/inception/deeper/',
path: '/inception/deeper/',
getParentRoute: () => PostsRoute,
@@ -72,34 +72,34 @@ const postsLetsGoDeeperHomeRoute = postsLetsGoDeeperHomeRouteImport.update({
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/posts': typeof PostsRouteWithChildren
- '/posts/': typeof postsHomeRoute
- '/posts/$postId': typeof postsDetailsRoute
+ '/posts/': typeof PostsHomeRoute
+ '/posts/$postId': typeof PostsDetailsRoute
'/layout-a': typeof LayoutLayout2LayoutARoute
'/layout-b': typeof LayoutLayout2LayoutBRoute
- '/posts/inception/': typeof postsLetsGoIndexRoute
- '/posts/inception/deeper/': typeof postsLetsGoDeeperHomeRoute
+ '/posts/inception/': typeof PostsLetsGoIndexRoute
+ '/posts/inception/deeper/': typeof PostsLetsGoDeeperHomeRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
- '/posts': typeof postsHomeRoute
- '/posts/$postId': typeof postsDetailsRoute
+ '/posts': typeof PostsHomeRoute
+ '/posts/$postId': typeof PostsDetailsRoute
'/layout-a': typeof LayoutLayout2LayoutARoute
'/layout-b': typeof LayoutLayout2LayoutBRoute
- '/posts/inception': typeof postsLetsGoIndexRoute
- '/posts/inception/deeper': typeof postsLetsGoDeeperHomeRoute
+ '/posts/inception': typeof PostsLetsGoIndexRoute
+ '/posts/inception/deeper': typeof PostsLetsGoDeeperHomeRoute
}
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
'/_layout': typeof LayoutRouteWithChildren
'/posts': typeof PostsRouteWithChildren
- '/posts/': typeof postsHomeRoute
+ '/posts/': typeof PostsHomeRoute
'/_layout/_layout-2': typeof LayoutLayout2RouteWithChildren
- '/posts/$postId': typeof postsDetailsRoute
+ '/posts/$postId': typeof PostsDetailsRoute
'/_layout/_layout-2/layout-a': typeof LayoutLayout2LayoutARoute
'/_layout/_layout-2/layout-b': typeof LayoutLayout2LayoutBRoute
- '/posts/inception/': typeof postsLetsGoIndexRoute
- '/posts/inception/deeper/': typeof postsLetsGoDeeperHomeRoute
+ '/posts/inception/': typeof PostsLetsGoIndexRoute
+ '/posts/inception/deeper/': typeof PostsLetsGoDeeperHomeRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
@@ -168,7 +168,7 @@ declare module '@tanstack/react-router' {
id: '/posts/$postId'
path: '/$postId'
fullPath: '/posts/$postId'
- preLoaderRoute: typeof postsDetailsRouteImport
+ preLoaderRoute: typeof PostsDetailsRouteImport
parentRoute: typeof PostsRoute
}
'/_layout/_layout-2': {
@@ -182,14 +182,14 @@ declare module '@tanstack/react-router' {
id: '/posts/'
path: '/'
fullPath: '/posts/'
- preLoaderRoute: typeof postsHomeRouteImport
+ preLoaderRoute: typeof PostsHomeRouteImport
parentRoute: typeof PostsRoute
}
'/posts/inception/': {
id: '/posts/inception/'
path: '/inception'
fullPath: '/posts/inception/'
- preLoaderRoute: typeof postsLetsGoIndexRouteImport
+ preLoaderRoute: typeof PostsLetsGoIndexRouteImport
parentRoute: typeof PostsRoute
}
'/_layout/_layout-2/layout-b': {
@@ -210,7 +210,7 @@ declare module '@tanstack/react-router' {
id: '/posts/inception/deeper/'
path: '/inception/deeper'
fullPath: '/posts/inception/deeper/'
- preLoaderRoute: typeof postsLetsGoDeeperHomeRouteImport
+ preLoaderRoute: typeof PostsLetsGoDeeperHomeRouteImport
parentRoute: typeof PostsRoute
}
}
@@ -242,17 +242,17 @@ const LayoutRouteWithChildren =
LayoutRoute._addFileChildren(LayoutRouteChildren)
interface PostsRouteChildren {
- postsHomeRoute: typeof postsHomeRoute
- postsDetailsRoute: typeof postsDetailsRoute
- postsLetsGoIndexRoute: typeof postsLetsGoIndexRoute
- postsLetsGoDeeperHomeRoute: typeof postsLetsGoDeeperHomeRoute
+ PostsHomeRoute: typeof PostsHomeRoute
+ PostsDetailsRoute: typeof PostsDetailsRoute
+ PostsLetsGoIndexRoute: typeof PostsLetsGoIndexRoute
+ PostsLetsGoDeeperHomeRoute: typeof PostsLetsGoDeeperHomeRoute
}
const PostsRouteChildren: PostsRouteChildren = {
- postsHomeRoute: postsHomeRoute,
- postsDetailsRoute: postsDetailsRoute,
- postsLetsGoIndexRoute: postsLetsGoIndexRoute,
- postsLetsGoDeeperHomeRoute: postsLetsGoDeeperHomeRoute,
+ PostsHomeRoute: PostsHomeRoute,
+ PostsDetailsRoute: PostsDetailsRoute,
+ PostsLetsGoIndexRoute: PostsLetsGoIndexRoute,
+ PostsLetsGoDeeperHomeRoute: PostsLetsGoDeeperHomeRoute,
}
const PostsRouteWithChildren = PostsRoute._addFileChildren(PostsRouteChildren)
diff --git a/examples/solid/basic-virtual-inside-file-based/src/routeTree.gen.ts b/examples/solid/basic-virtual-inside-file-based/src/routeTree.gen.ts
index 551e8a9b4d..037dac78a3 100644
--- a/examples/solid/basic-virtual-inside-file-based/src/routeTree.gen.ts
+++ b/examples/solid/basic-virtual-inside-file-based/src/routeTree.gen.ts
@@ -12,13 +12,13 @@ import { Route as rootRouteImport } from './routes/__root'
import { Route as PostsRouteImport } from './routes/posts'
import { Route as LayoutRouteImport } from './routes/_layout'
import { Route as IndexRouteImport } from './routes/index'
-import { Route as postsDetailsRouteImport } from './routes/posts/details'
+import { Route as PostsDetailsRouteImport } from './routes/posts/details'
import { Route as LayoutLayout2RouteImport } from './routes/_layout/_layout-2'
-import { Route as postsHomeRouteImport } from './routes/posts/home'
-import { Route as postsLetsGoIndexRouteImport } from './routes/posts/lets-go/index'
+import { Route as PostsHomeRouteImport } from './routes/posts/home'
+import { Route as PostsLetsGoIndexRouteImport } from './routes/posts/lets-go/index'
import { Route as LayoutLayout2LayoutBRouteImport } from './routes/_layout/_layout-2/layout-b'
import { Route as LayoutLayout2LayoutARouteImport } from './routes/_layout/_layout-2/layout-a'
-import { Route as postsLetsGoDeeperHomeRouteImport } from './routes/posts/lets-go/deeper/home'
+import { Route as PostsLetsGoDeeperHomeRouteImport } from './routes/posts/lets-go/deeper/home'
const PostsRoute = PostsRouteImport.update({
id: '/posts',
@@ -34,7 +34,7 @@ const IndexRoute = IndexRouteImport.update({
path: '/',
getParentRoute: () => rootRouteImport,
} as any)
-const postsDetailsRoute = postsDetailsRouteImport.update({
+const PostsDetailsRoute = PostsDetailsRouteImport.update({
id: '/$postId',
path: '/$postId',
getParentRoute: () => PostsRoute,
@@ -43,12 +43,12 @@ const LayoutLayout2Route = LayoutLayout2RouteImport.update({
id: '/_layout-2',
getParentRoute: () => LayoutRoute,
} as any)
-const postsHomeRoute = postsHomeRouteImport.update({
+const PostsHomeRoute = PostsHomeRouteImport.update({
id: '/',
path: '/',
getParentRoute: () => PostsRoute,
} as any)
-const postsLetsGoIndexRoute = postsLetsGoIndexRouteImport.update({
+const PostsLetsGoIndexRoute = PostsLetsGoIndexRouteImport.update({
id: '/inception/',
path: '/inception/',
getParentRoute: () => PostsRoute,
@@ -63,7 +63,7 @@ const LayoutLayout2LayoutARoute = LayoutLayout2LayoutARouteImport.update({
path: '/layout-a',
getParentRoute: () => LayoutLayout2Route,
} as any)
-const postsLetsGoDeeperHomeRoute = postsLetsGoDeeperHomeRouteImport.update({
+const PostsLetsGoDeeperHomeRoute = PostsLetsGoDeeperHomeRouteImport.update({
id: '/inception/deeper/',
path: '/inception/deeper/',
getParentRoute: () => PostsRoute,
@@ -72,34 +72,34 @@ const postsLetsGoDeeperHomeRoute = postsLetsGoDeeperHomeRouteImport.update({
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/posts': typeof PostsRouteWithChildren
- '/posts/': typeof postsHomeRoute
- '/posts/$postId': typeof postsDetailsRoute
+ '/posts/': typeof PostsHomeRoute
+ '/posts/$postId': typeof PostsDetailsRoute
'/layout-a': typeof LayoutLayout2LayoutARoute
'/layout-b': typeof LayoutLayout2LayoutBRoute
- '/posts/inception/': typeof postsLetsGoIndexRoute
- '/posts/inception/deeper/': typeof postsLetsGoDeeperHomeRoute
+ '/posts/inception/': typeof PostsLetsGoIndexRoute
+ '/posts/inception/deeper/': typeof PostsLetsGoDeeperHomeRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
- '/posts': typeof postsHomeRoute
- '/posts/$postId': typeof postsDetailsRoute
+ '/posts': typeof PostsHomeRoute
+ '/posts/$postId': typeof PostsDetailsRoute
'/layout-a': typeof LayoutLayout2LayoutARoute
'/layout-b': typeof LayoutLayout2LayoutBRoute
- '/posts/inception': typeof postsLetsGoIndexRoute
- '/posts/inception/deeper': typeof postsLetsGoDeeperHomeRoute
+ '/posts/inception': typeof PostsLetsGoIndexRoute
+ '/posts/inception/deeper': typeof PostsLetsGoDeeperHomeRoute
}
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
'/_layout': typeof LayoutRouteWithChildren
'/posts': typeof PostsRouteWithChildren
- '/posts/': typeof postsHomeRoute
+ '/posts/': typeof PostsHomeRoute
'/_layout/_layout-2': typeof LayoutLayout2RouteWithChildren
- '/posts/$postId': typeof postsDetailsRoute
+ '/posts/$postId': typeof PostsDetailsRoute
'/_layout/_layout-2/layout-a': typeof LayoutLayout2LayoutARoute
'/_layout/_layout-2/layout-b': typeof LayoutLayout2LayoutBRoute
- '/posts/inception/': typeof postsLetsGoIndexRoute
- '/posts/inception/deeper/': typeof postsLetsGoDeeperHomeRoute
+ '/posts/inception/': typeof PostsLetsGoIndexRoute
+ '/posts/inception/deeper/': typeof PostsLetsGoDeeperHomeRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
@@ -168,7 +168,7 @@ declare module '@tanstack/solid-router' {
id: '/posts/$postId'
path: '/$postId'
fullPath: '/posts/$postId'
- preLoaderRoute: typeof postsDetailsRouteImport
+ preLoaderRoute: typeof PostsDetailsRouteImport
parentRoute: typeof PostsRoute
}
'/_layout/_layout-2': {
@@ -182,14 +182,14 @@ declare module '@tanstack/solid-router' {
id: '/posts/'
path: '/'
fullPath: '/posts/'
- preLoaderRoute: typeof postsHomeRouteImport
+ preLoaderRoute: typeof PostsHomeRouteImport
parentRoute: typeof PostsRoute
}
'/posts/inception/': {
id: '/posts/inception/'
path: '/inception'
fullPath: '/posts/inception/'
- preLoaderRoute: typeof postsLetsGoIndexRouteImport
+ preLoaderRoute: typeof PostsLetsGoIndexRouteImport
parentRoute: typeof PostsRoute
}
'/_layout/_layout-2/layout-b': {
@@ -210,7 +210,7 @@ declare module '@tanstack/solid-router' {
id: '/posts/inception/deeper/'
path: '/inception/deeper'
fullPath: '/posts/inception/deeper/'
- preLoaderRoute: typeof postsLetsGoDeeperHomeRouteImport
+ preLoaderRoute: typeof PostsLetsGoDeeperHomeRouteImport
parentRoute: typeof PostsRoute
}
}
@@ -242,17 +242,17 @@ const LayoutRouteWithChildren =
LayoutRoute._addFileChildren(LayoutRouteChildren)
interface PostsRouteChildren {
- postsHomeRoute: typeof postsHomeRoute
- postsDetailsRoute: typeof postsDetailsRoute
- postsLetsGoIndexRoute: typeof postsLetsGoIndexRoute
- postsLetsGoDeeperHomeRoute: typeof postsLetsGoDeeperHomeRoute
+ PostsHomeRoute: typeof PostsHomeRoute
+ PostsDetailsRoute: typeof PostsDetailsRoute
+ PostsLetsGoIndexRoute: typeof PostsLetsGoIndexRoute
+ PostsLetsGoDeeperHomeRoute: typeof PostsLetsGoDeeperHomeRoute
}
const PostsRouteChildren: PostsRouteChildren = {
- postsHomeRoute: postsHomeRoute,
- postsDetailsRoute: postsDetailsRoute,
- postsLetsGoIndexRoute: postsLetsGoIndexRoute,
- postsLetsGoDeeperHomeRoute: postsLetsGoDeeperHomeRoute,
+ PostsHomeRoute: PostsHomeRoute,
+ PostsDetailsRoute: PostsDetailsRoute,
+ PostsLetsGoIndexRoute: PostsLetsGoIndexRoute,
+ PostsLetsGoDeeperHomeRoute: PostsLetsGoDeeperHomeRoute,
}
const PostsRouteWithChildren = PostsRoute._addFileChildren(PostsRouteChildren)
From 8adbe7415d2e93c51a13eb479213edc305224b6b Mon Sep 17 00:00:00 2001
From: Manuel Schiller
Date: Sat, 25 Apr 2026 03:33:45 +0200
Subject: [PATCH 048/608] add new bundlesize measurements for rsbuild (#7256)
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
---
benchmarks/bundle-size/README.md | 5 +-
benchmarks/bundle-size/package.json | 2 +
.../react-start-full/rsbuild.config.ts | 36 +++
.../react-start-minimal/rsbuild.config.ts | 36 +++
pnpm-lock.yaml | 6 +
scripts/benchmarks/bundle-size/measure.mjs | 212 +++++++++++++++---
6 files changed, 258 insertions(+), 39 deletions(-)
create mode 100644 benchmarks/bundle-size/scenarios/react-start-full/rsbuild.config.ts
create mode 100644 benchmarks/bundle-size/scenarios/react-start-minimal/rsbuild.config.ts
diff --git a/benchmarks/bundle-size/README.md b/benchmarks/bundle-size/README.md
index 1ac80b5870..2f3f51ff77 100644
--- a/benchmarks/bundle-size/README.md
+++ b/benchmarks/bundle-size/README.md
@@ -8,7 +8,7 @@ This workspace contains deterministic bundle-size fixtures for:
- `@tanstack/react-start`
- `@tanstack/solid-start`
-Each package has two scenarios:
+Each package has `minimal` and `full` scenarios:
- `minimal`: Small route app with `__root` + index route that renders `hello world`
- `full`: Same route shape plus a broad root-level harness that imports/uses the full hooks/components surface
@@ -18,7 +18,8 @@ Each package has two scenarios:
- Scenarios use file-based routing as the default app style.
- Router scenarios use `@tanstack/router-plugin/vite` with `autoCodeSplitting: true`.
-- Start scenarios use `@tanstack/-start/plugin/vite` with router code-splitting enabled.
+- Start Vite scenarios use `@tanstack/-start/plugin/vite` with router code-splitting enabled.
+- React Start also includes Rsbuild scenarios using `@tanstack/react-start/plugin/rsbuild`.
- Full-surface coverage is manually maintained (no strict export-coverage gate).
- Metrics are measured from initial-load JS graph only and reported as raw/gzip/brotli bytes.
- Gzip is the primary tracking signal for PR deltas and historical charting.
diff --git a/benchmarks/bundle-size/package.json b/benchmarks/bundle-size/package.json
index 67d145b1d3..9a4b70b858 100644
--- a/benchmarks/bundle-size/package.json
+++ b/benchmarks/bundle-size/package.json
@@ -17,6 +17,8 @@
"vue": "^3.5.16"
},
"devDependencies": {
+ "@rsbuild/core": "^2.0.1",
+ "@rsbuild/plugin-react": "^2.0.0",
"@tanstack/router-plugin": "workspace:^",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
diff --git a/benchmarks/bundle-size/scenarios/react-start-full/rsbuild.config.ts b/benchmarks/bundle-size/scenarios/react-start-full/rsbuild.config.ts
new file mode 100644
index 0000000000..641de56234
--- /dev/null
+++ b/benchmarks/bundle-size/scenarios/react-start-full/rsbuild.config.ts
@@ -0,0 +1,36 @@
+import { defineConfig } from '@rsbuild/core'
+import { pluginReact } from '@rsbuild/plugin-react'
+import { tanstackStart } from '@tanstack/react-start/plugin/rsbuild'
+
+const outDir = process.env.BUNDLE_SIZE_DIST_DIR ?? 'dist-rsbuild'
+
+export default defineConfig({
+ logLevel: 'silent',
+ plugins: [pluginReact({ splitChunks: false }), tanstackStart()],
+ output: {
+ distPath: {
+ root: outDir,
+ },
+ cleanDistPath: true,
+ minify: true,
+ sourceMap: false,
+ },
+ performance: {
+ printFileSize: false,
+ },
+ environments: {
+ client: {
+ output: {
+ manifest: {
+ filename: 'manifest.json',
+ prefix: false,
+ },
+ },
+ },
+ ssr: {
+ output: {
+ manifest: false,
+ },
+ },
+ },
+})
diff --git a/benchmarks/bundle-size/scenarios/react-start-minimal/rsbuild.config.ts b/benchmarks/bundle-size/scenarios/react-start-minimal/rsbuild.config.ts
new file mode 100644
index 0000000000..641de56234
--- /dev/null
+++ b/benchmarks/bundle-size/scenarios/react-start-minimal/rsbuild.config.ts
@@ -0,0 +1,36 @@
+import { defineConfig } from '@rsbuild/core'
+import { pluginReact } from '@rsbuild/plugin-react'
+import { tanstackStart } from '@tanstack/react-start/plugin/rsbuild'
+
+const outDir = process.env.BUNDLE_SIZE_DIST_DIR ?? 'dist-rsbuild'
+
+export default defineConfig({
+ logLevel: 'silent',
+ plugins: [pluginReact({ splitChunks: false }), tanstackStart()],
+ output: {
+ distPath: {
+ root: outDir,
+ },
+ cleanDistPath: true,
+ minify: true,
+ sourceMap: false,
+ },
+ performance: {
+ printFileSize: false,
+ },
+ environments: {
+ client: {
+ output: {
+ manifest: {
+ filename: 'manifest.json',
+ prefix: false,
+ },
+ },
+ },
+ ssr: {
+ output: {
+ manifest: false,
+ },
+ },
+ },
+})
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 5f59d00e82..8462425c32 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -215,6 +215,12 @@ importers:
specifier: ^3.5.16
version: 3.5.25(typescript@6.0.2)
devDependencies:
+ '@rsbuild/core':
+ specifier: ^2.0.1
+ version: 2.0.1(core-js@3.40.0)
+ '@rsbuild/plugin-react':
+ specifier: ^2.0.0
+ version: 2.0.0(@rsbuild/core@2.0.1(core-js@3.40.0))(@rspack/core@2.0.0(@swc/helpers@0.5.21))
'@tanstack/router-plugin':
specifier: workspace:*
version: link:../../packages/router-plugin
diff --git a/scripts/benchmarks/bundle-size/measure.mjs b/scripts/benchmarks/bundle-size/measure.mjs
index 2af3412d24..c5e37483e0 100644
--- a/scripts/benchmarks/bundle-size/measure.mjs
+++ b/scripts/benchmarks/bundle-size/measure.mjs
@@ -2,8 +2,9 @@
import fs from 'node:fs'
import { promises as fsp } from 'node:fs'
+import { createRequire } from 'node:module'
import path from 'node:path'
-import { fileURLToPath } from 'node:url'
+import { fileURLToPath, pathToFileURL } from 'node:url'
import { parseArgs as parseNodeArgs } from 'node:util'
import { brotliCompressSync, gzipSync } from 'node:zlib'
import { execSync } from 'node:child_process'
@@ -69,6 +70,24 @@ const SCENARIOS = [
packageName: '@tanstack/react-start',
case: 'full',
},
+ {
+ id: 'react-start.rsbuild.minimal',
+ dir: 'react-start-minimal',
+ outDir: 'react-start-rsbuild-minimal',
+ toolchain: 'rsbuild',
+ framework: 'react',
+ packageName: '@tanstack/react-start',
+ case: 'minimal',
+ },
+ {
+ id: 'react-start.rsbuild.full',
+ dir: 'react-start-full',
+ outDir: 'react-start-rsbuild-full',
+ toolchain: 'rsbuild',
+ framework: 'react',
+ packageName: '@tanstack/react-start',
+ case: 'full',
+ },
{
id: 'solid-start.minimal',
dir: 'solid-start-minimal',
@@ -329,6 +348,153 @@ async function resolveManifestAndEntry(outDir, scenarioId) {
)
}
+async function importFromRoot(root, specifier) {
+ const requireFromRoot = createRequire(
+ path.join(root, 'bundle-size.config.cjs'),
+ )
+ return import(pathToFileURL(requireFromRoot.resolve(specifier)).href)
+}
+
+async function buildViteScenario({ root, outDir }) {
+ const configFile = path.join(root, 'vite.config.ts')
+
+ await build({
+ root,
+ configFile,
+ logLevel: 'silent',
+ define: {
+ 'process.env.NODE_ENV': '"production"',
+ },
+ build: {
+ outDir,
+ emptyOutDir: true,
+ target: 'es2022',
+ minify: 'esbuild',
+ sourcemap: false,
+ reportCompressedSize: false,
+ manifest: true,
+ },
+ })
+}
+
+async function buildRsbuildScenario({ root, outDir }) {
+ const configFile = path.join(root, 'rsbuild.config.ts')
+ const { createRsbuild, loadConfig } = await importFromRoot(
+ root,
+ '@rsbuild/core',
+ )
+ const previousOutDir = process.env.BUNDLE_SIZE_DIST_DIR
+
+ process.env.BUNDLE_SIZE_DIST_DIR = outDir
+
+ try {
+ const { content } = await loadConfig({
+ cwd: root,
+ path: configFile,
+ envMode: 'production',
+ })
+ const rsbuild = await createRsbuild({
+ cwd: root,
+ callerName: 'bundle-size-benchmark',
+ config: content,
+ })
+ const result = await rsbuild.build()
+ await result.close()
+ } finally {
+ if (previousOutDir === undefined) {
+ delete process.env.BUNDLE_SIZE_DIST_DIR
+ } else {
+ process.env.BUNDLE_SIZE_DIST_DIR = previousOutDir
+ }
+ }
+}
+
+async function buildScenario({ root, outDir, scenario }) {
+ const previousCwd = process.cwd()
+ process.chdir(root)
+
+ try {
+ if (scenario.toolchain === 'rsbuild') {
+ await buildRsbuildScenario({ root, outDir })
+ return
+ }
+
+ await buildViteScenario({ root, outDir })
+ } finally {
+ process.chdir(previousCwd)
+ }
+}
+
+async function resolveRsbuildManifest(outDir, scenarioId) {
+ const manifestPath = path.join(outDir, 'client', 'manifest.json')
+
+ if (!fs.existsSync(manifestPath)) {
+ throw new Error(
+ `No Rsbuild manifest file found for scenario: ${scenarioId}`,
+ )
+ }
+
+ const manifest = readJson(manifestPath)
+ const entryName = manifest.entries?.index
+ ? 'index'
+ : Object.keys(manifest.entries || {})[0]
+
+ if (!entryName) {
+ throw new Error(
+ `Could not determine Rsbuild manifest entry for scenario: ${scenarioId}`,
+ )
+ }
+
+ return {
+ manifest,
+ entryKey: entryName,
+ manifestPath,
+ manifestOutDir: path.dirname(manifestPath),
+ }
+}
+
+function collectRsbuildInitialJsFiles(manifest, entryKey) {
+ const files = manifest.entries?.[entryKey]?.initial?.js
+
+ if (!Array.isArray(files)) {
+ return []
+ }
+
+ return files
+ .filter(
+ (file) =>
+ typeof file === 'string' &&
+ (file.endsWith('.js') || file.endsWith('.mjs')),
+ )
+ .sort()
+}
+
+async function resolveBundleFiles({ outDir, scenario }) {
+ if (scenario.toolchain === 'rsbuild') {
+ const manifestInfo = await resolveRsbuildManifest(outDir, scenario.id)
+ const jsFiles = collectRsbuildInitialJsFiles(
+ manifestInfo.manifest,
+ manifestInfo.entryKey,
+ )
+
+ return {
+ ...manifestInfo,
+ jsFiles,
+ }
+ }
+
+ const manifestInfo = await resolveManifestAndEntry(outDir, scenario.id)
+ const jsFiles = collectInitialJsFiles(
+ manifestInfo.manifest,
+ manifestInfo.entryKey,
+ )
+
+ return {
+ ...manifestInfo,
+ jsFiles,
+ }
+}
+
function getCurrentSha(providedSha) {
if (providedSha) {
return providedSha
@@ -417,51 +583,23 @@ async function main() {
for (const scenario of SCENARIOS) {
const root = path.join(scenariosRoot, scenario.dir)
- const outDir = path.join(distDir, scenario.dir)
- const configFile = path.join(root, 'vite.config.ts')
+ const outDir = path.join(distDir, scenario.outDir || scenario.dir)
- const previousCwd = process.cwd()
- process.chdir(root)
+ await buildScenario({ root, outDir, scenario })
- try {
- await build({
- root,
- configFile,
- logLevel: 'silent',
- define: {
- 'process.env.NODE_ENV': '"production"',
- },
- build: {
- outDir,
- emptyOutDir: true,
- target: 'es2022',
- minify: 'esbuild',
- sourcemap: false,
- reportCompressedSize: false,
- manifest: true,
- },
- })
- } finally {
- process.chdir(previousCwd)
- }
-
- const manifestInfo = await resolveManifestAndEntry(outDir, scenario.id)
-
- const jsFiles = collectInitialJsFiles(
- manifestInfo.manifest,
- manifestInfo.entryKey,
- )
- const sizes = bytesForFiles(manifestInfo.manifestOutDir, jsFiles)
+ const bundleInfo = await resolveBundleFiles({ outDir, scenario })
+ const sizes = bytesForFiles(bundleInfo.manifestOutDir, bundleInfo.jsFiles)
metrics.push({
id: scenario.id,
scenarioDir: scenario.dir,
+ toolchain: scenario.toolchain || 'vite',
framework: scenario.framework,
packageName: scenario.packageName,
case: scenario.case,
- entryKey: manifestInfo.entryKey,
- manifestPath: path.relative(outDir, manifestInfo.manifestPath),
- jsFiles,
+ entryKey: bundleInfo.entryKey,
+ manifestPath: path.relative(outDir, bundleInfo.manifestPath),
+ jsFiles: bundleInfo.jsFiles,
...sizes,
})
}
From 8b97002af3f6d15204e60c55d3f5735b78bd7efe Mon Sep 17 00:00:00 2001
From: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Date: Sat, 25 Apr 2026 14:07:00 +1200
Subject: [PATCH 049/608] refactor(router-plugin): upgrade unplugin to `v3`
(#7258)
* refactor(router-plugin): upgrade unplugin to `v3`
* refactor(start-client-core): use a more explicit typing to `CustomFetch` type
* chore(examples): runtime enforce for needing the `VITE_CONVEX_URL`
---
.changeset/fuzzy-carpets-enter.md | 5 +++
.changeset/loud-tigers-crash.md | 5 +++
.../src/library/convex-client.ts | 2 +-
packages/router-plugin/package.json | 2 +-
.../start-client-core/src/createServerFn.ts | 8 +++-
pnpm-lock.yaml | 37 +++++--------------
6 files changed, 29 insertions(+), 30 deletions(-)
create mode 100644 .changeset/fuzzy-carpets-enter.md
create mode 100644 .changeset/loud-tigers-crash.md
diff --git a/.changeset/fuzzy-carpets-enter.md b/.changeset/fuzzy-carpets-enter.md
new file mode 100644
index 0000000000..09d48bdc67
--- /dev/null
+++ b/.changeset/fuzzy-carpets-enter.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/start-client-core': patch
+---
+
+refactor(start-client-core): use a more explicit typing to `CustomFetch` type
diff --git a/.changeset/loud-tigers-crash.md b/.changeset/loud-tigers-crash.md
new file mode 100644
index 0000000000..6069221b14
--- /dev/null
+++ b/.changeset/loud-tigers-crash.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/router-plugin': patch
+---
+
+refactor(router-plugin): upgrade unplugin to `v3`
diff --git a/examples/solid/start-convex-better-auth/src/library/convex-client.ts b/examples/solid/start-convex-better-auth/src/library/convex-client.ts
index 4f60bbdbfd..90dfd5ee28 100644
--- a/examples/solid/start-convex-better-auth/src/library/convex-client.ts
+++ b/examples/solid/start-convex-better-auth/src/library/convex-client.ts
@@ -3,7 +3,7 @@ import { fetchAuth } from '~/library/server'
const CONVEX_URL = import.meta.env.VITE_CONVEX_URL
if (!CONVEX_URL) {
- console.error('missing envar CONVEX_URL')
+ throw new Error('missing envar CONVEX_URL')
}
// Set up Convex client with auth
diff --git a/packages/router-plugin/package.json b/packages/router-plugin/package.json
index 9e908a4ff1..9b2c2af476 100644
--- a/packages/router-plugin/package.json
+++ b/packages/router-plugin/package.json
@@ -118,7 +118,7 @@
"@tanstack/router-utils": "workspace:*",
"@tanstack/virtual-file-routes": "workspace:*",
"chokidar": "^3.6.0",
- "unplugin": "^2.1.2",
+ "unplugin": "^3.0.0",
"zod": "^3.24.2"
},
"devDependencies": {
diff --git a/packages/start-client-core/src/createServerFn.ts b/packages/start-client-core/src/createServerFn.ts
index a4d0c71b82..c46fb769f6 100644
--- a/packages/start-client-core/src/createServerFn.ts
+++ b/packages/start-client-core/src/createServerFn.ts
@@ -380,7 +380,13 @@ export interface RequiredFetcher<
): Promise>
}
-export type CustomFetch = typeof globalThis.fetch
+// Ideally, this type should just be `export type CustomFetch = typeof globalThis.fetch`, but that conflicts with the type overrides the `bun-types` package - a dependency of unplugin.
+// Relevant bun issues:
+// - https://github.com/oven-sh/bun/issues/23500
+// - https://github.com/oven-sh/bun/issues/23741
+export type CustomFetch = typeof fetch extends (...args: infer A) => infer R
+ ? (...args: A) => R
+ : never
export type FetcherBaseOptions = {
headers?: HeadersInit
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 8462425c32..cd6409724e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -12689,8 +12689,8 @@ importers:
specifier: ^3.6.0
version: 3.6.0
unplugin:
- specifier: ^2.1.2
- version: 2.3.4
+ specifier: ^3.0.0
+ version: 3.0.0
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)
@@ -23938,10 +23938,6 @@ packages:
resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
engines: {node: '>=8.6'}
- picomatch@4.0.2:
- resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==}
- engines: {node: '>=12'}
-
picomatch@4.0.3:
resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==}
engines: {node: '>=12'}
@@ -25684,17 +25680,13 @@ packages:
unplugin@1.0.1:
resolution: {integrity: sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==}
- unplugin@2.3.10:
- resolution: {integrity: sha512-6NCPkv1ClwH+/BGE9QeoTIl09nuiAt0gS28nn1PvYXsGKRwM2TCbFA2QiilmehPDTXIe684k4rZI1yl3A1PCUw==}
- engines: {node: '>=18.12.0'}
-
unplugin@2.3.11:
resolution: {integrity: sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww==}
engines: {node: '>=18.12.0'}
- unplugin@2.3.4:
- resolution: {integrity: sha512-m4PjxTurwpWfpMomp8AptjD5yj8qEZN5uQjjGM3TAs9MWWD2tXSSNNj6jGR2FoVGod4293ytyV6SwBbertfyJg==}
- engines: {node: '>=18.12.0'}
+ unplugin@3.0.0:
+ resolution: {integrity: sha512-0Mqk3AT2TZCXWKdcoaufeXNukv2mTrEZExeXlHIOZXdqYoHHr4n51pymnwV8x2BOVxwXbK2HLlI7usrqMpycdg==}
+ engines: {node: ^20.19.0 || >=22.12.0}
unrs-resolver@1.11.1:
resolution: {integrity: sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==}
@@ -29004,7 +28996,7 @@ snapshots:
commander: 11.1.0
consola: 3.4.0
json5: 2.2.3
- unplugin: 2.3.10
+ unplugin: 2.3.11
urlpattern-polyfill: 10.1.0
transitivePeerDependencies:
- babel-plugin-macros
@@ -33598,7 +33590,7 @@ snapshots:
sirv: 3.0.2
tinyglobby: 0.2.15
tinyrainbow: 3.1.0
- vitest: 4.1.4(@types/node@25.0.9)(@vitest/ui@4.1.4)(jsdom@27.0.0(postcss@8.5.8))(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.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))
+ vitest: 4.1.4(@types/node@25.0.9)(@vitest/ui@4.1.4)(jsdom@25.0.1)(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.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))
'@vitest/utils@4.1.4':
dependencies:
@@ -38607,8 +38599,6 @@ snapshots:
picomatch@2.3.1: {}
- picomatch@4.0.2: {}
-
picomatch@4.0.3: {}
picoquery@2.5.0: {}
@@ -40491,13 +40481,6 @@ snapshots:
webpack-sources: 3.2.3
webpack-virtual-modules: 0.5.0
- unplugin@2.3.10:
- dependencies:
- '@jridgewell/remapping': 2.3.5
- acorn: 8.15.0
- picomatch: 4.0.3
- webpack-virtual-modules: 0.6.2
-
unplugin@2.3.11:
dependencies:
'@jridgewell/remapping': 2.3.5
@@ -40505,10 +40488,10 @@ snapshots:
picomatch: 4.0.3
webpack-virtual-modules: 0.6.2
- unplugin@2.3.4:
+ unplugin@3.0.0:
dependencies:
- acorn: 8.14.1
- picomatch: 4.0.2
+ '@jridgewell/remapping': 2.3.5
+ picomatch: 4.0.3
webpack-virtual-modules: 0.6.2
unrs-resolver@1.11.1:
From 387479d4424ae782fd4ab4c90cb04a6ce910b6a6 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Sat, 25 Apr 2026 02:09:31 +0000
Subject: [PATCH 050/608] ci: changeset release
---
.changeset/fuzzy-carpets-enter.md | 5 -----
.changeset/loud-tigers-crash.md | 5 -----
.../react/authenticated-routes-firebase/package.json | 2 +-
examples/react/authenticated-routes/package.json | 2 +-
examples/react/basic-file-based/package.json | 2 +-
.../react/basic-react-query-file-based/package.json | 2 +-
examples/react/basic-ssr-file-based/package.json | 2 +-
.../basic-ssr-streaming-file-based/package.json | 2 +-
examples/react/basic-virtual-file-based/package.json | 2 +-
.../basic-virtual-inside-file-based/package.json | 2 +-
examples/react/i18n-paraglide/package.json | 2 +-
examples/react/kitchen-sink-file-based/package.json | 2 +-
.../kitchen-sink-react-query-file-based/package.json | 2 +-
examples/react/large-file-based/package.json | 2 +-
.../react/quickstart-esbuild-file-based/package.json | 2 +-
examples/react/quickstart-file-based/package.json | 2 +-
.../react/quickstart-rspack-file-based/package.json | 2 +-
.../react/quickstart-webpack-file-based/package.json | 2 +-
.../react/router-monorepo-react-query/package.json | 2 +-
.../packages/router/package.json | 2 +-
.../react/router-monorepo-simple-lazy/package.json | 2 +-
.../packages/router/package.json | 2 +-
examples/react/router-monorepo-simple/package.json | 2 +-
.../packages/router/package.json | 2 +-
.../react/search-validator-adapters/package.json | 2 +-
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 | 4 ++--
examples/react/start-basic/package.json | 2 +-
examples/react/start-bun/package.json | 4 ++--
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/react/view-transitions/package.json | 2 +-
examples/react/with-trpc-react-query/package.json | 2 +-
examples/react/with-trpc/package.json | 2 +-
.../solid/authenticated-routes-firebase/package.json | 2 +-
examples/solid/authenticated-routes/package.json | 2 +-
examples/solid/basic-file-based/package.json | 2 +-
.../solid/basic-solid-query-file-based/package.json | 2 +-
examples/solid/basic-solid-query/package.json | 2 +-
examples/solid/basic-ssr-file-based/package.json | 2 +-
.../basic-ssr-streaming-file-based/package.json | 2 +-
examples/solid/basic-virtual-file-based/package.json | 2 +-
.../basic-virtual-inside-file-based/package.json | 2 +-
examples/solid/i18n-paraglide/package.json | 2 +-
examples/solid/kitchen-sink-file-based/package.json | 2 +-
.../kitchen-sink-solid-query-file-based/package.json | 2 +-
examples/solid/large-file-based/package.json | 2 +-
.../solid/quickstart-esbuild-file-based/package.json | 2 +-
examples/solid/quickstart-file-based/package.json | 2 +-
.../solid/quickstart-rspack-file-based/package.json | 2 +-
.../solid/quickstart-webpack-file-based/package.json | 2 +-
.../solid/router-monorepo-simple-lazy/package.json | 2 +-
.../packages/router/package.json | 2 +-
examples/solid/router-monorepo-simple/package.json | 2 +-
.../packages/router/package.json | 2 +-
.../solid/router-monorepo-solid-query/package.json | 2 +-
.../packages/router/package.json | 2 +-
.../solid/search-validator-adapters/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 | 4 ++--
examples/solid/start-basic/package.json | 2 +-
examples/solid/start-bun/package.json | 4 ++--
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 +-
examples/solid/view-transitions/package.json | 2 +-
examples/solid/with-trpc/package.json | 2 +-
examples/vue/basic-file-based-jsx/package.json | 2 +-
examples/vue/basic-file-based-sfc/package.json | 2 +-
packages/react-start-client/CHANGELOG.md | 7 +++++++
packages/react-start-client/package.json | 2 +-
packages/react-start-rsc/CHANGELOG.md | 10 ++++++++++
packages/react-start-rsc/package.json | 2 +-
packages/react-start-server/CHANGELOG.md | 8 ++++++++
packages/react-start-server/package.json | 2 +-
packages/react-start/CHANGELOG.md | 12 ++++++++++++
packages/react-start/package.json | 2 +-
packages/router-plugin/CHANGELOG.md | 6 ++++++
packages/router-plugin/package.json | 2 +-
packages/router-vite-plugin/CHANGELOG.md | 7 +++++++
packages/router-vite-plugin/package.json | 2 +-
packages/solid-start-client/CHANGELOG.md | 7 +++++++
packages/solid-start-client/package.json | 2 +-
packages/solid-start-server/CHANGELOG.md | 8 ++++++++
packages/solid-start-server/package.json | 2 +-
packages/solid-start/CHANGELOG.md | 11 +++++++++++
packages/solid-start/package.json | 2 +-
packages/start-client-core/CHANGELOG.md | 6 ++++++
packages/start-client-core/package.json | 2 +-
packages/start-plugin-core/CHANGELOG.md | 9 +++++++++
packages/start-plugin-core/package.json | 2 +-
packages/start-server-core/CHANGELOG.md | 7 +++++++
packages/start-server-core/package.json | 2 +-
packages/start-static-server-functions/CHANGELOG.md | 9 +++++++++
packages/start-static-server-functions/package.json | 2 +-
packages/vue-start-client/CHANGELOG.md | 7 +++++++
packages/vue-start-client/package.json | 2 +-
packages/vue-start-server/CHANGELOG.md | 8 ++++++++
packages/vue-start-server/package.json | 2 +-
packages/vue-start/CHANGELOG.md | 11 +++++++++++
packages/vue-start/package.json | 2 +-
124 files changed, 243 insertions(+), 120 deletions(-)
delete mode 100644 .changeset/fuzzy-carpets-enter.md
delete mode 100644 .changeset/loud-tigers-crash.md
diff --git a/.changeset/fuzzy-carpets-enter.md b/.changeset/fuzzy-carpets-enter.md
deleted file mode 100644
index 09d48bdc67..0000000000
--- a/.changeset/fuzzy-carpets-enter.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/start-client-core': patch
----
-
-refactor(start-client-core): use a more explicit typing to `CustomFetch` type
diff --git a/.changeset/loud-tigers-crash.md b/.changeset/loud-tigers-crash.md
deleted file mode 100644
index 6069221b14..0000000000
--- a/.changeset/loud-tigers-crash.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/router-plugin': patch
----
-
-refactor(router-plugin): upgrade unplugin to `v3`
diff --git a/examples/react/authenticated-routes-firebase/package.json b/examples/react/authenticated-routes-firebase/package.json
index 1081203896..2f12556ec8 100644
--- a/examples/react/authenticated-routes-firebase/package.json
+++ b/examples/react/authenticated-routes-firebase/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 bad7fd2c2d..c184d1cec0 100644
--- a/examples/react/authenticated-routes/package.json
+++ b/examples/react/authenticated-routes/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-file-based/package.json b/examples/react/basic-file-based/package.json
index 3459976a73..99f78aac06 100644
--- a/examples/react/basic-file-based/package.json
+++ b/examples/react/basic-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-react-query-file-based/package.json b/examples/react/basic-react-query-file-based/package.json
index 95fd7439dc..74081f4659 100644
--- a/examples/react/basic-react-query-file-based/package.json
+++ b/examples/react/basic-react-query-file-based/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-ssr-file-based/package.json b/examples/react/basic-ssr-file-based/package.json
index fc860c678c..29f1b6c136 100644
--- a/examples/react/basic-ssr-file-based/package.json
+++ b/examples/react/basic-ssr-file-based/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 91f5d4ddb2..bf757b04e3 100644
--- a/examples/react/basic-ssr-streaming-file-based/package.json
+++ b/examples/react/basic-ssr-streaming-file-based/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 82fdb0aed3..3040b16d04 100644
--- a/examples/react/basic-virtual-file-based/package.json
+++ b/examples/react/basic-virtual-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@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 1c88e27f93..5bfc86a5a1 100644
--- a/examples/react/basic-virtual-inside-file-based/package.json
+++ b/examples/react/basic-virtual-inside-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@tanstack/virtual-file-routes": "^1.161.7",
"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 9011b6a43f..f8bfdf7f0b 100644
--- a/examples/react/i18n-paraglide/package.json
+++ b/examples/react/i18n-paraglide/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 f284faff6b..00b86d3db7 100644
--- a/examples/react/kitchen-sink-file-based/package.json
+++ b/examples/react/kitchen-sink-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 33c66c716e..620de393ae 100644
--- a/examples/react/kitchen-sink-react-query-file-based/package.json
+++ b/examples/react/kitchen-sink-react-query-file-based/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"immer": "^10.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/large-file-based/package.json b/examples/react/large-file-based/package.json
index 5c540abdfc..b16dc76b12 100644
--- a/examples/react/large-file-based/package.json
+++ b/examples/react/large-file-based/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/quickstart-esbuild-file-based/package.json b/examples/react/quickstart-esbuild-file-based/package.json
index 45b504fbda..28cde76b4a 100644
--- a/examples/react/quickstart-esbuild-file-based/package.json
+++ b/examples/react/quickstart-esbuild-file-based/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 984c1db641..6073785d0d 100644
--- a/examples/react/quickstart-file-based/package.json
+++ b/examples/react/quickstart-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 3e8b46a1e4..5ca3f0d67f 100644
--- a/examples/react/quickstart-rspack-file-based/package.json
+++ b/examples/react/quickstart-rspack-file-based/package.json
@@ -19,7 +19,7 @@
"devDependencies": {
"@rsbuild/core": "^2.0.1",
"@rsbuild/plugin-react": "^2.0.0",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@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 340a4c8433..6d5a7ae071 100644
--- a/examples/react/quickstart-webpack-file-based/package.json
+++ b/examples/react/quickstart-webpack-file-based/package.json
@@ -14,7 +14,7 @@
},
"devDependencies": {
"@swc/core": "^1.10.15",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"html-webpack-plugin": "^5.6.3",
diff --git a/examples/react/router-monorepo-react-query/package.json b/examples/react/router-monorepo-react-query/package.json
index 00d8694af2..b5a7e55790 100644
--- a/examples/react/router-monorepo-react-query/package.json
+++ b/examples/react/router-monorepo-react-query/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 b1efbe2b73..e2cbbec03e 100644
--- a/examples/react/router-monorepo-react-query/packages/router/package.json
+++ b/examples/react/router-monorepo-react-query/packages/router/package.json
@@ -11,7 +11,7 @@
"@tanstack/history": "^1.161.6",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@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 1fc89dcb3c..69ede733a3 100644
--- a/examples/react/router-monorepo-simple-lazy/package.json
+++ b/examples/react/router-monorepo-simple-lazy/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 d1009459bd..15f604b292 100644
--- a/examples/react/router-monorepo-simple-lazy/packages/router/package.json
+++ b/examples/react/router-monorepo-simple-lazy/packages/router/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 9ceca7203a..c8df92fc4d 100644
--- a/examples/react/router-monorepo-simple/package.json
+++ b/examples/react/router-monorepo-simple/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 c5be07215a..4fd36ab1e3 100644
--- a/examples/react/router-monorepo-simple/packages/router/package.json
+++ b/examples/react/router-monorepo-simple/packages/router/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"react": "^19.0.0",
diff --git a/examples/react/search-validator-adapters/package.json b/examples/react/search-validator-adapters/package.json
index d98ee9eb2a..e2913feb45 100644
--- a/examples/react/search-validator-adapters/package.json
+++ b/examples/react/search-validator-adapters/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@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 93bc56d878..cc5f254443 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 c70295b123..7ecd80bcfb 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 e60f88da72..3849de25a4 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 e3e8124500..fdb3b85886 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 d96c2cdad1..f8dca234c2 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 c80eea0a9a..8c5dc4bb75 100644
--- a/examples/react/start-basic-static/package.json
+++ b/examples/react/start-basic-static/package.json
@@ -12,8 +12,8 @@
"dependencies": {
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
- "@tanstack/start-static-server-functions": "^1.166.34",
+ "@tanstack/react-start": "^1.167.48",
+ "@tanstack/start-static-server-functions": "^1.166.35",
"@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 89d75f49d0..2b50dfe6cf 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 ded890a4fc..3b45a261e5 100644
--- a/examples/react/start-bun/package.json
+++ b/examples/react/start-bun/package.json
@@ -18,8 +18,8 @@
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.47",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/react-start": "^1.167.48",
+ "@tanstack/router-plugin": "^1.167.26",
"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 7c0226e04c..a089974a67 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"@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 7e34f7e3fa..ea8fc45507 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 eef8940e91..9eafcb10a3 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 9c339a4f1b..a6408e75e0 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 52f47a5253..0fd2853603 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 9e85ae0b82..2afa623a15 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.24",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"@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 32403f1a96..4bac8dc3aa 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 0397610213..0989715ab8 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 c19b5a2fb6..be20daa022 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 1f8136698d..8906611f28 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 7e5e723b1f..12483fc85a 100644
--- a/examples/react/start-trellaux/package.json
+++ b/examples/react/start-trellaux/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"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 903d5ad3b5..25a2b12fbe 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.47",
+ "@tanstack/react-start": "^1.167.48",
"@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 988c2c6c97..d4aea34aa7 100644
--- a/examples/react/view-transitions/package.json
+++ b/examples/react/view-transitions/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/with-trpc-react-query/package.json b/examples/react/with-trpc-react-query/package.json
index 441ba04157..b73288482f 100644
--- a/examples/react/with-trpc-react-query/package.json
+++ b/examples/react/with-trpc-react-query/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@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 2253bbde41..556058a517 100644
--- a/examples/react/with-trpc/package.json
+++ b/examples/react/with-trpc/package.json
@@ -13,7 +13,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@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 6c5f6fb6ad..0bea8379e9 100644
--- a/examples/solid/authenticated-routes-firebase/package.json
+++ b/examples/solid/authenticated-routes-firebase/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 eab07cdd7a..c1481bb6ee 100644
--- a/examples/solid/authenticated-routes/package.json
+++ b/examples/solid/authenticated-routes/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/basic-file-based/package.json b/examples/solid/basic-file-based/package.json
index 86f3d177d8..b8f174a56e 100644
--- a/examples/solid/basic-file-based/package.json
+++ b/examples/solid/basic-file-based/package.json
@@ -18,7 +18,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"typescript": "^6.0.2",
"vite": "^8.0.0",
"vite-plugin-solid": "^2.11.11"
diff --git a/examples/solid/basic-solid-query-file-based/package.json b/examples/solid/basic-solid-query-file-based/package.json
index 16f823906e..0b1a1b8e9f 100644
--- a/examples/solid/basic-solid-query-file-based/package.json
+++ b/examples/solid/basic-solid-query-file-based/package.json
@@ -21,7 +21,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 1065505ebf..16fd333589 100644
--- a/examples/solid/basic-solid-query/package.json
+++ b/examples/solid/basic-solid-query/package.json
@@ -19,7 +19,7 @@
"tailwindcss": "^4.2.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 419e80a70a..29b797f2e7 100644
--- a/examples/solid/basic-ssr-file-based/package.json
+++ b/examples/solid/basic-ssr-file-based/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@tanstack/solid-router": "^1.168.21",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 94e4301c31..5295df9943 100644
--- a/examples/solid/basic-ssr-streaming-file-based/package.json
+++ b/examples/solid/basic-ssr-streaming-file-based/package.json
@@ -24,7 +24,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@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 c4001eeb8c..e9343afcba 100644
--- a/examples/solid/basic-virtual-file-based/package.json
+++ b/examples/solid/basic-virtual-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@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 73adabce35..3e55cd0e41 100644
--- a/examples/solid/basic-virtual-inside-file-based/package.json
+++ b/examples/solid/basic-virtual-inside-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@tanstack/virtual-file-routes": "^1.161.7",
"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 27424a3d96..6187bfae25 100644
--- a/examples/solid/i18n-paraglide/package.json
+++ b/examples/solid/i18n-paraglide/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.21",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 912c812845..b62efbdc40 100644
--- a/examples/solid/kitchen-sink-file-based/package.json
+++ b/examples/solid/kitchen-sink-file-based/package.json
@@ -19,7 +19,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 53a43b7677..76b8ab098e 100644
--- a/examples/solid/kitchen-sink-solid-query-file-based/package.json
+++ b/examples/solid/kitchen-sink-solid-query-file-based/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
"@tanstack/solid-router": "^1.168.21",
diff --git a/examples/solid/large-file-based/package.json b/examples/solid/large-file-based/package.json
index f57da170fe..270e0e3999 100644
--- a/examples/solid/large-file-based/package.json
+++ b/examples/solid/large-file-based/package.json
@@ -15,7 +15,7 @@
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/quickstart-esbuild-file-based/package.json b/examples/solid/quickstart-esbuild-file-based/package.json
index 1571e73ac4..d87648e54e 100644
--- a/examples/solid/quickstart-esbuild-file-based/package.json
+++ b/examples/solid/quickstart-esbuild-file-based/package.json
@@ -9,7 +9,7 @@
"start": "dev"
},
"dependencies": {
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
"redaxios": "^0.5.1",
diff --git a/examples/solid/quickstart-file-based/package.json b/examples/solid/quickstart-file-based/package.json
index bf591590f2..1e6d1ba8e8 100644
--- a/examples/solid/quickstart-file-based/package.json
+++ b/examples/solid/quickstart-file-based/package.json
@@ -18,7 +18,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 2ed106babe..0b236fae52 100644
--- a/examples/solid/quickstart-rspack-file-based/package.json
+++ b/examples/solid/quickstart-rspack-file-based/package.json
@@ -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.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 942558b3ca..7657760658 100644
--- a/examples/solid/quickstart-webpack-file-based/package.json
+++ b/examples/solid/quickstart-webpack-file-based/package.json
@@ -15,7 +15,7 @@
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/preset-typescript": "^7.27.1",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"babel-loader": "^10.0.0",
"babel-preset-solid": "^1.9.10",
"css-loader": "^7.1.2",
diff --git a/examples/solid/router-monorepo-simple-lazy/package.json b/examples/solid/router-monorepo-simple-lazy/package.json
index 8c5e48f18c..ab5c1292f1 100644
--- a/examples/solid/router-monorepo-simple-lazy/package.json
+++ b/examples/solid/router-monorepo-simple-lazy/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 678685a3b1..431a734504 100644
--- a/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
+++ b/examples/solid/router-monorepo-simple-lazy/packages/router/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/solid-router": "^1.168.21",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 50fdc3efc5..d40b9d06ec 100644
--- a/examples/solid/router-monorepo-simple/package.json
+++ b/examples/solid/router-monorepo-simple/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 91b3741c12..d53ccd4859 100644
--- a/examples/solid/router-monorepo-simple/packages/router/package.json
+++ b/examples/solid/router-monorepo-simple/packages/router/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/solid-router": "^1.168.21",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 c7897ebc10..cd36560673 100644
--- a/examples/solid/router-monorepo-solid-query/package.json
+++ b/examples/solid/router-monorepo-solid-query/package.json
@@ -14,7 +14,7 @@
"@tanstack/solid-query-devtools": "^5.90.0",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"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 3f3cea295f..5d17bba158 100644
--- a/examples/solid/router-monorepo-solid-query/packages/router/package.json
+++ b/examples/solid/router-monorepo-solid-query/packages/router/package.json
@@ -11,7 +11,7 @@
"@tanstack/history": "^1.161.6",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-router": "^1.168.21",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@router-solid-mono-solid-query/post-query": "workspace:*",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
diff --git a/examples/solid/search-validator-adapters/package.json b/examples/solid/search-validator-adapters/package.json
index 36e5cc2333..d3ccb1f0f4 100644
--- a/examples/solid/search-validator-adapters/package.json
+++ b/examples/solid/search-validator-adapters/package.json
@@ -15,7 +15,7 @@
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@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 4c7b7143d4..2b72a62dd1 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/solid-start": "^1.167.43",
"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 347674dd48..65ee2b4dd1 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/solid-start": "^1.167.43",
"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 25153dd366..d29d48947b 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/solid-start": "^1.167.43",
"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 87d3c9fac3..c4ee9c8766 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/solid-start": "^1.167.43",
"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 326ff756ba..7ba4997af8 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/solid-start": "^1.167.43",
"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 ab02a99494..b8b29b75aa 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.11",
- "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/solid-start": "^1.167.43",
"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 7ff6f748fb..b8f2a70c07 100644
--- a/examples/solid/start-basic-static/package.json
+++ b/examples/solid/start-basic-static/package.json
@@ -12,8 +12,8 @@
"dependencies": {
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.42",
- "@tanstack/start-static-server-functions": "^1.166.34",
+ "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/start-static-server-functions": "^1.166.35",
"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 c21e5fab06..84b7ec6d9e 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/solid-start": "^1.167.43",
"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 7336b75cad..90d998e73a 100644
--- a/examples/solid/start-bun/package.json
+++ b/examples/solid/start-bun/package.json
@@ -18,8 +18,8 @@
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.11",
- "@tanstack/solid-start": "^1.167.42",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/router-plugin": "^1.167.26",
"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 28a933dbf6..4733a8a0e5 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/solid-start": "^1.167.43",
"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 3565c189b8..6e8d6e5109 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/solid-start": "^1.167.43",
"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 e6437d818d..78832de5d6 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/solid-start": "^1.167.43",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-large/package.json b/examples/solid/start-large/package.json
index 97c5a474af..fcf86c1395 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/solid-start": "^1.167.43",
"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 87e9b4634d..baa36350db 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/solid-start": "^1.167.43",
"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 78e0c90b23..9dcd32d135 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/solid-start": "^1.167.43",
"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 49d0cec394..6b859aeb03 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.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.42",
+ "@tanstack/solid-start": "^1.167.43",
"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 70e9324c63..1a6d2f03c3 100644
--- a/examples/solid/view-transitions/package.json
+++ b/examples/solid/view-transitions/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"solid-js": "^1.9.10",
"redaxios": "^0.5.1",
"tailwindcss": "^4.2.2",
diff --git a/examples/solid/with-trpc/package.json b/examples/solid/with-trpc/package.json
index cf1a31e6ae..5d50b23c3b 100644
--- a/examples/solid/with-trpc/package.json
+++ b/examples/solid/with-trpc/package.json
@@ -13,7 +13,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/solid-router": "^1.168.21",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@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 ee8815201f..9a6275f48e 100644
--- a/examples/vue/basic-file-based-jsx/package.json
+++ b/examples/vue/basic-file-based-jsx/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@tanstack/vue-router": "^1.168.20",
"@tanstack/vue-router-devtools": "^1.166.13",
"@tanstack/zod-adapter": "^1.166.9",
diff --git a/examples/vue/basic-file-based-sfc/package.json b/examples/vue/basic-file-based-sfc/package.json
index e6405fe594..07d409962d 100644
--- a/examples/vue/basic-file-based-sfc/package.json
+++ b/examples/vue/basic-file-based-sfc/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.25",
+ "@tanstack/router-plugin": "^1.167.26",
"@tanstack/vue-router": "^1.168.20",
"@tanstack/vue-router-devtools": "^1.166.13",
"@tanstack/zod-adapter": "^1.166.9",
diff --git a/packages/react-start-client/CHANGELOG.md b/packages/react-start-client/CHANGELOG.md
index 5c7cb99d6d..64de5ff5e7 100644
--- a/packages/react-start-client/CHANGELOG.md
+++ b/packages/react-start-client/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/react-start-client
+## 1.166.42
+
+### Patch Changes
+
+- Updated dependencies [[`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe)]:
+ - @tanstack/start-client-core@1.167.19
+
## 1.166.41
### Patch Changes
diff --git a/packages/react-start-client/package.json b/packages/react-start-client/package.json
index 6d07e7041a..75f82cd2ca 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.41",
+ "version": "1.166.42",
"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 1d347d7889..a401cf13b5 100644
--- a/packages/react-start-rsc/CHANGELOG.md
+++ b/packages/react-start-rsc/CHANGELOG.md
@@ -1,5 +1,15 @@
# @tanstack/react-start-rsc
+## 0.0.27
+
+### Patch Changes
+
+- Updated dependencies [[`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe)]:
+ - @tanstack/start-client-core@1.167.19
+ - @tanstack/react-start-server@1.166.43
+ - @tanstack/start-plugin-core@1.169.4
+ - @tanstack/start-server-core@1.167.21
+
## 0.0.26
### Patch Changes
diff --git a/packages/react-start-rsc/package.json b/packages/react-start-rsc/package.json
index dce58ac1cc..c680373c91 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.26",
+ "version": "0.0.27",
"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 958fd1905c..2854ae3762 100644
--- a/packages/react-start-server/CHANGELOG.md
+++ b/packages/react-start-server/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/react-start-server
+## 1.166.43
+
+### Patch Changes
+
+- Updated dependencies [[`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe)]:
+ - @tanstack/start-client-core@1.167.19
+ - @tanstack/start-server-core@1.167.21
+
## 1.166.42
### Patch Changes
diff --git a/packages/react-start-server/package.json b/packages/react-start-server/package.json
index 544fb72cb6..ec46c467ab 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.42",
+ "version": "1.166.43",
"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 892e97f99c..9a55935e0f 100644
--- a/packages/react-start/CHANGELOG.md
+++ b/packages/react-start/CHANGELOG.md
@@ -1,5 +1,17 @@
# @tanstack/react-start
+## 1.167.48
+
+### Patch Changes
+
+- Updated dependencies [[`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe)]:
+ - @tanstack/start-client-core@1.167.19
+ - @tanstack/react-start-client@1.166.42
+ - @tanstack/react-start-rsc@0.0.27
+ - @tanstack/react-start-server@1.166.43
+ - @tanstack/start-plugin-core@1.169.4
+ - @tanstack/start-server-core@1.167.21
+
## 1.167.47
### Patch Changes
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index e4a9d1eedf..8a205f2335 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.167.47",
+ "version": "1.167.48",
"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 f381cf0818..ee1fdb7fde 100644
--- a/packages/router-plugin/CHANGELOG.md
+++ b/packages/router-plugin/CHANGELOG.md
@@ -1,5 +1,11 @@
# @tanstack/router-plugin
+## 1.167.26
+
+### Patch Changes
+
+- refactor(router-plugin): upgrade unplugin to `v3` ([#7258](https://github.com/TanStack/router/pull/7258))
+
## 1.167.25
### Patch Changes
diff --git a/packages/router-plugin/package.json b/packages/router-plugin/package.json
index 9b2c2af476..b1f6f2220b 100644
--- a/packages/router-plugin/package.json
+++ b/packages/router-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-plugin",
- "version": "1.167.25",
+ "version": "1.167.26",
"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 5d3956248d..caaa5994a1 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.41
+
+### Patch Changes
+
+- Updated dependencies [[`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe)]:
+ - @tanstack/router-plugin@1.167.26
+
## 1.166.40
### Patch Changes
diff --git a/packages/router-vite-plugin/package.json b/packages/router-vite-plugin/package.json
index 35e5ffec27..670b17dc8d 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.40",
+ "version": "1.166.41",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start-client/CHANGELOG.md b/packages/solid-start-client/CHANGELOG.md
index 33744b8bb0..d98a543888 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.38
+
+### Patch Changes
+
+- Updated dependencies [[`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe)]:
+ - @tanstack/start-client-core@1.167.19
+
## 1.166.37
### Patch Changes
diff --git a/packages/solid-start-client/package.json b/packages/solid-start-client/package.json
index 88adc325e7..4abd77b06a 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.37",
+ "version": "1.166.38",
"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 98e6e445ee..5edca6c4a7 100644
--- a/packages/solid-start-server/CHANGELOG.md
+++ b/packages/solid-start-server/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/solid-start-server
+## 1.166.39
+
+### Patch Changes
+
+- Updated dependencies [[`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe)]:
+ - @tanstack/start-client-core@1.167.19
+ - @tanstack/start-server-core@1.167.21
+
## 1.166.38
### Patch Changes
diff --git a/packages/solid-start-server/package.json b/packages/solid-start-server/package.json
index d7e2b80df1..8aebc27024 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.38",
+ "version": "1.166.39",
"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 c16763807b..4831967fa1 100644
--- a/packages/solid-start/CHANGELOG.md
+++ b/packages/solid-start/CHANGELOG.md
@@ -1,5 +1,16 @@
# @tanstack/solid-start
+## 1.167.43
+
+### Patch Changes
+
+- Updated dependencies [[`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe)]:
+ - @tanstack/start-client-core@1.167.19
+ - @tanstack/solid-start-client@1.166.38
+ - @tanstack/solid-start-server@1.166.39
+ - @tanstack/start-plugin-core@1.169.4
+ - @tanstack/start-server-core@1.167.21
+
## 1.167.42
### Patch Changes
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index 56bb95f72a..4c6f89a8fb 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.167.42",
+ "version": "1.167.43",
"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 4fa0776745..52e10ae4dd 100644
--- a/packages/start-client-core/CHANGELOG.md
+++ b/packages/start-client-core/CHANGELOG.md
@@ -1,5 +1,11 @@
# @tanstack/start-client-core
+## 1.167.19
+
+### Patch Changes
+
+- refactor(start-client-core): use a more explicit typing to `CustomFetch` type ([#7258](https://github.com/TanStack/router/pull/7258))
+
## 1.167.18
### Patch Changes
diff --git a/packages/start-client-core/package.json b/packages/start-client-core/package.json
index 282a52cabc..71dc34e532 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.18",
+ "version": "1.167.19",
"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 54f378c1fa..cd93a7c23c 100644
--- a/packages/start-plugin-core/CHANGELOG.md
+++ b/packages/start-plugin-core/CHANGELOG.md
@@ -1,5 +1,14 @@
# @tanstack/start-plugin-core
+## 1.169.4
+
+### Patch Changes
+
+- Updated dependencies [[`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe), [`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe)]:
+ - @tanstack/start-client-core@1.167.19
+ - @tanstack/router-plugin@1.167.26
+ - @tanstack/start-server-core@1.167.21
+
## 1.169.3
### Patch Changes
diff --git a/packages/start-plugin-core/package.json b/packages/start-plugin-core/package.json
index 4b3dc80a9b..972589a759 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.3",
+ "version": "1.169.4",
"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 2fb5fc1b7a..a3803503a6 100644
--- a/packages/start-server-core/CHANGELOG.md
+++ b/packages/start-server-core/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/start-server-core
+## 1.167.21
+
+### Patch Changes
+
+- Updated dependencies [[`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe)]:
+ - @tanstack/start-client-core@1.167.19
+
## 1.167.20
### Patch Changes
diff --git a/packages/start-server-core/package.json b/packages/start-server-core/package.json
index 1698428d65..67c58eb1ed 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.20",
+ "version": "1.167.21",
"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 40cd95846d..3bd8243fba 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.35
+
+### Patch Changes
+
+- Updated dependencies [[`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe)]:
+ - @tanstack/start-client-core@1.167.19
+ - @tanstack/react-start@1.167.48
+ - @tanstack/solid-start@1.167.43
+
## 1.166.34
### Patch Changes
diff --git a/packages/start-static-server-functions/package.json b/packages/start-static-server-functions/package.json
index 699eb7b72c..a6bf71985e 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.34",
+ "version": "1.166.35",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-start-client/CHANGELOG.md b/packages/vue-start-client/CHANGELOG.md
index f2ebe1f6c1..2e987b9d83 100644
--- a/packages/vue-start-client/CHANGELOG.md
+++ b/packages/vue-start-client/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/vue-start-client
+## 1.166.37
+
+### Patch Changes
+
+- Updated dependencies [[`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe)]:
+ - @tanstack/start-client-core@1.167.19
+
## 1.166.36
### Patch Changes
diff --git a/packages/vue-start-client/package.json b/packages/vue-start-client/package.json
index 64ea40a42a..1b69fcbce8 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.36",
+ "version": "1.166.37",
"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 0648ea3c85..5648e553fc 100644
--- a/packages/vue-start-server/CHANGELOG.md
+++ b/packages/vue-start-server/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/vue-start-server
+## 1.166.38
+
+### Patch Changes
+
+- Updated dependencies [[`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe)]:
+ - @tanstack/start-client-core@1.167.19
+ - @tanstack/start-server-core@1.167.21
+
## 1.166.37
### Patch Changes
diff --git a/packages/vue-start-server/package.json b/packages/vue-start-server/package.json
index d0e11405d4..920cbba708 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.37",
+ "version": "1.166.38",
"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 0a8c7ce73e..cb45f3a798 100644
--- a/packages/vue-start/CHANGELOG.md
+++ b/packages/vue-start/CHANGELOG.md
@@ -1,5 +1,16 @@
# @tanstack/vue-start
+## 1.167.42
+
+### Patch Changes
+
+- Updated dependencies [[`8b97002`](https://github.com/TanStack/router/commit/8b97002af3f6d15204e60c55d3f5735b78bd7efe)]:
+ - @tanstack/start-client-core@1.167.19
+ - @tanstack/start-plugin-core@1.169.4
+ - @tanstack/start-server-core@1.167.21
+ - @tanstack/vue-start-client@1.166.37
+ - @tanstack/vue-start-server@1.166.38
+
## 1.167.41
### Patch Changes
diff --git a/packages/vue-start/package.json b/packages/vue-start/package.json
index 84afb64992..4b0c4f55bc 100644
--- a/packages/vue-start/package.json
+++ b/packages/vue-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start",
- "version": "1.167.41",
+ "version": "1.167.42",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
From d20c87813559ff00d0b4810c4b600d47b47eff2f Mon Sep 17 00:00:00 2001
From: Brenley Dueck
Date: Sat, 25 Apr 2026 11:25:42 -0500
Subject: [PATCH 051/608] fix: issue 7240 causing fouc (#7250)
---
.changeset/twenty-tools-lose.md | 5 +
.../solid-router/src/headContentUtils.tsx | 29 +++++-
packages/solid-router/tests/Scripts.test.tsx | 91 +++++++++++++++++++
3 files changed, 123 insertions(+), 2 deletions(-)
create mode 100644 .changeset/twenty-tools-lose.md
diff --git a/.changeset/twenty-tools-lose.md b/.changeset/twenty-tools-lose.md
new file mode 100644
index 0000000000..73b079ad1c
--- /dev/null
+++ b/.changeset/twenty-tools-lose.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/solid-router': patch
+---
+
+Enhanced internal tag comparison logic to optimize stylesheet persistence during route navigation.
diff --git a/packages/solid-router/src/headContentUtils.tsx b/packages/solid-router/src/headContentUtils.tsx
index 7886ba4696..da77c86191 100644
--- a/packages/solid-router/src/headContentUtils.tsx
+++ b/packages/solid-router/src/headContentUtils.tsx
@@ -3,7 +3,6 @@ import {
escapeHtml,
getAssetCrossOrigin,
isInlinableStylesheet,
- replaceEqualDeep,
resolveManifestAssetLink,
} from '@tanstack/router-core'
import { useRouter } from './useRouter'
@@ -234,10 +233,36 @@ export const useTags = (assetCrossOrigin?: AssetCrossOriginConfig) => {
if (prev === undefined) {
return next
}
- return replaceEqualDeep(prev, next)
+ return replaceEqualTags(prev, next)
})
}
+function replaceEqualTags(
+ prev: Array,
+ next: Array,
+) {
+ const prevByKey = new Map()
+ for (const tag of prev) {
+ prevByKey.set(JSON.stringify(tag), tag)
+ }
+
+ let isEqual = prev.length === next.length
+ const result = next.map((tag, index) => {
+ const existing = prevByKey.get(JSON.stringify(tag))
+ if (existing) {
+ if (existing !== prev[index]) {
+ isEqual = false
+ }
+ return existing
+ }
+
+ isEqual = false
+ return tag
+ })
+
+ return isEqual ? prev : result
+}
+
export function uniqBy(arr: Array, fn: (item: T) => string) {
const seen = new Set()
return arr.filter((item) => {
diff --git a/packages/solid-router/tests/Scripts.test.tsx b/packages/solid-router/tests/Scripts.test.tsx
index 0153965de6..29f3138352 100644
--- a/packages/solid-router/tests/Scripts.test.tsx
+++ b/packages/solid-router/tests/Scripts.test.tsx
@@ -223,6 +223,97 @@ describe('ssr scripts', () => {
).toHaveLength(1)
})
+ test('keeps manifest stylesheet links mounted when preload counts change', async () => {
+ const history = createTestBrowserHistory()
+
+ const rootRoute = createRootRoute({
+ component: () => {
+ return (
+ <>
+
+
+ >
+ )
+ },
+ })
+
+ const aRoute = createRoute({
+ path: '/a',
+ getParentRoute: () => rootRoute,
+ component: () => Go to B,
+ })
+
+ const bRoute = createRoute({
+ path: '/b',
+ getParentRoute: () => rootRoute,
+ component: () => Go to A,
+ })
+
+ const router = createRouter({
+ history,
+ routeTree: rootRoute.addChildren([aRoute, bRoute]),
+ })
+
+ router.ssr = {
+ manifest: {
+ routes: {
+ [rootRoute.id]: {
+ preloads: ['/root.js'],
+ assets: [
+ {
+ tag: 'link',
+ attrs: {
+ rel: 'stylesheet',
+ href: '/main.css',
+ },
+ },
+ ],
+ },
+ [aRoute.id]: {
+ preloads: ['/a.js'],
+ assets: [],
+ },
+ [bRoute.id]: {
+ preloads: ['/b.js', '/b-child.js'],
+ assets: [],
+ },
+ },
+ },
+ }
+
+ await router.navigate({ to: '/a' })
+ await router.load()
+
+ render(() => )
+
+ const getStylesheetLink = () =>
+ Array.from(document.head.querySelectorAll('link[rel="stylesheet"]')).find(
+ (link) => link.getAttribute('href') === '/main.css',
+ )
+
+ await waitFor(() => {
+ expect(getStylesheetLink()).toBeInstanceOf(HTMLLinkElement)
+ })
+
+ const initialLink = getStylesheetLink()
+ expect(initialLink).toBeInstanceOf(HTMLLinkElement)
+
+ fireEvent.click(screen.getByRole('link', { name: 'Go to B' }))
+
+ await waitFor(() => {
+ expect(router.state.location.pathname).toBe('/b')
+ })
+
+ await screen.findByRole('link', { name: 'Go to A' })
+
+ expect(getStylesheetLink()).toBe(initialLink)
+ expect(
+ Array.from(
+ document.head.querySelectorAll('link[rel="stylesheet"]'),
+ ).filter((link) => link.getAttribute('href') === '/main.css'),
+ ).toHaveLength(1)
+ })
+
test('applies assetCrossOrigin to manifest assets and preloads', async () => {
const history = createTestBrowserHistory()
From b732c8ac26bd3b316e95b026ca2fc7c2c78a1ddd Mon Sep 17 00:00:00 2001
From: Brenley Dueck
Date: Sat, 25 Apr 2026 12:23:05 -0500
Subject: [PATCH 052/608] fix: server middleware type in solid-router (#7260)
---
.changeset/curvy-chairs-study.md | 5 ++
packages/solid-router/src/fileRoute.ts | 2 +-
.../solid-router/tests/fileRoute.test-d.tsx | 87 +++++++++++++++++++
3 files changed, 93 insertions(+), 1 deletion(-)
create mode 100644 .changeset/curvy-chairs-study.md
diff --git a/.changeset/curvy-chairs-study.md b/.changeset/curvy-chairs-study.md
new file mode 100644
index 0000000000..3c4508d831
--- /dev/null
+++ b/.changeset/curvy-chairs-study.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/solid-router': patch
+---
+
+fix server middleware type in solid-router
diff --git a/packages/solid-router/src/fileRoute.ts b/packages/solid-router/src/fileRoute.ts
index d71a02cef9..26b8a4a07a 100644
--- a/packages/solid-router/src/fileRoute.ts
+++ b/packages/solid-router/src/fileRoute.ts
@@ -81,7 +81,7 @@ export class FileRoute<
TLoaderFn = undefined,
TChildren = unknown,
TSSR = unknown,
- TMiddlewares = unknown,
+ const TMiddlewares = unknown,
THandlers = undefined,
>(
options?: FileBaseRouteOptions<
diff --git a/packages/solid-router/tests/fileRoute.test-d.tsx b/packages/solid-router/tests/fileRoute.test-d.tsx
index c97d932325..6c32156b2d 100644
--- a/packages/solid-router/tests/fileRoute.test-d.tsx
+++ b/packages/solid-router/tests/fileRoute.test-d.tsx
@@ -1,5 +1,53 @@
import { expectTypeOf, test } from 'vitest'
import { createFileRoute, createRootRoute } from '../src'
+import type { Route } from '@tanstack/router-core'
+
+declare module '@tanstack/router-core' {
+ interface FilebaseRouteOptionsInterface<
+ TRegister,
+ TParentRoute,
+ TId,
+ TPath,
+ TSearchValidator,
+ TParams,
+ TLoaderDeps,
+ TLoaderFn,
+ TRouterContext,
+ TRouteContextFn,
+ TBeforeLoadFn,
+ TRemountDepsFn,
+ TSSR,
+ TServerMiddlewares,
+ THandlers,
+ > {
+ server?: {
+ middleware?: TServerMiddlewares
+ }
+ }
+
+ interface RouteTypes<
+ TRegister,
+ TParentRoute,
+ TPath,
+ TFullPath,
+ TCustomId,
+ TId,
+ TSearchValidator,
+ TParams,
+ TRouterContext,
+ TRouteContextFn,
+ TBeforeLoadFn,
+ TLoaderDeps,
+ TLoaderFn,
+ TChildren,
+ TFileRouteTypes,
+ TSSR,
+ TServerMiddlewares,
+ THandlers,
+ > {
+ middleware: TServerMiddlewares
+ }
+}
const rootRoute = createRootRoute()
@@ -100,3 +148,42 @@ test('when creating a folder group', () => {
expectTypeOf<'(auth)/protected'>(protectedRoute.path)
expectTypeOf<'/protected'>(protectedRoute.id)
})
+
+test('when creating a file route with middleware options', () => {
+ type Middleware = { readonly middleware: 'middleware' }
+ const middleware = { middleware: 'middleware' } as const
+
+ const route = createFileRoute('/invoices')({
+ server: {
+ middleware: [middleware],
+ },
+ })
+
+ type ExtractMiddlewares =
+ TRoute extends Route<
+ any,
+ any,
+ any,
+ any,
+ any,
+ any,
+ any,
+ any,
+ any,
+ any,
+ any,
+ any,
+ any,
+ any,
+ any,
+ any,
+ infer TMiddlewares,
+ any
+ >
+ ? TMiddlewares
+ : never
+
+ expectTypeOf>().toEqualTypeOf<
+ readonly [Middleware]
+ >()
+})
From a2ad394598e2079ab4050ebb16bb03b31d69c32a Mon Sep 17 00:00:00 2001
From: Manuel Schiller
Date: Sat, 25 Apr 2026 19:30:52 +0200
Subject: [PATCH 053/608] replace tsx by jiti (#7261)
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
---
.changeset/bright-jars-relax.md | 5 +
packages/router-generator/package.json | 2 +-
.../src/filesystem/virtual/loadConfigFile.ts | 7 +-
pnpm-lock.yaml | 290 +-----------------
4 files changed, 13 insertions(+), 291 deletions(-)
create mode 100644 .changeset/bright-jars-relax.md
diff --git a/.changeset/bright-jars-relax.md b/.changeset/bright-jars-relax.md
new file mode 100644
index 0000000000..5bd163fd7b
--- /dev/null
+++ b/.changeset/bright-jars-relax.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/router-generator': patch
+---
+
+Use jiti instead of tsx to load virtual route config files.
diff --git a/packages/router-generator/package.json b/packages/router-generator/package.json
index b1c58977eb..adc6491aa1 100644
--- a/packages/router-generator/package.json
+++ b/packages/router-generator/package.json
@@ -69,9 +69,9 @@
"@tanstack/router-core": "workspace:*",
"@tanstack/router-utils": "workspace:*",
"@tanstack/virtual-file-routes": "workspace:*",
+ "jiti": "^2.6.1",
"magic-string": "^0.30.21",
"prettier": "^3.5.0",
- "tsx": "^4.19.2",
"zod": "^3.24.2"
},
"devDependencies": {
diff --git a/packages/router-generator/src/filesystem/virtual/loadConfigFile.ts b/packages/router-generator/src/filesystem/virtual/loadConfigFile.ts
index f49a79c492..477226eb70 100644
--- a/packages/router-generator/src/filesystem/virtual/loadConfigFile.ts
+++ b/packages/router-generator/src/filesystem/virtual/loadConfigFile.ts
@@ -1,8 +1,7 @@
-import { pathToFileURL } from 'node:url'
-import { tsImport } from 'tsx/esm/api'
+import { createJiti } from 'jiti'
export async function loadConfigFile(filePath: string) {
- const fileURL = pathToFileURL(filePath).href
- const loaded = await tsImport(fileURL, './')
+ const jiti = createJiti(filePath, { interopDefault: false })
+ const loaded = await jiti.import(filePath)
return loaded
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index cd6409724e..4da704b90d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -12624,15 +12624,15 @@ importers:
'@tanstack/virtual-file-routes':
specifier: workspace:*
version: link:../virtual-file-routes
+ jiti:
+ specifier: ^2.6.1
+ version: 2.6.1
magic-string:
specifier: ^0.30.21
version: 0.30.21
prettier:
specifier: ^3.5.0
version: 3.5.0
- tsx:
- specifier: ^4.19.2
- version: 4.19.2
zod:
specifier: ^3.24.2
version: 3.25.57
@@ -12645,7 +12645,7 @@ importers:
version: 25.0.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.19.2)(yaml@2.8.1)
+ 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)
packages/router-plugin:
dependencies:
@@ -14247,12 +14247,6 @@ packages:
cpu: [ppc64]
os: [aix]
- '@esbuild/aix-ppc64@0.23.1':
- resolution: {integrity: sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==}
- engines: {node: '>=18'}
- cpu: [ppc64]
- os: [aix]
-
'@esbuild/aix-ppc64@0.25.10':
resolution: {integrity: sha512-0NFWnA+7l41irNuaSVlLfgNT12caWJVLzp5eAVhZ0z1qpxbockccEt3s+149rE64VUI3Ml2zt8Nv5JVc4QXTsw==}
engines: {node: '>=18'}
@@ -14283,12 +14277,6 @@ packages:
cpu: [arm64]
os: [android]
- '@esbuild/android-arm64@0.23.1':
- resolution: {integrity: sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [android]
-
'@esbuild/android-arm64@0.25.10':
resolution: {integrity: sha512-LSQa7eDahypv/VO6WKohZGPSJDq5OVOo3UoFR1E4t4Gj1W7zEQMUhI+lo81H+DtB+kP+tDgBp+M4oNCwp6kffg==}
engines: {node: '>=18'}
@@ -14319,12 +14307,6 @@ packages:
cpu: [arm]
os: [android]
- '@esbuild/android-arm@0.23.1':
- resolution: {integrity: sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==}
- engines: {node: '>=18'}
- cpu: [arm]
- os: [android]
-
'@esbuild/android-arm@0.25.10':
resolution: {integrity: sha512-dQAxF1dW1C3zpeCDc5KqIYuZ1tgAdRXNoZP7vkBIRtKZPYe2xVr/d3SkirklCHudW1B45tGiUlz2pUWDfbDD4w==}
engines: {node: '>=18'}
@@ -14355,12 +14337,6 @@ packages:
cpu: [x64]
os: [android]
- '@esbuild/android-x64@0.23.1':
- resolution: {integrity: sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [android]
-
'@esbuild/android-x64@0.25.10':
resolution: {integrity: sha512-MiC9CWdPrfhibcXwr39p9ha1x0lZJ9KaVfvzA0Wxwz9ETX4v5CHfF09bx935nHlhi+MxhA63dKRRQLiVgSUtEg==}
engines: {node: '>=18'}
@@ -14391,12 +14367,6 @@ packages:
cpu: [arm64]
os: [darwin]
- '@esbuild/darwin-arm64@0.23.1':
- resolution: {integrity: sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [darwin]
-
'@esbuild/darwin-arm64@0.25.10':
resolution: {integrity: sha512-JC74bdXcQEpW9KkV326WpZZjLguSZ3DfS8wrrvPMHgQOIEIG/sPXEN/V8IssoJhbefLRcRqw6RQH2NnpdprtMA==}
engines: {node: '>=18'}
@@ -14427,12 +14397,6 @@ packages:
cpu: [x64]
os: [darwin]
- '@esbuild/darwin-x64@0.23.1':
- resolution: {integrity: sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [darwin]
-
'@esbuild/darwin-x64@0.25.10':
resolution: {integrity: sha512-tguWg1olF6DGqzws97pKZ8G2L7Ig1vjDmGTwcTuYHbuU6TTjJe5FXbgs5C1BBzHbJ2bo1m3WkQDbWO2PvamRcg==}
engines: {node: '>=18'}
@@ -14463,12 +14427,6 @@ packages:
cpu: [arm64]
os: [freebsd]
- '@esbuild/freebsd-arm64@0.23.1':
- resolution: {integrity: sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [freebsd]
-
'@esbuild/freebsd-arm64@0.25.10':
resolution: {integrity: sha512-3ZioSQSg1HT2N05YxeJWYR+Libe3bREVSdWhEEgExWaDtyFbbXWb49QgPvFH8u03vUPX10JhJPcz7s9t9+boWg==}
engines: {node: '>=18'}
@@ -14499,12 +14457,6 @@ packages:
cpu: [x64]
os: [freebsd]
- '@esbuild/freebsd-x64@0.23.1':
- resolution: {integrity: sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [freebsd]
-
'@esbuild/freebsd-x64@0.25.10':
resolution: {integrity: sha512-LLgJfHJk014Aa4anGDbh8bmI5Lk+QidDmGzuC2D+vP7mv/GeSN+H39zOf7pN5N8p059FcOfs2bVlrRr4SK9WxA==}
engines: {node: '>=18'}
@@ -14535,12 +14487,6 @@ packages:
cpu: [arm64]
os: [linux]
- '@esbuild/linux-arm64@0.23.1':
- resolution: {integrity: sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [linux]
-
'@esbuild/linux-arm64@0.25.10':
resolution: {integrity: sha512-5luJWN6YKBsawd5f9i4+c+geYiVEw20FVW5x0v1kEMWNq8UctFjDiMATBxLvmmHA4bf7F6hTRaJgtghFr9iziQ==}
engines: {node: '>=18'}
@@ -14571,12 +14517,6 @@ packages:
cpu: [arm]
os: [linux]
- '@esbuild/linux-arm@0.23.1':
- resolution: {integrity: sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==}
- engines: {node: '>=18'}
- cpu: [arm]
- os: [linux]
-
'@esbuild/linux-arm@0.25.10':
resolution: {integrity: sha512-oR31GtBTFYCqEBALI9r6WxoU/ZofZl962pouZRTEYECvNF/dtXKku8YXcJkhgK/beU+zedXfIzHijSRapJY3vg==}
engines: {node: '>=18'}
@@ -14607,12 +14547,6 @@ packages:
cpu: [ia32]
os: [linux]
- '@esbuild/linux-ia32@0.23.1':
- resolution: {integrity: sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==}
- engines: {node: '>=18'}
- cpu: [ia32]
- os: [linux]
-
'@esbuild/linux-ia32@0.25.10':
resolution: {integrity: sha512-NrSCx2Kim3EnnWgS4Txn0QGt0Xipoumb6z6sUtl5bOEZIVKhzfyp/Lyw4C1DIYvzeW/5mWYPBFJU3a/8Yr75DQ==}
engines: {node: '>=18'}
@@ -14643,12 +14577,6 @@ packages:
cpu: [loong64]
os: [linux]
- '@esbuild/linux-loong64@0.23.1':
- resolution: {integrity: sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==}
- engines: {node: '>=18'}
- cpu: [loong64]
- os: [linux]
-
'@esbuild/linux-loong64@0.25.10':
resolution: {integrity: sha512-xoSphrd4AZda8+rUDDfD9J6FUMjrkTz8itpTITM4/xgerAZZcFW7Dv+sun7333IfKxGG8gAq+3NbfEMJfiY+Eg==}
engines: {node: '>=18'}
@@ -14679,12 +14607,6 @@ packages:
cpu: [mips64el]
os: [linux]
- '@esbuild/linux-mips64el@0.23.1':
- resolution: {integrity: sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==}
- engines: {node: '>=18'}
- cpu: [mips64el]
- os: [linux]
-
'@esbuild/linux-mips64el@0.25.10':
resolution: {integrity: sha512-ab6eiuCwoMmYDyTnyptoKkVS3k8fy/1Uvq7Dj5czXI6DF2GqD2ToInBI0SHOp5/X1BdZ26RKc5+qjQNGRBelRA==}
engines: {node: '>=18'}
@@ -14715,12 +14637,6 @@ packages:
cpu: [ppc64]
os: [linux]
- '@esbuild/linux-ppc64@0.23.1':
- resolution: {integrity: sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==}
- engines: {node: '>=18'}
- cpu: [ppc64]
- os: [linux]
-
'@esbuild/linux-ppc64@0.25.10':
resolution: {integrity: sha512-NLinzzOgZQsGpsTkEbdJTCanwA5/wozN9dSgEl12haXJBzMTpssebuXR42bthOF3z7zXFWH1AmvWunUCkBE4EA==}
engines: {node: '>=18'}
@@ -14751,12 +14667,6 @@ packages:
cpu: [riscv64]
os: [linux]
- '@esbuild/linux-riscv64@0.23.1':
- resolution: {integrity: sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==}
- engines: {node: '>=18'}
- cpu: [riscv64]
- os: [linux]
-
'@esbuild/linux-riscv64@0.25.10':
resolution: {integrity: sha512-FE557XdZDrtX8NMIeA8LBJX3dC2M8VGXwfrQWU7LB5SLOajfJIxmSdyL/gU1m64Zs9CBKvm4UAuBp5aJ8OgnrA==}
engines: {node: '>=18'}
@@ -14787,12 +14697,6 @@ packages:
cpu: [s390x]
os: [linux]
- '@esbuild/linux-s390x@0.23.1':
- resolution: {integrity: sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==}
- engines: {node: '>=18'}
- cpu: [s390x]
- os: [linux]
-
'@esbuild/linux-s390x@0.25.10':
resolution: {integrity: sha512-3BBSbgzuB9ajLoVZk0mGu+EHlBwkusRmeNYdqmznmMc9zGASFjSsxgkNsqmXugpPk00gJ0JNKh/97nxmjctdew==}
engines: {node: '>=18'}
@@ -14823,12 +14727,6 @@ packages:
cpu: [x64]
os: [linux]
- '@esbuild/linux-x64@0.23.1':
- resolution: {integrity: sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [linux]
-
'@esbuild/linux-x64@0.25.10':
resolution: {integrity: sha512-QSX81KhFoZGwenVyPoberggdW1nrQZSvfVDAIUXr3WqLRZGZqWk/P4T8p2SP+de2Sr5HPcvjhcJzEiulKgnxtA==}
engines: {node: '>=18'}
@@ -14883,12 +14781,6 @@ packages:
cpu: [x64]
os: [netbsd]
- '@esbuild/netbsd-x64@0.23.1':
- resolution: {integrity: sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [netbsd]
-
'@esbuild/netbsd-x64@0.25.10':
resolution: {integrity: sha512-7RTytDPGU6fek/hWuN9qQpeGPBZFfB4zZgcz2VK2Z5VpdUxEI8JKYsg3JfO0n/Z1E/6l05n0unDCNc4HnhQGig==}
engines: {node: '>=18'}
@@ -14919,12 +14811,6 @@ packages:
cpu: [arm64]
os: [openbsd]
- '@esbuild/openbsd-arm64@0.23.1':
- resolution: {integrity: sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [openbsd]
-
'@esbuild/openbsd-arm64@0.25.10':
resolution: {integrity: sha512-5Se0VM9Wtq797YFn+dLimf2Zx6McttsH2olUBsDml+lm0GOCRVebRWUvDtkY4BWYv/3NgzS8b/UM3jQNh5hYyw==}
engines: {node: '>=18'}
@@ -14955,12 +14841,6 @@ packages:
cpu: [x64]
os: [openbsd]
- '@esbuild/openbsd-x64@0.23.1':
- resolution: {integrity: sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [openbsd]
-
'@esbuild/openbsd-x64@0.25.10':
resolution: {integrity: sha512-XkA4frq1TLj4bEMB+2HnI0+4RnjbuGZfet2gs/LNs5Hc7D89ZQBHQ0gL2ND6Lzu1+QVkjp3x1gIcPKzRNP8bXw==}
engines: {node: '>=18'}
@@ -15009,12 +14889,6 @@ packages:
cpu: [x64]
os: [sunos]
- '@esbuild/sunos-x64@0.23.1':
- resolution: {integrity: sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [sunos]
-
'@esbuild/sunos-x64@0.25.10':
resolution: {integrity: sha512-fswk3XT0Uf2pGJmOpDB7yknqhVkJQkAQOcW/ccVOtfx05LkbWOaRAtn5SaqXypeKQra1QaEa841PgrSL9ubSPQ==}
engines: {node: '>=18'}
@@ -15045,12 +14919,6 @@ packages:
cpu: [arm64]
os: [win32]
- '@esbuild/win32-arm64@0.23.1':
- resolution: {integrity: sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [win32]
-
'@esbuild/win32-arm64@0.25.10':
resolution: {integrity: sha512-ah+9b59KDTSfpaCg6VdJoOQvKjI33nTaQr4UluQwW7aEwZQsbMCfTmfEO4VyewOxx4RaDT/xCy9ra2GPWmO7Kw==}
engines: {node: '>=18'}
@@ -15081,12 +14949,6 @@ packages:
cpu: [ia32]
os: [win32]
- '@esbuild/win32-ia32@0.23.1':
- resolution: {integrity: sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==}
- engines: {node: '>=18'}
- cpu: [ia32]
- os: [win32]
-
'@esbuild/win32-ia32@0.25.10':
resolution: {integrity: sha512-QHPDbKkrGO8/cz9LKVnJU22HOi4pxZnZhhA2HYHez5Pz4JeffhDjf85E57Oyco163GnzNCVkZK0b/n4Y0UHcSw==}
engines: {node: '>=18'}
@@ -15117,12 +14979,6 @@ packages:
cpu: [x64]
os: [win32]
- '@esbuild/win32-x64@0.23.1':
- resolution: {integrity: sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [win32]
-
'@esbuild/win32-x64@0.25.10':
resolution: {integrity: sha512-9KpxSVFCu0iK1owoez6aC/s/EdUQLDN3adTxGCqxMVhrPDj6bt5dbrHDXUuq+Bs2vATFBBrQS5vdQ/Ed2P+nbw==}
engines: {node: '>=18'}
@@ -21463,11 +21319,6 @@ packages:
engines: {node: '>=18'}
hasBin: true
- esbuild@0.23.1:
- resolution: {integrity: sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==}
- engines: {node: '>=18'}
- hasBin: true
-
esbuild@0.25.10:
resolution: {integrity: sha512-9RiGKvCwaqxO2owP61uQ4BgNborAQskMR6QusfWzQqv7AZOg5oGehdY2pRJMTKuwxd1IDBP4rSbI5lHzU7SMsQ==}
engines: {node: '>=18'}
@@ -25484,11 +25335,6 @@ packages:
tslib@2.8.1:
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
- tsx@4.19.2:
- resolution: {integrity: sha512-pOUl6Vo2LUq/bSa8S5q7b91cgNSjctn9ugq/+Mvow99qW6x/UZYwzxy/3NmqoT66eHYfCVvFvACC58UBPFf28g==}
- engines: {node: '>=18.0.0'}
- hasBin: true
-
tsx@4.20.3:
resolution: {integrity: sha512-qjbnuR9Tr+FJOMBqJCW5ehvIo/buZq7vH7qD7JziU98h6l3qGy0a/yPFjwO+y0/T7GFpNgNAvEcPPVfyT8rrPQ==}
engines: {node: '>=18.0.0'}
@@ -27801,9 +27647,6 @@ snapshots:
'@esbuild/aix-ppc64@0.23.0':
optional: true
- '@esbuild/aix-ppc64@0.23.1':
- optional: true
-
'@esbuild/aix-ppc64@0.25.10':
optional: true
@@ -27819,9 +27662,6 @@ snapshots:
'@esbuild/android-arm64@0.23.0':
optional: true
- '@esbuild/android-arm64@0.23.1':
- optional: true
-
'@esbuild/android-arm64@0.25.10':
optional: true
@@ -27837,9 +27677,6 @@ snapshots:
'@esbuild/android-arm@0.23.0':
optional: true
- '@esbuild/android-arm@0.23.1':
- optional: true
-
'@esbuild/android-arm@0.25.10':
optional: true
@@ -27855,9 +27692,6 @@ snapshots:
'@esbuild/android-x64@0.23.0':
optional: true
- '@esbuild/android-x64@0.23.1':
- optional: true
-
'@esbuild/android-x64@0.25.10':
optional: true
@@ -27873,9 +27707,6 @@ snapshots:
'@esbuild/darwin-arm64@0.23.0':
optional: true
- '@esbuild/darwin-arm64@0.23.1':
- optional: true
-
'@esbuild/darwin-arm64@0.25.10':
optional: true
@@ -27891,9 +27722,6 @@ snapshots:
'@esbuild/darwin-x64@0.23.0':
optional: true
- '@esbuild/darwin-x64@0.23.1':
- optional: true
-
'@esbuild/darwin-x64@0.25.10':
optional: true
@@ -27909,9 +27737,6 @@ snapshots:
'@esbuild/freebsd-arm64@0.23.0':
optional: true
- '@esbuild/freebsd-arm64@0.23.1':
- optional: true
-
'@esbuild/freebsd-arm64@0.25.10':
optional: true
@@ -27927,9 +27752,6 @@ snapshots:
'@esbuild/freebsd-x64@0.23.0':
optional: true
- '@esbuild/freebsd-x64@0.23.1':
- optional: true
-
'@esbuild/freebsd-x64@0.25.10':
optional: true
@@ -27945,9 +27767,6 @@ snapshots:
'@esbuild/linux-arm64@0.23.0':
optional: true
- '@esbuild/linux-arm64@0.23.1':
- optional: true
-
'@esbuild/linux-arm64@0.25.10':
optional: true
@@ -27963,9 +27782,6 @@ snapshots:
'@esbuild/linux-arm@0.23.0':
optional: true
- '@esbuild/linux-arm@0.23.1':
- optional: true
-
'@esbuild/linux-arm@0.25.10':
optional: true
@@ -27981,9 +27797,6 @@ snapshots:
'@esbuild/linux-ia32@0.23.0':
optional: true
- '@esbuild/linux-ia32@0.23.1':
- optional: true
-
'@esbuild/linux-ia32@0.25.10':
optional: true
@@ -27999,9 +27812,6 @@ snapshots:
'@esbuild/linux-loong64@0.23.0':
optional: true
- '@esbuild/linux-loong64@0.23.1':
- optional: true
-
'@esbuild/linux-loong64@0.25.10':
optional: true
@@ -28017,9 +27827,6 @@ snapshots:
'@esbuild/linux-mips64el@0.23.0':
optional: true
- '@esbuild/linux-mips64el@0.23.1':
- optional: true
-
'@esbuild/linux-mips64el@0.25.10':
optional: true
@@ -28035,9 +27842,6 @@ snapshots:
'@esbuild/linux-ppc64@0.23.0':
optional: true
- '@esbuild/linux-ppc64@0.23.1':
- optional: true
-
'@esbuild/linux-ppc64@0.25.10':
optional: true
@@ -28053,9 +27857,6 @@ snapshots:
'@esbuild/linux-riscv64@0.23.0':
optional: true
- '@esbuild/linux-riscv64@0.23.1':
- optional: true
-
'@esbuild/linux-riscv64@0.25.10':
optional: true
@@ -28071,9 +27872,6 @@ snapshots:
'@esbuild/linux-s390x@0.23.0':
optional: true
- '@esbuild/linux-s390x@0.23.1':
- optional: true
-
'@esbuild/linux-s390x@0.25.10':
optional: true
@@ -28089,9 +27887,6 @@ snapshots:
'@esbuild/linux-x64@0.23.0':
optional: true
- '@esbuild/linux-x64@0.23.1':
- optional: true
-
'@esbuild/linux-x64@0.25.10':
optional: true
@@ -28119,9 +27914,6 @@ snapshots:
'@esbuild/netbsd-x64@0.23.0':
optional: true
- '@esbuild/netbsd-x64@0.23.1':
- optional: true
-
'@esbuild/netbsd-x64@0.25.10':
optional: true
@@ -28137,9 +27929,6 @@ snapshots:
'@esbuild/openbsd-arm64@0.23.0':
optional: true
- '@esbuild/openbsd-arm64@0.23.1':
- optional: true
-
'@esbuild/openbsd-arm64@0.25.10':
optional: true
@@ -28155,9 +27944,6 @@ snapshots:
'@esbuild/openbsd-x64@0.23.0':
optional: true
- '@esbuild/openbsd-x64@0.23.1':
- optional: true
-
'@esbuild/openbsd-x64@0.25.10':
optional: true
@@ -28182,9 +27968,6 @@ snapshots:
'@esbuild/sunos-x64@0.23.0':
optional: true
- '@esbuild/sunos-x64@0.23.1':
- optional: true
-
'@esbuild/sunos-x64@0.25.10':
optional: true
@@ -28200,9 +27983,6 @@ snapshots:
'@esbuild/win32-arm64@0.23.0':
optional: true
- '@esbuild/win32-arm64@0.23.1':
- optional: true
-
'@esbuild/win32-arm64@0.25.10':
optional: true
@@ -28218,9 +27998,6 @@ snapshots:
'@esbuild/win32-ia32@0.23.0':
optional: true
- '@esbuild/win32-ia32@0.23.1':
- optional: true
-
'@esbuild/win32-ia32@0.25.10':
optional: true
@@ -28236,9 +28013,6 @@ snapshots:
'@esbuild/win32-x64@0.23.0':
optional: true
- '@esbuild/win32-x64@0.23.1':
- optional: true
-
'@esbuild/win32-x64@0.25.10':
optional: true
@@ -35519,33 +35293,6 @@ snapshots:
'@esbuild/win32-ia32': 0.23.0
'@esbuild/win32-x64': 0.23.0
- esbuild@0.23.1:
- optionalDependencies:
- '@esbuild/aix-ppc64': 0.23.1
- '@esbuild/android-arm': 0.23.1
- '@esbuild/android-arm64': 0.23.1
- '@esbuild/android-x64': 0.23.1
- '@esbuild/darwin-arm64': 0.23.1
- '@esbuild/darwin-x64': 0.23.1
- '@esbuild/freebsd-arm64': 0.23.1
- '@esbuild/freebsd-x64': 0.23.1
- '@esbuild/linux-arm': 0.23.1
- '@esbuild/linux-arm64': 0.23.1
- '@esbuild/linux-ia32': 0.23.1
- '@esbuild/linux-loong64': 0.23.1
- '@esbuild/linux-mips64el': 0.23.1
- '@esbuild/linux-ppc64': 0.23.1
- '@esbuild/linux-riscv64': 0.23.1
- '@esbuild/linux-s390x': 0.23.1
- '@esbuild/linux-x64': 0.23.1
- '@esbuild/netbsd-x64': 0.23.1
- '@esbuild/openbsd-arm64': 0.23.1
- '@esbuild/openbsd-x64': 0.23.1
- '@esbuild/sunos-x64': 0.23.1
- '@esbuild/win32-arm64': 0.23.1
- '@esbuild/win32-ia32': 0.23.1
- '@esbuild/win32-x64': 0.23.1
-
esbuild@0.25.10:
optionalDependencies:
'@esbuild/aix-ppc64': 0.25.10
@@ -40314,13 +40061,6 @@ snapshots:
tslib@2.8.1: {}
- tsx@4.19.2:
- dependencies:
- esbuild: 0.23.1
- get-tsconfig: 4.10.0
- optionalDependencies:
- fsevents: 2.3.3
-
tsx@4.20.3:
dependencies:
esbuild: 0.25.10
@@ -40732,28 +40472,6 @@ snapshots:
- supports-color
- typescript
- 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.19.2)(yaml@2.8.1):
- dependencies:
- '@oxc-project/runtime': 0.115.0
- lightningcss: 1.32.0
- picomatch: 4.0.3
- postcss: 8.5.8
- rolldown: 1.0.0-rc.9(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)
- tinyglobby: 0.2.15
- optionalDependencies:
- '@types/node': 25.0.9
- esbuild: 0.27.4
- fsevents: 2.3.3
- jiti: 2.6.1
- sass: 1.97.2
- sass-embedded: 1.97.2
- terser: 5.37.0
- tsx: 4.19.2
- yaml: 2.8.1
- transitivePeerDependencies:
- - '@emnapi/core'
- - '@emnapi/runtime'
-
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):
dependencies:
'@oxc-project/runtime': 0.115.0
From 97207a13a6e356ee039cf8875beffef127772634 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Sat, 25 Apr 2026 17:43:08 +0000
Subject: [PATCH 054/608] ci: changeset release
---
.changeset/bright-jars-relax.md | 5 -
.changeset/curvy-chairs-study.md | 5 -
.changeset/twenty-tools-lose.md | 5 -
.../package.json | 2 +-
.../react/authenticated-routes/package.json | 2 +-
examples/react/basic-file-based/package.json | 2 +-
.../basic-react-query-file-based/package.json | 2 +-
.../react/basic-ssr-file-based/package.json | 2 +-
.../package.json | 2 +-
.../basic-virtual-file-based/package.json | 2 +-
.../package.json | 2 +-
examples/react/i18n-paraglide/package.json | 2 +-
.../kitchen-sink-file-based/package.json | 2 +-
.../package.json | 2 +-
examples/react/large-file-based/package.json | 2 +-
.../package.json | 2 +-
.../react/quickstart-file-based/package.json | 2 +-
.../quickstart-rspack-file-based/package.json | 2 +-
.../package.json | 2 +-
.../router-monorepo-react-query/package.json | 2 +-
.../packages/router/package.json | 2 +-
.../router-monorepo-simple-lazy/package.json | 2 +-
.../packages/router/package.json | 2 +-
.../react/router-monorepo-simple/package.json | 2 +-
.../packages/router/package.json | 2 +-
.../search-validator-adapters/package.json | 2 +-
examples/react/start-bare/package.json | 2 +-
examples/react/start-basic-auth/package.json | 2 +-
.../react/start-basic-authjs/package.json | 2 +-
.../react/start-basic-cloudflare/package.json | 2 +-
.../start-basic-react-query/package.json | 2 +-
.../react/start-basic-static/package.json | 2 +-
examples/react/start-basic/package.json | 2 +-
examples/react/start-bun/package.json | 4 +-
examples/react/start-clerk-basic/package.json | 2 +-
.../react/start-convex-trellaux/package.json | 2 +-
examples/react/start-counter/package.json | 2 +-
.../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 +-
.../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/react/view-transitions/package.json | 2 +-
.../react/with-trpc-react-query/package.json | 2 +-
examples/react/with-trpc/package.json | 2 +-
.../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 | 4 +-
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 | 2 +-
.../vue/basic-file-based-sfc/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/router-cli/CHANGELOG.md | 7 ++
packages/router-cli/package.json | 2 +-
packages/router-generator/CHANGELOG.md | 6 +
packages/router-generator/package.json | 2 +-
packages/router-plugin/CHANGELOG.md | 7 ++
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 | 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 | 10 ++
packages/solid-start/package.json | 2 +-
packages/start-plugin-core/CHANGELOG.md | 8 ++
packages/start-plugin-core/package.json | 2 +-
packages/vue-start/CHANGELOG.md | 7 ++
packages/vue-start/package.json | 2 +-
pnpm-lock.yaml | 104 +++++++++---------
130 files changed, 299 insertions(+), 225 deletions(-)
delete mode 100644 .changeset/bright-jars-relax.md
delete mode 100644 .changeset/curvy-chairs-study.md
delete mode 100644 .changeset/twenty-tools-lose.md
diff --git a/.changeset/bright-jars-relax.md b/.changeset/bright-jars-relax.md
deleted file mode 100644
index 5bd163fd7b..0000000000
--- a/.changeset/bright-jars-relax.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/router-generator': patch
----
-
-Use jiti instead of tsx to load virtual route config files.
diff --git a/.changeset/curvy-chairs-study.md b/.changeset/curvy-chairs-study.md
deleted file mode 100644
index 3c4508d831..0000000000
--- a/.changeset/curvy-chairs-study.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/solid-router': patch
----
-
-fix server middleware type in solid-router
diff --git a/.changeset/twenty-tools-lose.md b/.changeset/twenty-tools-lose.md
deleted file mode 100644
index 73b079ad1c..0000000000
--- a/.changeset/twenty-tools-lose.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/solid-router': patch
----
-
-Enhanced internal tag comparison logic to optimize stylesheet persistence during route navigation.
diff --git a/examples/react/authenticated-routes-firebase/package.json b/examples/react/authenticated-routes-firebase/package.json
index 2f12556ec8..2bdb03f55e 100644
--- a/examples/react/authenticated-routes-firebase/package.json
+++ b/examples/react/authenticated-routes-firebase/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 c184d1cec0..dbb648eea3 100644
--- a/examples/react/authenticated-routes/package.json
+++ b/examples/react/authenticated-routes/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-file-based/package.json b/examples/react/basic-file-based/package.json
index 99f78aac06..54ef95bd0c 100644
--- a/examples/react/basic-file-based/package.json
+++ b/examples/react/basic-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-react-query-file-based/package.json b/examples/react/basic-react-query-file-based/package.json
index 74081f4659..1cf10722f3 100644
--- a/examples/react/basic-react-query-file-based/package.json
+++ b/examples/react/basic-react-query-file-based/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/basic-ssr-file-based/package.json b/examples/react/basic-ssr-file-based/package.json
index 29f1b6c136..d05755ece7 100644
--- a/examples/react/basic-ssr-file-based/package.json
+++ b/examples/react/basic-ssr-file-based/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 bf757b04e3..93cad8f5dd 100644
--- a/examples/react/basic-ssr-streaming-file-based/package.json
+++ b/examples/react/basic-ssr-streaming-file-based/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 3040b16d04..8c396a80a9 100644
--- a/examples/react/basic-virtual-file-based/package.json
+++ b/examples/react/basic-virtual-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@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 5bfc86a5a1..3cd0f6615b 100644
--- a/examples/react/basic-virtual-inside-file-based/package.json
+++ b/examples/react/basic-virtual-inside-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@tanstack/virtual-file-routes": "^1.161.7",
"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 f8bfdf7f0b..b83dc01652 100644
--- a/examples/react/i18n-paraglide/package.json
+++ b/examples/react/i18n-paraglide/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 00b86d3db7..2454184d1c 100644
--- a/examples/react/kitchen-sink-file-based/package.json
+++ b/examples/react/kitchen-sink-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 620de393ae..c3a399fc10 100644
--- a/examples/react/kitchen-sink-react-query-file-based/package.json
+++ b/examples/react/kitchen-sink-react-query-file-based/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"immer": "^10.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/large-file-based/package.json b/examples/react/large-file-based/package.json
index b16dc76b12..aaa8d62993 100644
--- a/examples/react/large-file-based/package.json
+++ b/examples/react/large-file-based/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/quickstart-esbuild-file-based/package.json b/examples/react/quickstart-esbuild-file-based/package.json
index 28cde76b4a..08d60316bb 100644
--- a/examples/react/quickstart-esbuild-file-based/package.json
+++ b/examples/react/quickstart-esbuild-file-based/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 6073785d0d..d0b5103490 100644
--- a/examples/react/quickstart-file-based/package.json
+++ b/examples/react/quickstart-file-based/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 5ca3f0d67f..f6fd1136bb 100644
--- a/examples/react/quickstart-rspack-file-based/package.json
+++ b/examples/react/quickstart-rspack-file-based/package.json
@@ -19,7 +19,7 @@
"devDependencies": {
"@rsbuild/core": "^2.0.1",
"@rsbuild/plugin-react": "^2.0.0",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@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 6d5a7ae071..829868dcd2 100644
--- a/examples/react/quickstart-webpack-file-based/package.json
+++ b/examples/react/quickstart-webpack-file-based/package.json
@@ -14,7 +14,7 @@
},
"devDependencies": {
"@swc/core": "^1.10.15",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"html-webpack-plugin": "^5.6.3",
diff --git a/examples/react/router-monorepo-react-query/package.json b/examples/react/router-monorepo-react-query/package.json
index b5a7e55790..020bad3fe6 100644
--- a/examples/react/router-monorepo-react-query/package.json
+++ b/examples/react/router-monorepo-react-query/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 e2cbbec03e..7fb5c8a810 100644
--- a/examples/react/router-monorepo-react-query/packages/router/package.json
+++ b/examples/react/router-monorepo-react-query/packages/router/package.json
@@ -11,7 +11,7 @@
"@tanstack/history": "^1.161.6",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@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 69ede733a3..55aee0afc8 100644
--- a/examples/react/router-monorepo-simple-lazy/package.json
+++ b/examples/react/router-monorepo-simple-lazy/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 15f604b292..fa7becfaaa 100644
--- a/examples/react/router-monorepo-simple-lazy/packages/router/package.json
+++ b/examples/react/router-monorepo-simple-lazy/packages/router/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 c8df92fc4d..f67fb1635c 100644
--- a/examples/react/router-monorepo-simple/package.json
+++ b/examples/react/router-monorepo-simple/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 4fd36ab1e3..43db885b2e 100644
--- a/examples/react/router-monorepo-simple/packages/router/package.json
+++ b/examples/react/router-monorepo-simple/packages/router/package.json
@@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/history": "^1.161.6",
"@tanstack/react-router": "^1.168.24",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"redaxios": "^0.5.1",
"zod": "^3.24.2",
"react": "^19.0.0",
diff --git a/examples/react/search-validator-adapters/package.json b/examples/react/search-validator-adapters/package.json
index e2913feb45..332e495938 100644
--- a/examples/react/search-validator-adapters/package.json
+++ b/examples/react/search-validator-adapters/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@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 cc5f254443..e806d98920 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 7ecd80bcfb..4492e5d037 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 3849de25a4..8c5b8a543f 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 fdb3b85886..337d8ac987 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 f8dca234c2..3b404ef072 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 8c5dc4bb75..609a4118e7 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"@tanstack/start-static-server-functions": "^1.166.35",
"@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 2b50dfe6cf..0ca54be73b 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 3b45a261e5..39b6414dba 100644
--- a/examples/react/start-bun/package.json
+++ b/examples/react/start-bun/package.json
@@ -18,8 +18,8 @@
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.48",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/react-start": "^1.167.49",
+ "@tanstack/router-plugin": "^1.167.27",
"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 a089974a67..f4edca7d24 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"@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 ea8fc45507..2acabdc376 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 9eafcb10a3..e654e4c014 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 a6408e75e0..075ffeac83 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 0fd2853603..662e404638 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 2afa623a15..23953bd607 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.24",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"@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 4bac8dc3aa..2ba3cf530f 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 0989715ab8..520a0200e6 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 be20daa022..8045f94b82 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 8906611f28..fde5670b9f 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 12483fc85a..93ebc5ea61 100644
--- a/examples/react/start-trellaux/package.json
+++ b/examples/react/start-trellaux/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
"@tanstack/react-router-ssr-query": "^1.166.11",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"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 25a2b12fbe..a0de8694d7 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.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-start": "^1.167.48",
+ "@tanstack/react-start": "^1.167.49",
"@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 d4aea34aa7..a8d22c88b1 100644
--- a/examples/react/view-transitions/package.json
+++ b/examples/react/view-transitions/package.json
@@ -12,7 +12,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/with-trpc-react-query/package.json b/examples/react/with-trpc-react-query/package.json
index b73288482f..2caf43630b 100644
--- a/examples/react/with-trpc-react-query/package.json
+++ b/examples/react/with-trpc-react-query/package.json
@@ -15,7 +15,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@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 556058a517..bf0c13b130 100644
--- a/examples/react/with-trpc/package.json
+++ b/examples/react/with-trpc/package.json
@@ -13,7 +13,7 @@
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@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 0bea8379e9..0448c2771b 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 c1481bb6ee..6fee0ecc47 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 f7f64e3a9a..c6fa1c787a 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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 18c9b1d5eb..e709251741 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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 b8f174a56e..2decf19e35 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 2cf1bb3a18..5c3c13846b 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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 0b1a1b8e9f..a5ccbf4b3b 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 16fd333589..9c67f392d7 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 29b797f2e7..cdf5d77fad 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.21",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/router-plugin": "^1.167.27",
"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 5295df9943..9d88be6270 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@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 e9343afcba..deb5f604ac 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@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 3e55cd0e41..3ad23d8599 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@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 8f8fc97bdf..46654195a2 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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 3e4cc2999e..359691959e 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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 6187bfae25..809b10b211 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.21",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/solid-router": "^1.168.22",
+ "@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 b62efbdc40..f1770738de 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 76b8ab098e..961b671c2d 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.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@tanstack/solid-query": "^5.90.9",
"@tanstack/solid-query-devtools": "^5.90.0",
- "@tanstack/solid-router": "^1.168.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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 bb840dd7bf..10bbc7a614 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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 c27183a44e..676e94b5dc 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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 270e0e3999..4a2c8c6ec4 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 18d2f59b06..e6840918c1 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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 029e0cb5b8..18bfe1a52a 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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 d87648e54e..8043f610b2 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.26",
- "@tanstack/solid-router": "^1.168.21",
+ "@tanstack/router-plugin": "^1.167.27",
+ "@tanstack/solid-router": "^1.168.22",
"@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 1e6d1ba8e8..612f0ffc4a 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 0b236fae52..12f677cc4b 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 7657760658..a2225e6838 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 27b088a47a..23a2976606 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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 ab5c1292f1..e695f5a65b 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 431a734504..cc133b0105 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.21",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/router-plugin": "^1.167.27",
"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 d40b9d06ec..7c30f052a8 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 d53ccd4859..04a9d7e410 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.21",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/router-plugin": "^1.167.27",
"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 cd36560673..b2f057b952 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 5d17bba158..1d1a04801d 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.21",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/solid-router": "^1.168.22",
+ "@tanstack/router-plugin": "^1.167.27",
"@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 afb9742cf1..8da008eb29 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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 d3ccb1f0f4..e8506def41 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@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 2b72a62dd1..60aaee0b9a 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"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 65ee2b4dd1..e19c76b3b1 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"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 d29d48947b..652967fdf5 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"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 c4ee9c8766..02fdc5dcde 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"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 7ba4997af8..5fd72aa59f 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"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 b8b29b75aa..22e70a984b 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.11",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"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 b8f2a70c07..bc8df20089 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"@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 84b7ec6d9e..c8820d2ccb 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"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 90d998e73a..66a6bd136b 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
"@tanstack/solid-router-ssr-query": "^1.166.11",
- "@tanstack/solid-start": "^1.167.43",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/solid-start": "^1.167.44",
+ "@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 4733a8a0e5..3ab0e63b5b 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"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 6e8d6e5109..86ac8d3dd8 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"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 78832de5d6..aa33dc9b68 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"solid-js": "^1.9.10"
},
"devDependencies": {
diff --git a/examples/solid/start-large/package.json b/examples/solid/start-large/package.json
index fcf86c1395..9ae14ec088 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"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 baa36350db..0154908698 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"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 9dcd32d135..713651d6c7 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"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 6b859aeb03..dedf42cca8 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-start": "^1.167.43",
+ "@tanstack/solid-start": "^1.167.44",
"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 1a6d2f03c3..3f08370098 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"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 0d10979001..a2cd412b70 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@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 5d50b23c3b..e163d35360 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.21",
+ "@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@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 9a6275f48e..791403fa67 100644
--- a/examples/vue/basic-file-based-jsx/package.json
+++ b/examples/vue/basic-file-based-jsx/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@tanstack/vue-router": "^1.168.20",
"@tanstack/vue-router-devtools": "^1.166.13",
"@tanstack/zod-adapter": "^1.166.9",
diff --git a/examples/vue/basic-file-based-sfc/package.json b/examples/vue/basic-file-based-sfc/package.json
index 07d409962d..7334f38460 100644
--- a/examples/vue/basic-file-based-sfc/package.json
+++ b/examples/vue/basic-file-based-sfc/package.json
@@ -10,7 +10,7 @@
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
- "@tanstack/router-plugin": "^1.167.26",
+ "@tanstack/router-plugin": "^1.167.27",
"@tanstack/vue-router": "^1.168.20",
"@tanstack/vue-router-devtools": "^1.166.13",
"@tanstack/zod-adapter": "^1.166.9",
diff --git a/packages/react-start-rsc/CHANGELOG.md b/packages/react-start-rsc/CHANGELOG.md
index a401cf13b5..bb62d41f87 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.28
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/start-plugin-core@1.169.5
+
## 0.0.27
### Patch Changes
diff --git a/packages/react-start-rsc/package.json b/packages/react-start-rsc/package.json
index c680373c91..2bd23abd9b 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.27",
+ "version": "0.0.28",
"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 9a55935e0f..ce0c1c9a1d 100644
--- a/packages/react-start/CHANGELOG.md
+++ b/packages/react-start/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/react-start
+## 1.167.49
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/start-plugin-core@1.169.5
+ - @tanstack/react-start-rsc@0.0.28
+
## 1.167.48
### Patch Changes
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index 8a205f2335..6d790197d5 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.167.48",
+ "version": "1.167.49",
"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 2312b38769..6892cb8b57 100644
--- a/packages/router-cli/CHANGELOG.md
+++ b/packages/router-cli/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-cli
+## 1.166.36
+
+### Patch Changes
+
+- Updated dependencies [[`a2ad394`](https://github.com/TanStack/router/commit/a2ad394598e2079ab4050ebb16bb03b31d69c32a)]:
+ - @tanstack/router-generator@1.166.35
+
## 1.166.35
### Patch Changes
diff --git a/packages/router-cli/package.json b/packages/router-cli/package.json
index 167b4b2a24..5ca365f4d9 100644
--- a/packages/router-cli/package.json
+++ b/packages/router-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-cli",
- "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-generator/CHANGELOG.md b/packages/router-generator/CHANGELOG.md
index 2b8c961788..aa4338d066 100644
--- a/packages/router-generator/CHANGELOG.md
+++ b/packages/router-generator/CHANGELOG.md
@@ -1,5 +1,11 @@
# @tanstack/router-generator
+## 1.166.35
+
+### Patch Changes
+
+- Use jiti instead of tsx to load virtual route config files. ([#7261](https://github.com/TanStack/router/pull/7261))
+
## 1.166.34
### Patch Changes
diff --git a/packages/router-generator/package.json b/packages/router-generator/package.json
index adc6491aa1..284b5aa276 100644
--- a/packages/router-generator/package.json
+++ b/packages/router-generator/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-generator",
- "version": "1.166.34",
+ "version": "1.166.35",
"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 ee1fdb7fde..97d4f6db42 100644
--- a/packages/router-plugin/CHANGELOG.md
+++ b/packages/router-plugin/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/router-plugin
+## 1.167.27
+
+### Patch Changes
+
+- Updated dependencies [[`a2ad394`](https://github.com/TanStack/router/commit/a2ad394598e2079ab4050ebb16bb03b31d69c32a)]:
+ - @tanstack/router-generator@1.166.35
+
## 1.167.26
### Patch Changes
diff --git a/packages/router-plugin/package.json b/packages/router-plugin/package.json
index b1f6f2220b..b8ef3c89d8 100644
--- a/packages/router-plugin/package.json
+++ b/packages/router-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-plugin",
- "version": "1.167.26",
+ "version": "1.167.27",
"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 caaa5994a1..015920a79f 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.42
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/router-plugin@1.167.27
+
## 1.166.41
### Patch Changes
diff --git a/packages/router-vite-plugin/package.json b/packages/router-vite-plugin/package.json
index 670b17dc8d..90693f809e 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.41",
+ "version": "1.166.42",
"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 4d738a4f99..408fbfed6d 100644
--- a/packages/solid-router/CHANGELOG.md
+++ b/packages/solid-router/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/solid-router
+## 1.168.22
+
+### Patch Changes
+
+- fix server middleware type in solid-router ([#7260](https://github.com/TanStack/router/pull/7260))
+
+- Enhanced internal tag comparison logic to optimize stylesheet persistence during route navigation. ([#7250](https://github.com/TanStack/router/pull/7250))
+
## 1.168.21
### Patch Changes
diff --git a/packages/solid-router/package.json b/packages/solid-router/package.json
index f8f8032370..4338e47351 100644
--- a/packages/solid-router/package.json
+++ b/packages/solid-router/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-router",
- "version": "1.168.21",
+ "version": "1.168.22",
"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 d98a543888..de4b08f50a 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.39
+
+### Patch Changes
+
+- Updated dependencies [[`b732c8a`](https://github.com/TanStack/router/commit/b732c8ac26bd3b316e95b026ca2fc7c2c78a1ddd), [`d20c878`](https://github.com/TanStack/router/commit/d20c87813559ff00d0b4810c4b600d47b47eff2f)]:
+ - @tanstack/solid-router@1.168.22
+
## 1.166.38
### Patch Changes
diff --git a/packages/solid-start-client/package.json b/packages/solid-start-client/package.json
index 4abd77b06a..01c2608673 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.38",
+ "version": "1.166.39",
"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 5edca6c4a7..cf68f30e75 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.40
+
+### Patch Changes
+
+- Updated dependencies [[`b732c8a`](https://github.com/TanStack/router/commit/b732c8ac26bd3b316e95b026ca2fc7c2c78a1ddd), [`d20c878`](https://github.com/TanStack/router/commit/d20c87813559ff00d0b4810c4b600d47b47eff2f)]:
+ - @tanstack/solid-router@1.168.22
+
## 1.166.39
### Patch Changes
diff --git a/packages/solid-start-server/package.json b/packages/solid-start-server/package.json
index 8aebc27024..a9865565ff 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.39",
+ "version": "1.166.40",
"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 4831967fa1..66cfcf4b69 100644
--- a/packages/solid-start/CHANGELOG.md
+++ b/packages/solid-start/CHANGELOG.md
@@ -1,5 +1,15 @@
# @tanstack/solid-start
+## 1.167.44
+
+### Patch Changes
+
+- Updated dependencies [[`b732c8a`](https://github.com/TanStack/router/commit/b732c8ac26bd3b316e95b026ca2fc7c2c78a1ddd), [`d20c878`](https://github.com/TanStack/router/commit/d20c87813559ff00d0b4810c4b600d47b47eff2f)]:
+ - @tanstack/solid-router@1.168.22
+ - @tanstack/start-plugin-core@1.169.5
+ - @tanstack/solid-start-client@1.166.39
+ - @tanstack/solid-start-server@1.166.40
+
## 1.167.43
### Patch Changes
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index 4c6f89a8fb..5289450fc3 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.167.43",
+ "version": "1.167.44",
"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 cd93a7c23c..b89433d3dc 100644
--- a/packages/start-plugin-core/CHANGELOG.md
+++ b/packages/start-plugin-core/CHANGELOG.md
@@ -1,5 +1,13 @@
# @tanstack/start-plugin-core
+## 1.169.5
+
+### Patch Changes
+
+- Updated dependencies [[`a2ad394`](https://github.com/TanStack/router/commit/a2ad394598e2079ab4050ebb16bb03b31d69c32a)]:
+ - @tanstack/router-generator@1.166.35
+ - @tanstack/router-plugin@1.167.27
+
## 1.169.4
### Patch Changes
diff --git a/packages/start-plugin-core/package.json b/packages/start-plugin-core/package.json
index 972589a759..a02c6a15e7 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.4",
+ "version": "1.169.5",
"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 cb45f3a798..dfc83c6e99 100644
--- a/packages/vue-start/CHANGELOG.md
+++ b/packages/vue-start/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/vue-start
+## 1.167.43
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @tanstack/start-plugin-core@1.169.5
+
## 1.167.42
### Patch Changes
diff --git a/packages/vue-start/package.json b/packages/vue-start/package.json
index 4b0c4f55bc..5d46d62c03 100644
--- a/packages/vue-start/package.json
+++ b/packages/vue-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-start",
- "version": "1.167.42",
+ "version": "1.167.43",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 4da704b90d..2406b0f627 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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
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.21
+ specifier: ^1.168.22
version: link:../../../packages/solid-router
'@tanstack/solid-router-devtools':
specifier: workspace:^
@@ -33364,7 +33364,7 @@ snapshots:
sirv: 3.0.2
tinyglobby: 0.2.15
tinyrainbow: 3.1.0
- vitest: 4.1.4(@types/node@25.0.9)(@vitest/ui@4.1.4)(jsdom@25.0.1)(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.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))
+ vitest: 4.1.4(@types/node@25.0.9)(@vitest/ui@4.1.4)(jsdom@27.0.0(postcss@8.5.8))(msw@2.7.0(@types/node@25.0.9)(typescript@6.0.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))
'@vitest/utils@4.1.4':
dependencies:
From 66dbff6587fb214c358f38cad19e3e71e78592ee Mon Sep 17 00:00:00 2001
From: Abhishek Raj
Date: Sun, 26 Apr 2026 03:15:20 +0700
Subject: [PATCH 055/608] docs: Fix server function middleware prop (#7262)
---
docs/start/framework/react/guide/middleware.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/start/framework/react/guide/middleware.md b/docs/start/framework/react/guide/middleware.md
index f296f13fe3..f2b1a1da41 100644
--- a/docs/start/framework/react/guide/middleware.md
+++ b/docs/start/framework/react/guide/middleware.md
@@ -225,7 +225,7 @@ The `.client` method is used to define client-side logic that the middleware wil
import { createMiddleware } from '@tanstack/react-start'
const loggingMiddleware = createMiddleware({ type: 'function' }).client(
- async ({ next, context, request }) => {
+ async ({ next, context }) => {
const result = await next() // <-- This will execute the next middleware in the chain and eventually, the RPC to the server
return result
},
From b12f57bbb44e47d5452d46e9e67ea4d63cdb5b55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dominik=20Dorfmeister=20=F0=9F=94=AE?=
Date: Sat, 25 Apr 2026 22:17:12 +0200
Subject: [PATCH 056/608] feat(query): add support for custom dehydrate and
hydrate options in SSR integration (#7246)
Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
---
.../query-ssr-dehydrate-hydrate-options.md | 5 +
docs/router/integrations/query.md | 55 +++++
packages/router-ssr-query-core/src/index.ts | 51 +++--
.../router-ssr-query-core/tests/index.test.ts | 208 ++++++++++++++++++
4 files changed, 304 insertions(+), 15 deletions(-)
create mode 100644 .changeset/query-ssr-dehydrate-hydrate-options.md
create mode 100644 packages/router-ssr-query-core/tests/index.test.ts
diff --git a/.changeset/query-ssr-dehydrate-hydrate-options.md b/.changeset/query-ssr-dehydrate-hydrate-options.md
new file mode 100644
index 0000000000..398d4c9916
--- /dev/null
+++ b/.changeset/query-ssr-dehydrate-hydrate-options.md
@@ -0,0 +1,5 @@
+---
+'@tanstack/router-ssr-query-core': minor
+---
+
+Add support for custom `dehydrateOptions` and `hydrateOptions` in the SSR query integration
diff --git a/docs/router/integrations/query.md b/docs/router/integrations/query.md
index 22fbb927c8..5cc1f48a07 100644
--- a/docs/router/integrations/query.md
+++ b/docs/router/integrations/query.md
@@ -64,6 +64,61 @@ export function getRouter() {
By default, the integration wraps your router with a `QueryClientProvider`. If you already provide your own provider, pass `wrapQueryClient: false` and keep your custom wrapper.
+You can also pass `dehydrateOptions` and `hydrateOptions` to customize how TanStack Query serializes SSR payloads and restores them on the client.
+
+```tsx
+setupRouterSsrQueryIntegration({
+ router,
+ queryClient,
+ dehydrateOptions: {
+ shouldDehydrateQuery: (query) => query.meta?.ssr !== false,
+ },
+ hydrateOptions: {
+ defaultOptions: {
+ queries: {
+ gcTime: 60_000,
+ },
+ },
+ },
+})
+```
+
+Common uses for these options:
+
+- Set `hydrateOptions.defaultOptions.queries.gcTime` to control how long hydrated SSR queries stay in the client cache before garbage collection.
+- Set `dehydrateOptions.shouldDehydrateQuery` to exclude queries you do not want serialized into the HTML payload.
+- Set `dehydrateOptions.serializeData` and `hydrateOptions.defaultOptions.deserializeData` when your SSR payload needs custom serialization.
+
+```tsx title="src/router.tsx"
+import { QueryClient } from '@tanstack/react-query'
+import { createRouter } from '@tanstack/react-router'
+import { setupRouterSsrQueryIntegration } from '@tanstack/react-router-ssr-query'
+import { routeTree } from './routeTree.gen'
+
+export function getRouter() {
+ const queryClient = new QueryClient()
+
+ const router = createRouter({
+ routeTree,
+ context: { queryClient },
+ })
+
+ setupRouterSsrQueryIntegration({
+ router,
+ queryClient,
+ hydrateOptions: {
+ defaultOptions: {
+ queries: {
+ gcTime: 5 * 60 * 1000,
+ },
+ },
+ },
+ })
+
+ return router
+}
+```
+
## SSR behavior and streaming
- During server render, the integration dehydrates initial queries and streams any subsequent queries that resolve while rendering.
diff --git a/packages/router-ssr-query-core/src/index.ts b/packages/router-ssr-query-core/src/index.ts
index 4be8657376..188dbf13a8 100644
--- a/packages/router-ssr-query-core/src/index.ts
+++ b/packages/router-ssr-query-core/src/index.ts
@@ -6,6 +6,8 @@ import { isRedirect } from '@tanstack/router-core'
import { isServer } from '@tanstack/router-core/isServer'
import type { AnyRouter } from '@tanstack/router-core'
import type {
+ DehydrateOptions,
+ HydrateOptions,
QueryClient,
DehydratedState as QueryDehydratedState,
} from '@tanstack/query-core'
@@ -13,6 +15,8 @@ import type {
export type RouterSsrQueryOptions = {
router: TRouter
queryClient: QueryClient
+ dehydrateOptions?: DehydrateOptions
+ hydrateOptions?: HydrateOptions
/**
* If `true`, the QueryClient will handle errors thrown by `redirect()` inside of mutations and queries.
@@ -31,6 +35,8 @@ type DehydratedRouterQueryState = {
export function setupCoreRouterSsrQueryIntegration({
router,
queryClient,
+ dehydrateOptions,
+ hydrateOptions,
handleRedirects = true,
}: RouterSsrQueryOptions) {
const ogHydrate = router.options.hydrate
@@ -55,7 +61,10 @@ export function setupCoreRouterSsrQueryIntegration({
queryStream: queryStream.stream,
}
- const dehydratedQueryClient = queryDehydrate(queryClient)
+ const dehydratedQueryClient = queryDehydrate(
+ queryClient,
+ dehydrateOptions,
+ )
if (dehydratedQueryClient.queries.length > 0) {
dehydratedQueryClient.queries.forEach((query) => {
sentQueries.add(query.queryHash)
@@ -95,19 +104,27 @@ export function setupCoreRouterSsrQueryIntegration({
)
return
}
- sentQueries.add(event.query.queryHash)
- queryStream.enqueue(
- queryDehydrate(queryClient, {
- shouldDehydrateQuery: (query) => {
- if (query.queryHash === event.query.queryHash) {
- return (
- ogClientOptions.dehydrate?.shouldDehydrateQuery?.(query) ?? true
- )
- }
+ const dehydratedQuery = queryDehydrate(queryClient, {
+ ...dehydrateOptions,
+ shouldDehydrateQuery: (query) => {
+ if (query.queryHash !== event.query.queryHash) {
return false
- },
- }),
- )
+ }
+
+ return (
+ (ogClientOptions.dehydrate?.shouldDehydrateQuery?.(query) ??
+ true) &&
+ (dehydrateOptions?.shouldDehydrateQuery?.(query) ?? true)
+ )
+ },
+ })
+
+ if (dehydratedQuery.queries.length === 0) {
+ return
+ }
+
+ sentQueries.add(event.query.queryHash)
+ queryStream.enqueue(dehydratedQuery)
})
// on the client
} else {
@@ -115,7 +132,11 @@ export function setupCoreRouterSsrQueryIntegration({
await ogHydrate?.(dehydrated)
// hydrate the query client with the dehydrated data (if it was dehydrated on the server)
if (dehydrated.dehydratedQueryClient) {
- queryHydrate(queryClient, dehydrated.dehydratedQueryClient)
+ queryHydrate(
+ queryClient,
+ dehydrated.dehydratedQueryClient,
+ hydrateOptions,
+ )
}
// read the query stream and hydrate the queries as they come in
@@ -123,7 +144,7 @@ export function setupCoreRouterSsrQueryIntegration({
reader
.read()
.then(async function handle({ done, value }) {
- queryHydrate(queryClient, value)
+ queryHydrate(queryClient, value, hydrateOptions)
if (done) {
return
}
diff --git a/packages/router-ssr-query-core/tests/index.test.ts b/packages/router-ssr-query-core/tests/index.test.ts
new file mode 100644
index 0000000000..93be3590ab
--- /dev/null
+++ b/packages/router-ssr-query-core/tests/index.test.ts
@@ -0,0 +1,208 @@
+import { QueryClient } from '@tanstack/query-core'
+import { afterEach, describe, expect, it, vi } from 'vitest'
+import { setupCoreRouterSsrQueryIntegration } from '../src'
+
+type TestRouter = {
+ isServer: boolean
+ options: {
+ dehydrate?: () => unknown | Promise
+ hydrate?: (dehydrated: any) => unknown | Promise
+ }
+ serverSsr?: {
+ isDehydrated: () => boolean
+ onRenderFinished: (listener: () => void) => void
+ }
+}
+
+function createServerRouter(): {
+ router: TestRouter
+ finishRender: () => void
+ setDehydrated: (value: boolean) => void
+} {
+ const renderFinishedListeners = new Array<() => void>()
+ let dehydrated = false
+
+ return {
+ router: {
+ isServer: true,
+ options: {},
+ serverSsr: {
+ isDehydrated: () => dehydrated,
+ onRenderFinished: (listener) => {
+ renderFinishedListeners.push(listener)
+ },
+ },
+ },
+ finishRender: () => {
+ renderFinishedListeners.splice(0).forEach((listener) => listener())
+ },
+ setDehydrated: (value) => {
+ dehydrated = value
+ },
+ }
+}
+
+async function readStream(stream: ReadableStream): Promise> {
+ const reader = stream.getReader()
+ const chunks = new Array()
+
+ while (true) {
+ const result = await reader.read()
+
+ if (result.done) {
+ return chunks
+ }
+
+ chunks.push(result.value)
+ }
+}
+
+function createDeferred() {
+ let resolve!: (value: T) => void
+ const promise = new Promise((res) => {
+ resolve = res
+ })
+
+ return {
+ promise,
+ resolve,
+ }
+}
+
+function createDehydratedQueryState(data: string) {
+ return {
+ data,
+ dataUpdateCount: 1,
+ dataUpdatedAt: 1,
+ error: null,
+ errorUpdateCount: 0,
+ errorUpdatedAt: 0,
+ fetchFailureCount: 0,
+ fetchFailureReason: null,
+ fetchMeta: null,
+ fetchStatus: 'idle' as const,
+ isInvalidated: false,
+ status: 'success' as const,
+ }
+}
+
+afterEach(() => {
+ vi.clearAllMocks()
+})
+
+describe('setupCoreRouterSsrQueryIntegration', () => {
+ it('uses custom dehydrate options for the initial payload and streamed queries', async () => {
+ const queryClient = new QueryClient()
+ const { router, finishRender, setDehydrated } = createServerRouter()
+
+ setupCoreRouterSsrQueryIntegration({
+ router: router as any,
+ queryClient,
+ dehydrateOptions: {
+ serializeData: (data) => `${data}-serialized`,
+ shouldDehydrateQuery: (query) => query.queryKey[0] !== 'skip',
+ },
+ })
+
+ queryClient.setQueryData(['include'], 'initial')
+ queryClient.setQueryData(['skip'], 'ignored')
+
+ const dehydrated = (await router.options.dehydrate?.()) as {
+ dehydratedQueryClient?: {
+ queries: Array<{ queryKey: Array; state: { data: unknown } }>
+ }
+ queryStream: ReadableStream<{
+ queries: Array<{ queryKey: Array; state: { data: unknown } }>
+ }>
+ }
+
+ expect(dehydrated.dehydratedQueryClient?.queries).toHaveLength(1)
+ expect(dehydrated.dehydratedQueryClient?.queries[0]?.queryKey).toEqual([
+ 'include',
+ ])
+ expect(dehydrated.dehydratedQueryClient?.queries[0]?.state.data).toBe(
+ 'initial-serialized',
+ )
+
+ const streamedQueriesPromise = readStream(dehydrated.queryStream)
+ const includedDeferred = createDeferred()
+ const skippedDeferred = createDeferred()
+
+ setDehydrated(true)
+ const includedPromise = queryClient.fetchQuery({
+ queryKey: ['streamed'],
+ queryFn: () => includedDeferred.promise,
+ })
+ const skippedPromise = queryClient.fetchQuery({
+ queryKey: ['skip'],
+ queryFn: () => skippedDeferred.promise,
+ })
+
+ await Promise.resolve()
+ includedDeferred.resolve('next')
+ skippedDeferred.resolve('still-ignored')
+ await Promise.all([includedPromise, skippedPromise])
+ finishRender()
+
+ const streamedQueries = await streamedQueriesPromise
+
+ expect(streamedQueries).toHaveLength(1)
+ expect(streamedQueries[0]?.queries).toHaveLength(1)
+ expect(streamedQueries[0]?.queries[0]?.queryKey).toEqual(['streamed'])
+ expect(streamedQueries[0]?.queries[0]?.state.data).toBe('next-serialized')
+ })
+
+ it('uses custom hydrate options for the initial payload and streamed queries', async () => {
+ const queryClient = new QueryClient()
+ const router: TestRouter = {
+ isServer: false,
+ options: {},
+ }
+
+ setupCoreRouterSsrQueryIntegration({
+ router: router as any,
+ queryClient,
+ hydrateOptions: {
+ defaultOptions: {
+ deserializeData: (data) => `${String(data)}-hydrated`,
+ },
+ },
+ })
+
+ const stream = new ReadableStream({
+ start(controller) {
+ controller.enqueue({
+ mutations: [],
+ queries: [
+ {
+ queryHash: '["streamed"]',
+ queryKey: ['streamed'],
+ state: createDehydratedQueryState('stream'),
+ },
+ ],
+ })
+ controller.close()
+ },
+ })
+
+ await router.options.hydrate?.({
+ dehydratedQueryClient: {
+ mutations: [],
+ queries: [
+ {
+ queryHash: '["initial"]',
+ queryKey: ['initial'],
+ state: createDehydratedQueryState('initial'),
+ },
+ ],
+ },
+ queryStream: stream,
+ })
+
+ await Promise.resolve()
+ await Promise.resolve()
+
+ expect(queryClient.getQueryData(['initial'])).toBe('initial-hydrated')
+ expect(queryClient.getQueryData(['streamed'])).toBe('stream-hydrated')
+ })
+})
From 2231d53f093c4450c4fd3f3ccb56f5ca8a409556 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Sat, 25 Apr 2026 20:39:25 +0000
Subject: [PATCH 057/608] ci: changeset release
---
.changeset/query-ssr-dehydrate-hydrate-options.md | 5 -----
examples/react/start-basic-react-query/package.json | 2 +-
examples/react/start-bun/package.json | 2 +-
examples/react/start-convex-trellaux/package.json | 2 +-
examples/react/start-trellaux/package.json | 2 +-
examples/solid/start-basic-solid-query/package.json | 2 +-
examples/solid/start-bun/package.json | 2 +-
packages/react-router-ssr-query/CHANGELOG.md | 7 +++++++
packages/react-router-ssr-query/package.json | 2 +-
packages/router-ssr-query-core/CHANGELOG.md | 6 ++++++
packages/router-ssr-query-core/package.json | 2 +-
packages/solid-router-ssr-query/CHANGELOG.md | 7 +++++++
packages/solid-router-ssr-query/package.json | 2 +-
packages/vue-router-ssr-query/CHANGELOG.md | 7 +++++++
packages/vue-router-ssr-query/package.json | 2 +-
15 files changed, 37 insertions(+), 15 deletions(-)
delete mode 100644 .changeset/query-ssr-dehydrate-hydrate-options.md
diff --git a/.changeset/query-ssr-dehydrate-hydrate-options.md b/.changeset/query-ssr-dehydrate-hydrate-options.md
deleted file mode 100644
index 398d4c9916..0000000000
--- a/.changeset/query-ssr-dehydrate-hydrate-options.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@tanstack/router-ssr-query-core': minor
----
-
-Add support for custom `dehydrateOptions` and `hydrateOptions` in the SSR query integration
diff --git a/examples/react/start-basic-react-query/package.json b/examples/react/start-basic-react-query/package.json
index 3b404ef072..63fbc7cbbd 100644
--- a/examples/react/start-basic-react-query/package.json
+++ b/examples/react/start-basic-react-query/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-router-ssr-query": "^1.166.11",
+ "@tanstack/react-router-ssr-query": "^1.166.12",
"@tanstack/react-start": "^1.167.49",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-bun/package.json b/examples/react/start-bun/package.json
index 39b6414dba..6e58ee3036 100644
--- a/examples/react/start-bun/package.json
+++ b/examples/react/start-bun/package.json
@@ -17,7 +17,7 @@
"@tanstack/react-devtools": "^0.7.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-router-ssr-query": "^1.166.11",
+ "@tanstack/react-router-ssr-query": "^1.166.12",
"@tanstack/react-start": "^1.167.49",
"@tanstack/router-plugin": "^1.167.27",
"react": "^19.1.1",
diff --git a/examples/react/start-convex-trellaux/package.json b/examples/react/start-convex-trellaux/package.json
index 2acabdc376..ab367c17a9 100644
--- a/examples/react/start-convex-trellaux/package.json
+++ b/examples/react/start-convex-trellaux/package.json
@@ -17,7 +17,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-router-ssr-query": "^1.166.11",
+ "@tanstack/react-router-ssr-query": "^1.166.12",
"@tanstack/react-start": "^1.167.49",
"concurrently": "^8.2.2",
"convex": "^1.19.0",
diff --git a/examples/react/start-trellaux/package.json b/examples/react/start-trellaux/package.json
index 93ebc5ea61..020815f4db 100644
--- a/examples/react/start-trellaux/package.json
+++ b/examples/react/start-trellaux/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "^1.168.24",
"@tanstack/react-router-devtools": "^1.166.13",
- "@tanstack/react-router-ssr-query": "^1.166.11",
+ "@tanstack/react-router-ssr-query": "^1.166.12",
"@tanstack/react-start": "^1.167.49",
"ky": "^1.7.4",
"msw": "^2.7.0",
diff --git a/examples/solid/start-basic-solid-query/package.json b/examples/solid/start-basic-solid-query/package.json
index 22e70a984b..f543820fc8 100644
--- a/examples/solid/start-basic-solid-query/package.json
+++ b/examples/solid/start-basic-solid-query/package.json
@@ -14,7 +14,7 @@
"@tanstack/solid-query-devtools": "^5.90.0",
"@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-router-ssr-query": "^1.166.11",
+ "@tanstack/solid-router-ssr-query": "^1.166.12",
"@tanstack/solid-start": "^1.167.44",
"redaxios": "^0.5.1",
"solid-js": "^1.9.10",
diff --git a/examples/solid/start-bun/package.json b/examples/solid/start-bun/package.json
index 66a6bd136b..7fd994c54f 100644
--- a/examples/solid/start-bun/package.json
+++ b/examples/solid/start-bun/package.json
@@ -17,7 +17,7 @@
"@tanstack/solid-devtools": "^0.7.0",
"@tanstack/solid-router": "^1.168.22",
"@tanstack/solid-router-devtools": "^1.166.13",
- "@tanstack/solid-router-ssr-query": "^1.166.11",
+ "@tanstack/solid-router-ssr-query": "^1.166.12",
"@tanstack/solid-start": "^1.167.44",
"@tanstack/router-plugin": "^1.167.27",
"solid-js": "^1.9.10",
diff --git a/packages/react-router-ssr-query/CHANGELOG.md b/packages/react-router-ssr-query/CHANGELOG.md
index e8744ea170..03201cbabd 100644
--- a/packages/react-router-ssr-query/CHANGELOG.md
+++ b/packages/react-router-ssr-query/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/react-router-ssr-query
+## 1.166.12
+
+### Patch Changes
+
+- Updated dependencies [[`b12f57b`](https://github.com/TanStack/router/commit/b12f57bbb44e47d5452d46e9e67ea4d63cdb5b55)]:
+ - @tanstack/router-ssr-query-core@1.168.0
+
## 1.166.11
### Patch Changes
diff --git a/packages/react-router-ssr-query/package.json b/packages/react-router-ssr-query/package.json
index 3d95031345..9697bbc653 100644
--- a/packages/react-router-ssr-query/package.json
+++ b/packages/react-router-ssr-query/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-router-ssr-query",
- "version": "1.166.11",
+ "version": "1.166.12",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/router-ssr-query-core/CHANGELOG.md b/packages/router-ssr-query-core/CHANGELOG.md
index e7a468e883..eb0152e6e8 100644
--- a/packages/router-ssr-query-core/CHANGELOG.md
+++ b/packages/router-ssr-query-core/CHANGELOG.md
@@ -1,5 +1,11 @@
# @tanstack/router-ssr-query-core
+## 1.168.0
+
+### Minor Changes
+
+- Add support for custom `dehydrateOptions` and `hydrateOptions` in the SSR query integration ([#7246](https://github.com/TanStack/router/pull/7246))
+
## 1.167.1
### Patch Changes
diff --git a/packages/router-ssr-query-core/package.json b/packages/router-ssr-query-core/package.json
index bc8ae81846..60300e822f 100644
--- a/packages/router-ssr-query-core/package.json
+++ b/packages/router-ssr-query-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/router-ssr-query-core",
- "version": "1.167.1",
+ "version": "1.168.0",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-router-ssr-query/CHANGELOG.md b/packages/solid-router-ssr-query/CHANGELOG.md
index 4139038fbb..d3c8e03159 100644
--- a/packages/solid-router-ssr-query/CHANGELOG.md
+++ b/packages/solid-router-ssr-query/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/solid-router-ssr-query
+## 1.166.12
+
+### Patch Changes
+
+- Updated dependencies [[`b12f57b`](https://github.com/TanStack/router/commit/b12f57bbb44e47d5452d46e9e67ea4d63cdb5b55)]:
+ - @tanstack/router-ssr-query-core@1.168.0
+
## 1.166.11
### Patch Changes
diff --git a/packages/solid-router-ssr-query/package.json b/packages/solid-router-ssr-query/package.json
index 3f4aedeab2..93fd9bc14e 100644
--- a/packages/solid-router-ssr-query/package.json
+++ b/packages/solid-router-ssr-query/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-router-ssr-query",
- "version": "1.166.11",
+ "version": "1.166.12",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/vue-router-ssr-query/CHANGELOG.md b/packages/vue-router-ssr-query/CHANGELOG.md
index 341f0edaa9..1a98e28adf 100644
--- a/packages/vue-router-ssr-query/CHANGELOG.md
+++ b/packages/vue-router-ssr-query/CHANGELOG.md
@@ -1,5 +1,12 @@
# @tanstack/vue-router-ssr-query
+## 1.166.12
+
+### Patch Changes
+
+- Updated dependencies [[`b12f57b`](https://github.com/TanStack/router/commit/b12f57bbb44e47d5452d46e9e67ea4d63cdb5b55)]:
+ - @tanstack/router-ssr-query-core@1.168.0
+
## 1.166.11
### Patch Changes
diff --git a/packages/vue-router-ssr-query/package.json b/packages/vue-router-ssr-query/package.json
index 60a32c0899..2b66307ce2 100644
--- a/packages/vue-router-ssr-query/package.json
+++ b/packages/vue-router-ssr-query/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-router-ssr-query",
- "version": "1.166.11",
+ "version": "1.166.12",
"description": "Modern and scalable routing for Vue applications",
"author": "Tanner Linsley",
"license": "MIT",
From 41e37f8a9c3d2a6e00e4ca6faabb6a596bc36a98 Mon Sep 17 00:00:00 2001
From: Brenley Dueck
Date: Sat, 25 Apr 2026 16:36:25 -0500
Subject: [PATCH 058/608] 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 059/608] 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 060/608] 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 061/608] 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 062/608] 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 063/608] 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 064/608] 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 065/608] 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 066/608] 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 067/608] 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 068/608] 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 069/608] 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 070/608] 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 071/608] 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 072/608] 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 073/608] 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 074/608] 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 075/608] 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 076/608] 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
+
+
{
+ setMessage(await getMessageFn())
+ }}
+ >
+ Call server function
+
+
+ {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 077/608] 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 (
+ <>
+
+
+ Match EN
+ {' '}
+
+ Numeric user
+ {' '}
+
+ Username
+ {' '}
+
+ Org settings
+ {' '}
+
+ Ambiguous dollar
+ {' '}
+
+ Ambiguous curly
+
+
+
+ >
+ )
+}
+
+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 078/608] 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 079/608] 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 080/608] 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 081/608] 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 082/608] =?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 083/608] 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 084/608] 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