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

1,851 commits

Author SHA1 Message Date
Birk Skyum
6fea88e0ea
fix react test 2025-10-30 06:33:43 +01:00
Tanner Linsley
f325d9a754 release: v1.133.36 2025-10-29 01:11:34 +00:00
Birk Skyum
f9bf3a5eea
fix(router): bump tanstack store to ^0.8 (#5680) 2025-10-29 02:09:55 +01:00
Tanner Linsley
5d2e48338f release: v1.133.35 2025-10-28 21:35:27 +00:00
Nico Lynzaad
915de641cd
refactor(router-core): more stable url decoding (#5663)
* add decode path segment util

* ensure navigation and browsing to path has same encoding/decoding

* add e2e tests

* add test recommendations

* nitpick

* minor enhancements

* build array once

* add additional unit and e2e tests

* remove react import from solid test

* nitpicks

* final nitpicks

* use history.push
2025-10-28 23:33:50 +02: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
40e3a6ba74 release: v1.133.28 2025-10-25 22:51:44 +00: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
Tanner Linsley
2c90c0cca2 release: v1.133.25 2025-10-23 18:29:56 +00: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
1d02c81c9b release: v1.133.22 2025-10-22 00:32:46 +00: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
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
Tanner Linsley
4b199bfb16 release: v1.133.18 2025-10-20 22:18:29 +00:00
Tanner Linsley
85681859bc
Add essential jsdoc to public api (#5551)
Add documentation for createLink, Link, useNavigate, and Navigate

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-10-20 15:41:32 -06:00
Tanner Linsley
b1ee739f48
Add core api jsdoc annotations (#5548)
Add JSDoc comments to route creation functions

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-10-20 11:59:24 -06:00
Tanner Linsley
5725dfa917 release: v1.133.15 2025-10-19 21:58:32 +00:00
Manuel Schiller
015bc2d9bd
fix: set statusCode to 500 if error occurs (#5541) 2025-10-19 23:56:43 +02:00
Tanner Linsley
57bb7950b6 release: v1.133.13 2025-10-18 00:32:25 +00:00
Tanner Linsley
bfc54ddc48 release: v1.133.12 2025-10-17 23:27:44 +00:00
Manuel Schiller
1eaedcee59 fix: memo dependencies 2025-10-18 01:19:41 +02:00
Manuel Schiller
20d3501218
fix: nonce (#5522) 2025-10-18 01:11:47 +02:00
Tanner Linsley
7978449cc5 release: v1.133.10 2025-10-17 20:10:20 +00:00
Tanner Linsley
510cc0628e release: v1.133.8 2025-10-17 17:41:40 +00:00
Tanner Linsley
a9c92ff16b release: v1.133.7 2025-10-17 17:24:46 +00:00
Dominik Dorfmeister
b0d0b25045
fix(react-router,solid-router): top-level Matches should use pendingComponent on root route (#5495) 2025-10-17 19:19:03 +02:00
Tanner Linsley
065ad28f5c release: v1.133.3 2025-10-15 15:55:17 +00:00
Tanner Linsley
8d3478c07d release: v1.132.47 2025-10-06 21:20:38 +00:00
Tanner Linsley
5fa9b91042 release: v1.132.45 2025-10-06 20:14:11 +00:00
Tanner Linsley
9416ebafa1 release: v1.132.41 2025-10-05 21:14:10 +00:00
Tanner Linsley
fb8281a732 release: v1.132.37 2025-10-04 20:41:55 +00:00
Tanner Linsley
97aa07e965 release: v1.132.33 2025-10-03 13:01:35 +00:00
Manuel Schiller
ceae3d5f85
fix: basepath (#5345) 2025-10-03 14:59:43 +02:00
Tanner Linsley
6152c6eed1 release: v1.132.31 2025-10-01 20:59:42 +00:00
Tanner Linsley
6d46aaff10 release: v1.132.29 2025-10-01 18:45:22 +00:00
Tanner Linsley
af388a89f7 release: v1.132.27 2025-09-30 22:05:17 +00:00
Thenglong Heng
bb410f8d16
fix(router): rewriteBasepath not working without trailing slash (#5244)
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-09-30 23:01:11 +02:00
Tanner Linsley
fcf88d025a release: v1.132.26 2025-09-30 18:50:17 +00:00
Tanner Linsley
f382bd2ef0 release: v1.132.25 2025-09-29 19:38:37 +00:00
Lee
e52673bb03
fix(router): hash history links with target="_blank" generate incorrect URLs (#5242) 2025-09-29 21:29:54 +02:00