Commit Graph
161 Commits
Author SHA1 Message Date
Marvin Hagemeister df5931e105 Revert: feat(server): add safety checks during dev (#1567) 2023-08-01 18:10:30 +02:00
Michael HerznerandReed von Redwitz a7fe9d04f1 feat(server): add safety checks during dev (#1489)
Co-authored-by: Reed von Redwitz <reed+github@vonredwitz.com>
2023-07-31 11:48:26 +02:00
Marvin Hagemeister 75f5761ca4 www: fix broken canary update link (#1544) 2023-07-29 15:17:27 +02:00
Lino Le Van 5ba19abe13 fix: typos (#1526) 2023-07-26 13:09:42 +00:00
Michael GearhardtandMarvin Hagemeister 1ed93cec88 feat: support route layouts via _layout.tsx (#1506)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-07-26 11:49:08 +02:00
Marvin Hagemeister 2e8460e5c1 www: move latest docs into latest folder (#1522) 2023-07-25 13:42:01 +02:00
Marvin Hagemeister 38d4b90091 fix: middleware state reset between middlewares (#1500) 2023-07-24 11:03:11 +02:00
Roj 16453b4dc9 style: fix remaining inconsistencies (#1505) 2023-07-22 14:09:25 +02:00
Roj d1e78095be www: consistently spell Fresh (#1504) 2023-07-22 13:02:31 +02:00
Reed von Redwitz 72603d60cf docs: add "Using CSP" example (#1376) 2023-07-21 11:10:16 +02:00
Reed von Redwitz c60f2fc566 docs: update twindv1 example to resolve type issue (#1467) 2023-07-20 21:04:54 +02:00
Marvin Hagemeister a078182735 docs: return Responses from async routes (#1493) 2023-07-20 14:37:13 +02:00
Marvin Hagemeister 2575ca5cad chore: release 1.3.0 (#1460) 2023-07-18 18:09:13 +02:00
Marvin Hagemeister b3c22384e0 www: add docs for async route components (#1475) 2023-07-18 17:44:04 +02:00
Marvin Hagemeister f12c96ed45 feat: add upgrade check (#1444) 2023-07-17 15:49:47 +02:00
50db296fb7 feat(server): plugins can add middlewares and routes (#1455)
Co-authored-by: RoeHH <git@roeh.ch>
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-07-13 11:26:07 +02:00
Michael HerznerandAsher Gomez 7dee138bee docs(examples): add an example on how to use deno_kv_oauth (#1328)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-07-13 11:18:26 +02:00
Lino Le VanandMarvin Hagemeister e2a1bf8643 feat: move to Deno.serve (#1427)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-07-12 14:37:53 +02:00
Reed von Redwitz 724c81f2c7 feat(server): middleware params (#1314) 2023-07-10 15:06:43 +02:00
Reed von Redwitz 27622a190e docs: add "Server Components" concept page (#1390) 2023-07-10 15:06:27 +02:00
Reed von Redwitz 4b18dc8b79 www: fix file locations in comments of crud api (#1438) 2023-07-10 08:47:58 +02:00
Reed von Redwitz f737e1c4e3 www: cleanup miscellaneous doc items (#1419) 2023-07-07 16:07:40 +02:00
Marvin Hagemeister bf3e82c093 www: add versioning to docs (#1400) 2023-07-04 12:33:47 +02:00
Reed von Redwitz efcaec3658 www: convert toc to .ts (#1381) 2023-07-04 10:49:00 +02:00
Marvin Hagemeister 16be99e69b fix: change MultiHandler back to Handlers (#1396) 2023-07-03 09:57:46 +02:00
Reed von Redwitz 4de9394547 docs: add "Sharing state between islands" example (#1311) 2023-06-28 22:17:16 +02:00
Reed von Redwitz db357973ab docs: add "Rendering markdown" example (#1307) 2023-06-28 15:16:14 +02:00
Reed von Redwitz 86dcfcc0ca docs: add "Handling complex routes" example (#1365) 2023-06-28 12:55:03 +00:00
Reed von Redwitz 0db3a0911a feat: pass middleware state in props (#1264) 2023-06-28 14:53:42 +02:00
Aushwin 851f8d60aa refactor: changed Handlers type to MultiHandler (#1360) 2023-06-28 12:52:48 +00:00
Reed von Redwitz ee3e4a1145 docs: add "Creating a CRUD API" example (#1361)
closes https://github.com/denoland/fresh/issues/768
supersedes https://github.com/denoland/fresh/pull/853

I'm not sure if this is what Ryan had in mind when opened 768. But this
PR includes some working code, references Deno KV, and briefly touches
on `OPTIONS` as a bonus.

Should I link to https://deno.com/blog/build-crud-api-oak-denokv where I
borrowed some code from? I must admit I'm a bit confused about why Andy
chose to write about Oak instead of Fresh in this post...
2023-06-27 09:18:49 +02:00
Reed von Redwitz 0c187c145a docs: add "Dealing with CORS" example (#1347) 2023-06-24 11:10:12 +00:00
Taylor Young 30349db939 fix link (#1352) 2023-06-24 13:07:00 +02:00
Reed von Redwitz 7a7d0e77d0 docs: add section about "Middleware Destination" feature (#1343) 2023-06-23 13:50:20 +00:00
Marvin Hagemeister 87b15885aa feat(starter): add 404 page template (#1336) 2023-06-21 11:01:48 +02:00
EBIBO 9b98e13e29 fix: raise minimum deno version to 1.31.0 (#1333)
Fresh uses `Deno.Command` which is not available in older versions of Deno.
2023-06-21 07:27:18 +00:00
Lino Le Van 4d66f95ef6 feat: serialize bigints for islands (#1317) 2023-06-17 20:31:58 +02:00
Lino Le VanandLuca Casonato 83925cc1e3 docs(examples): Using twind v1 + fix md code syntax highlighting (#1271)
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2023-06-17 19:16:12 +02:00
Kamil Ogórek 2b11803528 docs: Export missing Plugin types to fix broken links (#1319) 2023-06-17 19:05:14 +02:00
Reed von Redwitz 7deda2a7dd docs: add "Using Fresh canary version" example (#1306) 2023-06-16 17:13:16 +02:00
Kamil Ogórek d5a8692b78 feat: Allow passing props to renderNotFound method (#1310) 2023-06-16 17:12:01 +02:00
Reed von RedwitzandAsher Gomez 12fc103daa docs: add "initializing the server" example (#1292)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-16 10:33:54 +02:00
Asher Gomez a4f7172807 docs: fix Signal type typo (#1304) 2023-06-16 10:32:20 +02:00
kit 0bc769053e fix(www): incorrect path on examples docs page (#1299) 2023-06-15 21:16:13 +02:00
Marvin Hagemeister 710cf56d56 chore: update versions.json for 1.2.0 (#1297) 2023-06-15 19:32:06 +02:00
Naju Mancheril a1d266f0d3 Invoke getTime() on the Date value and not on the date signal (#1284) 2023-06-15 15:01:08 +00:00
Reed von RedwitzandAsher Gomez 673ed2d90f docs: add "Changing the source directory" example (#1286)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-15 11:37:41 +02:00
Reed von Redwitz f833c7262d docs: add "Server configuration" concept explanation (#1293) 2023-06-15 11:37:23 +02:00
Marvin Hagemeister ce0eda7654 feat: allow passing JSX children to island + nested islands (#1285) 2023-06-15 10:08:48 +02:00
Asher Gomez adc16c5c29 docs: fix "Writing Tests" example title typo (#1288)
To align the casing with the rest of the documentation titles.
2023-06-14 14:57:37 +02:00