Marvin Hagemeister
|
df5931e105
|
Revert: feat(server): add safety checks during dev (#1567)
|
2023-08-01 18:10:30 +02:00 |
|
Marvin Hagemeister
|
d51ccdcf50
|
refactor: pre-sort all routes (#1562)
|
2023-08-01 13:06:35 +02:00 |
|
Marvin Hagemeister
|
e2c9e9a2b0
|
chore: simplify route creation logic (#1561)
|
2023-08-01 13:02:58 +02:00 |
|
Reed von Redwitz
|
21c72abecc
|
fix(server): merge competing PluginMiddleware handlers together (#1545)
|
2023-07-31 13:56:38 +00:00 |
|
Reed von Redwitz
|
1ad29e256b
|
fix(server): Improve MiddlewareHandler type for plugins (#1534)
|
2023-07-31 11:50:29 +02:00 |
|
 Michael HerznerandReed von Redwitz
|
a7fe9d04f1
|
feat(server): add safety checks during dev (#1489)
Co-authored-by: Reed von Redwitz <reed+github@vonredwitz.com>
|
2023-07-31 11:48:26 +02:00 |
|
Reed von Redwitz
|
87d52e24dd
|
fix(server): change RouteContext type parameter default to any (#1536)
|
2023-07-28 10:45:04 +02:00 |
|
Lino Le Van
|
5ba19abe13
|
fix: typos (#1526)
|
2023-07-26 13:09:42 +00:00 |
|
 Michael GearhardtandMarvin Hagemeister
|
1ed93cec88
|
feat: support route layouts via _layout.tsx (#1506)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
|
2023-07-26 11:49:08 +02:00 |
|
Marvin Hagemeister
|
71c0434f46
|
fix: allow string based event handlers in SSR (#1515)
|
2023-07-25 15:32:58 +02:00 |
|
Marvin Hagemeister
|
a5822a8754
|
fix: parse multiple route params in same part (#1518)
|
2023-07-25 11:17:40 +02:00 |
|
Marvin Hagemeister
|
3c0657caa8
|
fix: duplicate references for same signals (#1503)
|
2023-07-24 09:37:05 +00:00 |
|
Marvin Hagemeister
|
38d4b90091
|
fix: middleware state reset between middlewares (#1500)
|
2023-07-24 11:03:11 +02:00 |
|
Asher Gomez
|
0b96db4bae
|
fix: async route typing (#1510)
|
2023-07-24 08:22:48 +00:00 |
|
Roj
|
16453b4dc9
|
style: fix remaining inconsistencies (#1505)
|
2023-07-22 14:09:25 +02:00 |
|
Roj
|
d1e78095be
|
www: consistently spell Fresh (#1504)
|
2023-07-22 13:02:31 +02:00 |
|
 jviideandMarvin Hagemeister
|
ab45c5c42c
|
fix: generate one Content-Security-Policy nonce per render (#1480)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
|
2023-07-20 11:56:09 +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 VanandMarvin 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
|
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
|
17811dd593
|
feat: support Preact error boundaries (#1442)
|
2023-07-10 13:02:45 +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 RedwitzandLino 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 |
|
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 |
|
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 |
|
Marvin Hagemeister
|
95fc13a8cc
|
fix: signals not serialized with newer versions (#1348)
|
2023-06-23 11:58:07 +02: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 |
|
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 HagemeisterandAsher 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 |
|