Releases: denoland/fresh
1.6.8
Bug Fixes
- fix: update ahead-of-time build instructions for recent Deno Deploy changes by @lucacasonato in #2381
Full Changelog: 1.6.7...1.6.8
1.6.7
1.6.6
Bug Fixes
- fix: increase recommended preact, preact-signals and bump other deps by @deer in #2320
- fix: start logs not printing
https
protocol when key & cert specified by @will-weiss in #2321 - fix: invalid quote around partial script data by @marvinhagemeister in #2323
- fix: properly prefix all scripts with base path by @deer in #2334
- fix: allow multiple set-cookie headers to be set before render by @deer in #2357
- fix: $fresh ref in import sources by @mcgear in #2340
Documentation
- docs: fix potential null errors by @marvinhagemeister in #2324
- docs: disable partial nav temporarily by @marvinhagemeister in #2330
- docs: remove outdated information by @roj1512 in #2362
- docs: Add page about setting raw HTML content (#2189) by @CAYdenberg in #2295
- docs: fix wording related to route groups by @dizlexik in #2368
- docs: Rename
_req
used toreq
by @narumincho in #2349
Maintenance
- chore: update Preact to 10.19.6 by @marvinhagemeister in #2331
- chore: update
deno_esbuild_loader
to 0.9.0 by @marvinhagemeister in #2337 - chore: update to
esbuild-deno-loader@0.10.3
andesbuild@0.20.2
by @lucacasonato in #2366
New Contributors
- @will-weiss made their first contribution in #2321
- @dizlexik made their first contribution in #2368
- @narumincho made their first contribution in #2349
Full Changelog: 1.6.5...1.6.6
1.6.5
Fixes a publishing error with 1.6.4
.
Maintenance
- fix: update versions by @marvinhagemeister in #2316
Full Changelog: 1.6.4...1.6.5
1.6.4
This is a bit of an out of the ordinary release. One security issue was discovered where the trailing slash detection logic was vulnerable to an open redirect vulnerability. We recommend every Fresh user to upgrade as soon as possible.
Bug Fixes
- fix: no-window lint error by @deer in #2272
- fix: GH actions warning by upgrading actions/checkout to v4 when creating a new fresh app #2285 by @bjesuiter in #2286
- fix: update bootstrap wizard to add a choice for styling solutions to pick between tailwindcss and Twind by @roj1512 in #2290
- fix: open redirect issue with trailing slash detection by @marvinhagemeister in #2313
- fix: improve init styling library prompt design by @marvinhagemeister in #2314
Maintenance
- chore: update esbuild deno loader by @lucacasonato in #2270 and #2273
- chore(deps): bump actions/cache from 3 to 4 by @dependabot in #2271
- chore: upgrade tailwind to 3.4.1 by @deer in #2287
Documentation
New Contributors
Full Changelog: 1.6.3...1.6.4
1.6.3
This is a bit of an out of the ordinary release. Two security issues were discovered by @arkark where an app that uses dangerouslySetInnerHTML
could lead to a prototype pollution vulnerability. We recommend every Fresh user to upgrade as soon as possible.
What's Changed
- fix: prototype pollution in deserializer by @lucacasonato in #2255
- fix:
__FRSH_STATE
potentially being overwritten by user code by @marvinhagemeister in #2256
Full Changelog: 1.6.2...1.6.3
1.6.2
Bug Fixes
- fix: Prevent update doc title from partial if not present by @igorbrasileiro in #2244
- fix: browser url not updated with form partials by @marvinhagemeister in #2236
- fix: improve tailwind deployment flow by @marvinhagemeister in #2227
- fix: json import attribute error in island by @marvinhagemeister in #2228
- fix:
.vscode/tailwind.json
generation by @nicolo-ribaudo in #2185
Documentation
- docs: getting started - running locally by @greg-zometa in #2245
- docs: add hints to AOT page by @marvinhagemeister in #2232
- docs: fix carousel not working properly by @babiabeo in #2222
- docs: fix navigating to components from docs with small screen by @deer in #2198
- docs: fix import_map link in creating-a-project by @deer in #2218
- docs: fix deprecated type usage in example code by @jcpsimmons in #2203
- docs: fix typo in active links introduction by @injms in #2192
- docs: add missing import by @imaitland in #2183
- docs: fix typo in upload example by @imaitland in #2182
- docs: Move aot step in tailwind guide to start by @marvinhagemeister in #2176
- docs: fix link to data-fetching by @Xernisfy in #2162
Showcase
- showcase: add rfui.deno.dev by @adamzerner in #2205
- showcase: fix missing screenshots by @marvinhagemeister in #2211
- showcase: add Living Pixel by @CAYdenberg in #2165
Maintenance
- chore: bump std to 0.211.0 and loader to 0.8.3 by @deer in #2241
- chore: change assert to with for import attributes by @marvinhagemeister in #2231
- chore(deps): bump google-github-actions/setup-gcloud from 1 to 2 by @dependabot in #2170
New Contributors
- @Xernisfy made their first contribution in #2162
- @imaitland made their first contribution in #2182
- @nicolo-ribaudo made their first contribution in #2185
- @injms made their first contribution in #2192
- @jcpsimmons made their first contribution in #2203
- @babiabeo made their first contribution in #2222
- @greg-zometa made their first contribution in #2245
Full Changelog: 1.6.1...1.6.2
1.6.1
Bug Fixes
- fix: tailwind failing on non-existant files by @marvinhagemeister in #2118
- fix: make prompt a question to hint at user input by @marvinhagemeister in #2119
- fix: ensure tailwind is loaded lazily by @marvinhagemeister in #2124
- fix: use real 500 error page in dev mode by @csvn in #2134
- fix: remove error frame HTML for non-dev mode by @csvn in #2133
- fix: PluginRoute supports AsyncRoute and AsyncLayout by @deer in #2139
- fix: Unknown at rule @apply css(unknownAtRules) by @justjavac in #2141
- fix: route pattern parsing by @marvinhagemeister in #2142
- fix: tailwind now respects basepath by @deer in #2138
- fix: tailwind build not creating subfolders by @marvinhagemeister in #2145
- fix: route param fallback value by @marvinhagemeister in #2146
- fix: revert marking
ctx.data
as deprecated by @marvinhagemeister in #2148 - fix: switch back to
URLPattern
for correctness by @marvinhagemeister in #2151 - fix: tailwind
bg-clip-text
not working by @marvinhagemeister in #2152 - fix: ensure previous ws connection is closed in dev by @marvinhagemeister in #2154
- fix: init app use same width numbers by @marvinhagemeister in #2155
- fix: don't fallthrough static files in dev by @marvinhagemeister in #2156
Documentation
- docs: Remove references to deprecated types by @christoshrousis in #2125
- docs: add note for aria + data with Tailwind CSS by @marvinhagemeister in #2137
- docs: Merge data fetching pages (#1974) by @CAYdenberg in #2107
Showcase
Maintenance
- chore: update types in tests, init, update by @deer in #2122
- chore: Use
satisfies
instead ofas
by @justjavac in #2136 - chore(deps): bump google-github-actions/auth from 1 to 2 by @dependabot in #2140
- chore(init): task to generate manifest file by @deer in #1422
New Contributors
- @christoshrousis made their first contribution in #2125
- @justjavac made their first contribution in #2136
- @pyrossh made their first contribution in #2132
Full Changelog: 1.6.0...1.6.1
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