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

111 commits

Author SHA1 Message Date
Manuel Schiller
9c81d5ac57
fix: handle beforeLoad throwing notFound correctly (#6811) 2026-03-04 21:34:28 +01:00
Manuel Schiller
d445986542
feat: support split base and basepath in TanStack Start dev server (#6792) 2026-03-01 18:35:46 +01:00
Manuel Schiller
4ec6f50d3b
chore: stabilize tests (#6492) 2026-02-20 01:11:21 +01:00
Birk Skyum
965d95f3b8
chore: bump srvx 0.11.2 -> 0.11.7 (#6705)
srvx 0.11.7
2026-02-19 21:41:56 +01:00
Birk Skyum
88161bd480
chore: update srvx to 0.11.2 and h3-v2 to rc.14 (#6608) 2026-02-07 03:28:50 +01:00
Nico Lynzaad
972d347b8e
fix(solid-start): make Link active class reactive for include hash (#6607)
solid-start: make Link active class reactive for include hash
2026-02-07 04:06:41 +02:00
Manuel Schiller
b5b4079ded
fix: do not pass signal into server function (#5470)
* fix: do not pass signal into server function

* fix test

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-05 22:48:04 +01:00
Manuel Schiller
3e48ef7fc9
chore: stabilize tests (#6486) 2026-01-24 13:08:29 +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
Birk Skyum
19a92c5d87
update h3 nitro srvx seroval (#6449) 2026-01-22 02:14:13 +01: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
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
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
Manuel Schiller
2d9193c25c
chore: bump deps (#6408)
Co-authored-by: Brenley Dueck <brenleydueck@gmail.com>
2026-01-18 02:14:48 +01:00
Manuel Schiller
114f53b7ef
fix: make nonce accessible in headers (#6359) 2026-01-18 00:55:41 +01: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
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
Manuel Schiller
bbfa5d330a
fix: properly handle sass in dev styles (#6372)
* fix: properly handle sass in dev styles

* fix: move CSS middleware to pre-phase for plugin order independence

* deps

* fix race condition

* format
2026-01-12 21:24:12 +01:00
Manuel Schiller
538285cb79
fix: dev style with non runnable dev environments and basepath support (#6348) 2026-01-10 14:51:33 +01:00
Manuel Schiller
4eada7ac93 chore: force vite dependency optimization by using a warmup request in CSS dev tests 2026-01-10 04:11:57 +01:00
Manuel Schiller
5e0ab7a050
feat: collect styles in dev (#6343) 2026-01-10 04:07:23 +01:00
Jakob Norlin
a1324bb155
fix: navigate() with href containing basepath (#6335)
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2026-01-08 23:33:41 +01:00
Birk Skyum
5438653d7e
bump srvx 0.10.0 (#6257)
* bump srvx 0.10.0

* adjust types

* lint
2025-12-30 17:36:17 +01:00
Birk Skyum
d2b3fa184b
test(vue-start, solid-start): temp remove flaky raw stream tests (#6254) 2025-12-30 11:51:26 +01:00
Birk Skyum
325c35624a
test(vue-start, solid-start): raw sync tests (#6234) 2025-12-30 02:05:43 +01:00
Manuel Schiller
af9ef262a9
fix: revert rewrite fix (#6211) 2025-12-25 00:21:29 +01:00
Manuel Schiller
17c07d9369
fix: rewrite causes infinite redirects (#6201) 2025-12-23 12:37:09 +01:00
Manuel Schiller
3c994c47a8
fix: serial head execution (#6093) 2025-12-23 03:21:30 +01:00
Ulrich Stark
948c4fb045
refactor(router-core): deprecate json function in favor of standard Response.json function (#6181) 2025-12-22 19:44:04 +01:00
Birk Skyum
6839bfb1a0
docs: move to tailwind 4 w/ vite (#6168) 2025-12-21 04:13:49 +01:00
Birk Skyum
c68aff71d1
test(vue-start): basic-cloudflare, basic-auth (#6137) 2025-12-18 12:10:37 +01:00
Manuel Schiller
11d26ad0f5
fix: bump srvx (#6128)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-17 21:04:54 +01:00
Manuel Schiller
20aac85d7f
fix: compare rewritten url to decide if server needs to redirect (#6072) 2025-12-12 20:28:58 +01:00
Lachlan Collins
43fd1328c5
fix: full npm registry URLs, sync package versions (#6035)
* Update repository URLs

* Start sherif fixes

* Fic CI
2025-12-07 11:37:18 +11:00
Birk Skyum
430f268e50
test(start): test that multiple Set-Cookie headers are not lost during redirect (#5978) 2025-11-26 21:37:56 +01:00
Manuel Schiller
369a09b850
fix: no remounting with ssr:false (#5964) 2025-11-25 21:05:23 +01:00
Birk Skyum
6e0de0a6cd
format: add missing .prettierignore files (#5951)
* format: worker-configuration

* cleanup

* ci: apply automated fixes

* delete generated files

* add worker-configuration.d.ts to gitignore

* prettierignore

* revert

* add missing prettier ignore files

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-24 11:29:31 +01:00
Tanner Linsley
a8b23bf742 release: v1.139.3 2025-11-23 00:39:36 +00:00
Manuel Schiller
2fd4cbaa18
fix: allow to override serverfn method when using factories (#5938)
* fix: allow to override serverfn method when using factories

fixes: #5872

* solid e2e test

* format unrelated file
2025-11-22 10:53:50 +01:00
Tanner Linsley
ab676cb44f release: v1.139.2 2025-11-22 00:54:59 +00:00
autofix-ci[bot]
03e718b3cf
ci: apply automated fixes 2025-11-22 00:39:30 +00:00
Tanner Linsley
c347f78511 release: v1.139.1 2025-11-21 23:05:44 +00:00
autofix-ci[bot]
c3af4b8433
ci: apply automated fixes 2025-11-21 03:20:32 +00:00
Tanner Linsley
3e6e9e79cc release: v1.139.0 2025-11-20 21:01:48 +00:00
autofix-ci[bot]
e59d8cd2b8
ci: apply automated fixes 2025-11-20 20:35:34 +00:00
Birk Skyum
d2e9e396ac
chore: bump seroval 1.4.0 (#5924) 2025-11-20 21:34:38 +01:00
Tanner Linsley
282cefb7e1 release: v1.138.0 2025-11-20 18:59:28 +00:00
Edmund Hung
9da55170e9
feat: prerender with vite preview server (#5921) 2025-11-20 19:46:52 +01:00
Birk Skyum
5e7ad4812a
update start-basic-auth project to prisma 7 (#5911)
* update solid-start auth example to prisma 7

* fix prisma example

* update solid-start e2e

* update e2e/example

* ci: apply automated fixes

* lock

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-20 19:44:02 +01:00
Birk Skyum
f139f1e2bd
docs: add vite preview to start e2e/examples (#5918) 2025-11-20 05:38:01 +01:00