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

625 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
github-actions[bot]
0ee267165d ci: changeset release 2026-03-19 03:05:40 +00: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
github-actions[bot]
988e3f710e ci: changeset release 2026-03-18 01:06:23 +00: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
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]
bbc14badd2 ci: changeset release 2026-03-16 00:04:09 +00:00
Birk Skyum
b95b1061d3
build: bundle packages with rolldown (#6931) 2026-03-16 01:00:28 +01:00
Birk Skyum
d9e6c3179a
Merge remote-tracking branch 'origin/main' into solid-router-v2-pre 2026-03-16 00:22:34 +01:00
Birk Skyum
1376d0ffc1
Merge remote-tracking branch 'origin/main' into solid-router-v2-pre 2026-03-16 00:15:07 +01: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
github-actions[bot]
ec7e8c5f6a ci: changeset release 2026-03-14 07:51:21 +00:00
Manuel Schiller
6f297a2494
feat: add staleReloadMode (#6921)
* feat: add staleReloadMode

* update

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-14 08:41:38 +01:00
github-actions[bot]
5fb8739ecd ci: changeset release 2026-03-12 23:18:58 +00:00
Brenley Dueck
9ce7f97ef2
chore: bump solid-refresh, fix deepEqual (#6910) 2026-03-13 00:16:32 +01:00
github-actions[bot]
cde6e61eed ci: changeset release 2026-03-12 15:19:00 +00:00
github-actions[bot]
c818bf608c ci: changeset release 2026-03-12 14:54:02 +00:00
Brenley Dueck
9385220ab5 Work on getting build to pass 2026-03-12 07:30:30 -05:00
Brenley Dueck
5bfd39b26f Fix router tests 2026-03-12 06:43:51 -05:00
Brenley Dueck
033ea00a20 Merge branch 'main' into solid-v2 2026-03-12 06:05:28 -05:00
Brenley Dueck
3d130d5730 Fix tests 2026-03-11 17:42:47 -05:00
Brenley Dueck
fdc5346ac1 Down the 3 failing tests 2026-03-11 16:08:09 -05:00
Brenley Dueck
dcb9ed4ec3 fixes 2026-03-10 20:53:02 -05:00
Birk Skyum
c6934747ea
2.0.0-beta.2 2026-03-11 01:54:53 +01:00
Birk Skyum
ec4b803c9a
reset router-devtools-core 2026-03-11 01:07:54 +01:00
Tanner Linsley
7706e3f540 release: v1.166.7 2026-03-10 19:25:59 +00:00
Flo
dadf7e9d9d
fix(router-core): null prototype input/output objects (#6882) 2026-03-10 20:22:35 +01:00
Flo
d306d58a21
chore(eslint): remove package-level unused-vars overrides (#6782) 2026-03-10 00:09:44 +01: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
Flo
065e4ec11e
fix(solid-router,vue-router): re-build next location on params,search,hash changes (#6865) 2026-03-09 22:51:44 +01:00
Tanner Linsley
6438c03b2f release: v1.166.4 2026-03-09 19:17:52 +00:00
Manuel Schiller
31ed0a9648
fix: don't re-execute stale loaders on unrelated location changes (#6867)
* fix: don't re-execute stale loaders on unrelated location changes

* lint

* remove loaderKeyChanged

* from last

* inline staleMatchShouldReload

* update tests

* add test

* fix

* revert
2026-03-09 20:02:35 +01:00
autofix-ci[bot]
7a6bf76cff
ci: apply automated fixes 2026-03-09 04:30:09 +00:00
Brenley Dueck
9f2bfa7b03 Exclude error component test 2026-03-08 23:28:44 -05:00
Brenley Dueck
16311ad924 skip test 2026-03-08 22:03:00 -05:00
Brenley Dueck
1f31bfa7fd Test fix 2026-03-08 21:58:06 -05:00
Flo
446d7973cf
test: cover Solid SSR route error rendering (#6854)
test: cover solid SSR route error rendering
2026-03-08 10:11:30 +01:00
Brenley Dueck
6245732f00 fix lint 2026-03-07 17:21:09 -06:00
Brenley Dueck
a5a5be4073 inline solid-store dep 2026-03-07 16:23:35 -06:00
Brenley Dueck
ae9d82fd1f Fix build 2026-03-07 09:04:04 -06:00
Brenley Dueck
c88a693c09 Merge branch 'main' into solid-v2 2026-03-06 19:57:23 -06:00