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

1,269 commits

Author SHA1 Message Date
Sheraff
b289fce844
Merge branch 'main' into refactor-signals 2026-03-09 23:02:07 +01:00
Manuel Schiller
31ed0a9648
fix: don't re-execute stale loaders on unrelated location changes (#6867)
* fix: don't re-execute stale loaders on unrelated location changes

* lint

* remove loaderKeyChanged

* from last

* inline staleMatchShouldReload

* update tests

* add test

* fix

* revert
2026-03-09 20:02:35 +01:00
Daniele
e5e0e79682
docs: update cli instruction (#6810) 2026-03-09 00:38:15 +01:00
Flo
b67526f6b1
Merge branch 'main' into refactor-signals 2026-03-07 20:47:16 +01:00
Chapman Cheng
4ea2a62787
docs: Update route file name in routing concepts (#6807)
fix: Update route file name in routing concepts

The code block title `src/routes/posts.tsx` does not match against the line above `posts.$postId.tsx`

This pr fixes this typo
2026-03-07 03:19:13 +01:00
Flo
a3e26a39c0
Merge branch 'main' into refactor-signals 2026-03-06 13:27:22 +01:00
Vitor Hilário
64dee75088
docs(start): add dynamic middleware section with authorization example (#6815)
* docs(start): add dynamic middleware section with authorization example

* docs(start): rename dynamic middleware to middleware factories

* ci: apply automated fixes

* docs(start): fix authMiddleware snippet in authorization example under middleware factories

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-05 19:46:46 +01:00
Sheraff
dcb32bad16
Merge branch 'main' into refactor-signals 2026-03-04 22:34:07 +01:00
Manuel Schiller
9c81d5ac57
fix: handle beforeLoad throwing notFound correctly (#6811) 2026-03-04 21:34:28 +01:00
Sheraff
4243c25fc1
Merge branch 'main' into refactor-signals 2026-03-03 12:19:58 +01:00
Manuel Schiller
190edb1a8d
feat: allow to set extension for route imports in generator (#6790) 2026-03-01 03:08:23 +01:00
Manuel Schiller
c099ebf204
fix: don't rely on syntheticNamedExports in import protection (#6758) 2026-02-25 02:08:23 +01:00
Manuel Schiller
95761bc4e3
feat: add excludeFiles to import-protection (#6757)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-25 00:50:40 +01:00
Valerii Petryniak
9a4161acff
docs: Fix frontmatter title field (#6753)
Fix frontmatter title field
2026-02-24 20:28:51 +01:00
JongKyung Lee
9fd7fb95c6
docs(router): add MaskOptions to Navigation documentation (#6625) 2026-02-24 20:06:53 +13:00
combab0
623cbb0de4
docs(router): fix typo in the path param guide for complex suffixes (#6738) 2026-02-24 19:56:39 +13:00
Manuel Schiller
851967c8b0
fix: import protection robustness (#6746)
* fix: import protection robustness

* handle onViolation in prod, make it potentially async

* review
2026-02-23 21:43:49 +01:00
Flo
f8cdec50f4
Merge branch 'main' into refactor-signals 2026-02-22 20:43:37 +01:00
Ulrich Stark
1870dc744f
docs: fix grammar and remove duplicate words (#6726) 2026-02-21 21:53:10 +01:00
Flo
95c3fe8fc9
Merge branch 'main' into refactor-signals 2026-02-21 20:37:31 +01:00
Ulrich Stark
31ae74fc72
docs: fix syntax error in create-route-property-order.md (#6711)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-21 03:47:05 +01:00
Flo
e821b277e9
Merge branch 'main' into refactor-signals 2026-02-20 12:54:05 +01:00
Sheraff
d2fc557704 remove cached and pending from RouterState 2026-02-20 12:48:09 +01:00
Sean Cassiere
8bdf8d6df7
docs: move the react-only guides to top-level and restrict in config.json (#6713)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-02-20 22:45:33 +13:00
Ulrich Stark
c87d84893b
docs: fix syntax error in create-route-property-order.md (#6699)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-19 23:56:55 +01:00
Ulrich Stark
149e760255
docs: add NotFoundError to lint exceptions and fix wording (#6701) 2026-02-19 23:55:46 +01:00
Manuel Schiller
711f3b858e
feat: import protection (#6688) 2026-02-18 01:16:30 +01:00
Pavan Shinde
c96fe3dc9f
docs: fix useCanGoBack link path (#6684) 2026-02-18 02:07:47 +13:00
Stefan Ollinger
cf5a26984d
docs: Fixed filenames (#6675)
Fixed filenames
2026-02-15 22:27:26 +01:00
SeanCassiere
027dc05817
docs(eslint): update installation to use unified tabbed markup 2026-02-16 00:11:24 +13:00
Sean Cassiere
e8c5dd0b11
docs(router): restructure docs to use the unified markdown syntax (#6665)
* docs: move overview page

* docs: move all top-level guides to use generic syntax

* make comparison generic

* apply coderabbit suggestions

* docs: move installation guides

* docs: move integrations

* docs: move routing

* docs: move router reference api

* docs: move guides

* docs: fixup links to guides from api reference

* docs: other fixups

* build(llms): LLM generation to account for doc structure change
2026-02-15 21:00:22 +13:00
Flo
6ddb5867cc
feat(router-core, react-router, solid-router, vue-router): isDangerousProtocol uses customizable allowlist (#6542) 2026-02-15 08:04:28 +01:00
Pavan Shinde
6ee158639e
docs(start): fix typos in React quick start (#6638) 2026-02-14 11:15:41 -06:00
Yuki Terashima
a8c786cbe0
docs(start): Update TanStack Builder link in getting started guide (#6641)
Update TanStack Builder link in getting started guide
2026-02-13 19:22:50 +01:00
Birk Skyum
641720f969
perf: revert to Response, and add docs regarding for FastResponse (#6618) 2026-02-09 14:06:44 +01:00
Manuel Schiller
06f3aeca0f
feat: add transformAssetUrls (#6606)
* feat: add transformAssetUrls

* fix docs

* stringify safely

* fix test

* fix
2026-02-07 02:01:46 +01:00
Alexander Zuev
172fa05573
docs: add Cloudflare Workers handlers section to server entry point (#6488)
* docs: add Cloudflare Workers handlers section to server entry point

* docs: append link to official Cloudflare Workers docs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* docs: reduce to link per reviewer feedback

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 23:15:11 +01:00
Shane
f7eaede2d1
docs: Add missing createMiddleware imports in documentation examples (#6500) 2026-02-03 21:12:15 -06:00
Alex Marinov
03c1165ac3
docs: update import statements for TanStack Router Vite plugin (#6575) 2026-02-03 21:09:58 -06:00
Pavan Shinde
5e30ea1f30
docs(start): fix typos in Solid quick start (#6571)
Co-authored-by: pavan-sh <pavan-sh@users.noreply.github.com>
2026-02-03 21:07:50 -06:00
Pavan Shinde
6049fd3c9b
docs(start): fix ISR guide link to data loading (#6585) 2026-02-03 21:03:52 -06:00
Xun Qilong
46fc1e9130
docs: rename route property to routeId in NotFoundErrorType.md (#6544)
docs: fix typo in NotFoundErrorType.md

rename 'route' property to 'routeId'

Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
2026-02-01 15:45:59 +02:00
Pavan Shinde
ec4a6fa88c
docs: fix duplicated word in document head management guide (#6565) 2026-02-01 12:28:00 +02:00
Alexander Schmid
5ae6217746
docs: Updated typo in internationalization-i18n.md (#6523)
* Updated typo in internationalization-i18n.md 

Optional path parameters typescript example had a typo (/abotu not /about).

* ci: apply automated fixes

* Fix typo in internationalization guide

reapply change that was undone by ci: apply automated fixes

---------

Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-27 00:19:24 +02:00
boda
3aa27d59a8
docs(router): URL encoding note on <Link/> and how to opt out (#6443)
* docs(router): Add URL encoding note on <Link/> and opt out with pathParamsAllowedCharacters

* Update docs/router/framework/react/api/router/linkComponent.md

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

* rabbit suggestion

* convert to link

* ci: apply automated fixes

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Nico Lynzaad <nlynzaad@zylangroup.com>
Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-24 15:00:59 +02: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
f5007fa161 docs: updates 2026-01-23 16:17:07 -07: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
Manuel Schiller
d4bbfa95d5
feat: static replacement of process.env.NODE_ENV during build (#6422) 2026-01-20 01:05:35 +01:00