Commit Graph
53 Commits
Author SHA1 Message Date
Luca Casonato a6852fa58f feat: more advanced prop serializer for islands (#1224)
This commit adds support for an advanced (de)serializer that is used
for page state (island props and plugin state). This new serializer
supports maintaining references (thus supporting circular objects,
and multi-referenced objects).

This is a pre-requisite for allowing to pass signals, JSX, Uint8Arrays,
Date, and many other "advanced" values.
2023-05-31 10:12:07 +02:00
lionel-roweandAsher Gomez 3932186993 docs: clarify what props can be passed to islands (#1131)
I was caught out by trying to pass `Infinity` as a prop to an island,
which is a valid IEEE 754 float, but bizarrely JSON serializes to
`null`.

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-05-25 19:03:01 +10:00
George SpanosandLino Le Van 65414ad59c docs: Bump up deno Dockerfile version (#1152)
Co-authored-by: Lino Le Van <11367844+lino-levan@users.noreply.github.com>
2023-05-12 03:41:39 +09:00
ff9bb0f132 re-org Form docs (#1104)
- added `/concepts/forms`
- added 303 redirect in `POST` form submit code example

previous PR: https://github.com/denoland/fresh/pull/1040

---------

Co-authored-by: Matthew Morek <matthew.morek@gmail.com>
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
Co-authored-by: Séverin Dupouy <32488190+severindupouy@users.noreply.github.com>
Co-authored-by: hashrock <hashrock@users.noreply.github.com>
2023-04-11 09:56:55 -07:00
Yoshiya Hinosawa 3f50f881bb 1.1.5 (#1095) 2023-04-04 15:31:52 +09:00
hashrock 891503e77f 1.1.4 (#1067) 2023-03-08 18:46:48 +09:00
harrel56 54259ee9ee docs: create docs for _app.tsx (#494) 2023-03-08 03:24:21 +09:00
Anna Albirena 08d28438e1 Remove duplicate words in deployment.md (#967) 2023-02-28 14:12:26 -04:00
Yoshiya Hinosawa e4396d80a5 1.1.3 (#1011) 2023-02-07 16:22:47 +09:00
STARTRACEXandYoshiya Hinosawa 8802336d09 docs: fix docker command (#972)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-01-07 19:25:24 +09:00
Kazuma Ohashi 7e04c69be2 fix: typo (#397) 2022-11-09 18:38:58 +09:00
Daniel Flanagan a1b562c7ad docs: fix module reference for RouteConfig (#806) 2022-10-28 16:09:59 +09:00
Luca Casonato cdf0c11f65 1.1.2 2022-10-11 09:23:34 +00:00
Luca Casonato eb712124de 1.1.1 2022-09-12 17:39:12 +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
angellk11 e731de54c2 docs: Ffxed grammar/typo in deployment.md (#758) 2022-09-12 10:44:57 +02: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 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
Lino Le Van 925ea42ca7 docs: fix issues with Deployment concepts page (#682) 2022-08-31 22:46:57 +02:00
Luca CasonatoandLino 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
Vitor L Cavalcanti 54d6d67519 docs: fix syntax error on "Error Pages" page (#668) 2022-08-31 10:32:34 +00:00
Luca Casonato 3cc6d6da72 docs: add frontmatter to concepts/static-files.md (#650) 2022-08-23 22:05:52 +00:00
Luca Casonato 7b0c190454 docs: export route config in routing chapter (#604) 2022-08-09 19:48:23 +00:00
Steven YungandLuca 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
ahuigo 39309e4c22 docs: add subtitles to concepts/routes (#554) 2022-07-30 15:05:55 +00:00
Manuel Trinidad d9e5a71468 docs: fix wrong interface on handler parameter (#496) 2022-07-15 14:38:11 +00:00
kku77 7524d00ccf docs: fix minor typos (#393) 2022-07-04 13:47:48 +00:00
Carter Snook 1cb21f7b89 docs: fix incorrect runtime imports (#375) 2022-07-04 15:40:26 +02:00
Cecil New dcdbd85e3e docs: fix example code in concepts/routes.md (#357) 2022-07-04 11:27:25 +00:00
Tamal H fcff570fc1 docs: improve grammar (#362) 2022-07-04 11:21:47 +00:00
Luca Casonato 9871980613 docs: remove handler functions link (#400) 2022-07-04 10:52:42 +00:00
Ryan Waskiewicz 4d6ddd5b21 docs: fix typos (#303) 2022-06-29 20:25:00 +02:00
Jim Tittsler a25a1b013a docs: fix typos (#295) 2022-06-28 19:42:21 +02:00
Bartek IwańczukandLuca Casonato 0d0a137d6e docs: fix some issues (#294)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-06-28 14:22:14 +00:00
Luca Casonato b69ba3b718 docs: remove styling page 2022-06-28 16:14:10 +02:00
Luca Casonato 4d5f7a38c0 docs: finish up concepts docs (#292) 2022-06-28 15:47:56 +02:00
Nathan Sharpe ad8aa1cbca docs: fix a few small typos (#285) 2022-06-26 11:34:25 +00:00
Victor Saase 14e169831e docs: fix some typos (#274) 2022-06-23 09:32:06 +00:00
Luca Casonato da340daeb2 BREAKING: move a bunch of types into server/ (#263)
Moved some server only types like `RouteConfig` into server/. They were
previously in runtime/.
2022-06-21 15:21:07 +02:00
Luca Casonato 3458e35d8e docs: add more concepts pages (#262) 2022-06-21 15:15:40 +02:00
Luca Casonato cbbf616a74 chore: version preact explicitly in import map (#258)
This allows users to control the `preact` version independently of fresh
itself.
2022-06-20 12:37:24 +02:00
3ff689d8f9 docs: fix some typos (#211)
Co-authored-by: hashrock <hashrock@users.noreply.github.com>
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-05-28 22:51:39 +02:00
Luca Casonato 80598d07fd feat: use import maps instead of deps files (#209)
This commit updates fresh to use import maps instead of deps files in generated projects.
2022-05-23 19:35:15 +02:00
Luca Casonato fd6724c050 chore: rename *_deps.ts -> deps.*.ts (#206)
As per David's suggestion.
2022-05-23 16:05:33 +02:00
Sylvain Cau e8b1e229b3 feat: automatically apply asset caching to img src and srcset (#184) 2022-05-19 19:19:59 +02:00