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

3,471 commits

Author SHA1 Message Date
Birk Skyum
35b88113f1
use onmount 2025-10-27 03:18:15 +01:00
Birk Skyum
19bbf60f31
uninstall solidjs/meta 2025-10-27 02:51:46 +01:00
Birk Skyum
4369bf5285
not data-ssr 2025-10-27 02:49:35 +01:00
Birk Skyum
e2984d90b4
solid-start - full document hydration 2025-10-27 02:46:24 +01:00
Tanner Linsley
67acbdee85 release: v1.133.33 2025-10-26 19:39:32 +00:00
Birk Skyum
645de2353a
chore: update query to consistent 5.90 (#5634)
* chore: update query to consistent 5.90

* update to 5.90.0

* save bump

* bump root

* use 5.90

* update query integration for solid

* update query integration for solid

* ci: apply automated fixes

* align solid-query versions

* data-only

* lockfile

* lcokfile

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-26 19:29:46 +01:00
Tanner Linsley
38b29d47ae release: v1.133.32 2025-10-26 17:08:24 +00:00
Durgé Seerden
9607ef6d16
fix: fix React router Link component in SVG elements (#5590)
* Use getAttribute to access the element target

* Add e2e test for react-router Link in SVG
2025-10-26 17:45:55 +01:00
Tanner Linsley
a65647b447 release: v1.133.31 2025-10-26 10:24:18 +00:00
Samy Al Zahrani
41cc7e19ef
fix: pass server context to handler (#5601)
Co-authored-by: Samy Alzahrani <samyalzahrani@MacBook-Air.local>
2025-10-26 11:16:57 +01:00
Birk Skyum
e7b90411a5
fix(solid-router): isTransitioning and handleLeave/handleEnter (#5630) 2025-10-26 03:15:57 +01:00
Tanner Linsley
6246e0d27d release: v1.133.30 2025-10-26 01:41:21 +00:00
Birk Skyum
4c3bd6bd9d
fix(solid-router): apply style to link (#5628)
* fix(solid-router): apply style to link

* perf

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-26 02:28:21 +01:00
Birk Skyum
55393f161d
fix(solid-router): fix external link ref (#5629) 2025-10-26 02:28:03 +01:00
Tanner Linsley
6e557f9d40 release: v1.133.29 2025-10-25 23:45:48 +00:00
FatahChan
475707e448
fix: auto discover static routes for prerendering
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-10-26 01:31:14 +02:00
Tanner Linsley
40e3a6ba74 release: v1.133.28 2025-10-25 22:51:44 +00:00
Manuel Schiller
eed6a79898
fix: fix transform id regex (#5624) 2025-10-26 00:49:50 +02:00
Birk Skyum
08d78c1e2f
test(solid-router): un-skip link tests (#5621) 2025-10-26 00:26:37 +02:00
Birk Skyum
735c1e3384
test(solid-router): fix timing in loaders test (#5622) 2025-10-26 00:26:19 +02:00
Birk Skyum
f4a544f405
test(solid-router): sync unit tests from react-router (#5614) 2025-10-25 19:21:19 +02:00
Tanner Linsley
977c9cf0fc
Add jsdoc annotations to public api (#5594)
Add JSDoc to 20 public APIs across core and React

Improve self-documentation for core utilities, history creators, and React hooks/components used in public docs. Focused on `path`/search utils, scroll restoration, `redirect` helpers, `createRouter`, file-route helpers, and key hooks like `useNavigate`, `useMatch`, `useParams`, `useSearch`, `useLoaderData/Deps`, `useRouter`, `useRouterState`, `useLocation`, `useCanGoBack`, plus SSR helpers. No type annotations changed.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-10-24 09:27:58 -06:00
Tanner Linsley
1c5f57978b release: v1.133.27 2025-10-24 08:31:11 +00:00
Nico Lynzaad
d293e1b15a
fix(route-core, router-generator): resolve non-nested routes correctly in generator (#5402)
* revert router-core changes

* add experimental nonnested path changes to generator

* update router-generator unit tests

* update basic-file-based-e2e

* cleanup

* cleanup

* add tests for isValidNonNestedPaths

* resolve eslint issues

* align naming to documentation

* cleanup

* update solidjs basic-file-based tests

* update documentation

* ci: apply automated fixes

* resolve test issues

* code rabbit suggestions

* ci: apply automated fixes

* fix excess period in routeTree path

* restore snapshot again

* ci: apply automated fixes

* resolve nitpick

* resolve removeTrailingUnderscore issue

* fix routeTree path

* final nitpicks

* better test description

* exclude snapshots from prettier

* minor cleanup

* resolve change in snapshots due to changes from main

* update prettierignore

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-24 10:29:24 +02:00
Brenley Dueck
d6f5870122
fix missing props lazy compoonent (#5597) 2025-10-24 03:20:29 +02:00
Tanner Linsley
163ff7b81a release: v1.133.26 2025-10-23 23:41:46 +00:00
Manuel Schiller
9d5a4fb183
fix: filter out routes from manifest that have neither preloads nor a… (#5596) 2025-10-24 01:37:35 +02:00
Tanner Linsley
2c90c0cca2 release: v1.133.25 2025-10-23 18:29:56 +00:00
Manuel Schiller
22bb4e0f69
fix: various fixes (#5593) 2025-10-23 20:08:07 +02:00
Tanner Linsley
91d994046a
Add jsdoc annotations to public api (#5587)
* docs: Add JSDoc annotations to core router APIs

Co-authored-by: tannerlinsley <tannerlinsley@gmail.com>

* Remove JSDoc notes file

Co-authored-by: tannerlinsley <tannerlinsley@gmail.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-10-22 22:18:53 -06:00
Birk Skyum
47bc1c3b65
chore(solid): bump solid-js to ^1.9.9 to align seroval versions (#5586) 2025-10-23 02:09:52 +02:00
Tanner Linsley
88b6a8ca5a
Add jsdoc annotations to public api (#5574)
Refactor: Add JSDoc comments and improve API documentation

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-10-22 15:29:53 -06:00
Tanner Linsley
fbb8b37d4d release: v1.133.24 2025-10-22 17:59:43 +00:00
Birk Skyum
cc3999f110
fix(solid-router): dev server hydration with pending component (#5585) 2025-10-22 19:57:42 +02:00
Tanner Linsley
64803447dd release: v1.133.23 2025-10-22 00:58:01 +00:00
Brenley Dueck
0ae2ce05d8
fix: hoist link tags out of body (#5579) 2025-10-21 19:45:34 -05:00
Tanner Linsley
1d02c81c9b release: v1.133.22 2025-10-22 00:32:46 +00:00
Brenley Dueck
74714e064d
fix: fouc on solid-start HeadContent (#5578)
* fix: fouc on solid-start HeadContent

* ci: apply automated fixes

* fix lint

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-21 19:23:28 -05:00
Tanner Linsley
d6a4352b86
Add JSDoc annotations to public API (#5573)
Add documentation for useMatchRoute and useNavigate hooks

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-10-21 14:35:06 -06:00
Birk Skyum
7f809a8c35
chore(solid): bump vite plugin solid to 2.11.10 (#5572)
* bump vite-plugin-solid to 2.11.10

* update lockfile

* fix lint
2025-10-21 22:19:03 +02:00
Tanner Linsley
d3a3c0b3e6
Add JSDoc to public API (#5561)
* Add documentation for React Router hooks and components

Co-authored-by: tannerlinsley <tannerlinsley@gmail.com>

* Remove redundant JSDoc comments from react-router

Co-authored-by: tannerlinsley <tannerlinsley@gmail.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-10-21 09:30:47 -06:00
Tanner Linsley
2fd8de5d87 release: v1.133.21 2025-10-21 14:35:37 +00:00
Brenley Dueck
a3e518830f
fix: solid start error outside monorepo (#5566) 2025-10-21 09:30:27 -05:00
Tanner Linsley
76dc565fbd
Add JSDoc to public API (#5555)
* Add JSDoc comments to React Router hooks and components

Co-authored-by: tannerlinsley <tannerlinsley@gmail.com>

* Refactor: Rename "Non-obvious props/options" to "Props/Options"

Co-authored-by: tannerlinsley <tannerlinsley@gmail.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-10-20 21:32:50 -06:00
Tanner Linsley
51288364f4 release: v1.133.20 2025-10-20 23:22:23 +00:00
Paul Sachs
3eccdebd0a
fix(router-core): add support for handling any kind of empty _splat consistently (#5510)
* Add support for handling any kind of empty _splat consistently

* Add navigate test for empty spat

* Added useNavigate test

* Added full trailingSlash options testing matrix

* Refactored the trailing slash cases

* export trailingSlashOptions from router-core

* replicate tests for solid

* ci: apply automated fixes

* fix test name interpolation

* correct waitFor usage

* fix eslint error

---------

Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
Co-authored-by: Nico Lynzaad <nlynzaad@zylangroup.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-21 01:13:39 +02:00
Tanner Linsley
57f1b79a7a
Add essential jsdoc to public api (#5553)
Add createLazyRoute, createLazyFileRoute, and getRouteApi functions

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-10-20 17:10:14 -06:00
Tanner Linsley
659565a88d release: v1.133.19 2025-10-20 22:56:32 +00:00
Birk Skyum
023180130c
solid-router-ssr-query (#5310) 2025-10-21 00:29:02 +02:00
Tanner Linsley
4b199bfb16 release: v1.133.18 2025-10-20 22:18:29 +00:00