0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-18 19:34:24 +00:00
Commit graph

1,256 commits

Author SHA1 Message Date
Flo
b57e898e67
chore(deps): vitest 4.1.4 (#7212) 2026-04-17 21:19:38 +02:00
github-actions[bot]
3485a88047 ci: changeset release 2026-04-16 21:54:11 +00:00
Birk Skyum
22dc152033
fix(solid-router): use keyed Show in Outlet to fix child route rendering with useQuery (#7204) 2026-04-16 23:51:45 +02:00
Birk Skyum
3d4b15b4ea
chore: bump query override to 5.99.0 (#7203) 2026-04-16 21:22:12 +02:00
Birk Skyum
cd5572dc37
chore: bump solid-js override 1.9.12 (#7202) 2026-04-16 20:48:21 +02:00
Manuel Schiller
e30814d949
fix react-router shared route css persistence on nav (#7186)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-04-15 02:19:51 +02:00
Nicolas Beaussart
df611998cb
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
2026-04-14 13:17:12 +02:00
github-actions[bot]
26680c95a9 ci: changeset release 2026-04-13 23:30:55 +00:00
Birk Skyum
96ac2d8ed3
fix(router-plugin): update vite-plugin-solid peer dependency to support version 3.0.0-0 (#7170) 2026-04-13 04:09:58 +02:00
github-actions[bot]
85db3785cc ci: changeset release 2026-04-13 00:27:19 +00:00
Manuel Schiller
105d05691a
fix(router-generator): harden route file transform rewrites (#7167) 2026-04-13 02:20:50 +02:00
github-actions[bot]
c3900c8328 ci: changeset release 2026-04-11 21:35:22 +00:00
Birk Skyum
0e2c9003c1
chore: bump to h3 v2 rc.20 (#7140) 2026-04-11 23:32:39 +02:00
github-actions[bot]
3ef971fa78 ci: changeset release 2026-04-11 18:18:04 +00:00
Manuel Schiller
812792fbda
fix: reduce start SSR manifest asset duplication (#7157)
Co-authored-by: schiller-manuel <schiller-manuel@users.noreply.github.com>
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
2026-04-11 20:15:35 +02:00
github-actions[bot]
5cec6fbdaf ci: changeset release 2026-04-11 17:45:56 +00:00
github-actions[bot]
c066031576 ci: changeset release 2026-04-11 11:24:38 +00:00
github-actions[bot]
27890afc1b ci: changeset release 2026-04-11 10:45:13 +00:00
Manuel Schiller
2d53c056ef fix publishing 2026-04-11 09:13:59 +02:00
Manuel Schiller
f920527e8d
efp (#7144)
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2026-04-11 01:43:05 +02:00
github-actions[bot]
06f7f8de5f ci: changeset release 2026-04-10 20:48:13 +00:00
github-actions[bot]
edb24b43f5 ci: changeset release 2026-04-10 19:33:09 +00:00
github-actions[bot]
52fb98e1e8 ci: changeset release 2026-04-10 18:28:48 +00:00
github-actions[bot]
5a81726f0a ci: changeset release 2026-03-30 23:18:20 +00:00
github-actions[bot]
d117417908 ci: changeset release 2026-03-30 21:50:31 +00:00
github-actions[bot]
9368c5f3bf ci: changeset release 2026-03-28 18:42:14 +00:00
Nicolas Beaussart
a556afa0f0
test: share React Start basic mode e2e suite (#7060)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-28 11:30:05 +01:00
github-actions[bot]
21bd992420 ci: changeset release 2026-03-27 00:26:42 +00:00
github-actions[bot]
e1b019ccb8 ci: changeset release 2026-03-26 17:03:34 +00:00
github-actions[bot]
749e88b68e ci: changeset release 2026-03-25 18:24:36 +00:00
Flo
71a8b684c8
chore: update TanStack Store to 0.9.3 (#7041) 2026-03-25 19:21:58 +01:00
Birk Skyum
b1c0f4602d
chore: upgrade tooling to typescript 6 (#7024) 2026-03-23 22:59:52 +01:00
github-actions[bot]
bb3b8e4b06 ci: changeset release 2026-03-23 15:26:46 +00:00
github-actions[bot]
67d9e69d72 ci: changeset release 2026-03-22 09:30:34 +00:00
Flo
c9e18555f3
fix: strip invariant and warning strings from prod bundles (#7007) 2026-03-22 10:27:08 +01:00
Manuel Schiller
d7445e048d
fix: better react HMR (#7005)
* fix: better react HMR

* layout and fixes

* fix

* stabilize test

* stabilize test
2026-03-21 18:06:31 +01:00
Manuel Schiller
9351e99796
fix: Fix React Fast Refresh state preservation for auto code-split ro… (#7000) 2026-03-21 01:27:50 +01:00
github-actions[bot]
21e39bde08 ci: changeset release 2026-03-20 10:36:00 +00:00
Flo
91cc62899b
chore: update TanStack store packages to 0.9.2 (#6993) 2026-03-20 11:33:30 +01:00
github-actions[bot]
423be8af4b ci: changeset release 2026-03-20 09:35:55 +00:00
Flo
054523900b
refactor: signal based reactivity (#6704) 2026-03-20 10:33:28 +01:00
Flo
7f38aac99b
chore: migrate benchmarks to Vite 8 (#6986) 2026-03-19 20:03:32 +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