59 Commits
Author SHA1 Message Date
paula 216d54a0ae Start renaming 2026-11-11 11:45:20 -03:00
Luca Casonato 86d6cdeb33 www: change domain to usefresh.dev (#3831) 2026-06-03 16:35:21 +02:00
Bartek IwańczukandClaude Opus 4.6 3a51f82da6 fix: use deno run for init instead of deno create before 2.3.0 (#3746)
## Summary
- Reverts all references from `deno create @fresh/init` back to `deno
run -Ar jsr:@fresh/init` across docs, READMEs, homepage, and CLI help
text
- Removes the deprecation warning in `packages/init/src/mod.ts` that
told users to switch to `deno create`

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 09:19:14 +02:00
Bartek IwańczukandClaude Opus 4.6 103427f9da docs: comprehensive documentation audit, fixes, and website improvements (#3712)
## Summary

Full documentation audit and fixes for Fresh 2.x docs. Addresses every
issue identified in the [audit
report](https://gist.github.com/bartlomieju/91ddb08c23552f642d2073c0e9a36102).

### Critical fixes
- Remove 4 TODO placeholders (app.md, plugins/index.md)
- Fix 4 broken code examples (layouts syntax error, routing missing ctx,
csrf wrong import, getting-started unused prop)
- Fix 3 copy-pasted frontmatter descriptions (context, env-vars, app)
- Fix CSRF page describing CORS instead of CSRF

### New pages (8)
- **Architecture** — request lifecycle diagram, server-first rendering,
islands architecture
- **Data Fetching** — handlers, page(), type-safe data passing, async
components, PageProps reference
- **Signals** — useSignal, computed, props, shared state, serialization
- **Serialization** — supported types, what can't be serialized,
circular refs, pitfalls
- **API Routes** — handler-only routes, method-specific, catch-all,
programmatic
- **Common Patterns** — protected routes, redirects, cookies,
WebSockets, streaming, content negotiation, subdomain routing, proxying,
lazy-loading islands
- **API Reference** — all exports from fresh, fresh/runtime, fresh/dev
- **OpenTelemetry** — what's instrumented, enabling tracing, Deno Deploy

### Expanded pages (6)
- **Routing** — matching priority, HTTP methods, HEAD fallback,
file-based handlers
- **Vite plugin** — HMR, plugin composition, internals, debugging
- **Deno Deploy** — build config, env vars, custom domains,
troubleshooting
- **deno compile** — cross-compilation, limitations
- **Error handling** — expanded HttpError with message param, import
paths
- **Plugins index** — plugin authoring guidance, built-in plugin list

### Structural improvements
- Update all 3 index pages (concepts, advanced, examples) with links to
every sub-page
- Cross-link the two Layouts pages (file-based vs programmatic)
- Resolve contradictory build commands (remove legacy dev.ts references)
- Add "next steps" to Getting Started
- Explain `(_islands)` and `(_components)` directories in file routing
- Document `basePath`, `assetSrcSet()`, `IS_BROWSER`, route `css` option
- Add PR guidelines to Contributing page
- Add Deno version requirements to Introduction

### Docs fixes from issue triage
- **Docker deployment** — add missing `deno install --allow-scripts`
step, remove stale `deno cache`, fix CMD (#3500)
- **Deployment index** — add install step before build (#3500)
- **Static files** — add tip about root-relative URLs (#3482), add image
optimization section with vite-imagetools, CDN services, best practices
(#671)
- **main.ts vs main.tsx** — fix examples showing JSX in main.ts, add tip
about serverEntry config (#3476)
- **Head component** — clarify dedup precedence: last-rendered wins
(#2749)
- **Islands** — add custom elements / web components section (#2741)
- **Sharing state** — rewrite cart example to avoid shared module-level
signals (#2437, #1877)
- **Common patterns** — add subdomain routing (#603), proxying requests
(#361), lazy-loading islands (#565)

### Website fixes
- **Canary redirects** — catch-all `/docs/canary/...` → `/docs/...`
redirect (#3375)
- **Recipe partials** — redirect direct access to recipe routes to
homepage (#2559)
- **Homepage** — add progressive complexity code examples to Simple
section (#2755)

### Image reference fixes
- Rename `getting-started-3-cotuntdown.png` →
`getting-started-3-countdown.png`
- Fix 1.x partials image path

### Grammar/typos
- 11 corrections across 12 files

### CI
- Add `docs/check_images_test.ts` — verifies all markdown image
references resolve to existing files in `www/static/`

Closes #3514
Closes #3476
Closes #3591
Closes #2876
Closes #2075
Closes #1612
Closes #1535
Closes #527
Closes #3059
Closes #3695
Closes #3548
Closes #3500
Closes #3482
Closes #3375
Closes #2749
Closes #2741
Closes #2559
Closes #2437
Closes #671
Closes #361

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 18:22:33 +00:00
Brett Chalupa 2a78005bc9 chore: update README Deno Deploy docs for EA (#3560)
Fixes #3537
2025-10-21 11:25:18 +02:00
Jade bff711411d docs: update readme for fresh 2 (#3503)
The current version of the README is misleading, because:

1. The build instructions result in a Fresh v1.0 project.
2. Since Fresh v2.0, Fresh no longer does JIT rendering on the edge.
2025-09-27 17:58:34 +02:00
Matt NieldandMarvin Hagemeister 107c25b79a chore: Update links (#2956)
This commit updates several links which are outdated and now redirect to
different URLs on the updated Deno website and documentation.

There are a few dozen instances of URLs starting with
`https:://deno.land/x` and `https:://deno.land/std`. I left these alone
since they are dependencies. Would it make sense to update these from
the versions hosted at `deno.land` to their JSR equivalents, since that
is the new and preferred location of the Deno Standard Library packages
as well as other JavaScript/TypeScript packages used by Deno projects?

For example, the latest version of the Deno Standard Library is now
hosted at `https://jsr.io/@std` instead of `https://deno.land/std`.


![image](https://github.com/user-attachments/assets/7416da3b-3867-4d8f-9a1a-79e6a11ddb46)

---------

Co-authored-by: Marvin Hagemeister <hello@marvinh.dev>
2025-05-15 19:24:27 +02:00
TylerandTyler 50e5bc7ae4 docs: fix readme url for deployment (#2930)
fixes #2695

this is my best guess to what the url is meant to link to now

Co-authored-by: Tyler <26290074+thegitduck@users.noreply.github.com>
2025-05-13 09:31:11 +02:00
Asher Gomez b8f1be76fc docs: contributing guidelines (#2860)
Outdated and needs work but will suffice.
2025-04-27 19:58:00 +02:00
Florject 6a7f41f084 chore: update link in README (#2466)
Corrects an incorrect link in the README
2024-05-25 12:06:11 +02:00
Marvin Hagemeister 0e5962ce37 www: remov no build step from marketing (#2407)
We've been moving away from that for a couple of months now, so
featuring the "no build step" prominently in our marketing feels wrong.
2024-04-18 17:29:27 +02:00
Marvin Hagemeister e99804ac01 docs: update deno version (#2086) 2023-11-28 18:35:26 +01:00
Craig Doremus 93c17b7184 Added section on preferred hashtags to README (#2044) 2023-11-16 10:13:27 +01:00
Roj d1e78095be www: consistently spell Fresh (#1504) 2023-07-22 13:02:31 +02:00
Lino Le VanandMarvin Hagemeister e2a1bf8643 feat: move to Deno.serve (#1427)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-07-12 14:37:53 +02:00
EBIBO 9b98e13e29 fix: raise minimum deno version to 1.31.0 (#1333)
Fresh uses `Deno.Command` which is not available in older versions of Deno.
2023-06-21 07:27:18 +00:00
Asher Gomez d0b277a135 docs: add "Contributing" section (#1233) 2023-06-18 13:42:23 +02:00
Marvin Hagemeister 503bdc384f feat(init): make directory argument optional (#1263) 2023-06-10 15:48:02 +02:00
Asher Gomez 98636ec8a0 doc: API reference link in README (#1197) 2023-05-23 19:35:17 +10:00
hashrock 7c6bfa09b2 add how to screenshot on readme (#881) 2022-11-05 03:54:43 +09:00
Aravind bd7ef4a9c4 Fixing README image (#862) 2022-10-29 15:46:43 +09:00
Lee Dogeon 6077d7775c docs: correct required Deno version to 1.25.0 (#752) 2022-09-11 13:37:06 +00:00
Luca Casonato 6c4f3a36d0 docs: add plugin docs (#702) 2022-09-08 11:39:45 +02:00
Nyx Iskandar 3a6cc935a1 docs: image alt for "Made with Fresh" badges (#689)
Included the `alt` attribute in `<img>` tags in README.
2022-09-02 20:10:20 +09:00
hashrock 1adbb030cd add "Made with Fresh" badges (#649)
this adds simple badges in README.
2022-08-25 19:22:20 +09:00
Saeed Nasiri 6d50f4541e docs(README): fix error in getting started section (#576) 2022-08-02 15:20:12 +09:00
Hunter Paulson 4d027b8eeb Fixed minor typo (#567)
Fixed typo
2022-08-01 13:49:59 +09:00
ashish 58f9769baf refactor: add components/ in starter project (#353)
This commit adds a `components/` folder to the starter project to
indicate that one can also create components that are not themselves
islands.
2022-07-30 15:56:42 +00:00
Steven Yung e3fefe506f docs: fix readme anchor (#450) 2022-07-07 11:38:06 +02:00
Rajika Imal 571ca33eb8 chore: fix link in readme (#426) 2022-07-06 12:03:00 +02:00
Jevtić NenadandLuca Casonato 9e75a5c065 chore: update README (#346)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-07-04 11:14:46 +00:00
cbbcdc7d93 fix: update README.md and init.ts to match the docs (#334)
The setup steps presented between them slightly differed.

Co-authored-by: Rasoul Abdulzahra <rasoul.abdulzahra@aubay.it>
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2022-07-04 10:55:48 +00:00
Luca Casonato 27b67b47e1 docs: remove pre-1.0 warning (#293) 2022-06-28 15:38:30 +02:00
Carter Snook 58d45b854d chore: use GitHub-styled warning message (#286) 2022-06-25 21:32:25 +02:00
Luca Casonato 97238ef5ac docs: use -r in setup command 2022-06-22 15:23:36 +02:00
Luca Casonato 871985a172 www: add redirect for init script (#266) 2022-06-21 15:08:41 +00:00
Luca Casonato de6c3f6ed5 chore: remove --no-check flags (#259)
Since Deno 1.23.0, `--no-check` has become the default type checking
mode for `deno run`. As such, we don't need to specify this flag
anymore.
2022-06-20 12:45:48 +02:00
Ryan Dahl f8262c656a docs: soften warning on using this in production (#234) 2022-06-15 10:56:36 +00:00
Luca Casonato 836cc24bdd feat: remove fresh cli, do manifest generation in process (#223)
This commit removes the `fresh` cli, replacing it with a small bootstrap script,
and JIT generation of the manifest that happens in process during development.
2022-06-14 09:39:38 +02:00
Sylvain Cau ee7586e16a docs: reference docs in readme, and fix link colors on website (#186) 2022-05-16 02:15:15 +02:00
Luca Casonato 59e6398d77 www: more vibrant green + wordmark on docs page (#176) 2022-04-24 21:26:35 +00:00
Luca Casonato ed5f7c70ec chore: add logo to readme (#171) 2022-04-24 11:45:21 +00:00
Yongwook Choi 49d2e54335 feat: add deno task config in fresh init bootstrapped projects (#143) 2022-04-23 15:16:31 +02:00
Luca Casonato 64e6a7b43d docs: update deno install command to use -r (#138) 2022-03-18 10:43:06 +01:00
Luca Casonato 73fd41be31 feat: add docs section to website (#108) 2022-03-07 21:08:55 +01:00
Kid c86c75887a docs: update minimum Deno version in README (#103) 2022-03-05 14:36:12 +01:00
Luca Casonato 4a6b57de89 docs: new website (#66) 2021-10-04 11:12:12 +02:00
Luca Casonato 84f2ae96e2 docs: fix readme 2021-09-25 11:06:55 +02:00
Luca Casonato 8e83a032d9 feat: --config is not needed anymore (#48)
This commit removes the need for users to specify a --config file. TS
libs are now configured via `/// <reference>` directives, and the JSX
transform is specified via the `/** @jsx h */` pragma.

The future is configless!
2021-08-08 11:11:34 +02:00
Luca Casonato 3bce2fb8d3 feat: deployctl is not needed anymore (#45)
Deno Deploy now supports Deno.listen and Deno.serveHttp.
2021-07-30 14:09:04 +02:00