Commit Graph
1154 Commits
Author SHA1 Message Date
Marvin Hagemeister 599efd7350 docs: Add note about opting out of partials (#2572) 2024-07-03 11:44:30 +02:00
Marvin Hagemeister 76af4114b7 chore: release alpha 19 (#2571) 2024-07-03 11:30:37 +02:00
Marvin Hagemeister e33915b34b fix: remove lock option from init as it's the default (#2570) 2024-07-03 11:25:31 +02:00
Marvin Hagemeister 6be6435467 fix: missing dom root frag polyfill after preact update (#2569) 2024-07-03 10:39:33 +02:00
Max Rashes 239de3d08a docs: update markdown tutorial to use JSR (#2565)
Small cleanup of how we recommend importing the gfm package (moved to
jsr, old post still works but could be confusing to new users)
2024-07-02 20:29:12 +00:00
Marvin Hagemeister 79a262b344 fix: GET partial form submit ignoring multiple checkbox values (#2568)
Fixes https://github.com/denoland/fresh/issues/2567
2024-07-02 22:24:48 +02:00
Ryan Christian 045ec80e88 docs: Tiny grammar correction (#2563) 2024-06-30 21:50:33 +02:00
Matt Nield 75f680226e docs: fix grammar in documentation (#2561)
Fix grammar errors in documentation
2024-06-30 10:17:56 +02:00
Marvin Hagemeister 76a823eae2 chore: release new examples (#2557) 2024-06-28 16:17:32 +02:00
Marvin Hagemeister 8699586e63 fix: add explicit return types to examples (#2556) 2024-06-28 16:07:39 +02:00
Marvin Hagemeister 9fe48d4e74 feat: add @fresh/examples package (#2555)
This can be used to showcase remote islands, combining apps and other
things.
2024-06-28 15:58:56 +02:00
Marvin Hagemeister 138d4c457c fix: remove unnecessary URL allocation (#2554) 2024-06-27 12:34:56 +02:00
Marvin Hagemeister bfb5753ecb chore: release alpha 18 (#2553) 2024-06-27 11:59:36 +02:00
Marvin Hagemeister becd440d77 fix: error bundling JSR islands (#2552) 2024-06-26 16:55:26 +02:00
Marvin Hagemeister fc820e8965 feat: add error messages for missing build cache (#2551) 2024-06-26 15:33:25 +02:00
Marvin Hagemeister 28eca25a42 fix: add vendor/ to gitignore by default (#2550) 2024-06-26 14:30:45 +02:00
Marvin Hagemeister fa22c60a4e chore: release 2.0.0-alpha.17 (#2549) 2024-06-26 11:29:54 +02:00
Marvin Hagemeister a79e797245 chore: remove $std alias (#2548) 2024-06-26 11:21:11 +02:00
Marvin Hagemeister 72811da29b fix: etag caching HTTP headers (#2504) 2024-06-25 10:21:43 +02:00
Marvin Hagemeister 0f6b4f624f chore: remove debug trace logs (#2545) 2024-06-25 10:08:48 +02:00
Marvin Hagemeister 49839079a4 Fix: static file processed twice if outdir inside static dir (#2543)
Fixes https://github.com/denoland/fresh/issues/2541
2024-06-24 18:13:28 +02:00
Reed von Redwitz a560c17e7b feat: add default GET handler (#2542)
closes https://github.com/denoland/fresh/issues/2530
2024-06-24 15:04:21 +02:00
Reed von Redwitz 77bd7d0d44 feat: re-enable lockfile in init (#2538)
closes https://github.com/denoland/fresh/issues/2533

Or does this need a test to assert the file exists?
2024-06-24 09:26:55 +02:00
Reed von Redwitz deeccd7e25 feat: add example of define.middleware to init (#2534)
The documentation for `MiddlewareFn` is out of date, because it
references a nonexistent `defineMiddleware` function. It's been updated
to reference the correct `define.middleware` function.

Additionally, I included an example of using this in the init project. I
also complicated the usage of `app.get` so that the function actually
uses the context. To make it clear to users of fresh 1 that this can be
equivalent to a file-based-route, I've included such a route as well.

The two new examples in `maini.ts` should make it much more clear to
fresh 1 users how the new system can work.
2024-06-23 22:46:04 +02:00
Reed von Redwitz 0962a94a11 chore: cleanup unused exported interfaces (#2535) 2024-06-23 22:45:14 +02:00
Reed von Redwitz 5a7184ad99 fix: ensure deno task check passes in initialized projects (#2529)
There were two issues with initialized projects:
1. not every file was formatted properly
2. linting wasn't passing when using `verbatim-module-syntax`. This
isn't enabled right now, due to it not having the `recommended` tag, but
it seems like a good idea. Actually initializing a project with this can
be done in a separate PR.
2024-06-23 17:44:07 +02:00
Tsukasa Ueno febbc52727 doc: fix the link to sever configuration (#2526)
I found a dead link on the "Writing tests" page.
2024-06-23 17:43:03 +02:00
Reed von Redwitz 27578bc038 chore: fix some typos (#2528) 2024-06-23 17:42:29 +02:00
IuriandIuriiiiiii 160148c326 docs: remove duplicated word (#2522)
Closes #2518

Co-authored-by: Iuriiiiiii <alex.casas@webtroniclabs.com>
2024-06-18 21:59:57 +00:00
Jordan Tucker 97ac05912c docs: Fix incorrect enctype info on Forms page (#2516)
Fixes #2515

This PR updates the Forms page in the docs with accurate information
about a form's `enctype` attribute.
2024-06-16 22:46:24 +00:00
Max Walters 7caae01b17 docs: fix javascript casing (#2512)
This PR fixes a typo in the word `javascript` in the documentation, and
fixes it to be `JavaScript` instead.
2024-06-10 20:01:44 +00:00
Marvin Hagemeister b0b1a306c5 chore: release alpha 16 (#2511) 2024-06-08 09:07:32 +02:00
Marvin Hagemeister 003f2bbb5f fix: incorrect partial url on backwards navigation (#2510) 2024-06-08 09:01:12 +02:00
Marvin Hagemeister d6cabce71d chore: release alpha 15 (#2507) 2024-06-08 08:14:59 +02:00
Marvin Hagemeister 97e2b54b4e chore: add back lockfile (#2508) 2024-06-08 08:09:39 +02:00
Marvin Hagemeister 0ceab6b8a9 feat: init projects with jsx precompile (#2506) 2024-06-08 08:07:18 +02:00
Marvin Hagemeister fe26b8e2ff chore: don't rely on jsr version in init test (#2509) 2024-06-08 08:05:33 +02:00
Adam Gregory 8c5e2b00c9 fix: Include submitter data in partial form data (#2307)
Fixes #2306
2024-06-06 19:02:49 +02:00
Luca Casonato c3ec742a65 feat: import fresh from fresh (#2479)
Instead of importing as `@fresh/core`.
2024-06-05 14:51:35 +02:00
Marvin Hagemeister 19d3e452ac fix: bring back island module preloading (#2503) 2024-06-05 14:41:02 +02:00
Marvin Hagemeister f09130cebf fix: add init background gradient (#2502) 2024-06-05 14:00:57 +02:00
Marvin Hagemeister 7eb9a9b5ff chore: improve release script (#2501) 2024-06-05 13:24:15 +02:00
Marvin Hagemeister 3fe988893d fix: don't show "fresh ready" log in prod (#2500) 2024-06-05 10:21:12 +02:00
Marvin Hagemeister f69d393eae fix(init): update init complete text (#2499)
Related: https://github.com/denoland/fresh/issues/2197
2024-06-05 10:11:17 +02:00
Marvin Hagemeister 2b88f4bf56 fix: falsy f-* attributes not preserved inside island (#2498)
Fixes https://github.com/denoland/fresh/issues/2359
2024-06-05 10:06:53 +02:00
Marvin Hagemeister fba3f2b845 fix: partial form redirect not working (#2497)
Fixes https://github.com/denoland/fresh/issues/2404
2024-06-05 09:42:27 +02:00
Marvin Hagemeister d613c6a6ba fix: islands not working with basePath (#2496) 2024-06-05 09:02:27 +02:00
Marvin Hagemeister f8b60ddd15 fix: wrong url after partial form submission (#2495)
Fixes https://github.com/denoland/fresh/issues/2409
2024-06-05 08:30:28 +02:00
Tim Hårek Andreassen a9b552945a www: Add aria-hidden to icons and illustrations (#2494)
Added `aria-hidden="true"` to all decorative icons and illustrations.

If there are any questions, suggestions or anything, please let me know
:)

Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
2024-06-05 00:05:59 +02:00
Marvin Hagemeister 0928ecbe11 chore: release alpha 14 (#2493) 2024-06-04 18:27:43 +02:00