Commit Graph
1142 Commits
Author SHA1 Message Date
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
Marvin Hagemeister bcfb4e34c1 fix: wrong type in init files (#2492) 2024-06-04 18:26:44 +02:00
Marvin Hagemeister 339ee98ea3 chore: release alpha (#2491) 2024-06-04 18:09:49 +02:00
Marvin Hagemeister b0b4bf1efd chore: add release script (#2490) 2024-06-04 18:01:32 +02:00
Asher Gomez 0ca7568f54 chore: @std/* dependencies (#2488)
Mainly done to get release candidates in use.
2024-06-04 09:38:24 +02:00
Marvin Hagemeister 049bb49c07 chore: fix type error (#2486)
We only checking types in CI in `src/` + `tests/`. This PR adds the
other folders.
2024-06-03 17:46:42 +02:00
Marvin Hagemeister cbbcca63f6 chore: release another alpha (#2485) 2024-06-03 17:31:47 +02:00
Marvin Hagemeister 848834e6a7 chore: add test for island updater (#2484) 2024-06-03 17:25:41 +02:00
Marvin Hagemeister e007597ff3 feat: remove MODE global (#2483) 2024-06-03 16:54:37 +02:00
Luca Casonato aa19b393e7 feat: export compat types from /compat export (#2478) 2024-06-03 14:32:38 +00:00
Marvin Hagemeister 2fb8606e9e fix: path handling inconsistencies (#2482) 2024-06-03 15:03:48 +02:00
Marvin Hagemeister 9347b84cba feat: inject process.env.NODE_ENV for third party libs (#2481) 2024-05-31 15:18:23 +02:00
Marvin Hagemeister 88c3671a09 fix: error handling in fs routes (#2474)
Ran into an issue where we weren't responding with the correct status
code and passed response headers. This was a bit of a rabbit hole and it
was caused by us wrapping to more error handling middlewares than
necessary.
2024-05-31 14:27:36 +02:00