Marvin Hagemeister
e4d797ae4e
feat: add support for route groups ( #1563 )
2023-08-02 09:51:20 +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
724c81f2c7
feat(server): middleware params ( #1314 )
2023-07-10 15:06:43 +02:00
Kamil Ogórek and Asher Gomez
e86a126c0a
feat(server): Allow for custom HEAD method implementations ( #1175 )
...
Fixes https://github.com/denoland/fresh/issues/1115
Fixes https://github.com/denoland/fresh/issues/1165
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com >
2023-05-25 08:55:09 +10:00
Marvin Hagemeister and Luca Casonato
c224db7cb7
chore: update for deno 1.33.x ( #1139 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev >
2023-04-30 10:30:30 +02:00
Leo Kettmeir
9dd026e0f5
feat: add middleware destination ( #1123 )
...
Closes #521
2023-04-20 13:14:12 +02:00
Leo Kettmeir
94d3082c45
refactor: include router directly in fresh ( #1122 )
...
This PR changes from depending on https://deno.land/x/rutt to instead
include a reduced & simplified version of it.
2023-04-18 13:27:51 +02:00
Luca Casonato
572b8123c4
refactor: centralize server into ServerContext ( #26 )
...
This commit centralizes all server related logic into a central
ServerContext class.
2021-06-10 20:46:10 +02:00
Luca Casonato
9eea430c1e
fix: various issues arising from oak removal ( #23 )
2021-06-05 19:44:15 +02:00
Leo K
a48da64dc3
feat: change to denosaurs router ( #20 )
2021-06-03 11:11:04 +02:00
Luca Casonato
41307a5ac8
perf: add loading optimization with modulepreload ( #15 )
...
This commit aims to speed up loading of chunked modules using
the link rel=modulepreload directive.
2021-06-02 12:55:30 +02:00
Luca Casonato
ff69a0abdf
feat: add api routes ( #11 )
...
This commit adds API routes. These routes are located in the
./pages/api/ directory. Each file in there will have it's default
export invoked for HTTP calls to the corresponding route.
2021-06-02 00:15:00 +02:00
Luca Casonato
31dbd99bea
chore: improve bundling + refactor router ( #10 )
...
This commit changes how bundling works, by bundling all routes at once.
Static JS assets are now cached immutably.
Additionally this PR completly refactors how the router works to make it
more modular. This allows users to opt out of the default oak server,
and instead create their own.
2021-06-01 23:19:33 +02:00