Marvin Hagemeister
c72f534369
fix: route param fallback not empty string ( #2146 )
2023-12-06 09:33:36 +01:00
Marvin Hagemeister
054ffbb44a
fix: dots in island + route name not working ( #2105 )
2023-11-30 18:14:59 +01:00
Marvin Hagemeister
9e11c5c56b
feat: expose config in context + simplify page props ( #2102 )
2023-11-30 16:11:31 +01:00
Marvin Hagemeister
8ddc21eb90
Router cleanup ( #2099 )
2023-11-30 14:08:05 +01:00
Reed von Redwitz and Marvin Hagemeister
b902205feb
chore: bump std to 208 and deal with deprecations ( #2081 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-11-28 16:35:26 +00:00
Marvin Hagemeister
325850719a
feat: reduce number of island bundles ( #2082 )
2023-11-28 17:23:27 +01:00
Marvin Hagemeister
4759b21be8
fix: serve static file with parens ( #2013 )
2023-11-06 09:22:54 +01:00
Reed von Redwitz
f39e0d4218
feat(server): throwing Deno.errors.NotFound triggers 404 ( #1984 )
2023-10-30 18:00:57 +01:00
Reed von Redwitz
f5dd55443b
feat: middleware can call renderNotFound ( #1975 )
2023-10-27 23:34:49 +02:00
Asher Gomez
6ddef91d95
refactor: replace references of options with config ( #1903 )
2023-10-11 09:25:03 +02:00
Marvin Hagemeister
32eb61c95d
fix: allow setting server config from fresh config ( #1889 )
2023-10-09 13:59:30 +02:00
Marvin Hagemeister
665d35bbc2
Add Partials ( #1824 )
2023-09-27 13:34:30 +02:00
Marvin Hagemeister
567df19f3d
feat: de-duplicate <Head> children by key ( #1793 )
2023-09-18 22:06:56 +02:00
Marvin Hagemeister
3850131063
chore: speed up tests ( #1791 )
...
This PR speeds up tests by handling custom created `Requests` object
directly instead of binding a socket and making a real HTTP request. For
most tests this is fine, and for those that aren't the existing testing
methods are all preserved.
2023-09-18 18:44:22 +02:00
Marvin Hagemeister
112d701e5c
fix: only enable dev things in dev mode ( #1789 )
2023-09-18 15:07:42 +02:00
Luca Casonato
795836ed29
tests: de-flake tests and re-enable sanitizers ( #1786 )
2023-09-18 11:09:24 +02:00
Marvin Hagemeister
f1148042ee
chore: fix fetch body not consumed in test ( #1782 )
2023-09-15 13:34:22 +02:00
Marvin Hagemeister
32ee75dee5
chore: fix wait for child process shutdown ( #1777 )
2023-09-15 13:02:44 +02:00
Marvin Hagemeister
6d9afd62ab
feat: add nonce for inline scripts ( #1772 )
2023-09-14 09:39:53 +02:00
Tomofumi Chiba and Marvin Hagemeister
ec2f785455
fix: plugins not loaded with legacy dev ( #1764 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-09-13 16:09:50 +02:00
Michael Herzner
8a0d0dc452
feat: add support for optional dynamic route params ( #1706 )
2023-09-07 14:28:44 +02:00
Reed von Redwitz
03df5f7306
fix(server): pass context into 500 handlers ( #1720 )
2023-09-01 15:56:47 +02:00
Marvin Hagemeister
b2548b24cd
fix: refresh not working ( #1659 )
2023-08-17 11:46:07 +02:00
Marvin Hagemeister
f67ec8520f
fix: render state not unique per render ( #1638 )
2023-08-16 16:30:16 +02:00
Marvin Hagemeister
563b61d849
chore: speed up some tests ( #1630 )
2023-08-13 12:35:07 +02:00
Christian Svensson
7d4c751105
fix: add missing state property to interface ( #1579 )
2023-08-08 14:15:53 +02:00
Asher Gomez
5e78224f49
chore(CI): fix and simplify caching ( #1571 )
2023-08-02 09:44:42 +02:00
Lino Le Van
5ba19abe13
fix: typos ( #1526 )
2023-07-26 13:09:42 +00:00
Marvin Hagemeister
71c0434f46
fix: allow string based event handlers in SSR ( #1515 )
2023-07-25 15:32:58 +02:00
Marvin Hagemeister
38d4b90091
fix: middleware state reset between middlewares ( #1500 )
2023-07-24 11:03:11 +02:00
jviide and Marvin 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
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
46ae49d654
chore: add test for middleware error handling ( #1453 )
2023-07-12 10:12:43 +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
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 Redwitz
0db3a0911a
feat: pass middleware state in props ( #1264 )
2023-06-28 14:53:42 +02: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
124c597112
chore: remove stray console.log in tests ( #1351 )
2023-06-23 13:41:31 +00:00
Marvin Hagemeister
87b15885aa
feat(starter): add 404 page template ( #1336 )
2023-06-21 11:01:48 +02:00
Luca Casonato
29966ad8bb
feat: don't require connInfo in request handler ( #1278 )
2023-06-18 21:39:11 +02:00
Kamil Ogórek
d5a8692b78
feat: Allow passing props to renderNotFound method ( #1310 )
2023-06-16 17:12:01 +02:00
Marvin Hagemeister
36d56a9878
feat(server): pick free port if none specified ( #1274 )
2023-06-12 13:18:52 +02: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
Marvin Hagemeister
cd760b90d4
chore(test): extract shared start server code ( #1250 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-06-05 18:52:22 +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