Igor Brasileiro
82b0f2c95a
fix: Prevent deserialize break on safari < 15.4 ( #1483 )
2023-07-19 19:52:55 +02:00
Marvin Hagemeister
f12c96ed45
feat: add upgrade check ( #1444 )
2023-07-17 15:49:47 +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
Marvin Hagemeister
f2ea4055df
fix: init banner not colored in ansi256 terminals ( #1456 )
...
This basically uses the same fix as #1377 and #1323 for the init script.
Before:
<img width="505" alt="Screenshot 2023-07-12 at 22 18 29"
src="https://github.com/denoland/fresh/assets/1062408/e77c3110-d3e2-479e-8381-c67c39e216fa ">
After:
<img width="446" alt="Screenshot 2023-07-12 at 22 18 38"
src="https://github.com/denoland/fresh/assets/1062408/debda939-bdce-4890-8dfb-265a4e1b8328 ">
2023-07-13 00:56:36 +02:00
Marvin Hagemeister
62a5613a46
feat: support async route components ( #1388 )
2023-07-12 21:09:56 +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
Lino Le Van
c32f0cf9ce
fix: trailingSlash option ( #1426 )
2023-07-11 14:42:29 +02:00
Reed von Redwitz
9177d9afc3
feat: prevent duplicate routes when generating manifest ( #1410 )
2023-07-11 14:39:48 +02:00
Reed von Redwitz
d4c2258eb6
fix(server): middleware order incorrect ( #1280 )
2023-07-10 15:19:52 +02:00
Reed von Redwitz
724c81f2c7
feat(server): middleware params ( #1314 )
2023-07-10 15:06:43 +02:00
Marvin Hagemeister
1d6e15ba36
fix: manifest file encoding non-latin chars ( #1433 )
2023-07-10 14:13:01 +02:00
Marvin Hagemeister
1dc3a992f2
refactor: optional directory check ( #1435 )
2023-07-10 14:07:03 +02:00
Marvin Hagemeister
17811dd593
feat: support Preact error boundaries ( #1442 )
2023-07-10 13:02:45 +02:00
Marvin Hagemeister
0131cffb29
www: fix agolia search exceptions ( #1402 )
2023-07-10 11:49:00 +02:00
Lino Le Van
292b4c2d6f
chore: bump dependencies ( #1428 )
2023-07-08 22:47:12 +02:00
Reed von Redwitz
a3f7c212f4
feat(server): multiple island exports ( #1397 )
2023-07-03 09:59:38 +02:00
Marvin Hagemeister
16be99e69b
fix: change MultiHandler back to Handlers ( #1396 )
2023-07-03 09:57:46 +02:00
Reed von Redwitz and Lino Le Van
eb53d53ab8
fix(server): properly sanitize island names ( #1393 )
...
Co-authored-by: Lino Le Van <11367844+lino-levan@users.noreply.github.com >
2023-07-03 02:08:47 +02:00
Lautaro Suarez
582f56b033
chore: add function return type ( #1370 )
2023-07-01 19:30:13 +02:00
Marvin Hagemeister
2dc23dd66c
fix: terminal color glitches ( #1377 )
2023-06-30 18:42:39 +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
Kamil Ogórek
aff31c0f15
fix: Use custom 500 page for *all* handlers if present ( #1362 )
2023-06-27 11:05:05 +02:00
Marvin Hagemeister
2b92b1c526
fix: conditional sibling islands DOM order ( #1324 )
2023-06-26 13:57:05 +02:00
Kamil Ogórek
62aaffa314
fix: error page content cut off ( #1356 )
...
Flex container will take care of the rest; centering, padding, and
making it not expand unnecessarily.
Too wide container (centered):
<img width="1728" alt="image"
src="https://github.com/denoland/fresh/assets/1523305/8d4ee8fa-0854-4eaa-8ef5-d869742d69dc ">
Too narrow container (padded):
<img width="666" alt="image"
src="https://github.com/denoland/fresh/assets/1523305/48b2ab40-9943-4068-a376-222b1cc2919c ">
Fixes https://github.com/denoland/fresh/issues/1344
2023-06-24 19:31:36 +02:00
Reed von Redwitz
03dbbd4f8e
fix: update script supports deno.jsonc files ( #1349 )
2023-06-23 14:26:22 +02:00
Marvin Hagemeister
95fc13a8cc
fix: signals not serialized with newer versions ( #1348 )
2023-06-23 11:58:07 +02:00
arrow2nd
ab461cd71d
fix: update.ts fails when there is no islands directory ( #1327 )
2023-06-21 19:11:50 +02:00
EBIBO
9b98e13e29
fix: raise minimum deno version to 1.31.0 ( #1333 )
...
Fresh uses `Deno.Command` which is not available in older versions of Deno.
2023-06-21 07:27:18 +00:00
Marvin Hagemeister
1e1257f92f
fix: incorrect coloring in ansi256 terminals ( #1323 )
2023-06-18 22:23:07 +02:00
Luca Casonato
29966ad8bb
feat: don't require connInfo in request handler ( #1278 )
2023-06-18 21:39:11 +02:00
kit
4e2abd67dd
feat(init): make project name as default header title ( #1275 )
...
default header title should be same as project name
2023-06-18 06:39:37 +02: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
Luca Casonato
1753ee8620
fix: remove duplicated esbuild imports ( #1302 )
...
This somehow snuck in during the src/build/ refactor.
2023-06-16 01:06:49 +02:00
Reed von Redwitz
f5f8928c89
feat(server): trailing slash configuration ( #1291 )
2023-06-15 19:01:07 +02:00
Marvin Hagemeister
80306563d2
fix: rendering islands inside other islands ( #1295 )
2023-06-15 17:55:17 +02:00
Marvin Hagemeister
ce0eda7654
feat: allow passing JSX children to island + nested islands ( #1285 )
2023-06-15 10:08:48 +02:00
Asher Gomez
5ef6fa34d9
fix: use await Deno.serve().finished ( #1287 )
...
[A recent change in the
runtime](https://github.com/denoland/deno/pull/19485 ) has changed the
behaviour of `Deno.serve()` such that it throws when called a promise.
The correct way to do it is instead to call `Deno.serve().finished` as a
promise. This PR does that.
Fixes
https://github.com/denoland/fresh/pull/1286#issuecomment-1589987387
2023-06-14 08:23:51 +10:00
Marvin Hagemeister
36d56a9878
feat(server): pick free port if none specified ( #1274 )
2023-06-12 13:18:52 +02:00
Marvin Hagemeister
69f4fecf5a
feat(server): make startup message easier to see ( #1273 )
2023-06-12 10:42:17 +02:00
Marvin Hagemeister
5724b73e71
fix(ssr): invalid HTML comment tags ( #1260 )
2023-06-09 11:21:36 +02:00
Gabe
347e353357
chore: correct misspelled variable ( #1258 )
...
Renames `entires` to `entries`.
2023-06-09 15:26:36 +10:00
Marvin Hagemeister and Asher Gomez
be08573a95
feat(debug): show rendering issues during SSR ( #1256 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com >
2023-06-08 08:53:14 +02:00
Igor Brasileiro
273aa2ac5c
feat: break island render task into to multiple tasks ( #1019 )
...
Each island is now rendered in a separate task. This significantly reduces blocking time.
2023-06-07 12:32:16 +02:00
Luca Casonato
bb48f7b8eb
feat: limited npm: specifier support ( #1245 )
...
This commit adds limited support for `npm:` specifiers. Right now,
`npm:` specifiers are unsupported on Deno Deploy.
Towards #978
2023-06-06 17:41:29 +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
da5d507b77
fix: remove top level <script> imports ( #1246 )
...
Instead, rely only on modulepreload for script preloading.
2023-06-05 18:21:08 +02:00
Savin Angel-Mario and Asher Gomez
6e1874ccca
feat: use PORT environment variable to change port ( #468 )
...
This can be useful when deploying to other providers.
Also more convenient for projects with multiple developers with port
preferences
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com >
2023-06-05 09:08:46 +02:00