Marvin Hagemeister
1daca75489
feat: bring back <Head> component ( #3249 )
...
This PR brings back the `<Head>` component from Fresh 1.x . The
implementation is much cleaner than back then and also works client-side
now too.
2025-08-25 15:40:47 +02:00
Marvin Hagemeister
477fcefed4
feat: support inlining FRESH_PUBLIC_ env vars ( #3214 )
...
Fixes https://github.com/denoland/fresh/issues/3213
2025-08-12 12:00:59 +02:00
Christian Svensson
e014d80a0f
docs: add canary docs for <head> modifications ( #3173 )
...
Adds v2 version of "Modyfing the <head>" example. This is the next to
last page that needs to be updated (though the other only requires minor
changes to types).
2025-08-05 23:50:58 +02:00
Marvin Hagemeister
71b7d922ea
fix: add deno compile entry ( #3189 )
...
Fixes https://github.com/denoland/fresh/issues/3123
2025-08-05 14:53:08 +02:00
Christian Svensson
24c86ea20e
fix: correct anchors by using heading text only ( #3167 )
...
Addresses the issue mentioned in
https://github.com/denoland/fresh/pull/3163#discussion_r2246708003 .
The issue was that the `raw` markdown was being used for e.g. `## My
title`, thus the slug became `-my-title` instead of `my-title`. Slugs
were working correctly for `codespan` in headers, e.g. ``## `someCode`
``.
I decided to hard error if unexpected heading syntax is used over
sluggifying unexpected content (can become super weird otherwise, e.g.
`## <button ...>My heading</button>`). I can revert to fallbacking to
`raw` if preferred, but perhaps with at least trimming leading `-` just
in case.
2025-08-01 12:46:12 +02:00
e4d9160a92
docs: add daisyUI setup to examples ( #3144 )
...
Add a page to the docs on how to use https://daisyui.com/ with Fresh.
---------
Co-authored-by: 李嘉图·M·路 <146103794+Ricardo-M-Zheng@users.noreply.github.com >
Co-authored-by: Marvin Hagemeister <marvinhagemeister50@gmail.com >
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2025-07-26 12:28:02 +00:00
Marvin Hagemeister
b4e4a0c0f0
docs: update more pages for Fresh 2 ( #3141 )
2025-07-25 19:04:08 +02:00
Marvin Hagemeister
c9c85ba36d
docs: add page for define helpers ( #3139 )
2025-07-25 18:57:39 +02:00
Marvin Hagemeister
9e4dea516f
docs: add csrf() page ( #3138 )
2025-07-25 16:59:22 +02:00
Marvin Hagemeister
659d7687f0
docs: add builder docs ( #3130 )
2025-07-24 22:18:23 +02:00
Marvin Hagemeister
96da1c5cd0
docs: add page for tailwindcss ( #3120 )
2025-07-21 19:32:25 +02:00
Marvin Hagemeister
e6a5a5fabb
docs: canary remove outdated csp page ( #3111 )
2025-07-18 18:42:53 +02:00
Marvin Hagemeister
79db6391f0
docs: update canary rendering raw HTML page ( #3110 )
2025-07-18 18:36:52 +02:00
Marvin Hagemeister
a703e79181
docs: update canary docs for Fresh 2 ( #3108 )
...
There are still some rough edges here and there, but it's in a much
better shape than what we have today.
2025-07-18 15:18:38 +02:00
zhizheng and 李嘉图·M·路
ebe65b035e
docs(canary): clean the twind part for canary version ( #2966 )
...
## What does this PR do?
This PR cleans all the Twind - related parts in the canary
documentation. Specifically, it removes the Twind - related entries in
the docs/toc.ts file, which streamlines the documentation and eliminates
references to the Twind technology that might no longer be relevant or
in use.
## Problem Being Solved
Outdated Information: Twind removed from fresh v2. Keeping Twind -
related content in the documentation can lead to confusion for new users
who might be using the canary version of Fresh with Tailwind CSS.
## Changes Made
docs/toc.ts:
Removed the "migrating - to - tailwind" entry.
Removed the "using - twind - v1" entry, which is directly related to
using the Twind v1 version and is no longer needed in the canary
documentation.
Removed the "using - fresh - canary - version" entry, which is no reason
in canary docs
---------
Co-authored-by: 李嘉图·M·路 <146103794+Ricardo-M-Zheng@users.noreply.github.com >
2025-05-16 21:35:56 +02:00
Marvin Hagemeister and Luca Casonato
2b1de48ff1
docs: add Fresh 2 migration guide ( #2459 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev >
2024-05-24 21:09:51 +02:00
Casey Ydenberg
30a25dd2f3
Docs: Add page about setting raw HTML content ( #2189 ) ( #2295 )
...
Closes #2189
2024-03-18 19:11:34 +01:00
Marvin Hagemeister
f63752062a
chore: change assert to with for import attributes ( #2231 )
2024-01-10 10:25:07 +01:00
Casey Ydenberg and Marvin Hagemeister
25afcae943
docs: Merge data fetching pages ( #1974 ) ( #2107 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-12-07 10:50:50 +01:00
Marvin Hagemeister
dace008611
chore: release 1.6.0 ( #2113 )
2023-12-01 16:20:40 +01:00
Guilherme Miyake and Marvin Hagemeister
1501699988
docs/examples: Client side components and libraries ( #2089 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-11-30 14:22:11 +01:00
Reed von Redwitz and Marvin Hagemeister
9ab8651018
feat(server): Add basePath config to host from a directory ( #2092 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-11-29 16:44:25 +00:00
Marvin Hagemeister
79fd85ef93
docs: Add migrating to Tailwind CSS page ( #2077 )
2023-11-28 13:39:05 +01:00
Adam Gregory and Marvin Hagemeister
264f3073bd
Support AOT-built static assets ( #1999 )
...
Creates a static folder under `config.build.outDir` during AOT build.
Serves any static files that are found there.
---------
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-11-04 14:01:21 +01:00
Reed von Redwitz
f39e0d4218
feat(server): throwing Deno.errors.NotFound triggers 404 ( #1984 )
2023-10-30 18:00:57 +01:00
Marvin Hagemeister
73aaf84fad
chore: Remove deno_kv_auth plugin ( #1910 )
2023-10-11 15:14:14 +02:00
Marvin Hagemeister
fe2c95cc25
chore: release 1.5.0 ( #1899 )
2023-10-10 18:08:44 +02:00
Marvin Hagemeister
21fcf6169b
docs: add partials documentation ( #1878 )
2023-10-06 22:55:54 +02:00
Marvin Hagemeister
ab30592d5e
docs: add styling links example page ( #1879 )
2023-10-06 22:53:52 +02:00
Marvin Hagemeister
e9717ed911
fix: meta charSet -> charset ( #1875 )
2023-10-06 15:59:13 +02:00
Marvin Hagemeister
f8fb61e943
feat: ask for project arg if missing on update ( #1821 )
2023-09-26 20:48:47 +02:00
Marvin Hagemeister
567df19f3d
feat: de-duplicate <Head> children by key ( #1793 )
2023-09-18 22:06:56 +02:00
Marvin Hagemeister
c175e28bf3
chore: release 1.4.0 ( #1639 )
2023-08-16 17:35:29 +02:00
Marvin Hagemeister
477364c567
feat: prebundle code + restore from snapshot ( #1604 )
2023-08-16 16:47:51 +02:00
Marvin Hagemeister and Reed von Redwitz
b2362da281
www: Various documentation improvements ( #1635 )
...
Co-authored-by: Reed von Redwitz <reed+github@vonredwitz.com >
2023-08-16 16:24:53 +02:00
Michael Herzner
b68fb309d6
www: fix 404 on "Using Deno KV OAuth" example ( #1588 )
2023-08-04 12:00:46 +02:00
Marvin Hagemeister
e4d797ae4e
feat: add support for route groups ( #1563 )
2023-08-02 09:51:20 +02:00
Marvin Hagemeister
75f5761ca4
www: fix broken canary update link ( #1544 )
2023-07-29 15:17:27 +02:00
Michael Gearhardt and Marvin Hagemeister
1ed93cec88
feat: support route layouts via _layout.tsx ( #1506 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-07-26 11:49:08 +02:00
Marvin Hagemeister
38d4b90091
fix: middleware state reset between middlewares ( #1500 )
2023-07-24 11:03:11 +02:00
Reed von Redwitz
72603d60cf
docs: add "Using CSP" example ( #1376 )
2023-07-21 11:10:16 +02:00
Marvin Hagemeister
2575ca5cad
chore: release 1.3.0 ( #1460 )
2023-07-18 18:09:13 +02:00
Marvin Hagemeister
f12c96ed45
feat: add upgrade check ( #1444 )
2023-07-17 15:49:47 +02:00
Michael Herzner and Asher Gomez
7dee138bee
docs(examples): add an example on how to use deno_kv_oauth ( #1328 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com >
2023-07-13 11:18:26 +02:00
Reed von Redwitz
27622a190e
docs: add "Server Components" concept page ( #1390 )
2023-07-10 15:06:27 +02:00
Reed von Redwitz
f737e1c4e3
www: cleanup miscellaneous doc items ( #1419 )
2023-07-07 16:07:40 +02:00
Marvin Hagemeister
bf3e82c093
www: add versioning to docs ( #1400 )
2023-07-04 12:33:47 +02:00
Reed von Redwitz
efcaec3658
www: convert toc to .ts ( #1381 )
2023-07-04 10:49:00 +02:00