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

6,510 commits

Author SHA1 Message Date
Birk Skyum
b5c96d42cf
test(solid-start): sync server-routes e2e to react (#5618) 2025-10-25 22:21:07 +02:00
Birk Skyum
3ce120b377
test(solid): add params.spec.ts to start/router (#5617) 2025-10-25 22:01:24 +02:00
Birk Skyum
f4a544f405
test(solid-router): sync unit tests from react-router (#5614) 2025-10-25 19:21:19 +02:00
Birk Skyum
a068c4318e
test(solid-router): add sentry e2e (#5612) 2025-10-25 17:57:12 +02:00
Sarah
20ea99483f
docs: fix links for decisions on dx (#5608)
fix links
2025-10-25 01:08:35 +02:00
autofix-ci[bot]
c6183adb0c
ci: apply automated fixes 2025-10-24 16:51:45 +00:00
Tanner Linsley
efe6e5f075
Add basic error boundary documentation (#5605)
Add Error Boundaries documentation for React and Solid

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-10-24 10:50:37 -06: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
Brenley Dueck
4c9d221c58
update solid docs (#5602) 2025-10-24 16:51:34 +02:00
Tanner Linsley
1c5f57978b release: v1.133.27 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 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
Júlio Mühlbauer
cc421f89f8
examples: fix paraglide start link example (#5487) 2025-10-24 01:30:27 +02:00
Wei Wang
e596798813
docs: Install vite as a devDependency (#5547) 2025-10-24 01:29:58 +02:00
Tanner Linsley
2c90c0cca2 release: v1.133.25 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 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
Birk Skyum
eab8a9941c
chore: bump tailwind from v3 to v4 with postcss (#5580) 2025-10-22 03:42:26 +02:00
Tanner Linsley
64803447dd release: v1.133.23 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 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
Birk Skyum
07f56f82e8
docs(solid-start): nitro v3 vite plugin example (#5577) 2025-10-22 00:44:16 +02:00
Birk Skyum
37ac3adbf6
fix naming of solid-start example (#5576) 2025-10-22 00:24:12 +02:00
Birk Skyum
1264256770
docs(solid-start): add netlify vite plugin example (#5575) 2025-10-22 00:15:11 +02: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
Birk Skyum
a947885a02
docs(solid-start): start-basic-cloudflare example (#5567) 2025-10-21 17:29:01 +02:00
Tanner Linsley
2fd8de5d87 release: v1.133.21 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
Birk Skyum
12f0e8c36a
docs: display auth, query, static examples on website (#5563)
* display auth, query, static examples on tanstack-dot-com

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-21 15:28:50 +02:00
Birk Skyum
616a38e76b
docs(solid-start): start-basic-solid-query example (#5562)
* start-basic-solid-query

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-21 15:14:43 +02: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
Birk Skyum
da10edf44b
test(solid-start): basic-auth e2e suite and example (#5558) 2025-10-21 03:53:40 +02:00
Birk Skyum
410fdf808d
test(solid-start): add virtual-routes e2e suite (#5556) 2025-10-21 01:36:36 +02:00
Tanner Linsley
51288364f4 release: v1.133.20 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 v1.133.19 2025-10-20 22:56:32 +00:00
Birk Skyum
fc82bf2948
docs(solid-router): add solid-query router examples (#3891) 2025-10-21 00:50:15 +02:00
Birk Skyum
023180130c
solid-router-ssr-query (#5310) 2025-10-21 00:29:02 +02:00
Tanner Linsley
4b199bfb16 release: v1.133.18 v1.133.18 2025-10-20 22:18:29 +00:00
Brenley Dueck
f9ae72c534
fix(solid-start): improve hydration (#5518) 2025-10-21 00:11:31 +02:00