Commit Graph
55 Commits
Author SHA1 Message Date
Luca Casonato 65d61bd1d5 feat: add open telemetry instrumentation (#2786)
This commit adds some useful automatic instrumentation for when users
are using `--unstable-otel`:

- Fresh renames the span for incoming HTTP requests to `$METHOD $ROUTE`
and the `http.route` attribute is added.
- Fresh creates a span around FS route handlers, showing whether they
returned a response or data.
- Fresh creates a span around async components, showing how long they
took to execute.
- Fresh adds a span around preact rendering, showing how long rendering
takes.
- Fresh adds a span around static file serving, showing how long it took
and whether there were requests without a cache bust key.

We can improve this in the future with more telemetry, such as metrics.
2024-12-10 15:03:50 +01:00
Luca Casonato 4a25ac385f refactor: make this repo a Deno workspace (#2719) 2024-12-10 13:41:18 +01:00
Luca Casonato 6ee4551df1 2.0.0-alpha.25 2024-11-08 12:08:56 +01:00
Luca Casonato 96e520a352 chore: release alpha.24 (#2745) 2024-10-31 11:31:51 +01:00
Marvin Hagemeister bf45e8652a chore: release alpha.23 (#2728) 2024-10-22 14:01:21 +02:00
Luca CasonatoandMarvin Hagemeister 407987589f feat: support fresh projects that are part of a workspace (#2716)
Also a performance improvement & bug fix in the tailwind plugin.

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2024-10-17 17:08:24 +02:00
Marvin Hagemeister e303b873a6 chore: release 2.0.0-alpha.22 (#2685) 2024-10-04 10:32:02 +02:00
Marvin Hagemeister 1081aa2eb9 fix: docs markdown smartypants (#2671)
This was a regression introduced in
https://github.com/denoland/fresh/pull/2655

Fixes https://github.com/denoland/fresh/issues/2670
2024-10-02 11:43:47 +02:00
Marvin Hagemeister e0f65319cd chore: add license fields (#2666) 2024-09-30 18:45:51 +02:00
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
Marvin Hagemeister 85c44d6460 chore: release alpha 20 (#2618) 2024-08-13 14:20:59 +02:00
Marvin Hagemeister 76af4114b7 chore: release alpha 19 (#2571) 2024-07-03 11:30:37 +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 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 0f6b4f624f chore: remove debug trace logs (#2545) 2024-06-25 10:08:48 +02:00
Marvin Hagemeister b0b1a306c5 chore: release alpha 16 (#2511) 2024-06-08 09:07:32 +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
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 7eb9a9b5ff chore: improve release script (#2501) 2024-06-05 13:24:15 +02:00
Marvin Hagemeister 0928ecbe11 chore: release alpha 14 (#2493) 2024-06-04 18:27:43 +02:00
Marvin Hagemeister 339ee98ea3 chore: release alpha (#2491) 2024-06-04 18:09:49 +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
Luca Casonato aa19b393e7 feat: export compat types from /compat export (#2478) 2024-06-03 14:32:38 +00: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
Marvin Hagemeister 7e6f5d55b7 chore: release 2.0.0-alpha.11 (#2464) 2024-05-25 00:33:46 +02:00
Marvin Hagemeister c57d0ccb2f chore: another v2 alpha release (#2452) 2024-05-24 09:59:01 +02:00
Marvin Hagemeister 287929e4d2 major: import Fresh 2.0 code (#2449)
🎉
2024-05-24 09:40:08 +02:00
Luca Casonato 34c875c71c chore: update esbuild_deno_loader to 0.8.5 (#2273) 2024-01-23 21:52:30 +01:00
Reed von Redwitz 099aa051be Revert "chore: simplify deno check:types command" (#2262)
Reverts denoland/fresh#2259
Windows is failing with this change:
* my PR
https://github.com/denoland/fresh/actions/runs/7556810357/job/20574665605?pr=2261
* your PR
https://github.com/denoland/fresh/actions/runs/7543217433/job/20533721591
* the commit from merging your PR
https://github.com/denoland/fresh/actions/runs/7543221780/job/20533736560

```
Run deno task check:types
Task check:types deno check **/*.ts **/*.tsx
Error launching 'deno': The filename or extension is too long. (os error 206)
Error: Process completed with exit code 1.
```
2024-01-17 16:35:12 +01:00
Marvin Hagemeister 5268aaa6a5 chore: simplify deno check:types command (#2259) 2024-01-16 15:41:20 +01:00
Reed von Redwitz a0483bc357 chore: create manifest generation task (#2088) 2023-11-30 17:07:00 +01:00
Craig Doremus b5816cd001 feat(tests): add fresh-testing-library tests (#1990) 2023-11-15 18:25:13 +01:00
Christian Svensson 206d5002d6 fix: add error-handler type to manifest (#1933) 2023-10-16 07:45:34 +02:00
Marvin Hagemeister 77bc15cb6f chore: remove --unstable from tests (#1914) 2023-10-11 16:46:06 +02:00
Asher Gomez 500336e97d chore: synchronize CI and local tests (#1894) 2023-10-10 11:35:04 +02:00
Marvin Hagemeister 3fd8fe89d3 feat: add build.outDir option (#1797) 2023-09-20 10:40:09 +02:00
Michael Herzner b6eb518092 feat: add first party Deno KV OAuth plugin (#1774) 2023-09-18 17:10:50 +00:00
Marvin Hagemeister ead634b0cf feat: exclude _fresh dir from everything (#1788) 2023-09-18 15:05:59 +02:00
Asher Gomez 76f0f4a84a chore: deno task ok (#1573) 2023-08-04 12:01:38 +02:00
Asher Gomez 62f5d3a492 chore(CI): remove redundant steps (#1569)
`deno task check:types` and `deno test -A` take care of everything.
2023-08-02 17:54:11 +10:00
Reed von Redwitz 5fa6a67188 chore(ci): type check entire project in ci (#1538) 2023-07-31 11:49:27 +02:00
Marvin Hagemeister 9abd1c2396 chore(ci): run tests in parallel (#1281) 2023-06-12 15:53:13 +02:00
Asher Gomez 24c38e49e8 refactor: simplify www task (#1190) 2023-05-19 14:21:50 +10:00