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

1,234 commits

Author SHA1 Message Date
autofix-ci[bot]
3d09332664
ci: apply automated fixes 2026-02-06 18:38:00 +00:00
Manuel Schiller
43b1e547ea feat: add plugins 2026-02-06 19:35:37 +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
Kræn Hansen
46ff9fa7de
docs: Update useLoaderData signature in fetching-external-api tutorial (#6419) 2026-01-19 21:35:34 +01: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
Manuel Schiller
1d99170163
feat: custom fetch impl via createStart (#6417) 2026-01-19 01:35:38 +01: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
Manuel Schiller
2d9193c25c
chore: bump deps (#6408)
Co-authored-by: Brenley Dueck <brenleydueck@gmail.com>
2026-01-18 02:14:48 +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
Nestor Cortina
7367ed82f0
docs: fix CLI command syntax in Solid Start getting started guide (#6386) 2026-01-16 19:06:56 -06:00
Manuel Schiller
5299f0be9f
feat: add Route.redirect and getRouteApi.redirect (#6373) 2026-01-14 21:50:58 +01:00
Tanner Linsley
d10e3e8311 vs doc 2026-01-14 00:11:46 -07:00
Manuel Schiller
bd40352134
feat: allow regex for indexToken and routeToken (#6354) 2026-01-11 12:38:48 +01:00
Tanner Linsley
e6862d1af9 docs: some best practices 2026-01-10 23:19:36 -07:00
Manuel Schiller
b1976d8669 docs: nitro-nightly 2026-01-11 02:50:13 +01:00
Tanner Linsley
2ea1abb9ef Merge branch 'main' of https://github.com/tanstack/router 2026-01-06 11:11:51 -07:00
Tanner Linsley
88b2911545 fix workos logo 2026-01-06 11:11:49 -07:00
Nik
83ccac49a2
docs: Fix typo in ClientOnly component documentation (#6314) 2026-01-06 08:10:46 +01:00
Júlio Mühlbauer
e77373fd05
docs: add i18n guide (#6219)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-06 02:12:10 +01:00
Manuel Schiller
71fc7a6c07
fix: generator improvements (#6296) 2026-01-04 18:40:34 +01:00
Zheng Song
834012645f
docs: remove duplicate console.info from beforeLoad example (#6134) 2026-01-03 20:05:17 -06:00
autofix-ci[bot]
59ade979f9
ci: apply automated fixes 2026-01-03 23:02:59 +00:00
Victor Turansky
00617a7e4c
docs(react) fix property name (path -> params) (#6280) 2026-01-04 00:01:39 +01:00
Shakil Ahmmed
a4e2eb7a17
docs: Fix typo in Next.js middleware description (#6283) 2026-01-04 00:00:43 +01:00
JP Erasmus
2fa4cfadf1
docs: Rename validator to inputValidator in fetch functions (#6245)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-30 02:06:45 +01:00
Tim
8e4cf5b08d
docs: typo about pathless layout routes in routing-concepts (#6214) 2025-12-26 00:57:56 +13:00
Tanner Linsley
650028588f
docs: public seo files and seo tracking (#6208)
* docs(seo): add static file options for robots.txt and sitemap.xml

Document that users can place static robots.txt and sitemap.xml files
in the public directory as a simpler alternative to server routes.

* docs(seo): add Nozzle.io recommendation for rank tracking

Add a "Track Your Rankings" section recommending Nozzle.io as a partner
tool for monitoring SEO performance and keyword rankings.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-23 22:30:17 -07:00
Tanner Linsley
43e9572a0e
docs: SEO/LLM optimization
* docs(start): add SEO guide for React and Solid frameworks

Add a comprehensive SEO guide that clarifies what SEO actually means
for developers and explains TanStack Start's technical SEO capabilities:

- Document head management (meta tags, titles, Open Graph)
- Server-side rendering for crawlability
- Static prerendering for performance
- Structured data (JSON-LD) for rich results
- Sitemap and robots.txt generation via server routes
- Best practices for technical SEO

This addresses the common misconception that SEO is just a checkbox,
explaining that it's about using available tools effectively.

* docs(start): add LLMO guide and cross-references with SEO guide

Add a comprehensive LLM Optimization (LLMO) guide for both React and
Solid frameworks, covering:

- What LLMO/AIO/GEO is and how it differs from traditional SEO
- Structured data (JSON-LD) for AI consumption
- Schema.org examples: Article, Product, Organization, FAQ
- Machine-readable API endpoints
- Content best practices for AI extraction
- llms.txt implementation
- Monitoring AI citations

Also adds cross-reference callouts between SEO and LLMO guides to help
users discover related content.

* ci: apply automated fixes

* docs(start): move SEO and LLMO guides to end of guides list

* docs(start): fix server route examples to use createFileRoute

Update SEO and LLMO guides to use createFileRoute with server.handlers
instead of createServerFileRoute for consistency across React and Solid.

* docs(start): document built-in sitemap and fix route file naming

- Add built-in sitemap generation with prerender + crawlLinks
- Show dynamic sitemap as alternative for dynamic content
- Fix escaped period syntax in file names: sitemap[.]xml.ts, robots[.]txt.ts, llms[.]txt.ts
- Add CDN caching recommendation for dynamic sitemaps

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-23 22:17:55 -07: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
Manuel Schiller
c05572ebbe
fix: streaming (#6175) 2025-12-22 00:13:49 +01:00
Nico Lynzaad
27d1c5ef04
refactor(router-generator): remove experimental nonnested paths (#6154)
* remove experimental non-nested from tests

* remove experimental non-nested from router-generator

* add underscore to list of disallowed escaped characters

* update docs

* fix tests
2025-12-20 14:24:43 +02:00
Tanner Linsley
5ae9461be0
docs: Create markdown import and rendering guide (#6150)
* docs(start): add guide for rendering markdown content

Add comprehensive guide covering two methods for importing and rendering
markdown in TanStack Start applications:
- Static markdown with content-collections for build-time loading
- Dynamic markdown fetched from GitHub or remote sources at runtime

Includes setup for unified/remark/rehype pipeline, code highlighting with
Shiki, and practical examples for blog posts and documentation pages.

* ci: apply automated fixes

* docs(start): add rendering-markdown to navigation config

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-19 11:55:20 -07:00
Tanner Linsley
8a791e229b Merge branch 'main' of https://github.com/tanstack/router 2025-12-16 12:37:37 -07:00
Tanner Linsley
03aa67f106 docs: add comparison to sidebar 2025-12-16 12:37:35 -07:00
autofix-ci[bot]
df5d76c66a
ci: apply automated fixes 2025-12-16 19:33:15 +00:00
Tanner Linsley
3f1c2bbcb1 docs: add comparison 2025-12-16 12:32:05 -07:00
Birk Skyum
4256268222
docs(solid-router): path-params - replace react with solid (#6103) 2025-12-15 20:24:54 +01:00