Commit Graph
1122 Commits
Author SHA1 Message Date
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
Luca Casonato 8d85945da6 fix: remove Data from FreshContext (#2473)
This is now only on `PageProps`.
2024-05-31 13:50:28 +02:00
Luca Casonato dc283a137b fix: remove @fresh/core/client export (#2477)
These files are now referenced with https URLs.
2024-05-29 12:20:57 +02:00
Luca Casonato 4fab47357f tests: wait for esbuild to shut down (#2476) 2024-05-27 20:03:48 +02:00
Luca CasonatoandMarvin Hagemeister d06dad5be6 tests: don't disable all the sanitizers (#2472)
The tests also pass with them enabled for me.

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2024-05-27 15:00:40 +02:00
Marvin Hagemeister bd60444f7c fix: only generate stack on HttpError if status >= 500 (#2470) 2024-05-27 14:34:36 +02:00
Marvin Hagemeister 8865d290ce www: switch to precompile jsx (#2469) 2024-05-25 13:31:12 +02:00
Duncan Holm 67a3714db3 docs: Fix name of JSR update tool (#2468) 2024-05-25 12:33:28 +02:00
Marvin Hagemeister 5dd854341c www: add back trailing slash handling (#2467)
In Fresh 2 trailing slash handling isn't applied automatically anymore
and I forgot to do that when merging the Fresh 2 code base.

While we're at it, I've added a section for that to our migration guide.
2024-05-25 12:11:13 +02:00
Florject 6a7f41f084 chore: update link in README (#2466)
Corrects an incorrect link in the README
2024-05-25 12:06:11 +02:00
Marvin Hagemeister da858d0b34 www: improve error page design (#2463)
<img width="978" alt="Screenshot 2024-05-24 at 23 46 38"
src="https://github.com/denoland/fresh/assets/1062408/3ec2bdc5-e5fb-41f3-827e-7fd791569673">
2024-05-25 08:14:17 +02:00
Marvin Hagemeister 7e6f5d55b7 chore: release 2.0.0-alpha.11 (#2464) 2024-05-25 00:33:46 +02:00
Marvin Hagemeister f9545c3d63 fix: don't show error overlay on HttpError < 500 (#2462) 2024-05-24 23:46:21 +02:00
Marvin HagemeisterandLuca Casonato 2b1de48ff1 docs: add Fresh 2 migration guide (#2459)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2024-05-24 21:09:51 +02:00
Marvin Hagemeister 9a7399a769 chore: disable sanitizers in esbuild tests (#2461) 2024-05-24 20:39:54 +02:00
Marvin Hagemeister 77dc77826e fix: only load error overlay in development (#2460) 2024-05-24 20:29:59 +02:00
Luca Casonato 584e5716c3 fix: init script (#2458) 2024-05-24 20:29:31 +02:00
Octo8080X 476b4c75a7 showcase: add 'Thoth-Doc' (#2455)
Hello, Deno team!

I have created document site using Fresh and would like you to register
with showcase.
[Thoth-Doc](https://thoth-doc.deno.dev/)

Best regards.Hello, Deno team!
2024-05-24 19:53:21 +02:00
Luca Casonato f2162d24bf feat: add render function (#2454) 2024-05-24 18:31:34 +02:00
Marvin Hagemeister 82d027cbcd www: fix fragment links hidden under sticky header (#2457) 2024-05-24 18:01:57 +02:00
Marvin Hagemeister 484d918307 www: port error pages to Fresh 2 (#2456)
Forgot to port the `_500.tsx` and `_400.tsx` error pages to Fresh 2
2024-05-24 17:31:52 +02:00