Luca Casonato
a08f12a647
docs: add plugins to TOC ( #723 )
2022-09-08 13:34:05 +00:00
Luca Casonato
dc47c9387b
fix: rm trailing / in preact-rts import map entry ( #722 )
2022-09-08 12:45:21 +00:00
Luca Casonato
e71a0c23aa
1.1.0
2022-09-08 14:08:14 +02:00
Luca Casonato
ca6d011d5c
www: fix @preact/signals version ( #720 )
2022-09-08 10:03:57 +00:00
Luca Casonato
4862152936
docs: add stacked middleware docs
2022-09-08 11:53:38 +02:00
Luca Casonato
560f1eec20
docs: add "Concepts: Updating" page
2022-09-08 11:53:38 +02:00
Luca Casonato
a54ffdcaf2
docs: update minimum version to 1.25.0
2022-09-08 11:53:38 +02:00
Luca Casonato
77142fe4a0
docs: remove JSX pragma everywhere
2022-09-08 11:53:38 +02:00
Luca Casonato
6c4f3a36d0
docs: add plugin docs ( #702 )
2022-09-08 11:39:45 +02:00
Flemming Miguel
2eb303041a
fix: split @preact/signals and @preact/signals-core versions ( #717 )
...
These packages are versioned separately, so they should use separate versions.
2022-09-08 09:29:20 +00:00
Mark Bennett and Luca Casonato
ba7c78bcc2
feat: experimental support for Deno.serve ( #681 )
...
The experimental support can be enabled through the
`experimentalDenoServe` option for `start()`.
Co-authored-by: Luca Casonato <hello@lcas.dev >
2022-09-07 23:04:45 +00:00
Luca Casonato
b7f0d5c860
feat: install @preact/signals by default ( #710 )
2022-09-08 01:00:05 +02:00
Luca Casonato
ee8812d7f6
chore: tweak console output for init.ts script ( #708 )
2022-09-07 15:28:38 +02:00
vwkd
995ad45735
chore: HTML meta tag charset property casing ( #704 )
...
Corrects strange casing of HTML meta tag charset property for cleaner
visual appearance.
2022-09-07 15:18:33 +02:00
Luca Casonato
01052b31aa
chore: update preact-render-to-string ( #707 )
2022-09-07 15:06:24 +02:00
Luca Casonato
b19c4bb041
feat: add update.ts script ( #706 )
...
This commit adds an update.ts tool that makes it easy to upgrade
existing Fresh projects to the latest version of Fresh. This tool
updates dependency versions in the import map, and includes some code
mods:
1. update projects from classic JSX to automatic JSX
2. update projects from legacy twind integration to twind plugin
Both of these code mods get you about 95% of the way there most of the
time. Users might still need to do some manual work to get their
projects fully updated.
2022-09-07 09:36:23 +00:00
Luca Casonato and Elias Sjögreen
1b3c9f2569
fix(plugin/twind): load configuration as module ( #705 )
...
This commit loads the Twind configuration as an actual module rather
than evaluating it on the server and then serializing. This allows usage
of unserializable plugin functions.
Co-authored-by: Elias Sjögreen <eliassjogreen1@gmail.com >
2022-09-07 00:44:46 +02:00
hashrock and Luca Casonato
8e9658cae5
www: add showcase page ( #699 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev >
2022-09-06 15:28:20 +02:00
Lino Le Van
28ae07da35
www: bump x/gfm version to aid translation software ( #700 )
2022-09-06 12:19:39 +00:00
Sourav Singh Rawat
08d43803f7
feat: add support for custom static folder in FreshOptions ( #626 )
...
Support custom (user provided) static assets folder or fallback to default behavior.
2022-09-05 12:00:47 +00: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
Lino Le Van
925ea42ca7
docs: fix issues with Deployment concepts page ( #682 )
2022-08-31 22:46:57 +02:00
Luca Casonato and Lino Le Van
0cc3cc7762
docs: add "Deployment" concepts page ( #680 )
...
Add docs for deploying using Docker (in addition to Deno Deploy).
Co-authored-by: Lino Le Van <11367844+lino-levan@users.noreply.github.com >
2022-08-31 13:24:36 +02:00
Luca Casonato
6ec04ea0f2
build: remove canary special case in CI ( #654 )
2022-08-31 12:35:29 +02:00
Vitor L Cavalcanti
54d6d67519
docs: fix syntax error on "Error Pages" page ( #668 )
2022-08-31 10:32:34 +00:00
Luca Casonato
6077bb65b7
chore: correct code comment ( #679 )
2022-08-31 12:25:21 +02:00
Luca Casonato
b12867a582
feat: support JSX automatic mode ( #610 )
...
This commit adds support for JSX automatic mode instead of the default
mode that requires the presence of the JSX pragma in each file.
This commit also adds the config file to the `fresh.gen.ts` manifest,
which is used to determine if the client emit should use automatic mode.
The minimum Deno version has also been bumped to 1.25.0.
2022-08-26 11:03:00 +02:00
Luca Casonato
bbe4277acb
chore: update puppeteer ( #659 )
2022-08-25 15:26:44 +02:00
hashrock
1adbb030cd
add "Made with Fresh" badges ( #649 )
...
this adds simple badges in README.
2022-08-25 19:22:20 +09:00
Luca Casonato
3d682d98cb
chore: update preact & preact-render-to-string ( #651 )
...
preact@10.10 .6 & preact-render-to-string@5.2.2
2022-08-23 22:09:06 +00:00
Luca Casonato
3cc6d6da72
docs: add frontmatter to concepts/static-files.md ( #650 )
2022-08-23 22:05:52 +00:00
ahuigo
a00b97bac9
feat: support multiple middlewares with the same matcher ( #553 )
2022-08-23 23:50:57 +02:00
Elias Sjögreen and Luca Casonato
6c2291f0de
chore: use x/rutt instead of crux.land/router ( #647 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev >
2022-08-23 21:33:11 +00:00
Marvin Hagemeister and Luca Casonato
7e0278bbb3
feat: add support for preact devtools in dev mode ( #639 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev >
2022-08-23 13:29:12 +00:00
Benny Yen
d798db2a5f
www: use frontmatter parser from std ( #621 )
2022-08-23 13:26:44 +00:00
Roj
67b82d538b
fix: add reference to dom.iterable ( #641 )
...
This fixes TypeScript errors with things like `URLSearchParams.entries`.
2022-08-23 13:26:21 +00:00
Luca Casonato
027f3f8bba
chore: fix ci ( #645 )
2022-08-23 11:25:03 +00:00
Michael Pfister and hashrock
3431555f95
Add 404 and 500 page #446 ( #624 )
...
* Add 404 and 500 page
Co-authored-by: hashrock <hashrock@users.noreply.github.com >
2022-08-16 23:52:06 +09:00
Michael Pfister
55f657827f
fix: add missing icon bg colors on mobile ( #609 )
...
* Docs: Fix Small Grammar Issue
* fix missing label bg colors on mobile
* add missing icon bg colors on mobile
* Rearrange icon bg-colors for mobile
2022-08-11 21:02:11 +09:00
c7cbd23052
www: new landing page ( #602 )
...
* design: add icons to features
* www: update intro layout
* www: add copy button
* www: create CopyArea island
* www: update info style
* www: add showcase
* Update www/routes/index.tsx
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com >
* www: set text-center to feature descriptions
* www: remove showcase image tabindex
add hover feedback to the showcase tiles
* www: add deno install / update links
* www: left align the feature descriptions on small screens
* www: fix broken getting started layout on mobile
* www: always show the copy buttons
* www: add some additional vertical spacing
* improve screenshots
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com >
Co-authored-by: Luca Casonato <hello@lcas.dev >
2022-08-10 14:50:29 +09:00
Luca Casonato
7b0c190454
docs: export route config in routing chapter ( #604 )
2022-08-09 19:48:23 +00:00
Luca Casonato
660e0f5fef
feat: twind plugin ( #513 )
...
This adds a first-party twind plugin to use twind for styling.
2022-08-09 21:41:11 +02:00
Luca Casonato
fd4e2bbe17
feat: add initial plugin support ( #512 )
...
This commit adds initial support for fresh "plugins". These are bundles
of functionality that can be added to a fresh plugin through a simple
addition in the `main.ts` file.
Right now plugins are only able to hook into the render steps. This
means that they can inject styling and scripts. They can not yet hook
into routing.
Things that I think should be possible now:
- styling integrations for twind, unocss, and probably a few other tools
Things that are not possible yet:
- google analytics middleware
- database connectors
- CMS connectors
The routing additions to plugins can be added in a follow-up though.
2022-08-09 21:27:58 +02:00
Steven Yung and Luca Casonato
49092ed83a
feat: add ctx.renderNotFound() to explicitly render 404 template ( #481 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev >
2022-08-09 19:23:17 +00:00
Michael Pfister
b169d18ecb
docs: fix small grammar issue ( #589 )
2022-08-08 21:23:39 +00:00
Yuki Tanaka
0449a4c73a
docs: mention kebab case naming for islands ( #572 )
2022-08-08 21:22:58 +00:00
Kid
5b9ce720d0
chore: remove deno.unstable references ( #600 )
2022-08-08 23:19:26 +02:00
Kid
bd45056893
refactor: clean up refresh script ( #601 )
2022-08-08 23:19:00 +02: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