Marvin Hagemeister
2575ca5cad
chore: release 1.3.0 ( #1460 )
2023-07-18 18:09:13 +02:00
50db296fb7
feat(server): plugins can add middlewares and routes ( #1455 )
...
Co-authored-by: RoeHH <git@roeh.ch >
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-07-13 11:26:07 +02:00
Lino Le Van and Marvin Hagemeister
e2a1bf8643
feat: move to Deno.serve ( #1427 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-07-12 14:37:53 +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
16be99e69b
fix: change MultiHandler back to Handlers ( #1396 )
2023-07-03 09:57:46 +02:00
Reed von Redwitz
0db3a0911a
feat: pass middleware state in props ( #1264 )
2023-06-28 14:53:42 +02:00
Aushwin
851f8d60aa
refactor: changed Handlers type to MultiHandler ( #1360 )
2023-06-28 12:52:48 +00:00
Reed von Redwitz
0c187c145a
docs: add "Dealing with CORS" example ( #1347 )
2023-06-24 11:10:12 +00:00
Taylor Young
30349db939
fix link ( #1352 )
2023-06-24 13:07:00 +02:00
Reed von Redwitz
7a7d0e77d0
docs: add section about "Middleware Destination" feature ( #1343 )
2023-06-23 13:50:20 +00:00
Lino Le Van
4d66f95ef6
feat: serialize bigints for islands ( #1317 )
2023-06-17 20:31:58 +02:00
Kamil Ogórek
2b11803528
docs: Export missing Plugin types to fix broken links ( #1319 )
2023-06-17 19:05:14 +02:00
Kamil Ogórek
d5a8692b78
feat: Allow passing props to renderNotFound method ( #1310 )
2023-06-16 17:12:01 +02:00
Asher Gomez
a4f7172807
docs: fix Signal type typo ( #1304 )
2023-06-16 10:32:20 +02:00
Marvin Hagemeister
710cf56d56
chore: update versions.json for 1.2.0 ( #1297 )
2023-06-15 19:32:06 +02:00
Reed von Redwitz
f833c7262d
docs: add "Server configuration" concept explanation ( #1293 )
2023-06-15 11:37:23 +02:00
Marvin Hagemeister
ce0eda7654
feat: allow passing JSX children to island + nested islands ( #1285 )
2023-06-15 10:08:48 +02:00
Marvin Hagemeister
5724b73e71
fix(ssr): invalid HTML comment tags ( #1260 )
2023-06-09 11:21:36 +02:00
Tom
dd4e584a3e
feat: async plugin rendering ( #745 )
...
An async render hook is added to plugins that enables injecting stylesheets and scripts based on the rendered HTML text.
2023-06-06 12:36:04 +02:00
Luca Casonato
96be590a90
docs: improve examples and fix app wrapper ( #1244 )
2023-06-03 22:20:18 +02:00
Asher Gomez and Luca Casonato
1b6678951a
feat: support embedded import map in deno.json ( #1188 )
...
One can now inline the `imports` and `scopes` from the import map directly into deno.json.
For new projects, `import_map.json` is not generated anymore.
Co-authored-by: Luca Casonato <hello@lcas.dev >
2023-06-03 10:46:40 +02:00
Asher Gomez
02dec2f483
chore: upgrade preact-render-to-string to 6.0.3 ( #1236 )
2023-06-02 16:24:14 +02:00
Asher Gomez
8fa4141e06
refactor: replace useState() with useSignal() ( #1234 )
2023-06-02 06:43:01 +10:00
Luca Casonato
38e67b0a97
feat: support passing Uint8Array as island props ( #1225 )
...
This commit adds support for passing Uint8Array's to islands in
component props.
2023-05-31 08:34:57 +00:00
Luca Casonato
e3f9a0df08
feat: support passing signals as island props ( #757 )
...
This commit adds support for passing signals to islands in component
props. This is useful for passing around mutable state between islands.
The signal's value needs to be serializable for this to work.
2023-05-31 10:29:46 +02:00
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-rowe and Asher 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 Spanos and Lino 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
STARTRACEX and Yoshiya 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 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
Vitor L Cavalcanti
54d6d67519
docs: fix syntax error on "Error Pages" page ( #668 )
2022-08-31 10:32:34 +00:00