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

6,622 commits

Author SHA1 Message Date
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
Manuel Schiller
d2b28c3b02
feat(generator): check if route configuration contains duplicate paths (#2525) 2024-10-12 23:14:12 +02:00
Manuel Schiller
6b52c3689c docs: remove outdated section 2024-10-12 22:09:33 +02:00
Manuel Schiller
8d3d1091c3
chore: add eslint rule for unused imports (#2523) 2024-10-12 22:06:33 +02:00
Manuel Schiller
cf61cd4e41
chore(start): cleanup dependencies (#2522) 2024-10-12 21:48:37 +02:00
Tanner Linsley
5eb3ae05cd release: v1.64.3 v1.64.3 2024-10-12 16:16:34 +00:00
Manuel Schiller
581bd1dda8
fix(react-router): populate result of validateSearch into URL when navigating (#2518)
fixes #2496
2024-10-12 18:12:32 +02:00
Tanner Linsley
2851c835e8 release: v1.64.2 v1.64.2 2024-10-12 08:44:40 +00:00
Manuel Schiller
05fa363458
perf(react-router): early exit for Link's isActive (#2517) 2024-10-12 10:40:46 +02:00
Tanner Linsley
f106d98ae4 release: v1.64.1 v1.64.1 2024-10-12 08:37:13 +00:00
Manuel Schiller
da102e5bf5
perf(react-router): improve location building performance (#2516) 2024-10-12 10:35:46 +02:00
Bardur
63562e8553
docs: add missing spaces for comments in the installation guide (#2502) 2024-10-10 14:16:22 +13:00
Tanner Linsley
75c048b76e release: v1.64.0 v1.64.0 2024-10-09 20:20:06 +00:00
Manuel Schiller
a82bfa1e11
feat(router-generator): allow virtual file routes without file names (#2500) 2024-10-09 22:17:19 +02:00
Sean Cassiere
ac39caa8db
docs: less disruptive file-based routing guide regarding virtual routes (#2497) 2024-10-09 22:09:05 +13:00
Manuel Schiller
1a714f1346
fix(router-generator): html files per bundler (#2494)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-08 22:57:31 +02:00
Thomas Aunvik
ecd9a17b06
fix(create-router): Specify html template used by rspack (#2493) 2024-10-08 22:20:08 +02:00
Tanner Linsley
5da8c9b1c6 release: v1.63.5 v1.63.5 2024-10-08 19:55:42 +00:00
Manuel Schiller
5888b06eb0
fix(router-generator): do not log emojis when process.env.CI is set (#2492) 2024-10-08 21:53:12 +02:00
Tanner Linsley
7ff37871e6 release: v1.63.4 v1.63.4 2024-10-08 17:52:56 +00:00
Manuel Schiller
d16a5364bf
fix(react-router): only execute context when params or loader deps change (#2482)
* fix(react-router): only execute `context` when params or loader deps change

also do not pass search params into `context`, only `loaderDeps` (in analogy to `loader`)

* fix(eslint-plugin-router): update rule `create-route-property-order` to reflect `context` being dependent on `loaderDeps`

* fix(react-router): only execute `context` when necessary

* add tests
2024-10-08 19:24:18 +02:00
Manuel Schiller
70bce305cc
fix(react-router): do not copy id from lazy route over to non-lazy route (#2490)
fixes #2400
2024-10-08 19:23:41 +02:00
Tanner Linsley
77c1acdcd9 release: v1.63.3 v1.63.3 2024-10-08 09:47:15 +00:00
Miguel O. Carvajal
37b3194098
fix(start): allow specifying vinxi experimental options (#2491) 2024-10-08 22:41:15 +13:00
Tanner Linsley
b361d147b7 release: v1.63.2 v1.63.2 2024-10-07 22:50:39 +00:00
Izzy Chen
5edf465850
fix(react-router): fix matchPathname with basepath (#2443) 2024-10-08 00:46:20 +02:00
Tanner Linsley
661671f9b6 release: v1.63.1 v1.63.1 2024-10-07 21:54:42 +00:00
Igor Golovin
2685a66a2e
fix(react-router): do not unnecessarily render notFoundComponent (#2480)
Co-authored-by: Igor Golovin <igolovin@natera.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-07 23:50:50 +02:00
Tanner Linsley
6c7258a2bc release: v1.63.0 v1.63.0 2024-10-07 21:25:09 +00:00
Christopher Horobin
f48dd37b35
feat: add linkOptions for re-usable props (#2486)
* feat: add `linkOptions` for re-usable props

* chore: change examples

* docs: add docs for `linkOptions`

* tests: add type tests for `linkOptions`

* chore: fix spelling

* chore: update docs and make `const`
2024-10-07 23:22:47 +02:00
renovate[bot]
21743e263d
chore(deps): update all non-major dependencies (#2488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 04:06:00 +00:00
Tanner Linsley
193b72ab24 release: v1.62.1 v1.62.1 2024-10-06 07:00:06 +00:00
Manuel Schiller
0f1b17c930
fix(react-router): reset invalid status of route after loader ran again (#2483) 2024-10-06 08:57:43 +02:00
Tanner Linsley
2ba59e777b release: v1.62.0 v1.62.0 2024-10-05 14:07:36 +00:00
Manuel Schiller
d6af29ea4e
feat: add default setting for ssr in router (#2477) 2024-10-05 16:06:17 +02:00
Manuel Schiller
69f02b37d4
chore: update deps (#2475) 2024-10-05 15:12:30 +02:00
Tanner Linsley
77f1401a3d release: v1.61.1 v1.61.1 2024-10-05 00:32:43 +00:00
Robin Hos
b3a4df3398
fix(start): use client base config value to get client vite manifest path (#2437)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-10-05 02:29:21 +02:00
Matthias Schwarz
fa92a0e331
fix(history): correctly handle history state in createMemoryHistory (#2442)
* fix(history): correctly handle history state in `createMemoryHistory`

* ci: apply automated fixes

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-10-05 12:28:47 +13:00