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

6,494 commits

Author SHA1 Message Date
Tanner Linsley
4b271eba06 release: v1.157.2 v1.157.2 2026-01-24 12:52:02 +00:00
Manuel Schiller
cc01174e78
refactor: react link ssr perf (#6482)
* ```
[1] 52k requests in 30.01s, 652 MB read
[1]
[1] === SSR Benchmark Results ===
[1] Total requests: 48512
[1] Requests/sec: 1617.07
[1] Latency (avg): 3.85ms
[1] Latency (p99): 12ms
[1] Throughput: 20.72 MB/s
```

* ```
[1] 53k requests in 30.01s, 672 MB read
[1]
[1] === SSR Benchmark Results ===
[1] Total requests: 50006
[1] Requests/sec: 1666.87
[1] Latency (avg): 3.67ms
[1] Latency (p99): 11ms
[1] Throughput: 21.36 MB/s
```

* fix merge conflicts

* rules of hooks

* ci: apply automated fixes

* unify "safe internal" behavior between server and client

* fix possible hydration mismatch

* better fix for active hash hydration mismatch

---------

Co-authored-by: Sheraff <fpellet@ensc.fr>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-24 13:37:18 +01:00
Tanner Linsley
72fc45e0b5 release: v1.157.1 v1.157.1 2026-01-24 12:10:56 +00:00
Manuel Schiller
3e48ef7fc9
chore: stabilize tests (#6486) 2026-01-24 13:08:29 +01:00
Manuel Schiller
b953e000fb
refactor: no additional package for isServer (#6485)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-24 12:54:18 +01:00
Flo
cfbbcd556c
refactor(router-core): skip URL constructor in buildLocation (#6447) 2026-01-24 11:42:55 +01:00
Tanner Linsley
16263c4a04 release: v1.157.0 v1.157.0 2026-01-24 10:31:03 +00:00
Manuel Schiller
e79ad7e052
feat: add isServer (#4648)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-24 11:28:54 +01:00
Philippe Serhal
6ff1190bdc
chore: add source() to Tailwind v4 imports to ensure consistent hashing (#6459)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 01:49:12 +01:00
Tanner Linsley
4a47c9f36d release: v1.156.0 v1.156.0 2026-01-23 23:50:00 +00:00
Manuel Schiller
ad084d4ecf
feat: cache routeTree on the server in-between requests (#6475)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-24 00:37:19 +01:00
Flo
e190d8dbb9
test(react-start): more reliable autocannon config (#6476) 2026-01-24 00:36:42 +01:00
Flo
f26cf54a9b
refactor(router-core): buildLocation performance by simplifying 'from' location parsing (#6464)
* refactor(router-core): buildLocation performance by simplifying 'from' location parsing

* share param parsing code

* cleanup

* swallow errors

* do not reuse cached search

* validate search instead of middlewares in matchRoutesLightweight

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-24 00:28:44 +01:00
Tanner Linsley
841b5980e4 Merge branch 'main' of https://github.com/tanstack/router 2026-01-23 16:17:09 -07:00
Tanner Linsley
f5007fa161 docs: updates 2026-01-23 16:17:07 -07:00
Tanner Linsley
e5c8ab0cac release: v1.155.0 v1.155.0 2026-01-23 22:41:24 +00:00
Flo
5de0f91050
refactor(router-core): improve interpolatePath performance by pre-compiling a single regex decoder (#6471) 2026-01-23 23:29:08 +01:00
Flo
12a7288536
refactor(router-core): improve parseSegment performance, parse without regex (#6470)
* refactor(router-core): improve parseSegment performance, parse without regex

* woops forgot this during cleanup
2026-01-23 23:28:26 +01:00
Flo
6c1e215ea3
feat(router-generator): param name syntax check and warn (#6472)
* feat(router-generator): param name syntax check and warn

* ci: apply automated fixes

* better tests

* ci: apply automated fixes

* cleanup vi spy

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-23 23:27:50 +01:00
Flo
e5f59f4cfc
feat(eslint-plugin-router): route param name rule (#6473)
* feat(eslint-plugin-router): route param name rule

* ci: apply automated fixes

* remove support for magic pathless file routes

* ci: apply automated fixes

* coderabbit said so

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-23 23:17:20 +01:00
Tanner Linsley
20d830eac8 release: v1.154.14 v1.154.14 2026-01-23 15:52:37 +00:00
Flo
f054c0c921
fix: revert "refactor: don't reparse upon navigation (#6398)" (#6468)
Revert "refactor: don't reparse upon navigation (#6398)"

This reverts commit 6cbd96e357.
2026-01-23 16:50:10 +01:00
Flo
a3c4854c4c
test(react-start): flame perf setup uses pure nitro, no express layer (#6463) 2026-01-23 12:08:49 +01:00
Tanner Linsley
bdae047acb release: v1.154.13 v1.154.13 2026-01-23 11:04:06 +00:00
Flo
21ab49c799
refactor(router-core): search middleware performance (#6462) 2026-01-23 12:01:39 +01:00
Tanner Linsley
9f5cb846da release: v1.154.12 v1.154.12 2026-01-22 22:38:27 +00:00
Flo
655496fc20
refactor(router-core): skip full matchRoutesInternal for Link's buildLocation, use simple getMatchedRoutes (#6445) 2026-01-22 23:24:56 +01:00
Tanner Linsley
7699e22534 release: v1.154.11 v1.154.11 2026-01-22 22:20:48 +00:00
Manuel Schiller
70c81b3920
fix(router-generator): respect explicit virtual route siblings (#6458) 2026-01-22 23:18:13 +01:00
Flo
d0b472e469
test(react-start): benchmarking setup w/ platformatic/flame and autocannon (#6457) 2026-01-22 21:55:39 +01:00
Tanner Linsley
55706bd3e1 release: v1.154.10 v1.154.10 2026-01-22 20:25:27 +00:00
Flo
5d600702fd
refactor(react-router): Link component self time improvements by removing 'delete' (#6456) 2026-01-22 21:21:31 +01:00
Tanner Linsley
9cda818f0e release: v1.154.9 v1.154.9 2026-01-22 17:22:15 +00:00
Flo
ef3486cd63
fix(solid-router): skip URL parsing for safe 'to' props (#6453) 2026-01-22 18:04:07 +01:00
Tanner Linsley
57e2508ae2 release: v1.154.8 v1.154.8 2026-01-22 14:49:21 +00:00
Flo
850b963507
refactor(router-core): getEnumerableOwnKeys fast path for 'no symbol key' common case, 6-11% faster replaceEqualDeep (#6448) 2026-01-22 15:47:01 +01:00
Flo
b65984ec3e
test(react-router): fix store-updates flakiness (#6454) 2026-01-22 14:57:11 +01:00
Tanner Linsley
0592d49f33 release: v1.154.7 v1.154.7 2026-01-22 02:41:27 +00:00
Birk Skyum
19a92c5d87
update h3 nitro srvx seroval (#6449) 2026-01-22 02:14:13 +01:00
Tanner Linsley
efc425f949 release: v1.154.6 v1.154.6 2026-01-21 22:57:52 +00:00
Nico Lynzaad
60a30fc59a
fix(react-start): Apply Link active properties correctly on SSR when including hash (#6421)
* react: fix link active hash reactivity on SSR

* update and align tests

* remove unnecessary change

* better address react re-renders and update tests

* add tests for vue

* react: add comment on reason for useSyncExternalStore usage

* solid: revert prior fix and update tests

* react: revert unnecessary change

* react: use useHydrated

* react: cleanup
2026-01-22 00:55:28 +02:00
Tanner Linsley
e9c7518e68 release: v1.154.5 v1.154.5 2026-01-21 19:39:00 +00:00
Flo
068f0d17e8
fix(router-core): skip URL parsing for safe 'to' props (#6442) 2026-01-21 20:26:26 +01:00
Tanner Linsley
9939b0297a release: v1.154.4 v1.154.4 2026-01-21 19:14:27 +00:00
Manuel Schiller
97a1cc7590
fix: handle literal paths upon navigation (#6440)
fixes #6435
2026-01-21 20:02:05 +01:00
Tanner Linsley
49fd3f7ce6 release: v1.154.3 v1.154.3 2026-01-21 18:53:53 +00:00
Flo
0b2fcefdce
fix(router-core): pathless nodes do not consume path segments during param extraction (#6437)
* fix(router-core): pathless nodes do not consume path segments during param extraction

* woops, didnt mean to commit this

* better tests, and better solution

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-21 19:51:24 +01:00
Tanner Linsley
79882abf30 release: v1.154.2 v1.154.2 2026-01-21 17:10:49 +00:00
Flo
8dd35b16e4
fix(router-core): skipOnParamError on index route should still allow mathing other node types beyond it on error (#6436) 2026-01-21 18:08:42 +01:00
Tanner Linsley
b3b9d15fa5 release: v1.154.1 v1.154.1 2026-01-21 11:29:06 +00:00