1.6.0
Release blog post: https://deno.com/blog/fresh-1.6
Features
- feat: add support for boosting forms by @marvinhagemeister in #1930
- feat: Nested partials support by @tlgimenes in #1955
- feat: pass resolved config to
plugin.buildStart()
by @marvinhagemeister in #1961 - feat(server): add isPartial to context types by @deer in #1977
- feat: speed up route matching by @marvinhagemeister in #1981
- feat: middleware can call renderNotFound by @deer in #1975
- feat(server): throwing Deno.errors.NotFound triggers 404 by @deer in #1984
- feat: Support AOT-built static assets by @adamgreg in #1999
- fix(server): support non-function exports from island files by @deer in #1986
- feat(dev): reduce manifest merge conflict potential by @deer in #2020
- feat: Allow plugin render hooks to add link tags to the page by @adamgreg in #1963
- feat: allow plugins to modify HTML body by @marvinhagemeister in #2022
- feat: add plugin
configResolved
by @marvinhagemeister in #2055 - feat: add native TailwindCSS plugin by @marvinhagemeister in #2056
- feat: minify tailwind css in prod + other enhancements by @marvinhagemeister in #2059
- feat(server): plugins can create islands by @deer in #1472
- feat: reduce number of island bundles by @marvinhagemeister in #2082
- feat(server): Add basePath config to host from a directory by @deer in #2092
- feat: simplify router + middleware types by @marvinhagemeister in #2099
- feat: print more concise logs on Deploy by @marvinhagemeister in #2103
- feat: make ready message one line by @marvinhagemeister in #2104
- feat: expose config in context + simplify page props by @marvinhagemeister in #2102
Bug Fixes
- fix(server): use relative import instead of relying on an import map by @kellnerd in #2034
- fix: redirects with partials by @marvinhagemeister in #2053
- fix: tailwind don't magically add content regex by @marvinhagemeister in #2060
- fix: invalid identifier in manifest by @marvinhagemeister in #2070
- fix: client script source map returning 404 by @marvinhagemeister in #2071
- fix: Partials not working on error pages by @marvinhagemeister in #2072
- fix: Tailwind CSS intellisense not working by @marvinhagemeister in #2073
- fix: show original error page in dev by @marvinhagemeister in #2074
- fix: update tailwind init script by @marvinhagemeister in #2078
- fix: incorrect path matching in tailwind plugin by @marvinhagemeister in #2094
- fix: add missing
-h/--help
to init by @marvinhagemeister in #2096 - fix: island module type in manifest by @marvinhagemeister in #2101
- fix: dots in island + route name not working by @marvinhagemeister in #2105
- fix: errors in plugin fixture + improve island docs by @marvinhagemeister in #2109
Documentation
- docs: file extension spelling correction by @var618 in #1951
- docs: fix missing extension by @marvinhagemeister in #1962
- docs: update init the server to account for build step by @deer in #1988
- docs: update using twindv1 page by @deer in #1982
- docs: add jsdoc for IS_BROWSER by @deer in #1991
- docs: update server configuration page by @deer in #1998
- chore: bump deps by @deer in #2000
- docs: update writing tests page to discuss options by @deer in #1994
- docs: fix
tss
totsx
by @harshmangalam in #2009 - docs: fix invalid link by @gityusof in #2010
- docs: update active link page to clarify twindv1 plugin usage by @deer in #2004
- docs: fix get params from ctx instead of props by @harshmangalam in #2040
- docs: add section on preferred hashtags to README by @cdoremus in #2044
- docs: fix regression in navigation by @marvinhagemeister in #2047
- docs: port over to TailwindCSS by @marvinhagemeister in #2058
- docs: add file upload example to docs (Concepts/Forms) (#2064) by @CAYdenberg in #2065
- docs: Remove invalid showcase links by @ABel-216 in #2032
- docs: Add migrating to Tailwind CSS page by @marvinhagemeister in #2077
- docs: switch to aria-current in active links page by @deer in #2019
- docs: update deno version by @marvinhagemeister in #2086
- docs: minor code cleanup by @marvinhagemeister in #2084
- docs: fix link by @marvinhagemeister in #2087
- docs: improve design by @marvinhagemeister in #2097
- docs: fix encoded text in TOC by @marvinhagemeister in #2098
- docs/examples: Client side components and libraries by @guilherme-miyake in #2089
Showcase
- showcase: Add CS2 Items by @NanoEdit in #1968
- showcase: Add perpinya.eu to the showcase by @evilmonkey19 in #1979
- showcase: jacks.se by @Rebstorm in #2001
- showcase: deno paste (updates to screenshots) by @stephenmelnicki in #2029
- showcase: streamdal.com by @Dosplatos in #2028
- showcase: add MergePanic by @zzundalek in #2052
Maintenance
- chore: extract compose middleware code by @marvinhagemeister in #1971
- chore: extract fs extractor code by @marvinhagemeister in #1972
- chore: simplify jsx config handling by @marvinhagemeister in #1973
- chore: explicitly version rts in deps.ts by @deer in #1684
- chore: update Preact by @marvinhagemeister in #2038
- chore: add
fresh-testing-library
tests for components, middleware and routes by @cdoremus in #1990 - chore: merge language-specific VSCode settings by @interrrp in #2051
- chore: remove twind recommendation by @marvinhagemeister in #2057
- chore: switch init to use tailwind by @deer in #2061
- chore: bump std to 208 and deal with deprecations by @deer in #2081
- chore: remove $fresh from import statements by @deer in #2079
- chore: rename referrer to referer by @deer in #2083
- chore: fix twind test by @marvinhagemeister in #2100
- chore: create manifest generation task by @deer in #2088
New Contributors
- @var618 made their first contribution in #1951
- @NanoEdit made their first contribution in #1968
- @evilmonkey19 made their first contribution in #1979
- @Rebstorm made their first contribution in #2001
- @gityusof made their first contribution in #2010
- @Dosplatos made their first contribution in #2028
- @kellnerd made their first contribution in #2034
- @interrrp made their first contribution in #2051
- @zzundalek made their first contribution in #2052
- @CAYdenberg made their first contribution in #2065
- @ABel-216 made their first contribution in #2032
- @guilherme-miyake made their first contribution in #2089
Full Changelog: 1.5.4...1.6.0