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

4,158 commits

Author SHA1 Message Date
Brenley Dueck
73fd7a655e convert to store to see if perf improvement 2026-03-22 22:34:18 -05:00
Brenley Dueck
8c7bd193ed Add depth check for flush 2026-03-21 18:53:31 -05:00
Brenley Dueck
7b0b2c32c0 fix test 2026-03-21 15:21:23 -05:00
Brenley Dueck
fd7e4f83ae Build passes now? 2026-03-21 14:49:53 -05:00
Brenley Dueck
209eb56fe4 Merge branch 'main' into solid-router-main-merge 2026-03-21 14:40:36 -05:00
Brenley Dueck
53e1dd4526 Fix build failures 2026-03-21 14:40:17 -05:00
Brenley Dueck
6b559bc000 more progress 2026-03-21 14:25:00 -05:00
Brenley Dueck
b3bbc6246d Fix tests 2026-03-21 14:07:50 -05:00
Brenley Dueck
05e35b220d Fix two pipeline tasks 2026-03-21 13:52:24 -05:00
Brenley Dueck
f56a0d5312 Undo some router-core changes 2026-03-21 13:34:12 -05:00
Brenley Dueck
426981012b progress 2026-03-21 13:13:29 -05: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
Brenley Dueck
04986dba29 pipeline fixes 2026-03-21 11:57:02 -05:00
Brenley Dueck
193b91860a Fix some more tests 2026-03-21 11:23:39 -05:00
Flo
0d11d5e494
fix(solid-router): avoid HeadContent remounts on history.replaceState (#6998) 2026-03-21 07:01:05 +01:00
Brenley Dueck
454789dca4 Initial pass at passing tests 2026-03-20 23:52:21 -05:00
Brenley Dueck
4e08a7dbf9 Merge branch 'main' into solid-router-main-merge 2026-03-20 22:14:21 -05:00
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
github-actions[bot]
e71040784a ci: changeset release 2026-03-21 00:31:01 +00: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
autofix-ci[bot]
9ae24efcd5
ci: apply automated fixes 2026-03-20 10:04:10 +00:00
Rob Ballou
13d314ece4
docs: update search parameters guide for zod v4 (#6956) 2026-03-20 11:02:50 +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
github-actions[bot]
84994ca8b1 ci: changeset release 2026-03-19 23:47:50 +00:00
Birk Skyum
56e28e47ce
fix: better rollupOptions/rolldownOptions handling (#6990) 2026-03-20 00:45:24 +01:00
github-actions[bot]
bcdd73ac20 ci: changeset release 2026-03-19 23:22:10 +00: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]
4fd92fd717 ci: changeset release 2026-03-19 18:10:20 +00:00
Birk Skyum
0f585d5289
fix(start-plugin-core): improve rollupOptions/rolldownOptions handling (#6985) 2026-03-19 19:07:41 +01:00
github-actions[bot]
5accb6f86d ci: changeset release 2026-03-19 14:10:42 +00:00
Birk Skyum
e5d23ecd5c
fix(router-cli): pass process.argv to yargs to fix silent CLI failure (#6981) 2026-03-19 14:49:29 +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
9ece9ccc56
Merge remote-tracking branch 'origin/main' into solid-router-v2-pre 2026-03-19 02:50:06 +01:00
Birk Skyum
b03c955a84
update vite-plugin-solid to 3.0.0-next.3 2026-03-19 02:41:28 +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
github-actions[bot]
033df222ae ci: changeset release 2026-03-18 01:38:12 +00:00
Brenley Dueck
69da50126a
feat: integrate solid v2 query (#6938) 2026-03-18 02:35:55 +01:00
github-actions[bot]
988e3f710e ci: changeset release 2026-03-18 01:06:23 +00:00
github-actions[bot]
ba95e2cc66 ci: changeset release 2026-03-17 17:37:37 +00:00
Birk Skyum
6651473d02
feat(vite-plugin-core): Spport both Vite 7 (rollupOptions) and Vite 8 (rolldownOptions) (#6955) 2026-03-17 18:35:17 +01:00
Brenley Dueck
c3e19322e3
fix: Upgrade to solid v2 beta.3 (#6943)
* Upgrade to solid beta.3

* Fix tests

* Fix streaming test
2026-03-17 01:51:54 +01: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