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

5,954 commits

Author SHA1 Message Date
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
Tanner Linsley
31427e0b9b release: v1.61.0 v1.61.0 2024-10-04 23:24:30 +00:00
SeanCassiere
bd6b6524bf
test(e2e): disable the start-basic-auth test as it has become flaky 2024-10-05 12:22:00 +13:00
Matthias Schwarz
9b2400b587
feat(history): expose length in RouterHistory (#2440)
* feat(history): expose length in `RouterHistory`

* 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:13:23 +13:00
Tanner Linsley
fcbc2f8a52 release: v1.60.0 v1.60.0 2024-10-04 23:06:05 +00:00
J. G. Sebring
fd53d037de
docs(start): enable strictNullChecks (#2467) 2024-10-05 12:03:55 +13:00
Fabian Hiller
c85008893a
feat(router-valibot-adapter): upgrade valibot to v1 (#2470)
* feat: upgrade valibot adapter to v1

* chore: bump valibot in the example

---------

Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-10-05 11:59:18 +13:00
renovate[bot]
8a848a4d3d
chore(deps): lock file maintenance (#2447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 22:50:46 +00:00
renovate[bot]
8c7aeb0689
chore(deps): update all non-major dependencies (#2396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 22:12:15 +00:00
Manuel Schiller
18210b8fcc
examples: upgrade framer-motion (#2473) 2024-10-04 22:56:33 +02:00
Tanner Linsley
431b288149 release: v1.59.0 v1.59.0 2024-10-04 19:55:37 +00:00
Manuel Schiller
da9b824be5
feat: allow to exclude routes from SSR (#2463) 2024-10-04 21:53:45 +02:00
Manuel Schiller
83bda81793
docs: correct API for route-masking (#2466) 2024-10-04 10:42:33 +02:00
Christopher Horobin
42a323b71d
chore: upgrade arktype (#2462) 2024-10-03 21:03:29 +02:00
Manuel Schiller
32ba7ed599
fix(react-router): check if strictNullChecks are enabled (#2457)
this flag is required for router typings to work properly. if it is not enabled, strange errors can occur.
2024-10-03 21:01:32 +02:00
Danya Olekh
8804d8b6f0
Examples: remove unnecessary <Suspense> (#2458)
Co-authored-by: Dan <Dan>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-03 17:38:54 +02:00
Dominic Garms
ed8cdfb63e
fix outdated navigation hint inside the docs (#2455) 2024-10-03 12:11:16 +02:00
Tanner Linsley
3765b1021f release: v1.58.17 v1.58.17 2024-10-03 05:28:53 +00:00
Christopher Horobin
c4cc47b092
fix: allow composite and createLink (#2453) 2024-10-03 07:27:03 +02:00