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

6,530 commits

Author SHA1 Message Date
github-actions[bot]
3d265ea439
ci: Version Packages (beta) (#7649) release-2026-06-25-0104 @tanstack/solid-router-devtools@2.0.0-beta.18 @tanstack/solid-router-ssr-query@2.0.0-beta.23 @tanstack/solid-router@2.0.0-beta.22 @tanstack/solid-start-client@2.0.0-beta.22 @tanstack/solid-start-server@2.0.0-beta.22 @tanstack/solid-start@2.0.0-beta.23
ci: changeset release (beta)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-25 03:00:11 +02:00
Brenley Dueck
259efbe530
chore: upgrade solid-js to 2.0.0-beta.15 (#7688)
Bump solid-js and @solidjs/web from 2.0.0-beta.14 to 2.0.0-beta.15
across all packages, examples, and e2e apps.

- Pin solid-js as an explicit devDependency in @tanstack/solid-router
  (it previously only declared a floating peer range, so pnpm kept it
  on beta.14).
- Update the scoped vite-plugin-solid babel-preset-solid override to
  beta.15 and add a matching scoped override for @rsbuild/plugin-solid.
- Add minimumReleaseAgeExclude for the freshly published solid betas.
- router-devtools-core intentionally stays on Solid v1.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 02:42:21 +02:00
Brenley Dueck
51b4bd4f37
perf(solid-router): proxy-free link props in the spread hot path (#7609)
useLinkProps stacked four proxies (merge of defaults, two omit proxies,
and a final merge with the resolved-props memo), and Solid's spread()
re-enumerated them through V8 proxy traps on every navigation for every
Link. Return a plain object with a stable key set instead, with
reactivity in property getters backed by fine-grained memos, and add
href-based equality to the built-location memo.

Client-side navigation benchmark: 7.06ms -> 4.80ms per iteration.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-06-18 03:45:48 +02:00
Brenley Dueck
144ddc748e chore: remove unneeded changesets 2026-06-15 07:25:09 -05:00
Brenley Dueck
3fe770ad17 fix: update solid ssr benchmark types 2026-06-13 16:32:33 -05:00
autofix-ci[bot]
0747d9b8fa
ci: apply automated fixes 2026-06-13 21:09:57 +00:00
Brenley Dueck
545866dd47 chore: fix tests 2026-06-13 16:07:04 -05:00
Brenley Dueck
1052ab97ba Merge branch 'main' into solid-router-main-merge2 2026-06-13 15:54:31 -05:00
Flo
689c5ab32e
chore(react-router): silence AbortError in renderRouterToStream (#7627) 2026-06-13 19:41:02 +02:00
Flo
36ed57409a
bench: calibrate new ssr benchmarks iteration to reduce variability (#7625)
* bench: calibrate new ssr benchmarks iteration to reduce variability

* better response stream draining

* last remaining fast ssr scenarios
2026-06-13 15:21:57 +02:00
dfedoryshchev
a2b9d51b0a
docs: fix duplicate "to" typos (#7370) 2026-06-12 22:55:18 +02:00
Flo
0c110a934a
ssr benchmarks (#7606) 2026-06-12 22:04:10 +02:00
tsushanth
2215277382
docs(router): drop the broken "LLM Assistance Support" nav entry (#7617) 2026-06-12 21:31:42 +02:00
Tanner Linsley
6f882b7dae
docs(start): rename LLM optimization guide to GEO (#7620) 2026-06-12 11:24:22 -06:00
Flo
96eca43ab8
perf(start-server-core): skip update for server context (#7599)
* perf(start-server-core): skip update for server context

* changeset
2026-06-11 10:58:01 +02:00
Flo
f046b064d3
chore: forgot changeset in #7596 (#7600) 2026-06-11 10:57:24 +02:00
Flo
56bd271ba0
perf(react-router): add match selector compares (#7596)
* perf(react-router): add match selector compares

* fix scroll restoration

* Revert "fix scroll restoration"

This reverts commit 620e9674fa.

* fix scroll restoration

* lint rules of hooks
2026-06-11 10:04:11 +02:00
Flo
52db7034fd
fix(react-router): avoid throwing in useMatch selector (#7595)
* fix(react-router): avoid throwing in useMatch selector

* lint fix and changeset
2026-06-10 22:11:08 +02:00
Nicolas Beaussart
6f1daf5104
chore: update nx to 22.7.5 (#7583) 2026-06-08 08:41:48 +02:00
Flo
41e7a24f69
refactor(solid-router): remove unnecessary setTimeout from Match components (#7584) 2026-06-07 23:05:20 +02:00
Flo
5127d861ae
refactor(router-core): avoid creating promises when not necessary (#7582) 2026-06-07 22:37:25 +02:00
Flo
689d88e04c
refactor(react-router): Reduce bundle size by sharing hook structuralSharing logic (#7577) 2026-06-07 19:29:16 +02:00
Flo
b80781ede4
fix(benchmarks): run SSR setup imports natively (#7579)
* fix(benchmarks): run SSR setup imports natively

* fix(benchmarks): update codspeed vitest plugin

* fix(benchmarks): avoid SSR CodSpeed setup hooks

* ci: apply automated fixes

* fix(benchmarks): preload SSR handlers before bench

* ci: apply automated fixes

* ensure benchmarks build are NODE_ENV=production

* fail codspeed on error, to avoid future skips like this one

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-07 18:46:47 +02:00
Nandkishor Jadoun
f111a38249
docs: add 🟡 (Experimental) for TanStack Start RSC support (#7573) 2026-06-07 15:02:31 +02:00
Flo
4a93cffffc
refactor(react-router): useMatches skips useRef during SSR (#7575) 2026-06-07 13:26:37 +02:00
github-actions[bot]
757d43375f
ci: Version Packages (#7567) release-2026-06-06-2144 @tanstack/react-start-client@1.168.13 @tanstack/react-start-rsc@0.1.24 @tanstack/react-start-server@1.167.19 @tanstack/react-start@1.168.25 @tanstack/solid-start-client@1.168.13 @tanstack/solid-start-server@1.167.19 @tanstack/solid-start@1.168.25 @tanstack/start-client-core@1.170.12 @tanstack/start-plugin-core@1.171.17 @tanstack/start-server-core@1.169.14 @tanstack/start-static-server-functions@1.167.17 @tanstack/vue-start-client@1.167.17 @tanstack/vue-start-server@1.167.19 @tanstack/vue-start@1.168.24 2026-06-06 23:39:56 +02:00
Manuel Schiller
9bebf8dc9f
rename inputValidator to validator (#7566)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-06 23:05:56 +02:00
github-actions[bot]
10a7ff833c
ci: Version Packages (#7563) release-2026-06-06-0954 @tanstack/react-router@1.170.15 @tanstack/react-start-client@1.168.12 @tanstack/react-start-rsc@0.1.23 @tanstack/react-start-server@1.167.18 @tanstack/react-start@1.168.24 @tanstack/router-cli@1.167.17 @tanstack/router-core@1.171.13 @tanstack/router-generator@1.167.17 @tanstack/router-plugin@1.168.18 @tanstack/router-vite-plugin@1.167.18 @tanstack/solid-router@1.170.15 @tanstack/solid-start-client@1.168.12 @tanstack/solid-start-server@1.167.18 @tanstack/solid-start@1.168.24 @tanstack/start-client-core@1.170.11 @tanstack/start-plugin-core@1.171.16 @tanstack/start-server-core@1.169.13 @tanstack/start-static-server-functions@1.167.16 @tanstack/start-storage-context@1.167.15 @tanstack/vue-router@1.170.15 @tanstack/vue-start-client@1.167.16 @tanstack/vue-start-server@1.167.18 @tanstack/vue-start@1.168.23 2026-06-06 11:49:34 +02:00
Manuel Schiller
776d8ef283
fix(router-core): skip scroll restoration setup when disabled (#7562) 2026-06-06 11:37:03 +02:00
github-actions[bot]
996b9bee38
ci: Version Packages (#7561) release-2026-06-06-0850 @tanstack/react-router@1.170.14 @tanstack/react-start-client@1.168.11 @tanstack/react-start-rsc@0.1.22 @tanstack/react-start-server@1.167.17 @tanstack/react-start@1.168.23 @tanstack/router-cli@1.167.16 @tanstack/router-core@1.171.12 @tanstack/router-generator@1.167.16 @tanstack/router-plugin@1.168.17 @tanstack/router-vite-plugin@1.167.17 @tanstack/solid-router@1.170.14 @tanstack/solid-start-client@1.168.11 @tanstack/solid-start-server@1.167.17 @tanstack/solid-start@1.168.23 @tanstack/start-client-core@1.170.10 @tanstack/start-plugin-core@1.171.15 @tanstack/start-server-core@1.169.12 @tanstack/start-static-server-functions@1.167.15 @tanstack/start-storage-context@1.167.14 @tanstack/vue-router@1.170.14 @tanstack/vue-start-client@1.167.15 @tanstack/vue-start-server@1.167.17 @tanstack/vue-start@1.168.22 2026-06-06 10:45:35 +02:00
Manuel Schiller
837897f073
fix(router-plugin): preserve generated route state for aliased HMR imports (#7560)
* fix(router-plugin): preserve generated route state for aliased HMR imports

fixes #4303

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-06 10:34:02 +02:00
Manuel Schiller
df1076c03a
fix(router-core): allow retained search params to reset to defaults (#7559)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-06 10:30:23 +02:00
Manuel Schiller
e99e855258
add regression tests (#7557) 2026-06-06 01:53:22 +02:00
github-actions[bot]
65ad9062ea
ci: Version Packages (#7556) release-2026-06-05-2306 @tanstack/react-router@1.170.13 @tanstack/react-start-client@1.168.10 @tanstack/react-start-rsc@0.1.21 @tanstack/react-start-server@1.167.16 @tanstack/react-start@1.168.22 @tanstack/router-cli@1.167.15 @tanstack/router-core@1.171.11 @tanstack/router-generator@1.167.15 @tanstack/router-plugin@1.168.16 @tanstack/router-vite-plugin@1.167.16 @tanstack/solid-router@1.170.13 @tanstack/solid-start-client@1.168.10 @tanstack/solid-start-server@1.167.16 @tanstack/solid-start@1.168.22 @tanstack/start-client-core@1.170.9 @tanstack/start-plugin-core@1.171.14 @tanstack/start-server-core@1.169.11 @tanstack/start-static-server-functions@1.167.14 @tanstack/start-storage-context@1.167.13 @tanstack/vue-router@1.170.13 @tanstack/vue-start-client@1.167.14 @tanstack/vue-start-server@1.167.16 @tanstack/vue-start@1.168.21 2026-06-06 01:01:21 +02:00
Manuel Schiller
ac10815f38
fix(router-core): respect stripped params in retainSearchParams (#7555) 2026-06-06 00:49:14 +02:00
github-actions[bot]
a8647d20a1
ci: Version Packages (#7554) release-2026-06-05-2016 @tanstack/react-router@1.170.12 @tanstack/react-start-client@1.168.9 @tanstack/react-start-rsc@0.1.20 @tanstack/react-start-server@1.167.15 @tanstack/react-start@1.168.21 @tanstack/router-cli@1.167.14 @tanstack/router-core@1.171.10 @tanstack/router-generator@1.167.14 @tanstack/router-plugin@1.168.15 @tanstack/router-utils@1.162.2 @tanstack/router-vite-plugin@1.167.15 @tanstack/solid-router@1.170.12 @tanstack/solid-start-client@1.168.9 @tanstack/solid-start-server@1.167.15 @tanstack/solid-start@1.168.21 @tanstack/start-client-core@1.170.8 @tanstack/start-plugin-core@1.171.13 @tanstack/start-server-core@1.169.10 @tanstack/start-static-server-functions@1.167.13 @tanstack/start-storage-context@1.167.12 @tanstack/vue-router@1.170.12 @tanstack/vue-start-client@1.167.13 @tanstack/vue-start-server@1.167.15 @tanstack/vue-start@1.168.20 2026-06-05 22:11:34 +02:00
Scott Street
2cca73c922
fix(router-core): fix search middleware type to use schema output (#7381)
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2026-06-05 22:02:05 +02:00
Manuel Schiller
6b453dfafc
fix build (#7553) 2026-06-05 21:56:19 +02:00
Manuel Schiller
301f6ba459
fix(start): clean up server function handler imports (#7552)
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
2026-06-05 21:30:23 +02:00
Birk Skyum
76b3d3b245
Revert #7524 (#7533)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-05 00:04:55 +02:00
Manuel Schiller
fb0399e8c4
fix build (#7550) 2026-06-04 23:45:39 +02:00
Manuel Schiller
7a83e67e65
fix(router-core): retain search over validation defaults (#7549) 2026-06-04 23:25:25 +02:00
Manuel Schiller
3dcc016fc1
improve bundle size benchmarks and add initial skill (#7450) 2026-06-04 22:48:53 +02:00
Ulrich Stark
fee0b58c51
refactor: remove unused dependencies (#7541) 2026-06-04 22:47:41 +02:00
Ulrich Stark
bb99f66a47
refactor: remove unnecessary any assertions (#7542) 2026-06-04 22:12:45 +02:00
Ulrich Stark
1d113f0a30
fix(examples): make isRoot check work (#7547) 2026-06-04 22:11:30 +02:00
github-actions[bot]
8c7e54ea2d
ci: Version Packages (#7544) release-2026-06-04-1200 @tanstack/react-start-rsc@0.1.19 @tanstack/react-start@1.168.20 @tanstack/solid-start@1.168.20 @tanstack/start-plugin-core@1.171.12 @tanstack/vue-start@1.168.19 2026-06-04 13:56:45 +02:00
Cong-Cong Pan
80919186cb
fix(start-rsbuild): compile node_modules for RSC directives (#7540)
* fix(start-rsbuild): compile node_modules for RSC directives

* chore: add comments

* chore: add changeset
2026-06-04 13:34:00 +02:00
github-actions[bot]
65133ed03f
ci: Version Packages (beta) (#7539) release-2026-06-03-2222 @tanstack/solid-router-devtools@2.0.0-beta.17 @tanstack/solid-router-ssr-query@2.0.0-beta.22 @tanstack/solid-router@2.0.0-beta.21 @tanstack/solid-start-client@2.0.0-beta.21 @tanstack/solid-start-server@2.0.0-beta.21 @tanstack/solid-start@2.0.0-beta.22
ci: changeset release (beta)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-04 00:18:19 +02:00
Birk Skyum
ff136aaea6
fix(solid-router-v2): use TSR_DEFERRED_PROMISE (#7532) 2026-06-03 23:28:58 +02:00