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

6,555 commits

Author SHA1 Message Date
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
Flo
9c934b7891
fix(router-core): correct splat param extraction after a skipped optional param (#6434) 2026-01-21 12:27:02 +01:00
Tanner Linsley
621a79c894 docs: url rewrites 2026-01-20 15:12:19 -07:00
Manuel Schiller
aced5f6121 docs: remove outdated 2026-01-20 01:38:44 +01:00
Tanner Linsley
d75317efa1 release: v1.154.0 v1.154.0 2026-01-20 00:12:35 +00:00
Manuel Schiller
d4bbfa95d5
feat: static replacement of process.env.NODE_ENV during build (#6422) 2026-01-20 01:05:35 +01:00
Tanner Linsley
11b0fc9718 release: v1.153.2 v1.153.2 2026-01-19 22:13:08 +00:00
Manuel Schiller
6cbd96e357
refactor: don't reparse upon navigation (#6398) 2026-01-19 23:00:21 +01:00
Kræn Hansen
46ff9fa7de
docs: Update useLoaderData signature in fetching-external-api tutorial (#6419) 2026-01-19 21:35:34 +01:00
Tanner Linsley
6b4eca5f7c release: v1.153.1 v1.153.1 2026-01-19 14:42:33 +00:00
Nico Lynzaad
3da0227067
fix: encoded url hash fragment matching (#6416)
* decode hash

* ci: apply automated fixes

* cleanup

* revert change to basic-rsc

* add note in docs about hash fragment

* ci: apply automated fixes

* code rabbit suggestion

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-01-19 16:39:48 +02:00
Tanner Linsley
a857c3bd22 release: v1.153.0 v1.153.0 2026-01-19 00:38:30 +00:00
Manuel Schiller
1d99170163
feat: custom fetch impl via createStart (#6417) 2026-01-19 01:35:38 +01:00
Tanner Linsley
e451672335 release: v1.152.0 v1.152.0 2026-01-18 19:35:38 +00:00
Manuel Schiller
5f6ae58d8b
feat: allow custom fetch impl for server functions (#6327)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-18 20:29:01 +01:00
Tanner Linsley
da2ee20dda release: v1.151.6 v1.151.6 2026-01-18 18:12:14 +00:00
Nico Lynzaad
9196ae45b7
fix(start): normalize path encoding (#6389)
* fix encoding and update tests

rework fix and tests

* refine solution

* revert unnecessary change

* fix tests

* resolve pre-render test issues

* refine comment on normalization requirement

* cleanup: remove unnecessary imports

* code rabbit suggestions

* revert merge issues in createStartHandler.ts

* Avoid decoding query/hash

* apply solution to router-ssr also

* add test for getNormalizedURL to handle URLs correctly

* enhance getNormalizedURL tests

* handle malformed paths

* build pathname using url parts

* handle backslash encoding in URL normalization

* additional tests

* refine match error handling
2026-01-18 20:10:11 +02:00
Tanner Linsley
2e38ad48a2 release: v1.151.5 v1.151.5 2026-01-18 11:35:00 +00:00
Manuel Schiller
1d7d9afeff
fix(router-generator): fix parent resolution logic (#6412) 2026-01-18 12:03:27 +01:00
Tanner Linsley
bf55d8b6fd release: v1.151.4 v1.151.4 2026-01-18 10:45:48 +00:00
Manuel Schiller
8e938c44d4
fix: detect plugin order mismatch (#6411) 2026-01-18 11:41:04 +01:00
Tanner Linsley
17045eb011 release: v1.151.3 v1.151.3 2026-01-18 08:26:27 +00:00
Jose Cantu
02839b3132
fix(start-client-core): allow middleware to catch server function handler errors (#6392)
fix(start-client-core): allow middleware to catch server function handler errors (#6381)
2026-01-18 09:08:10 +01:00
Manuel Schiller
2d9193c25c
chore: bump deps (#6408)
Co-authored-by: Brenley Dueck <brenleydueck@gmail.com>
2026-01-18 02:14:48 +01:00
Tanner Linsley
c25e790d45 release: v1.151.2 v1.151.2 2026-01-18 00:23:44 +00:00
Manuel Schiller
abb82160eb
fix: Commit context together with status to avoid race condition (#6407) 2026-01-18 01:01:03 +01:00
Manuel Schiller
9c80d96959 fix lockfile 2026-01-18 00:58:46 +01:00
Manuel Schiller
114f53b7ef
fix: make nonce accessible in headers (#6359) 2026-01-18 00:55:41 +01:00
Tanner Linsley
a7460293ca release: v1.151.1 v1.151.1 2026-01-17 19:48:10 +00:00
Brenley Dueck
76074cfd85
fix: useBlocker does not work with memoryHistory (#6406) 2026-01-17 20:35:16 +01:00
Tanner Linsley
7a140d9ac8 release: v1.151.0 v1.151.0 2026-01-17 16:24:56 +00:00
Manuel Schiller
b42f84a4f6
fix: fullpath handling (#6404)
* fix: fullpath handling

fixes #6403
fixes #2675
fixes #4892

* add type test

* preserve / for index routes

* fix  #3005

* fix tests
2026-01-17 17:21:10 +01:00
autofix-ci[bot]
c22e38730f
ci: apply automated fixes 2026-01-17 15:57:39 +00:00
Aldo D'Aquino
786a58b942
docs: fix typo in markdown rendering (#6405) 2026-01-17 16:56:34 +01:00
JiSeop Park
1f5931561b
fix(router-core): prevent search params mutation in middlewares (#6397) 2026-01-17 16:56:21 +01:00
hokkyss
0a5aeb628e
feat(start-core): add method and serverFnMeta property to ServerFnCtx (#6394)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-17 16:17:20 +01:00
Nestor Cortina
7367ed82f0
docs: fix CLI command syntax in Solid Start getting started guide (#6386) 2026-01-16 19:06:56 -06:00
Tanner Linsley
86605e3858 release: v1.150.0 v1.150.0 2026-01-14 21:09:50 +00:00
Manuel Schiller
5299f0be9f
feat: add Route.redirect and getRouteApi.redirect (#6373) 2026-01-14 21:50:58 +01:00
Tanner Linsley
0ca572b22e Merge branch 'main' of https://github.com/tanstack/router 2026-01-14 00:11:48 -07:00