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

6,642 commits

Author SHA1 Message Date
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
Bonnie Schulkin
038d0dc8a3
docs(examples): Remove 'VITE_' from environment variables to match code in supabase.ts (#6224)
Remove 'VITE_' from environment variables to match code in supabase.ts

Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
2026-01-02 15:24:50 +02:00
Tanner Linsley
be4764c923 release: v1.145.3 v1.145.3 2025-12-30 17:43:43 +00:00
Manuel Schiller
062faf40ac
fix: prerendering (#6256) 2025-12-30 18:41:44 +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
Tanner Linsley
c24d12a68f release: v1.145.2 v1.145.2 2025-12-30 11:02:18 +00:00
Birk Skyum
d2b3fa184b
test(vue-start, solid-start): temp remove flaky raw stream tests (#6254) 2025-12-30 11:51:26 +01:00
Manuel Schiller
78d626fd56
fix(router-generator): fix layout/index conflict in virtual physical(… (#6252) 2025-12-30 03:17:12 +01:00
Manuel Schiller
9c8b9b6567
fix: Fix conflicting paths error when lazy loading layout and index r… (#6251)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-30 03:16:42 +01:00
Tanner Linsley
2b627b450f release: v1.145.1 v1.145.1 2025-12-30 01:55:32 +00:00
Manuel Schiller
baa3d1dc29
fix: Fix escape sequence handling for routes defined in __virtual.ts files (#6250) 2025-12-30 02:36:26 +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
Birk Skyum
325c35624a
test(vue-start, solid-start): raw sync tests (#6234) 2025-12-30 02:05:43 +01:00
Manuel Schiller
2372aa3ea0
chore: bump dep (#6249) 2025-12-30 01:59:44 +01:00
Tanner Linsley
4db7f8c0a0 release: v1.145.0 v1.145.0 2025-12-27 20:47:35 +00:00
Caleb Cox
337b740cb9
feat: enable async serverFn validation (#5583) 2025-12-27 17:25:08 +01:00
Tanner Linsley
c23dec43fd release: v1.144.0 v1.144.0 2025-12-27 14:59:18 +00:00
Manuel Schiller
680671cce8
feat: RawStream (#6231)
* feat: RawStream

* framed json response is not newline split

* avoid code duplication in tests

* actually defer promise

* fix empty stream

* hardening

* optimization

* stream counter

* fix cancellation

* lint

* fix test

* stabilize tests

* stabilize tests

* fix(e2e): add hydration delay for SSR mixed stream test

In CI, hydration takes longer so reader.read() can hang if called
before seroval's stream factory connects callbacks. 100ms delay
ensures stream is ready to be consumed.

* skip test when prerendering
2025-12-27 15:57:16 +01:00
Tanner Linsley
5a6664742d release: v1.143.12 v1.143.12 2025-12-27 00:08:27 +00:00
Tanner Linsley
a289d71f3d
fix: refactor middleware (#5517)
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-12-27 01:06:32 +01:00
Tanner Linsley
e90e720a9e release: v1.143.11 v1.143.11 2025-12-26 01:35:17 +00:00
Manuel Schiller
aa208f1c25
fix: use React.use if available (#6229) 2025-12-26 02:16:56 +01:00
Manuel Schiller
7d598a1e2d
chore: bump babel-dead-code-elimination (#6228) 2025-12-26 02:11:04 +01:00
Tanner Linsley
f22b44a12a release: v1.143.10 v1.143.10 2025-12-26 00:26:49 +00:00
JP Erasmus
1d03f1ee35
fix: update sitemap build condition to check for sitemap.enabled instead of pages length (#6227) 2025-12-26 01:16:02 +01:00
Tanner Linsley
bf152cfc19 release: v1.143.9 v1.143.9 2025-12-25 23:15:26 +00:00
Manuel Schiller
767e4a98fc
refactor: only handle createServerFn (#6226)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-26 00:12:28 +01:00
Tanner Linsley
5463487d21 release: v1.143.8 v1.143.8 2025-12-25 18:17:59 +00:00
Manuel Schiller
ca1d24eb17
fix: createIsomorphicFn compilation (#6220) 2025-12-25 19:15:14 +01:00
Tanner Linsley
71e560d9fd release: v1.143.7 v1.143.7 2025-12-25 14:22:47 +00:00
Kyle
94160c7d68
fix: whitespace in server function .handler() not matching compiler regex (#6216)
* fix: detect .handler() when separated by whitespace

* fix: also match createServerFn(

* fix: use word boundary for createServerFn regex

* make regex more permissive

---------

Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-12-25 15:12:46 +01:00
yanghuidong
a6ec38952a
chore: move eslint-plugin-solid to devDependencies in solid-router-ssr-query (#6212)
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-25 14:32:31 +01:00
Tim
8e4cf5b08d
docs: typo about pathless layout routes in routing-concepts (#6214) 2025-12-26 00:57:56 +13:00
Tanner Linsley
2f46e9b242 release: v1.143.6 v1.143.6 2025-12-24 23:23:25 +00:00
Manuel Schiller
af9ef262a9
fix: revert rewrite fix (#6211) 2025-12-25 00:21:29 +01:00
Tanner Linsley
aa68f71feb release: v1.143.5 v1.143.5 2025-12-24 22:43:26 +00:00
Manuel Schiller
7f0b79cb83
refactor: consolidate start compiler (#6210) 2025-12-24 23:39:46 +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
Tanner Linsley
80e43afce0 release: v1.143.4 v1.143.4 2025-12-23 23:43:29 +00:00
Nico Lynzaad
6ea81b47f7
fix(router-core): make navigate publicHref Aware (#6205)
* update navigate to use publicHref when reload document

* resolve codeRabbit nitpick

* mark publicHref prop as internal
2025-12-24 01:41:22 +02:00
Tanner Linsley
73315f1b3e release: v1.143.3 v1.143.3 2025-12-23 11:39:18 +00:00
Manuel Schiller
17c07d9369
fix: rewrite causes infinite redirects (#6201) 2025-12-23 12:37:09 +01:00
Tanner Linsley
358a7700ab release: v1.143.2 v1.143.2 2025-12-23 09:12:33 +00:00
Matt
b1c7350997
fix(react-router): HMR not updating inline arrow function components (#6197)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-23 09:58:40 +01:00
Tanner Linsley
4c1acacec8 release: v1.143.1 v1.143.1 2025-12-23 08:03:49 +00:00
Manuel Schiller
c504bd2c4d
fix: compiler handles type-only exports (#6199) 2025-12-23 08:53:47 +01:00
Tanner Linsley
6ab7073ace release: v1.143.0 v1.143.0 2025-12-23 07:52:22 +00:00
Manuel Schiller
97d9f30c69
feat: remove ClientOnly children from server build (#6193) 2025-12-23 08:40:43 +01:00