Casey Ydenberg and Marvin Hagemeister
25afcae943
docs: Merge data fetching pages ( #1974 ) ( #2107 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-12-07 10:50:50 +01:00
Reed von Redwitz
35da45bff1
chore: update types in tests, init, update ( #2122 )
...
Of particular note is the change to
`tests/fixture_plugin/routes/test.tsx`. Note how I do this:
```diff
- async GET(_req, ctx: HandlerContext<unknown, { test: string }>) {
+ async GET(_req, ctx: FreshContext<{ test: string }, unknown>) {
```
I find it strange and confusing that the order of the type parameters
has "changed". This makes it impossible to do a simple search and
replace, because people now have to change order as well.
Most of the types have been declared as `<T, S>`, i.e. data before
state:
* `PageProps<T = any, S = Record<string, unknown>>`
* `RouteContext<T = any, S = Record<string, unknown>>`
* `Handler<T = any, State = Record<string, unknown>>`
* `Handlers<T = any, State = Record<string, unknown>> `
* `AsyncRoute<T = any, S = Record<string, unknown>>`
* `PageComponent<T = any, S = Record<string, unknown>> `
* `AsyncLayout<T = any, S = Record<string, unknown>>`
And then `FreshContext` comes around like
```
export interface FreshContext<
State = Record<string, unknown>,
// deno-lint-ignore no-explicit-any
Data = any,
NotFoundData = Data,
>
```
and switches it all up.
Not a huge issue, but just something to be aware of that others might
report.
2023-12-02 10:33:59 +01:00
Marvin Hagemeister
8fecb589ba
docs: fix release post link ( #2114 )
2023-12-01 16:38:38 +01:00
Marvin Hagemeister
dace008611
chore: release 1.6.0 ( #2113 )
2023-12-01 16:20:40 +01:00
Marvin Hagemeister
8ddc21eb90
Router cleanup ( #2099 )
2023-11-30 14:08:05 +01:00
Marvin Hagemeister
de55d80dee
docs: improve design ( #2097 )
2023-11-29 22:50:51 +01:00
Marvin Hagemeister
dd76addb9f
docs: minor code cleanup ( #2084 )
2023-11-28 18:37:57 +01:00
Marvin Hagemeister
bb035ae8da
docs: port over to TailwindCSS ( #2058 )
2023-11-22 11:12:21 +01:00
Marvin Hagemeister
f86a525418
docs: inline gfm-css ( #1939 )
2023-10-15 08:43:15 +02:00
Birk Skyum and Marvin Hagemeister
eb41b65d4c
docs: Enhanced CSR Layout ( #1908 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-10-12 12:23:37 +00:00
Marvin Hagemeister
1d12853889
fix: docs header nav not working ( #1904 )
2023-10-11 07:53:30 +02:00
Marvin Hagemeister
ded23e0a94
www: update header ( #1900 )
2023-10-10 18:29:59 +02:00
Marvin Hagemeister
534a0d87b3
docs: improve sidebar active style ( #1888 )
2023-10-07 21:05:54 +02:00
Marvin Hagemeister
01e5f71058
docs: improve admonition styles ( #1880 )
2023-10-06 22:56:11 +02:00
Marvin Hagemeister
776a721332
docs: switch to partial navigation ( #1865 )
2023-10-05 12:33:27 +02:00
Marvin Hagemeister
5ba9262f00
fix: docs nav not working ( #1854 )
2023-10-04 15:43:58 +02:00
Marvin Hagemeister
be1c15f8f3
fix: throw error when no partials found ( #1853 )
2023-10-04 15:38:43 +02:00
Marvin Hagemeister
9fdb0d5b01
docs: use builtin active link detection ( #1850 )
2023-10-04 14:34:42 +02:00
Marvin Hagemeister
ced9171690
docs: improve code blocks mobile layout ( #1846 )
2023-10-04 12:07:31 +02:00
Marvin Hagemeister
bc415f6d04
docs: fix anchor links ( #1845 )
2023-10-04 10:07:09 +02:00
Asher Gomez
06fac31e6b
docs(www): update hello bar for Fresh 1.4 ( #1653 )
2023-08-17 05:30:03 +02:00
Marvin Hagemeister
477364c567
feat: prebundle code + restore from snapshot ( #1604 )
2023-08-16 16:47:51 +02:00
Marvin Hagemeister
6a599dbed5
www: new fenced code block design ( #1629 )
2023-08-13 10:52:41 +02:00
Lino Le Van
5ba19abe13
fix: typos ( #1526 )
2023-07-26 13:09:42 +00:00
Tim Hårek Andreassen
9cae8fdd5c
www: improve accessbility ( #1507 )
2023-07-22 20:23:42 +02:00
Roj
16453b4dc9
style: fix remaining inconsistencies ( #1505 )
2023-07-22 14:09:25 +02:00
Roj
95d352d1dd
www: use smart quotes ( #1502 )
2023-07-22 13:03:03 +02:00
Roj
d1e78095be
www: consistently spell Fresh ( #1504 )
2023-07-22 13:02:31 +02:00
Marvin Hagemeister
2575ca5cad
chore: release 1.3.0 ( #1460 )
2023-07-18 18:09:13 +02:00
Will B and will berry
45b273dc45
www: improve wording on main page ( #1470 )
...
Co-authored-by: will berry <willberry@wills-MBP.attlocal.net >
2023-07-18 13:12:09 +00:00
Brian Knight
42c7ecc7d5
www: fix spelling error on homepage ( #1469 )
2023-07-18 11:25:52 +00:00
Lino Le Van and Marvin Hagemeister
e2a1bf8643
feat: move to Deno.serve ( #1427 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-07-12 14:37:53 +02:00
Marvin Hagemeister
f061667822
www: update docs design ( #1423 )
2023-07-10 11:07:49 +02:00
Lino Le Van
292b4c2d6f
chore: bump dependencies ( #1428 )
2023-07-08 22:47:12 +02:00
Marvin Hagemeister
bf3e82c093
www: add versioning to docs ( #1400 )
2023-07-04 12:33:47 +02:00
ayame113
45ba10e9ee
chore(www): use View Transitions API ( #1399 )
2023-07-03 12:11:25 +02:00
Marvin Hagemeister
16be99e69b
fix: change MultiHandler back to Handlers ( #1396 )
2023-07-03 09:57:46 +02:00
Marvin Hagemeister
18bf977052
www: landing page redesign ( #1279 )
2023-06-30 18:45:46 +02:00
Lautaro Suarez
e0a1809452
chore: simplify ext -> content type mapping code ( #1368 )
2023-06-28 22:13:59 +02:00
Aushwin
851f8d60aa
refactor: changed Handlers type to MultiHandler ( #1360 )
2023-06-28 12:52:48 +00: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
Kamil Ogórek
219ab574db
fix: Exclude Twitter/Slack bots from root page redirects ( #1318 )
2023-06-17 19:13:04 +02:00
Luca Casonato
1d606416a8
www: fix copy button ( #1312 )
2023-06-16 20:54:35 +02:00
Luca Casonato
94f5d38f3b
www: actually link to 1.2 ( #1301 )
2023-06-15 21:35:48 +02:00
Marvin Hagemeister
ec821c9a86
www: update banner for v1.2 ( #1298 )
2023-06-15 20:55:56 +02:00
Marvin Hagemeister
d511283162
fix(www): show missing GA env warning once ( #1272 )
2023-06-12 09:44:31 +02:00
Marvin Hagemeister
503bdc384f
feat(init): make directory argument optional ( #1263 )
2023-06-10 15:48:02 +02:00
moonstripe and Asher Gomez
76ff7114cb
docs: fix example folder names to be deno-fresh-demo ( #582 )
...
Figured it'd make sense to be consistent.
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com >
2023-06-05 14:43:37 +10:00
ayame113
a724f6c591
www: fix accessibility issues ( #1243 )
...
Address accessibility issues pointed out by Lighthouse.
2023-06-03 22:19:40 +02:00
Luca Casonato and Asher Gomez
87b087e358
fix: __FRSH_BUILD_ID is not defined ( #1207 )
...
This could happen if the runtime/utils.ts coe was loaded
prior to server/constants.ts, because they had some shared state on
`globalThis`.
I have mitigated this by not relying on global state anymore.
Fixes #1191
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com >
2023-05-30 10:46:44 +10:00