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

1,523 commits

Author SHA1 Message Date
Manuel Schiller
c983854232 feat: add support for shouldThrow in RouteApi 2025-03-03 01:19:25 +01:00
Tanner Linsley
41cefb7982 release: v1.112.0 2025-02-27 22:55:32 +00:00
Tanner Linsley
0181ee4e25 release: v1.111.11 2025-02-25 23:35:22 +00:00
Sean Cassiere
74a3a06267
refactor: move routing documentation into its own section (#3567) 2025-02-26 12:33:22 +13:00
Tanner Linsley
e29545523f release: v1.111.7 2025-02-24 22:25:37 +00:00
Christopher Horobin
844b66c795
refactor(router-core): migrate matches and route options to core (#3552)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-24 23:17:58 +01:00
Lee
4d35542f98
fix(router-core): allow %25 in path params (#3419)
fixes #3402

---------

Signed-off-by: leesb971204 <leesb971204@gmail.com>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-02-25 11:13:27 +13:00
Tanner Linsley
9e68c421dd release: v1.111.6 2025-02-24 18:38:10 +00:00
Christopher Horobin
b6aa1c81d6
refactor(router-core): move more types to router-core (#3540)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-24 19:36:30 +01:00
Tanner Linsley
b9babba8e6 release: v1.111.3 2025-02-23 22:20:12 +00:00
Christopher Horobin
72b505c5d3
refactor(router-core): begin migrating types from react-router and solid-router to router-core (#3538)
Migrates many types over but there is still a lot to do D:

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-23 23:18:16 +01:00
Tanner Linsley
7018daf2fd release: v1.109.2 2025-02-20 23:34:30 +00:00
Manuel Schiller
cca6a806ee
fix(react-router, solid-router): do not strip search params if search validation fails (#3496) 2025-02-21 00:32:45 +01:00
Tanner Linsley
4d5c84548f release: v1.109.0 2025-02-20 21:54:36 +00:00
Christopher Horobin
16a9c9e2bb
feat(react-router): final type utilities (#3485)
* feat(react-router): final type utilities

* docs(react-router): add type utilities docs
2025-02-20 22:52:57 +01:00
Tanner Linsley
1340ccead8 release: v1.108.0 2025-02-20 16:18:10 +00:00
Tanner Linsley
db9047c99c release: v1.106.0 2025-02-18 18:28:29 +00:00
Manuel Schiller
4e8cc040c9 tests(react-router): import locally in test 2025-02-18 19:19:27 +01:00
Manuel Schiller
c0f2b82f7b fix(react-router): avoid empty script tag if scroll restoration is disabled 2025-02-18 19:19:27 +01:00
Tanner Linsley
83b8ea9e37 release: v1.105.5 2025-02-18 16:44:03 +00:00
Manuel Schiller
0277309b1b
fix(react-router): only navigate once in StrictMode (#3465) 2025-02-18 02:10:05 +01:00
Tanner Linsley
c1c9e36475 release: v1.105.0 2025-02-14 22:20:39 +00:00
Manuel Schiller
4c7caeba94
feat: replace <Meta /> by <HeadContent /> and add dedicated headScripts (#3439) 2025-02-14 23:19:01 +01:00
Tanner Linsley
cea9019343 release: v1.104.1 2025-02-13 20:13:11 +00:00
Manuel Schiller
8dbbe938ca
fix: only call head() when loaderData is available (#3410)
if no loader exists, `head()` will be called with `loaderData: undefined`

Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2025-02-13 13:06:13 -07:00
Tanner Linsley
b406134b42 release: v1.104.0 2025-02-13 18:42:47 +00:00
Manuel Schiller
b8165abf91
fix(react-router): fix path param handling with relative navigation (#3423)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-13 19:39:15 +01:00
Tanner Linsley
e30d59a05f release: v1.102.5 2025-02-12 04:52:43 +00:00
Tanner Linsley
d626fb2831 release: v1.102.3 2025-02-11 23:45:29 +00:00
Tanner Linsley
d870c68748
fix: allow custom scrollToTop selectors (#3398) 2025-02-11 16:42:37 -07:00
Tanner Linsley
397561969b release: v1.102.1 2025-02-09 23:17:35 +00:00
Flo
11b40b8eef
fix(react-router): simpler useForwardedRef using useImperativeHandle (#3364)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-02-10 12:10:46 +13:00
Tanner Linsley
0cef0bdc3e release: v1.102.0 2025-02-09 21:22:38 +00:00
Tanner Linsley
ddd84abd75 release: v1.101.2 2025-02-09 13:49:20 +00:00
Manuel Schiller
6346365b1f
fix(react-router): exclude props from state equality check to prevent history push for equal url and state (#3373)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-09 14:47:46 +01:00
Tanner Linsley
f0f9e1074b release: v1.101.0 2025-02-09 01:11:42 +00:00
Sean Cassiere
cf693e7353
feat(router-plugin): configurable key-based code splitting (#3355) 2025-02-09 14:09:18 +13:00
Tanner Linsley
026ea55598 release: v1.100.0 2025-02-08 21:39:12 +00:00
Manuel Schiller
3b158d0ab0
feat(react-router): add shouldThrow option to useParams and useSearch (#3368) 2025-02-08 22:36:40 +01:00
Tanner Linsley
38834b0133 release: v1.99.13 2025-02-07 18:21:05 +00:00
Tanner Linsley
9fb4d601a3 release: v1.99.9 2025-02-06 21:52:20 +00:00
Nikola Hristov
5ea1de62b9
refactor(react-router): remove unsed router prop from Route class (#3344)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-07 10:45:42 +13:00
Tanner Linsley
a13f1a4021 release: v1.99.8 2025-02-06 05:38:24 +00:00
Nikola Hristov
c3a86dd127
fix(react-router): build correct href when reloading the document with Router.navigate (#3336) 2025-02-06 18:33:14 +13:00
Tanner Linsley
648ad674c6 release: v1.99.7 2025-02-05 19:19:33 +00:00
Manuel Schiller
46b8df75e4
fix: set status code to 404 in case of a global not found (#3338) 2025-02-05 20:13:42 +01:00
Tanner Linsley
17998cae30 release: v1.99.6 2025-02-04 21:05:19 +00:00
Tanner Linsley
e69f08c78d release: v1.99.0 2025-02-01 11:02:45 +00:00
Manuel Schiller
c42d5cc331 chore: remove 'use client' 2025-02-01 11:15:27 +01:00
Tanner Linsley
0a2e9aa00d release: v1.98.4 2025-01-30 19:48:08 +00:00