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

6,473 commits

Author SHA1 Message Date
Manuel Schiller
6c400e160b
fix: order of injected scripts (#3158)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-14 01:51:20 +01:00
John
bea54d1f4b
docs(router): require the use of React's createRoot function (#3151)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-01-14 10:50:40 +13:00
Lukas Frey
a7fece12f6
docs(start): fix FormData server functions examples (#3062)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-01-14 10:37:01 +13:00
Mark Vu
9bdaf1cb84
docs(migrate): correct typo in migration documentation (#3153) 2025-01-13 21:41:20 +01:00
Tanner Linsley
999664edc2 release: v1.95.5 v1.95.5 2025-01-13 00:02:23 +00:00
Ben Durrant
72fbd4c99a
fix(start): preserve multiple values for same key in FormData serialization (#3140)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-01-13 12:55:58 +13:00
Tanner Linsley
13c750bfda release: v1.95.4 v1.95.4 2025-01-12 17:28:26 +00:00
Tom Ballinger
e39eee540d
fix(create-start): readme changes and little fixes (#3142) 2025-01-13 06:26:20 +13:00
pierluigigiancola
9c9d0f413a
docs(router): missing character in code-splitting guide (#3143) 2025-01-12 14:25:20 +13:00
Sean Cassiere
40f9f49e4b
test(react-router): check FormData serialization in transformer (#3139) 2025-01-11 00:13:09 +13:00
Tanner Linsley
be9d90df62 release: v1.95.3 v1.95.3 2025-01-10 10:07:32 +00:00
Sean Cassiere
058756acdf
fix(start): serialize FormData for server function input (#3138) 2025-01-10 23:06:08 +13:00
Volodymyr
ab5a21b733
fix(router-generator) use explicit routes export by default (#3109)
Co-authored-by: Vladimir Panov <vladimir.panov@motorsport.com>
2025-01-10 14:51:39 +13:00
Tanner Linsley
8e1cda896c release: v1.95.2 v1.95.2 2025-01-10 01:32:52 +00:00
Andrei
814ebfe0d2
fix(react-router): separate internal and user provided history state (#3119) 2025-01-10 14:26:50 +13:00
Philippe Serhal
9f028a5dc1
docs: fix dead link and typo in guide (#3136)
Typo introduced in https://github.com/TanStack/router/pull/2963.
2025-01-10 00:28:58 +01:00
Jeff Hertzler
c99a4be036
docs: Fix notFound import (#3133) 2025-01-09 22:32:47 +01:00
Muthu Kumar
e59268766c
docs: Typo issue - getParent Does not Exists in type RouteOptions (#3131) 2025-01-09 22:31:38 +01:00
Christopher Horobin
f44e2a2b87
chore: add skipLibCheck to examples (#3134) 2025-01-09 20:53:15 +01:00
Mark Vu
07fc9412fc
docs: remove duplicate word (#3125)
* docs: remove duplicate word

* docs: correct typo in learn-the-basics.md
2025-01-08 21:35:16 +01:00
Tanner Linsley
93c4dc6464
Update comparison.md 2025-01-08 09:44:20 -07:00
Tanner Linsley
2088be2a2a release: v1.95.1 v1.95.1 2025-01-04 17:50:51 +00:00
Christopher Horobin
04802fb65a
fix: make to required if from is not set (#3099)
* fix: make `to` required if `from` is not set

* chore: fix build
2025-01-04 18:48:57 +01:00
Tanner Linsley
5c8c38a0e2 release: v1.95.0 v1.95.0 2025-01-03 20:22:03 +00:00
Tom Rehnström
366848eb0e
feat(react-router): add useCanGoBack (#3017)
also fixes that history does not notify twice for certain actions
2025-01-03 21:09:58 +01:00
Billy Jacoby
c5d141b5a5
docs: learn-the-basics.md (#3102) 2025-01-03 20:17:16 +01:00
hasnum
6b64e125cf
docs: remove unnecessary punctuation (#3105) 2025-01-03 20:17:00 +01:00
Tanner Linsley
ff1de37681 release: v1.94.1 v1.94.1 2025-01-03 02:04:13 +00:00
Manuel Schiller
224a261ab0
fix(react-router): properly handle redirects when thrown during parallel preload (#3103)
fixes #3097
2025-01-03 03:02:44 +01:00
Tanner Linsley
0718fb8d2a release: v1.94.0 v1.94.0 2025-01-02 22:10:05 +00:00
Christopher Horobin
446f033755
feat: allow arrays for linkOptions and add ValidateLinkOptions (#3098)
* feat: allow arrays for `linkOptions` and add `ValidateLinkOptions`

* chore: fix build
2025-01-02 23:08:46 +01:00
Tanner Linsley
221e5a7dde release: v1.93.0 v1.93.0 2025-01-01 19:08:14 +00:00
Manuel Schiller
a0b022ad3e
feat(react-router): allow to await router.invalidate in case of SWR (#3094) 2025-01-01 20:06:52 +01:00
Tanner Linsley
afe6af602d release: v1.92.13 v1.92.13 2025-01-01 12:26:19 +00:00
Manuel Schiller
d16fb426f6
fix(react-router): ensure updated context in beforeLoad when returning same properties (#3095)
fixes #3051
2025-01-01 13:24:51 +01:00
Tanner Linsley
d873999de1 release: v1.92.12 v1.92.12 2025-01-01 00:07:31 +00:00
Tom Ballinger
db8035b813
fix(create-start): Avoid import assert syntax that doesn't work in Node.js 22 (#3092)
* Avoid import assert syntax that doesn't work in Node.js 22

* add missing commander dep

* update pnpm-lock

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-01 01:05:50 +01:00
Tanner Linsley
ce0982d4f0
Update comparison.md 2024-12-30 21:46:44 -07:00
Tanner Linsley
9457994eaa docs: update comparison 2024-12-30 20:52:31 -07:00
Tanner Linsley
4cad52b3a5 release: v1.92.11 v1.92.11 2024-12-29 14:17:56 +00:00
Christopher Horobin
b0e9d1a1ba
fix: fix types for relative routing (#3084)
* fix: improve relative routing types

* chore: add typechecking for generator

* chore: reverse peer dep

* fix: further improve relative routing

* chore: fix build and further improve types

* chore: fix typo in package.json
2024-12-29 15:16:42 +01:00
Dave.dev
07e5f93f92
docsL cleanup 'Handling error' sample code in data-loading.md (#3073)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-29 23:05:17 +13:00
Tanner Linsley
61feda76cf release: v1.92.10 v1.92.10 2024-12-28 23:01:28 +00:00
fwio
ec7b40f224
fix(start): fixed route scripts filtering (#3082)
Co-authored-by: fwio <fwio3193@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-28 23:52:49 +01:00
Tanner Linsley
45dbbd2ae8 release: v1.92.9 v1.92.9 2024-12-28 14:14:30 +00:00
Christopher Horobin
e2a7fec91b
fix: use const type parameters (#3085)
* fix: use const type parameters

* chore: fix build
2024-12-28 15:13:13 +01:00
Tanner Linsley
5cb82207c4 Merge branch 'main' of https://github.com/TanStack/router 2024-12-27 10:35:54 -07:00
Tanner Linsley
7c20138792 docs: Better getting started flow 2024-12-27 10:35:50 -07:00
Tanner Linsley
03839c3c93 release: v1.92.8 v1.92.8 2024-12-27 00:34:46 +00:00
Manuel Schiller
6488299a6a
fix(create-start): deps (#3079) 2024-12-27 01:33:24 +01:00