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

251 commits

Author SHA1 Message Date
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
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
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
Ulrich Stark
1870dc744f
docs: fix grammar and remove duplicate words (#6726) 2026-02-21 21:53:10 +01:00
Manuel Schiller
711f3b858e
feat: import protection (#6688) 2026-02-18 01:16:30 +01: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
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
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
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
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
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
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
Tanner Linsley
d10e3e8311 vs doc 2026-01-14 00:11:46 -07: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
88b2911545 fix workos logo 2026-01-06 11:11:49 -07: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
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
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
s-r-x
2c40790b51
docs: fix createMiddleware usage examples in "Observability" guide (#6095) 2025-12-14 23:05:13 +01:00
autofix-ci[bot]
f9be760991
ci: apply automated fixes 2025-12-12 07:01:36 +00:00
Tanner Linsley
d8377c0d69 doc updates 2025-12-12 00:00:22 -07:00
Shinya Fujino
98dc05073d
docs: fix database guide example to match Server Functions API (#5716) 2025-12-08 20:37:51 +01:00
Shinya Fujino
aac462109e
docs: fix typo and clarify generateFunctionId example (#5728) 2025-12-06 19:23:19 +01:00
Shinya Fujino
5fa2cd37ca
docs(start): update the "reading-writing-file" tutorial (#6031) 2025-12-07 01:44:03 +13:00
Yavnik Sharma
3d20d30579
docs: remove gitignore suggestion for generated route tree file (#6025)
docs: remove gitignore suggestion for generated routing files in start docs
2025-12-05 22:05:19 +01:00
Lachlan Collins
15f8e9c4b5
docs: correct local relative links (#6027)
* docs: correct local relative links

* Missing fixes

* Fix lockfile
2025-12-05 22:39:47 +11:00
Shruti Kapoor
e41cdf2dfb
Small update to guide on fetching external API (#5900)
* small fix to server function

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-25 11:22:08 -08:00
Birk Skyum
d2f7ff44de
docs: link to react example 2025-11-25 16:38:58 +01:00