Commit Graph
1177 Commits
Author SHA1 Message Date
Marvin Hagemeister 39dbee5497 chore: release 2.0.0-alpha.21 (#2665) 2024-09-30 18:38:41 +02:00
Marvin HagemeisterandLuca Casonato de8f1b0c59 feat: update for Deno 2 (#2655)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2024-09-30 18:30:30 +02:00
Ryan Blake b5389f69a3 showcase: add wtfiscongressdoingnow.us (#2651)
Just adding in my Deno Fresh project. "WTF Is Congress Doing Now?" is a
non-partisan up-to-date source of bills introduced congress. Information
includes bill metadata, sponsors, links to affected codes and links to
PDF copies of bills.
2024-09-18 17:37:56 +02:00
João Victor LopesandMarvin Hagemeister 7e4a22f7af feat(docs): dynamic css use tailwind (#2646)
close #2626

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2024-09-09 09:10:40 +02:00
Marvin Hagemeister 06bb42689c fix: typo (#2647) 2024-09-09 09:03:49 +02:00
YCM Jason b93ab3ad12 doc: fix typo (#2634)
a really small one 🤪
2024-09-06 13:10:15 +02:00
Marvin Hagemeister f2fc3f13da fix: process global warning (#2643) 2024-09-06 13:08:18 +02:00
Felix 126f492ea0 fix: decode static file paths (#2642)
Fixes #2613
2024-09-06 10:49:07 +02:00
Trid3r 03ef0e5347 showcase: add Ticoxs (#2636)
Hi everyone
Fresh seemed like a really interesting framework, so I wanted to
contribute in some way.
So, i created this mini-game to showcase the capabilities of Deno and
Fresh.

Although it's currently just a beta but i'm considering increasing the
complexity of the game in the future.
I hope you'll give me the opportunity to set an example and maybe even
inspire someone to create something even bigger.
Thx!
2024-09-05 08:41:12 +02:00
Guspan TanadiandMarvin Hagemeister 25d8446253 docs(plugins): twind link example renderAsync (#2625)
Provide by navigating intended link from main branch to twind-ssr.

---------

Co-authored-by: Marvin Hagemeister <marvinhagemeister50@gmail.com>
2024-08-22 09:04:43 +02:00
Stephen Melnicki de0b4d2e6e showcase: rename 'Deno Paste' to 'Denopaste' (#2607)
Hello fresh team! 👋 🍋 

I was poking around the fresh canary version and thought I'd try it out
by updating my showcase app, Deno Paste. Super pleased with the canary
updates so far, by the way. Really looking forward to the 2.0 release!

Anyway, while making the update, I decided to rename the title of the
app from "Deno Paste" to "Denopaste" and make some UI changes. Included
here are the updates to the `showcase.json` and some new screenshots.

Thanks!
2024-08-14 09:42:27 +02:00
Marvin Hagemeister 85c44d6460 chore: release alpha 20 (#2618) 2024-08-13 14:20:59 +02:00
Luca CasonatoandMarvin Hagemeister 1f9fb91c4d fix: add proper cache control headers (#2617)
The whole point of `asset()` is to enable caching. Yet we were not
adding cache control headers... :D

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2024-08-13 14:15:25 +02:00
Hoai Tong Xuan bd16a65587 showcase: add 2coffee's blog (#2608)
Hello!
Thank you to everyone who created this amazing tool. I started from
scratch with Fresh to rebuild this blog. The result is fantastic, it's
very fast and clean. So, I thought I should share it with more people.
Thanks!
2024-07-26 11:27:14 +02:00
Marvin Hagemeister ca02bfeba1 docs: Update deno version (#2604)
Fixes https://github.com/denoland/fresh/issues/2603
2024-07-18 13:54:50 +02:00
Marvin Hagemeister b510113655 fix: include middlewares and layouts for error pages (#2598)
Fixes https://github.com/denoland/fresh/issues/2594
2024-07-16 10:53:38 +02:00
Behnam (OneSchema) 3f78058ae9 docs: fix typo (#2581)
Looks like the intention was to refer to one of the folders in the given
project structure listing.
2024-07-08 08:53:37 +02:00
Drew Hoffer 9e8be46f79 docs: fix typo on islands page (#2580)
Typo with islands page
2024-07-08 08:52:17 +02:00
Octo8080X 0f83c8b998 showcase: add 'Pile-Up' (#2583)
Hello, Deno team!

I have created a service using Fresh and would like you to register with
showcase.
[Pile-Up](https://pile-up.deno.dev/)

Best regards.
2024-07-08 08:50:35 +02:00
Behnam (OneSchema) 43b5a711e6 docs: fix typo (#2582) 2024-07-08 08:48:02 +02:00
Reed von Redwitz 8413666786 fix: support numeric keys when rendering (#2584)
I'm trying to migrate one of my projects which publishes a plugin, and
this was blocking me.

Looks like key is typed as `export type Key = string | number | any;`,
so we might need to make more changes here in the future.
2024-07-07 19:09:11 +02:00
Mayank 364810def4 docs: fix typo in migration guide (#2578)
Just a stray underscore 😅
2024-07-05 16:54:58 +02:00
Max Rashes ba8e1d8129 docs: inline plugin example (#2575)
Tackling - https://github.com/denoland/fresh/issues/2546

Basically just inlined the old reference file and removed the islands
and app builder to make it a bit more streamlined.

Could make the example more dry but I'm not working from my normal dev
environment.
2024-07-04 19:42:36 +02:00
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