OkadaGenya
9d13f6ff26
fix: sanitize <script> in __FRSH_STATE state ( #739 )
...
This commit escapes `<` `>` and related characters in the serialized state that is encoded into the `<script id=__FRSH_STATE>` tag. This prevents XSS attack occuring through injection of a `</script>` string in island props.
2022-09-12 17:33:02 +02:00
Luca Casonato
b75509526d
docs: add -r to command in concepts>updating ( #763 )
2022-09-12 15:27:47 +02:00
Luca Casonato
7a08b73afe
chore: update preact + preact-render-to-string ( #762 )
...
preact: 10.11.0
preact-render-to-string: 5.2.4
2022-09-12 14:53:32 +02:00
Luca Casonato
92213f2c04
fix: ship source maps for client code in dev mode ( #756 )
2022-09-12 13:53:53 +02:00
angellk11
e731de54c2
docs: Ffxed grammar/typo in deployment.md ( #758 )
2022-09-12 10:44:57 +02:00
Lee Dogeon
6077d7775c
docs: correct required Deno version to 1.25.0 ( #752 )
2022-09-11 13:37:06 +00:00
Devin Stein
36e72e2404
Add YCRM to Fresh Showcase ( #754 )
2022-09-10 20:31:17 +00:00
arrow2nd
03b7c2e5f3
add im@sparql Data Dashboard to showcase ( #742 )
2022-09-10 02:31:41 +09:00
Nikita Krasnov
b62af3895e
www: change line in README.md for how you start the project ( #466 )
2022-09-09 05:48:35 +00:00
Nyx Iskandar
617365b581
New Project: diKnow ( #711 )
...
For the image, we can use a screenshot of the diKnow homepage. I'm not
sure where to place the image in this repo though!
2022-09-09 11:41:43 +09:00
Taylor Young
e7a08ac0e2
add ANDBOUNDS Inc. to the showcase ( #731 )
...
Live eCommerce with Stripe, Redis and Strapi.
2022-09-09 05:19:14 +09:00
Taylor Young
8c8756cb2a
add Fresh Strapi to the showcase ( #644 )
...
Open source and ready to fork, Fresh Strapi is here.
https://fresh-strapi.deno.dev
https://github.com/Hyprtxt/fresh-strapi.deno.dev
2022-09-09 05:08:40 +09:00
hashrock
0a97129100
resize screenshot and convert to jpeg ( #732 )
2022-09-09 04:59:23 +09:00
81c1216045
Add Saleor + Fresh example to showcase ( #632 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev >
Co-authored-by: hashrock <hashrock@users.noreply.github.com >
2022-09-09 03:12:02 +09:00
Luca Casonato
4e001f9e26
www: add HelloBar to point to 1.1 release notes ( #724 )
2022-09-08 16:57:35 +02:00
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