Commit Graph
207 Commits
Author SHA1 Message Date
Marvin Hagemeister 602807686a fix: load snapshot message shown for build (#1640) 2023-08-16 17:30:30 +02:00
Marvin Hagemeister 477364c567 feat: prebundle code + restore from snapshot (#1604) 2023-08-16 16:47:51 +02:00
Marvin Hagemeister f67ec8520f fix: render state not unique per render (#1638) 2023-08-16 16:30:16 +02:00
Marvin HagemeisterandReed von Redwitz b2362da281 www: Various documentation improvements (#1635)
Co-authored-by: Reed von Redwitz <reed+github@vonredwitz.com>
2023-08-16 16:24:53 +02:00
Marvin Hagemeister 726740ed39 feat: add helpers to make Fresh less TypeScripty (#1627) 2023-08-14 22:45:13 +02:00
Marvin Hagemeister 6436a43dce fix: rename layout config options (#1619) 2023-08-14 15:47:36 +02:00
Marvin HagemeisterandAsher Gomez ba67d895ce feat: support async app template (#1626)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-08-14 14:52:48 +02:00
Marvin Hagemeister 563b61d849 chore: speed up some tests (#1630) 2023-08-13 12:35:07 +02:00
Marvin Hagemeister 86f92114d8 feat: Support setting <html> in _app template (#1617) 2023-08-11 18:40:20 +02:00
Marvin Hagemeister 7ebaf0404d feat: allow layout and _app overrides (#1611) 2023-08-09 16:35:53 +00:00
Reed von Redwitz 81ae7b8427 chore: add test for checking initialized project (#1606)
This is, I think, the natural followup to
https://github.com/denoland/fresh/pull/1539 and
https://github.com/denoland/fresh/pull/1454. Now that we have an easy
way to type check the initialized project, we should assert that there
are no type errors in that project.

This adds three seconds on my slow computer, but I think it's worth it;
releasing code with red squiggles or linting or formatting errors is a
bit silly.
2023-08-08 22:01:51 +02:00
Christian Svensson 7d4c751105 fix: add missing state property to interface (#1579) 2023-08-08 14:15:53 +02:00
Marvin HagemeisterandAsher Gomez 8325225a0d feat: support async layout functions (#1597)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-08-08 14:15:02 +02:00
Marvin HagemeisterandAsher Gomez 11077227b5 feat: support conditional island JSX children (#1355)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-08-08 11:35:28 +02:00
Marvin Hagemeister 97c6876bf7 feat: co-locate islands + non-route files (#1600) 2023-08-07 20:33:08 +02:00
Marvin Hagemeister d8211dad28 chore: speed up server component tests (#1596) 2023-08-07 14:49:07 +02:00
Reed von Redwitz 5d2c8b6b3c feat(server): support https (#1599) 2023-08-06 11:56:40 +00:00
Reed von Redwitz 1fb7f3bea9 fix(server): make LayoutProps generic (#1592) 2023-08-05 22:27:13 +02:00
Reed von Redwitz cc0e2cb2ec chore(server): simplify plugin route creation (#1594) 2023-08-05 21:58:15 +02:00
Reed von Redwitz 6d5428eeaa fix(update): update script actually supports comments in jsonc (#1591) 2023-08-04 15:22:08 +02:00
Reed von Redwitz 630f0a2322 fix(server): make AppProps generic (#1449) 2023-08-04 12:05:15 +02:00
Marvin Hagemeister e4d797ae4e feat: add support for route groups (#1563) 2023-08-02 09:51:20 +02:00
Asher Gomez 5e78224f49 chore(CI): fix and simplify caching (#1571) 2023-08-02 09:44:42 +02:00
Marvin Hagemeister df5931e105 Revert: feat(server): add safety checks during dev (#1567) 2023-08-01 18:10:30 +02:00
Marvin Hagemeister 813ee22574 chore: speed up layout tests (#1565) 2023-08-01 17:08:57 +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 80fece0d3c fix(ci): type error in dev_checks fixture (#1550) 2023-07-31 15:23:36 +02: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 6fc885ecc5 chore: clean up remaining type errors in project (#1537) 2023-07-28 10:45:45 +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 e18a608515 fix: Only show update message if current < latest (#1499) 2023-07-24 13:21:34 +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
Roj 16453b4dc9 style: fix remaining inconsistencies (#1505) 2023-07-22 14:09:25 +02:00
Marvin Hagemeister 5d07e6e9eb fix: island rendered outside of bounding markers (#1495) 2023-07-21 17:05:05 +02:00
Marvin Hagemeister 3ab35a44f9 fix: current version not updated in update check (#1482) 2023-07-21 13:02:16 +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
Marvin Hagemeister 0fc6850d87 chore: make test more timing resilient (#1473) 2023-07-18 12:41:36 +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 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
Reed von Redwitz 46ae49d654 chore: add test for middleware error handling (#1453) 2023-07-12 10:12:43 +02:00
Marvin Hagemeister 0d141b7153 fix: twind including unused CSS rules (#1415) 2023-07-11 23:45:03 +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