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

1,506 commits

Author SHA1 Message Date
autofix-ci[bot]
0e00c005ef
ci: apply automated fixes 2025-02-18 18:19:32 +00:00
Manuel Schiller
26101fc467 feat: beforeNavigate 2025-02-18 19:18:16 +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
Manuel Schiller
4f54803e89 docs: scrollRestoration default and replace deprecated <ScrollRestoration> 2025-01-30 19:44:16 +01:00
Tanner Linsley
4ca652077d release: v1.98.3 2025-01-30 04:07:13 +00:00
Tanner Linsley
c96105d32c fix: no logs 2025-01-29 20:59:46 -07:00
Tanner Linsley
ea7be82bc2 release: v1.98.1 2025-01-29 21:53:37 +00:00
Manuel Schiller
fdaefc035d
fix: Fix scroll restoration (#3191)
* fix: scroll-restoration (especially on hydration mismatch)

* fix: more fixes

* fix canGoBack

* release: v1.97.25

* chore(root): upgrade `vitest` to `3.0.4` (#3257)

* chore(root): upgrade `nx` to `20.4.0` (#3259)

* fix(react-router): improve error handling for module loading failures in lazyRouteComponent (#3262)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* fix(start-server): remove debugging timeout (#3258)

* fix(start-plugin): invoke server implementation of createIsomorphicFn during SSR (#3268)

* feat(react-router): add `remountDeps` (#3269)

* fix: RELEASE_ALL

RELEASE_ALL

* examples: remove dep (#3270)

* release: v1.98.0

* checkpoint

* fix tests

* tests: fix

* fix: back to old onRendered

* fix: scroll-restoration (especially on hydration mismatch)

* fix: more fixes

* fix canGoBack

* checkpoint

* fix tests

* tests: fix

* fix: back to old onRendered

* Move utils to core

* fix: backwards compat ScrollRestoration

* fix: better versioning

* fix: reenable hash scrolling and window reset even without scroll restoration

* test(e2e): renable tests for router

* fix: backwards compat and docs

---------

Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: Flo <fpellet@ensc.fr>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniel Grant <1670902+djgrant@users.noreply.github.com>
2025-01-29 14:50:54 -07:00
Tanner Linsley
d5d65a2bdd release: v1.98.0 2025-01-29 00:50:27 +00:00
Manuel Schiller
34d03505ef
feat(react-router): add remountDeps (#3269) 2025-01-29 01:03:33 +01:00
Flo
feb9a841bc
fix(react-router): improve error handling for module loading failures in lazyRouteComponent (#3262)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-28 23:51:25 +01:00
Tanner Linsley
b25fa711ef release: v1.97.25 2025-01-28 02:04:52 +00:00
Tanner Linsley
131747e3fb release: v1.97.24 2025-01-27 18:40:39 +00:00
Tanner Linsley
bd605e09f7 release: v1.97.23 2025-01-26 20:10:43 +00:00
Sean Cassiere
93280d0b27
fix(react-router): broken docs link on the deprecation of the NotFoundRoute API (#3245) 2025-01-27 09:08:27 +13:00
Tanner Linsley
efa57ccd9b release: v1.97.21 2025-01-26 01:14:10 +00:00
Birk Skyum
a3e0899e2d
refactor(router-core): move router-core into a separate package (#3171)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-01-26 14:06:35 +13:00
Tanner Linsley
780c8374f1 release: v1.97.20 2025-01-25 21:47:13 +00:00
Christopher Horobin
5b0a82bbe8
fix(react-router): use intersections for search param merging (#3220)
* fix(react-router): use intersections for search param merging

* chore: add type tests and refactor

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-25 22:44:29 +01:00
Tanner Linsley
a0e8481bca release: v1.97.19 2025-01-25 18:31:37 +00:00