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
Tanner Linsley
a27e9f2091 release: v1.73.1 v1.73.1 2024-10-18 23:09:42 +00:00
Manuel Schiller
0abdb16233
fix(router-generator): correctly generate ids for single routes inside route groups (#2585) 2024-10-19 01:08:16 +02:00
Nicolas Beaussart
45d598240f
docs: add monorepo with simple and react query example (#2479)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2024-10-18 23:51:23 +02:00
Tanner Linsley
164dc88e80 release: v1.73.0 v1.73.0 2024-10-18 21:45:27 +00:00
Manuel Schiller
eba70d5f57
feat(react-router): add method to selectively removed cached matches (#2575) 2024-10-18 23:41:37 +02:00
Tanner Linsley
0219a10edb release: v1.72.1 v1.72.1 2024-10-18 21:31:20 +00:00
Manuel Schiller
965f4fd0a8
fix(react-router): only optional params may be removed (#2583) 2024-10-18 23:29:59 +02:00
Tanner Linsley
ed6243d69e release: v1.72.0 v1.72.0 2024-10-18 20:48:34 +00:00
Manuel Schiller
ac7171c7e1
feat(react-router): execute search middlewares also upon navigation (#2581) 2024-10-18 22:47:18 +02:00
Tanner Linsley
72e7563a00 release: v1.71.0 v1.71.0 2024-10-18 20:35:20 +00:00
Manuel Schiller
8d56157b07
feat(react-router): add stripSearchParams middleware (#2579) 2024-10-18 22:33:18 +02:00
Manuel Schiller
db8e8f031a
chore: regenerate examples after generator changed (#2580) 2024-10-18 22:32:46 +02:00
Tanner Linsley
154c95cf59 release: v1.70.2 v1.70.2 2024-10-18 16:40:29 +00:00
Manuel Schiller
80ee58d8d4
fix(react-router): prevent props from being spread into Links (#2574) 2024-10-18 18:38:26 +02:00
Manuel Schiller
4e07c749c1
tests: add e2e test for getRouteApi inside route groups (#2569) 2024-10-18 00:31:21 +02:00
Tom Ballinger
e49d47e5df
Bump convex version to get VITE_ envvar prefix (#2563)
* Bump convex version to get VITE_ envvar prefix

* update lockfile
2024-10-17 16:29:21 -04:00
Tanner Linsley
dad80998b3 release: v1.70.1 v1.70.1 2024-10-17 19:30:23 +00:00
Manuel Schiller
debd7c32b3
fix(react-router): update link href upon search change to prevent stale links (#2565) 2024-10-17 21:29:06 +02:00
Sean Cassiere
3f62f50818
chore: pnpm dedupe (#2561) 2024-10-17 11:36:19 +13:00
Dmitrii Kuzmin
14b0e1d629
docs(router): update nested routes comparison (#2548) 2024-10-17 11:20:25 +13:00
Tom Ballinger
c97fa7e813
chore(examples): update convex codegen (#2558)
* Update Convex codegen

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-17 11:19:12 +13:00
Tanner Linsley
a303db13e3 release: v1.70.0 v1.70.0 2024-10-16 18:14:22 +00:00
Manuel Schiller
93a62724a5
feat(react-router): allow to selectively invalidate matches (#2551) 2024-10-16 20:09:42 +02:00
Manuel Schiller
69b5728e8f
fix(eslint-plugin-router): add missing properties to rule create-route-property-order (#2557) 2024-10-16 20:09:30 +02:00
Manuel Schiller
7002a17e3c
fix(react-router): move componentsPromise from match to route (#2556) 2024-10-16 20:09:19 +02:00
Manuel Schiller
2d0ff561cc
feat(react-router): added router option search.strict (#2552)
Configures how unknown search params (= not returned by any `validateSearch`) are treated.
2024-10-16 18:27:52 +02:00
Tanner Linsley
c2fe66db93 release: v1.69.3 v1.69.3 2024-10-16 03:34:43 +00:00
Manuel Schiller
c5da3207b4
fix(start): revert status codes for redirect/not found (#2555) 2024-10-16 05:32:43 +02:00
Tanner Linsley
8536b7396a release: v1.69.2 v1.69.2 2024-10-15 22:31:33 +00:00
Manuel Schiller
77fe390ec3
fix(start): correctly handle custom response status codes (#2553)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-16 00:30:17 +02:00
stevenlyd
ac61e8ee38
test: Add test cases for route id consistency (#2401)
* tweaked the fallback order

* added getLastPathSegment util function

* removed unused import

* added test case for getLastPathSegment()

* trim parent id prefix when creating lazy routes

* added test cases

* removed unused import

* made test case more strict

* use it.each

* Added test for route id uniqueness

* added test cases to check if the option.id for lazyRoute is trimmed

* revert changes, keep only the tests

* removed unused import

---------

Co-authored-by: Yidong Liu <yliu@plexxis.com>
2024-10-15 21:35:04 +02:00
Tanner Linsley
b1abb3629c release: v1.69.1 v1.69.1 2024-10-15 19:32:55 +00:00
Manuel Schiller
8c7f14b15b
fix: correctly handle route groups (#2550)
* fix: correctly handle route groups

do not remove route groups from ids as we need them to ensure uniqueness of ids at runtime.

fixes #2501



---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-15 21:31:38 +02:00
Tanner Linsley
c9298f0ada release: v1.69.0 v1.69.0 2024-10-15 18:44:01 +00:00
Manuel Schiller
86df9e77b0
feat(react-router): allow to retain all search params via retainSearchParams (#2549) 2024-10-15 20:42:46 +02:00
Leonardo Juriolli
d9a97e2693
docs: add missing import for retainSearchParams (#2545) 2024-10-15 01:03:30 +02:00
Tanner Linsley
668fa3c9de release: v1.68.0 v1.68.0 2024-10-14 22:17:21 +00:00
Manuel Schiller
62e4944186
feat(start): expose all customizable vite options (#2544) 2024-10-15 00:12:40 +02:00
Tanner Linsley
f78f6d71bd release: v1.67.0 v1.67.0 2024-10-14 19:30:50 +00:00
Manuel Schiller
a185048697
feat(create-router): support IDE choice (#2530) 2024-10-14 21:26:21 +02:00
Manuel Schiller
60b3f37e32
feat(react-router) add search middleware (#2521)
* feat(react-router) add search middleware

* add `retainSearchParams` middleware

* simplified types

* added docs
2024-10-14 20:34:35 +02:00
Tanner Linsley
f80f719eb7 release: v1.66.1 v1.66.1 2024-10-14 16:28:17 +00:00
Manuel Schiller
de80d2f989
fix(start): eliminate dead code after vinxi's transform for createServerFn (#2542) 2024-10-14 18:25:21 +02:00
Manuel Schiller
5f1fd8f85f
fix(react-router): correctly handle hashes in redirect (#2543)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-14 18:25:13 +02:00
renovate[bot]
b7facfe13d
chore(deps): update all non-major dependencies (#2538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 08:13:07 +00:00
Tanner Linsley
ed07f048a8 release: v1.66.0 v1.66.0 2024-10-13 11:13:15 +00:00
Manuel Schiller
9637366922
feat(start): expose optimizeDeps config option (#2531) 2024-10-13 13:11:57 +02:00
autofix-ci[bot]
f829d5afa5
ci: apply automated fixes 2024-10-13 06:07:42 +00:00
narangkay
78f3ea1c05
Remove trailing comma to make json happy (#2527) 2024-10-13 08:06:47 +02:00
Tanner Linsley
3cc0c97c86 release: v1.65.0 v1.65.0 2024-10-12 21:15:34 +00:00