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

745 commits

Author SHA1 Message Date
github-actions[bot]
97207a13a6 ci: changeset release 2026-04-25 17:43:08 +00:00
github-actions[bot]
387479d442 ci: changeset release 2026-04-25 02:09:31 +00:00
Sean Cassiere
8b97002af3
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`
2026-04-25 14:07:00 +12:00
github-actions[bot]
99c672d27d ci: changeset release 2026-04-24 23:50:09 +00:00
Manuel Schiller
1e371b60f1
fix: do not import 'react-refresh/runtime' (#7255)
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
2026-04-25 01:45:22 +02:00
github-actions[bot]
4c161c53a8 ci: changeset release 2026-04-24 23:23:49 +00:00
Manuel Schiller
4d864eebbd
inline css (#7253) 2026-04-25 01:20:36 +02:00
github-actions[bot]
1248e44a1b ci: changeset release 2026-04-24 01:28:38 +00:00
Manuel Schiller
91a708989d
rsbuild plugin (#7228)
Co-authored-by: neverland <chenjiahan.jait@bytedance.com>
Co-authored-by: Keven Arroyo <dake.3601@gmail.com>
2026-04-24 03:26:03 +02:00
github-actions[bot]
26680c95a9 ci: changeset release 2026-04-13 23:30:55 +00:00
github-actions[bot]
c373feb22b ci: changeset release 2026-04-13 19:23:21 +00:00
github-actions[bot]
c857087286 ci: changeset release 2026-04-13 02:12:36 +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]
2cda5385dd ci: changeset release 2026-04-12 00:34:50 +00:00
Manuel Schiller
656a2a040e
chore: add vite 8 to peer deps (#7160)
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: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-12 02:29:41 +02:00
github-actions[bot]
c3900c8328 ci: changeset release 2026-04-11 21:35:22 +00:00
github-actions[bot]
3ef971fa78 ci: changeset release 2026-04-11 18:18:04 +00: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
Flo
6355bb75f7
refactor: shorten internal router store names (#7152) 2026-04-11 13:21:43 +02:00
github-actions[bot]
27890afc1b ci: changeset release 2026-04-11 10:45:13 +00:00
Flo
459057cd2d
refactor: switch router stores to atom get/set API (#7150) 2026-04-11 12:41:57 +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]
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]
4756d760ca ci: changeset release 2026-03-30 16:11:20 +00:00
Manuel Schiller
f8351a8d7a
fix: initialize import.meta.hot.data before storing stable split componts (#7074)
* fix: initialize import.meta.hot.data before storing stable split components

fixes #7073

* fix: initialize import.meta.hot.data before storing stable split components

fixes #7073 [Self-Healing CI Rerun]

---------

Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
2026-03-30 18:08:52 +02:00
github-actions[bot]
9368c5f3bf ci: changeset release 2026-03-28 18:42:14 +00:00
github-actions[bot]
21bd992420 ci: changeset release 2026-03-27 00:26:42 +00:00
github-actions[bot]
0e0a2817c3 ci: changeset release 2026-03-26 19:40:04 +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
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
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
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
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]
86ea33c476 ci: changeset release 2026-03-18 17:13:16 +00:00
github-actions[bot]
8f54d112b9 ci: changeset release 2026-03-16 23:09:00 +00: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