Commit Graph
782 Commits
Author SHA1 Message Date
Marvin Hagemeister d638c526f5 fix: partial hash navigation causing loop (#1838) 2023-10-02 16:24:09 +02:00
Sanjaiyan Parthipan a4ed93bfac init: use Promise.all (#1831) 2023-10-02 10:38:08 +02:00
Jason e034cf4c3d showcase: Add Deno Artwork (#1830) 2023-10-02 10:26:30 +02:00
Marvin Hagemeister 453cf0704e fix: docs islands not hydrated on safari 12 (#1837) 2023-10-02 10:26:16 +02:00
king8fisherandMarvin Hagemeister 40649fbd55 chore: append newline to produced json (#1829)
Co-authored-by: Marvin Hagemeister <marvinhagemeister50@gmail.com>
2023-09-28 19:05:22 +02:00
Marvin Hagemeister 1f2c3073df fix: only send revive() script when needed (#1825) 2023-09-28 10:31:39 +02:00
Asher Gomez 88985fe933 chore: update Deno KV OAuth plugin and docs (#1826)
These changes aim to improve the clarity and understandability of the
Deno KV OAuth plugin. It also updates to use the latest version of the
module.
2023-09-28 08:05:53 +00:00
Marvin Hagemeister 665d35bbc2 Add Partials (#1824) 2023-09-27 13:34:30 +02:00
Asher Gomez d9829e25e6 ci: run on latest stable version of Deno (#1820)
This PR changes CI to include the latest stable version of Deno,
alongside canary. This is important for picking up bugs in canary. This
seems like a reasonable thing to have for overall stability.

Possible prerequisite for #1819
2023-09-27 09:34:50 +02:00
Marvin Hagemeister f8fb61e943 feat: ask for project arg if missing on update (#1821) 2023-09-26 20:48:47 +02:00
Marvin Hagemeister 78606477ec fix: show marker confusion (#1823) 2023-09-26 11:54:36 +02:00
Marvin Hagemeister 5a47ffaf59 fix: conditional island children not rendered (#1822) 2023-09-26 08:48:26 +02:00
Asher Gomez 8ebb94bf59 refactor: simplified Deno KV OAuth plugin (#1808) 2023-09-25 18:35:46 +10:00
Marvin Hagemeister 3604c224ce fix: code frame not showing up in dev mode (#1814) 2023-09-24 11:26:47 +02:00
Marvin Hagemeister 738a51ad52 chore: make it easier to debug markers (#1805) 2023-09-21 03:07:31 +02:00
Ben d906076dee feat: Add InferOAuthProviders utility type to KV OAuth plugin (#1803) 2023-09-21 01:40:59 +02:00
mmuddasani d71f947327 fix: init fresh config formatting (#1804) 2023-09-21 01:37:06 +02:00
Marvin Hagemeister 3db514f869 fix: plugin script error halting JS execution (#1801) 2023-09-20 12:28:32 +02:00
Marvin Hagemeister 0c37b5f9b9 feat: add build.target option (#1798) 2023-09-20 11:05:46 +02:00
Marvin Hagemeister 3fd8fe89d3 feat: add build.outDir option (#1797) 2023-09-20 10:40:09 +02:00
mmuddasani ff6ae7eb7f fix: Fix typo in hover rule for default non-twind CSS (#1799) 2023-09-20 07:52:29 +00:00
Marvin Hagemeister 577e577a55 chore: Run all tests in parallel on CI (#1800) 2023-09-20 09:35:56 +02:00
Marvin Hagemeister 4a8bfc0327 chore: only run KV tests if KV is available (#1794) 2023-09-19 13:04:35 +02:00
Marvin Hagemeister 567df19f3d feat: de-duplicate <Head> children by key (#1793) 2023-09-18 22:06:56 +02:00
Ben 58b2bd9e7f feat: Add support for mapped providers to kv_oauth plugin (#1792) 2023-09-18 19:54:14 +00:00
Michael Herzner b6eb518092 feat: add first party Deno KV OAuth plugin (#1774) 2023-09-18 17:10:50 +00:00
Mathias Tværmose Gleerup c35f1f6519 feat: Enable tailwind theme variables in twindv1 Options (#1776) 2023-09-18 17:00:10 +00: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 c76f15479f feat: add plugin buildStart and buildEnd hooks (#1770) 2023-09-18 17:46:34 +02:00
Marvin Hagemeister d94d3db4aa feat: improve default error visualization (#1780)
Adds code frame to errors if possible:

<img width="1095" alt="Screenshot 2023-09-15 at 11 33 46"
src="https://github.com/denoland/fresh/assets/1062408/7f4a5378-d00f-4550-b995-37a77f96ce0c">

Default error page in dev mode:

<img width="937" alt="Screenshot 2023-09-15 at 11 30 59"
src="https://github.com/denoland/fresh/assets/1062408/130172f4-beed-4d8c-b2b5-0e23be0b8f84">

Default error page in prod mode:

<img width="939" alt="Screenshot 2023-09-15 at 11 31 23"
src="https://github.com/denoland/fresh/assets/1062408/4ef58b83-b5f4-45cb-bc3f-1c8c4e5b6357">
2023-09-18 17:37:48 +02:00
Marvin Hagemeister f9f3cd82ee feat: error if stateful hook is used outside of islands (#1778) 2023-09-18 16:25:37 +02:00
Marvin Hagemeister 112d701e5c fix: only enable dev things in dev mode (#1789) 2023-09-18 15:07:42 +02:00
Marvin Hagemeister ead634b0cf feat: exclude _fresh dir from everything (#1788) 2023-09-18 15:05:59 +02:00
Luca Casonato 795836ed29 tests: de-flake tests and re-enable sanitizers (#1786) 2023-09-18 11:09:24 +02:00
Marvin Hagemeister c2a82e723e fix: server initialized twice in old dev mode (#1781) 2023-09-15 17:37:48 +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
Miguel Rangel e59472e35a showcase: Add crawford.ml site (#1771) 2023-09-14 10:14:34 +02:00
Marvin Hagemeister 6d9afd62ab feat: add nonce for inline scripts (#1772) 2023-09-14 09:39:53 +02:00
Adam Gregory e67a8dc106 feat: Add NotFoundData generic to HandlerContext (#1747) 2023-09-13 16:11:06 +02:00
Tomofumi ChibaandMarvin 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
jia wei 42dc54500c fix: incorrect snapshot path with non-standard src directory (#1768) 2023-09-13 13:36:05 +02:00
e01ef2d8a0 feat(dev): Ignore common test files in routes and islands (#1039)
Co-authored-by: Marvin Hagemeister <marvinhagemeister50@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-09-11 16:05:55 +02:00
Sjors Smits 59fff11903 chore: Refactor CLI tests (#1744) 2023-09-11 08:12:12 +02:00
Taylor Young 50a4f59da2 showcase: updated showcase url (#1762) 2023-09-11 07:52:53 +02:00
Matt Barnett-Jones 02a3cb4dc3 www: remove unneeded Counter import from Head page (#1757) 2023-09-10 02:54:20 +02:00
ryu a98704b076 www: remove extra whitespace in class (#1758) 2023-09-09 20:05:26 +00:00
Michael Herzner 8a0d0dc452 feat: add support for optional dynamic route params (#1706) 2023-09-07 14:28:44 +02:00
Marvin Hagemeister cda20720dd chore: trace ops during CI testing (#1749) 2023-09-07 10:49:06 +02:00
Marvin Hagemeister 7178c968cc chore: release 1.4.3 (#1745) 2023-09-06 13:50:32 +02:00