Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/huge-results-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tanstack/react-start-rsc': patch
---

Correct the package's type export paths for the declaration layout produced by the updated build tooling.
7 changes: 7 additions & 0 deletions .changeset/tall-dogs-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@tanstack/start-plugin-core': patch
---

Load Vite's separate bundled-dev runtime before the client entry to restore hydration, HMR, and client import protection on Vite 8.2.1 and later.

Wait for the bundled client rebuild using Vite's updated dev-engine location before SSR, preventing stale client code and hydration mismatches after edits.
10 changes: 5 additions & 5 deletions benchmarks/bundle-size/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@
"@tanstack/router-plugin": "workspace:^",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^6.0.1",
"@vitejs/plugin-vue": "^6.0.5",
"@vitejs/plugin-vue-jsx": "^5.1.5",
"@vitejs/plugin-react": "catalog:",
"@vitejs/plugin-vue": "catalog:",
"@vitejs/plugin-vue-jsx": "catalog:",
"@typescript/native": "npm:typescript@^7.0.2",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"vite": "^8.0.14",
"vite-plugin-solid": "^2.11.11"
"vite": "catalog:",
"vite-plugin-solid": "catalog:"
}
}
12 changes: 6 additions & 6 deletions benchmarks/client-nav/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@
},
"devDependencies": {
"@platformatic/flame": "^1.6.0",
"@codspeed/vitest-plugin": "^5.5.0",
"@codspeed/vitest-plugin": "^5.7.1",
"@tanstack/router-plugin": "workspace:^",
"@testing-library/react": "^16.2.0",
"@vitejs/plugin-react": "^6.0.1",
"@vitejs/plugin-vue": "^6.0.5",
"@vitejs/plugin-vue-jsx": "^5.1.5",
"@vitejs/plugin-react": "catalog:",
"@vitejs/plugin-vue": "catalog:",
"@vitejs/plugin-vue-jsx": "catalog:",
"@types/jsdom": "28.0.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@typescript/native": "npm:typescript@^7.0.2",
"jsdom": "^29.1.1",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"vite": "^8.0.14",
"vite-plugin-solid": "^2.11.11",
"vite": "catalog:",
"vite-plugin-solid": "catalog:",
"vitest": "catalog:"
},
"nx": {
Expand Down
12 changes: 6 additions & 6 deletions benchmarks/memory/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@
"vue": "^3.5.16"
},
"devDependencies": {
"@codspeed/vitest-plugin": "^5.5.0",
"@codspeed/vitest-plugin": "^5.7.1",
"@datadog/pprof": "^5.13.2",
"@platformatic/flame": "^1.6.0",
"@testing-library/react": "^16.2.0",
"@vitejs/plugin-react": "^6.0.1",
"@vitejs/plugin-vue": "^6.0.5",
"@vitejs/plugin-vue-jsx": "^5.1.5",
"@vitejs/plugin-react": "catalog:",
"@vitejs/plugin-vue": "catalog:",
"@vitejs/plugin-vue-jsx": "catalog:",
"@types/jsdom": "28.0.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"jsdom": "29.1.1",
"@typescript/native": "npm:typescript@^7.0.2",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"vite": "^8.0.14",
"vite-plugin-solid": "^2.11.11",
"vite": "catalog:",
"vite-plugin-solid": "catalog:",
"vitest": "catalog:"
},
"nx": {
Expand Down
10 changes: 5 additions & 5 deletions benchmarks/memory/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
"vue": "^3.5.16"
},
"devDependencies": {
"@codspeed/vitest-plugin": "^5.5.0",
"@codspeed/vitest-plugin": "^5.7.1",
"@datadog/pprof": "^5.13.2",
"@platformatic/flame": "^1.6.0",
"@vitejs/plugin-react": "^6.0.1",
"@vitejs/plugin-vue-jsx": "^5.1.5",
"@vitejs/plugin-react": "catalog:",
"@vitejs/plugin-vue-jsx": "catalog:",
"@types/react": "catalog:",
"@typescript/native": "npm:typescript@^7.0.2",
"jsdom": "29.1.1",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"vite": "^8.0.14",
"vite-plugin-solid": "^2.11.11",
"vite": "catalog:",
"vite-plugin-solid": "catalog:",
"vitest": "catalog:"
},
"nx": {
Expand Down
10 changes: 5 additions & 5 deletions benchmarks/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
"vue": "^3.5.16"
},
"devDependencies": {
"@codspeed/vitest-plugin": "^5.5.0",
"@vitejs/plugin-react": "^6.0.1",
"@vitejs/plugin-vue-jsx": "^5.1.5",
"@codspeed/vitest-plugin": "^5.7.1",
"@vitejs/plugin-react": "catalog:",
"@vitejs/plugin-vue-jsx": "catalog:",
"@types/react": "catalog:",
"seroval": "^1.6.2",
"@typescript/native": "npm:typescript@^7.0.2",
"jsdom": "29.1.1",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"vite": "^8.0.14",
"vite-plugin-solid": "^2.11.11",
"vite": "catalog:",
"vite-plugin-solid": "catalog:",
"vitest": "catalog:"
},
"nx": {
Expand Down
5 changes: 3 additions & 2 deletions e2e/e2e-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"clean": "rimraf ./dist && rimraf ./coverage",
"build": "vite build",
"test:eslint": "eslint ./src",
"test:types": "tsc6 --noEmit",
"test:unit": "exit 0; vitest --typecheck"
},
"type": "module",
Expand Down Expand Up @@ -35,8 +36,8 @@
"dependencies": {},
"devDependencies": {
"get-port-please": "^3.2.0",
"vite": "^8.0.14",
"vite-plugin-dts": "^4.5.4",
"vite": "^8.3.0",
"vite-plugin-dts": "^5.1.0",
"rimraf": "catalog:"
}
}
13 changes: 13 additions & 0 deletions e2e/e2e-utils/tests/exports.test-d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { preOptimizeDevServer, test } from '@tanstack/router-e2e-utils'

test.use({ whitelistErrors: ['expected error', /expected pattern/] })

// @ts-expect-error Error filters must be strings or regular expressions.
test.use({ whitelistErrors: [123] })

void preOptimizeDevServer({
baseURL: 'http://localhost:3000',
warmup: async (page) => {
await page.getByRole('link', { name: 'Home' }).click()
},
})
2 changes: 1 addition & 1 deletion e2e/e2e-utils/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default defineConfig({
dts({
copyDtsFiles: true,
entryRoot: './src',
outDir: './dist/types',
outDirs: './dist/types',
}),
],
})
2 changes: 1 addition & 1 deletion e2e/eslint-plugin-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@
"eslint": "^9.22.0",
"react": "^19.0.0",
"typescript": "^5.7.2",
"vitest": "catalog:"
"vitest": "^4.1.11"
}
}
4 changes: 2 additions & 2 deletions e2e/react-router/basepath-file-based/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@tanstack/router-e2e-utils": "workspace:^",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^6.0.1",
"vite": "^8.0.14"
"@vitejs/plugin-react": "^6.1.1",
"vite": "^8.3.0"
}
}
6 changes: 3 additions & 3 deletions e2e/react-router/basic-file-based-code-splitting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:e2e": "rm -rf port*.txt; playwright test --project=chromium"
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tailwindcss/vite": "^4.3.3",
"@tanstack/react-router": "workspace:^",
"@tanstack/react-router-devtools": "workspace:^",
"@tanstack/router-plugin": "workspace:^",
Expand All @@ -26,7 +26,7 @@
"@tanstack/router-e2e-utils": "workspace:^",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^6.0.1",
"vite": "^8.0.14"
"@vitejs/plugin-react": "^6.1.1",
"vite": "^8.3.0"
}
}
6 changes: 3 additions & 3 deletions e2e/react-router/basic-file-based/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test:e2e:default": "rm -rf port*.txt; playwright test --project=chromium"
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tailwindcss/vite": "^4.3.3",
"@tanstack/react-router": "workspace:^",
"@tanstack/react-router-devtools": "workspace:^",
"@tanstack/router-plugin": "workspace:^",
Expand All @@ -27,8 +27,8 @@
"@tanstack/router-e2e-utils": "workspace:^",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^6.0.1",
"@vitejs/plugin-react": "^6.1.1",
"combinate": "^1.1.11",
"vite": "^8.0.14"
"vite": "^8.3.0"
}
}
6 changes: 3 additions & 3 deletions e2e/react-router/basic-react-query-file-based/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:e2e": "rm -rf port*.txt; playwright test --project=chromium"
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tailwindcss/vite": "^4.3.3",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "workspace:^",
Expand All @@ -28,7 +28,7 @@
"@tanstack/router-e2e-utils": "workspace:^",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^6.0.1",
"vite": "^8.0.14"
"@vitejs/plugin-react": "^6.1.1",
"vite": "^8.3.0"
}
}
6 changes: 3 additions & 3 deletions e2e/react-router/basic-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:e2e": "rm -rf port*.txt; playwright test --project=chromium"
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tailwindcss/vite": "^4.3.3",
"@tanstack/react-query": "^5.90.0",
"@tanstack/react-query-devtools": "^5.90.0",
"@tanstack/react-router": "workspace:^",
Expand All @@ -26,7 +26,7 @@
"@tanstack/router-e2e-utils": "workspace:^",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^6.0.1",
"vite": "^8.0.14"
"@vitejs/plugin-react": "^6.1.1",
"vite": "^8.3.0"
}
}
6 changes: 3 additions & 3 deletions e2e/react-router/basic-scroll-restoration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:e2e": "rm -rf port*.txt; playwright test --project=chromium"
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tailwindcss/vite": "^4.3.3",
"@tanstack/react-router": "workspace:^",
"@tanstack/react-router-devtools": "workspace:^",
"@tanstack/react-virtual": "^3.13.0",
Expand All @@ -25,8 +25,8 @@
"@tanstack/router-e2e-utils": "workspace:^",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^6.0.1",
"vite": "^8.0.14",
"@vitejs/plugin-react": "^6.1.1",
"vite": "^8.3.0",
"typescript": "~5.9.0"
}
}
6 changes: 3 additions & 3 deletions e2e/react-router/basic-virtual-file-based/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:e2e": "rm -rf port*.txt; playwright test --project=chromium"
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tailwindcss/vite": "^4.3.3",
"@tanstack/react-router": "workspace:^",
"@tanstack/react-router-devtools": "workspace:^",
"@tanstack/router-plugin": "workspace:^",
Expand All @@ -27,7 +27,7 @@
"@tanstack/router-e2e-utils": "workspace:^",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^6.0.1",
"vite": "^8.0.14"
"@vitejs/plugin-react": "^6.1.1",
"vite": "^8.3.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:e2e": "rm -rf port*.txt; playwright test --project=chromium"
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tailwindcss/vite": "^4.3.3",
"@tanstack/react-router": "workspace:^",
"@tanstack/react-router-devtools": "workspace:^",
"@tanstack/router-plugin": "workspace:^",
Expand All @@ -27,7 +27,7 @@
"@tanstack/router-e2e-utils": "workspace:^",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^6.0.1",
"vite": "^8.0.14"
"@vitejs/plugin-react": "^6.1.1",
"vite": "^8.3.0"
}
}
6 changes: 3 additions & 3 deletions e2e/react-router/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:e2e": "rm -rf port*.txt; playwright test --project=chromium"
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tailwindcss/vite": "^4.3.3",
"@tanstack/react-router": "workspace:^",
"@tanstack/react-router-devtools": "workspace:^",
"react": "^19.0.0",
Expand All @@ -24,7 +24,7 @@
"@tanstack/router-e2e-utils": "workspace:^",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^6.0.1",
"vite": "^8.0.14"
"@vitejs/plugin-react": "^6.1.1",
"vite": "^8.3.0"
}
}
4 changes: 2 additions & 2 deletions e2e/react-router/escaped-special-strings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@tanstack/router-e2e-utils": "workspace:^",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^6.0.1",
"vite": "^8.0.14"
"@vitejs/plugin-react": "^6.1.1",
"vite": "^8.3.0"
}
}
6 changes: 3 additions & 3 deletions e2e/react-router/generator-cli-only/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:e2e": "rm -rf port*.txt; playwright test --project=chromium"
},
"dependencies": {
"@tailwindcss/vite": "^4.2.2",
"@tailwindcss/vite": "^4.3.3",
"@tanstack/react-router": "workspace:^",
"@tanstack/react-router-devtools": "workspace:^",
"@tanstack/router-cli": "workspace:^",
Expand All @@ -25,7 +25,7 @@
"@tanstack/router-e2e-utils": "workspace:^",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^6.0.1",
"vite": "^8.0.14"
"@vitejs/plugin-react": "^6.1.1",
"vite": "^8.3.0"
}
}
Loading
Loading