0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
Commit graph

1,221 commits

Author SHA1 Message Date
github-actions[bot]
8f9a7553e6 ci: changeset release 2026-03-21 02:32:51 +00:00
Brenley Dueck
0f8dca93e7
Upgrade to solid v2 beta.4 (#6991) 2026-03-21 03:30:00 +01:00
Birk Skyum
56e28e47ce
fix: better rollupOptions/rolldownOptions handling (#6990) 2026-03-20 00:45:24 +01:00
Birk Skyum
f5023cac3d
chore: use solid-query v6.0.0-alpha.0 (#6989) 2026-03-20 00:19:53 +01:00
github-actions[bot]
0ee267165d ci: changeset release 2026-03-19 03:05:40 +00:00
Birk Skyum
da2b8d9e96
fix: use solid v2 query pre-release (#6977) 2026-03-19 04:01:40 +01:00
Birk Skyum
9f1435d89b
lockfile 2026-03-19 02:50:12 +01:00
github-actions[bot]
86ea33c476 ci: changeset release 2026-03-18 17:13:16 +00:00
Birk Skyum
5ff4f0b8dc
chore: bump esbuild to 0.27.4 (#6975) 2026-03-18 18:09:49 +01:00
Birk Skyum
aaf764bcee
docs: @tailwindcss/vite to 4.2.2 in examples (#6974) 2026-03-18 17:40:04 +01:00
Birk Skyum
7d936c6c36
docs: update examples/e2e to vite 8 (#6958) 2026-03-17 20:37:11 +01:00
Lachlan Collins
3bc18d4623
ci: bump @tanstack/vite-config (#6951) 2026-03-17 23:55:48 +11:00
github-actions[bot]
8f54d112b9 ci: changeset release 2026-03-16 23:09:00 +00:00
Tanner Linsley
d6371529b5
fix: write static server function cache to correct output directory with Nitro (#6940)
* fix: write static server function cache to correct output directory with Nitro

TSS_CLIENT_OUTPUT_DIR was baked in via Vite's define at config time, before
Nitro's configEnvironment hook changed the client build.outDir. This caused
staticServerFnCache files to be written to dist/client/ instead of
.output/public/.

- Remove TSS_CLIENT_OUTPUT_DIR from compile-time define in start-plugin-core
- Set it as a runtime env var in prerender.ts using the resolved output dir
- Guard server-side cache writes on TSS_CLIENT_OUTPUT_DIR being set
- Add e2e test for static server functions with Nitro

* fix: remove dynamic Link to nonexistent route to fix tsc --noEmit
2026-03-16 16:56:29 -06:00
Tanner Linsley
940151cbed
feat: add @tanstack/intent AI agent skills for Router and Start (#6866)
* feat: add @tanstack/intent AI agent skills for Router and Start

Add SKILL.md files across 11 packages to help AI coding agents generate
correct TanStack Router and Start code. Skills cover common patterns,
API usage, and failure modes that agents frequently get wrong.

Packages with skills:
- router-core (10 skills): core concepts, search/path params, navigation,
  data loading, auth/guards, code splitting, not-found/errors, type safety, SSR
- react-router (3): React bindings, Router+Query composition, migration from React Router
- start-client-core (6): Start setup, server functions, middleware,
  execution model, server routes, deployment
- react-start (2): React Start bindings, migration from Next.js
- virtual-file-routes (1): programmatic route tree building
- router-plugin (1): bundler plugin configuration
- start-server-core (1): server-side runtime
- solid-router (1): Solid bindings
- vue-router (1): Vue bindings
- solid-start (1): Solid Start bindings
- vue-start (1): Vue Start bindings

Each package includes bin/intent.js shim, _artifacts/ metadata, and
@tanstack/intent devDependency.

* fix: address PR review comments on skill files

- Fix incorrect createTanstackRouter → createRouter in router-query examples
- Fix missing React type imports (ComponentPropsWithoutRef, FormEvent)
- Fix hardcoded localhost:3000 in SSR example, use req headers instead
- Fix session.update/clear to use await with data payload
- Fix start-setup → start-core slug mismatch in domain_map + skill_spec
- Make start-client-core skill_tree self-contained (remove react-start refs)
- Add framework-agnostic comments to execution-model and middleware skills
- Make virtual-file-routes vite example framework-agnostic
- Fix solid-router domain_map: Link is primary, createLink for wrappers
- Fix vue-router domain_map: scope Ref unwrapping to script, not templates
- Fix vue-router SKILL.md: tsx → vue fence language for template snippets
- Fix virtual-file-routes domain_map failure mode wording
- Fix MD028 blockquote blank lines across 11 files
- Fix MD040 missing fence languages across 4 files
- Update pnpm-lock.yaml

* fix: address review feedback and audit all 28 skills against source

- Address all 9 Sheraff review comments (ensureQueryData, auth patterns,
  open redirect, useLocation migration, reusable components, zodValidator)
- Address all 11 actionable CodeRabbit comments (naming collisions,
  framework-agnostic comments, missing imports, bin/intent.js error handling)
- Full source-verified audit of all 28 skills across 7 re-audited packages
- Fix solid-start: add HydrationScript, move HeadContent to body, use
  shellComponent pattern
- Fix solid-router: useLoaderDeps returns Accessor<T>, ScrollRestoration
  deprecated, add missing hooks/components
- Fix vue-router: useLinkProps returns LinkHTMLAttributes, useLoaderDeps
  returns Ref<T>, fix split-file convention
- Fix start-server-core: correct file path, server fn prefix, getValidatedQuery
  API, add createServerFn imports to all examples
- Fix router-core skills: preloadStaleTime wording, loader route param,
  error retry pattern, search-params adapter scoping
- All 28 skills pass @tanstack/intent validate

* chore: add changeset for intent skills feature
2026-03-16 16:54:37 -06:00
github-actions[bot]
268bff22e5 ci: changeset release 2026-03-15 23:14:51 +00:00
github-actions[bot]
a0a6aa8b8a ci: changeset release 2026-03-15 22:42:25 +00:00
Birk Skyum
838b0eb9a8
build: update to vite-config 0.5.x (rolldown) (#6926) 2026-03-15 23:39:00 +01:00
github-actions[bot]
91d10855e8 ci: changeset release 2026-03-15 15:30:04 +00:00
Birk Skyum
ef9b241f3c
build: update to @tanstack/vite-config v0.4.3 (#6923)
* move to vite-config 0.4.3

* changeset

* fix typo in the changeset

* patch vite-config to use module: 100

* Update patch file

* Fix lockfile

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2026-03-16 02:27:24 +11:00
Nathaniel John Tampus
8e7a94266d
chore(examples): update Nitro to v3 beta (#6899) 2026-03-14 22:52:36 +13:00
github-actions[bot]
ec7e8c5f6a ci: changeset release 2026-03-14 07:51:21 +00:00
Birk Skyum
32497be9c8
test: migrate lint from tanstack/config to tanstack/eslint-config (#6915) 2026-03-13 03:02:00 +01:00
Birk Skyum
97cee95647
Migrate repo to changesets (#6837) 2026-03-11 00:00:51 +01:00
Tanner Linsley
7706e3f540 release: v1.166.7 2026-03-10 19:25:59 +00:00
Tanner Linsley
964cae0224 release: v1.166.6 2026-03-09 22:26:01 +00:00
Tanner Linsley
eff48535d5 release: v1.166.5 2026-03-09 21:55:03 +00:00
Tanner Linsley
6438c03b2f release: v1.166.4 2026-03-09 19:17:52 +00:00
Birk Skyum
2f35f93312
chore: bump h3 and srvx (#6869)
* bump h3 v2 to rc 16

* bump srvx to 0.11.9

* lockfile
2026-03-09 12:50:41 +01:00
Tanner Linsley
861f319bbe release: v1.166.2 2026-03-04 20:37:33 +00:00
Flo
7083bcbecb
test: refactor client-nav benchmarks for flame profiling (#6816) 2026-03-04 00:44:12 +01:00
Flo
33188782e1
test: add cross-framework SSR request-loop benchmarks (#6803) 2026-03-03 10:45:15 +01:00
Flo
1acc8eaf3a
test: add cross-framework client navigation benchmarks (#6800) 2026-03-02 21:23:53 +01:00
Manuel Schiller
816d0d1a08
feat: allow to configure dev ssr style injection (#6797) 2026-03-02 00:45:49 +01:00
Manuel Schiller
d445986542
feat: support split base and basepath in TanStack Start dev server (#6792) 2026-03-01 18:35:46 +01:00
Manuel Schiller
b2a71ee211
fix: alias and namespace import support for import protection (#6784) 2026-03-01 01:32:50 +01:00
Tanner Linsley
de66f0e0a0 release: v1.163.3 2026-02-27 22:13:46 +00:00
Tanner Linsley
c4027b6a79 release: v1.163.2 2026-02-25 08:26:16 +00:00
Manuel Schiller
95761bc4e3
feat: add excludeFiles to import-protection (#6757)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-25 00:50:40 +01:00
Tanner Linsley
30fdeab01b release: v1.162.9 2026-02-24 12:50:58 +00:00
Tanner Linsley
ea31c50be9 release: v1.162.8 2026-02-23 22:16:33 +00:00
Tanner Linsley
c137bbc249 release: v1.162.6 2026-02-23 16:37:33 +00:00
Tanner Linsley
54e69075c3 release: v1.162.5 2026-02-23 16:14:51 +00:00
Tanner Linsley
eefcb5f9a6 release: v1.162.4 2026-02-22 22:51:07 +00:00
Tanner Linsley
a562eb496b release: v1.162.2 2026-02-22 08:42:04 +00:00
Tanner Linsley
3710720cd9 release: v1.162.1 2026-02-21 21:59:16 +00:00
Flo
d8171c3994
feat(benchmarks): add file-based bundle-size suite + PR trend reporting (#6723) 2026-02-21 19:28:30 +01:00
Tanner Linsley
5fcf33e871 release: v1.161.4 2026-02-21 11:18:59 +00:00
Birk Skyum
4def459cb6
testing(vite-ecosystem-ci): add vite as direct dev depencency (#6709) 2026-02-20 01:58:27 +01:00
Tanner Linsley
5a8fc3e682 release: v1.161.3 2026-02-20 00:01:06 +00:00