Releases: denoland/fresh
Releases Β· denoland/fresh
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
1.5.4
1.5.3
Bug Fixes
- fix:
twind
styles not updated on partial nav by @marvinhagemeister in #2017 - fix(server): support non-function exports from island files by @deer in #1986
- fix: head text nodes rendered into body by @marvinhagemeister in #2015
- fix: ready color not readable in light themes by @marvinhagemeister in #2014
- fix: serve static file with parens by @marvinhagemeister in #2013
- fix: missing generics for plugin entrypoint by @MadTyres in #1948
- fix: error on duplicate partial name by @marvinhagemeister in #1958
- fix: cut off file names when project is at root
/
by @marvinhagemeister in #1957 - fix: browser not reloaded when no island present by @marvinhagemeister in #1956
Maintenance
- chore: refactor dev client by @marvinhagemeister in #2002
- chore: import esbuild lazily by @marvinhagemeister in #1959
Full Changelog: 1.5.2...1.5.3
1.5.2
Bug Fixes
- fix: make active + ancestor links accessible by @marvinhagemeister in #1915
- fix: island marker parsed as key marker by @marvinhagemeister in #1922
- fix: passing
Headers
instance toctx.render()
not working by @marvinhagemeister in #1927 - fix: speedup slow matching of static routes by @marvinhagemeister in #1932
- fix: unable to opt out of nested client nav by @marvinhagemeister in #1940
- fix: Firefox disconnecting from live reload server after a while during development by @marvinhagemeister in #1943, #1944
- fix: add error-handler type to manifest by @csvn in #1933
Documentation
- docs: Enhanced CSR Layout by @birkskyum in #1908
- docs: update partials file path by @marvinhagemeister in #1929
- docs: inline gfm-css by @marvinhagemeister in #1939
- docs: fix header nav by @marvinhagemeister in #1941
Maintenance
- chore: remove
--unstable
from tests by @marvinhagemeister in #1914 - chore: use
Promise.all
in update script by @sanjaiyan-dev in #1926 - chore: remove ServerContext from internal start server function by @marvinhagemeister in #1942
- chore: release 1.5.2 by @marvinhagemeister in #1945
New Contributors
- @birkskyum made their first contribution in #1908
Full Changelog: 1.5.1...1.5.2
1.5.1
Bug Fixes
- fix: don't scroll on fragment links in partials by @marvinhagemeister in #1906
Documentation
- www: update header by @marvinhagemeister in #1900
- www: docs header nav not working by @marvinhagemeister in #1904
- docs: partials update formatting by @marvinhagemeister in #1905
Showcase
Maintenance
- refactor: use
manifest
variable name by @iuioiua in #1902 - fix: flaky
doesn't leak data across renderers
test by @iuioiua in #1901 - refactor: replace references of options with config by @iuioiua in #1903
- chore: Remove deno_kv_auth plugin by @marvinhagemeister in #1910
- chore: release 1.5.1 by @marvinhagemeister in #1911
Full Changelog: 1.5.0...1.5.1
1.5.0
Blog post: https://deno.com/blog/fresh-1.5
Features
- feat: add support for optional dynamic route params by @mbhrznr in #1706
- feat(dev): Ignore common test files in routes and islands by @bastilian in #1039
- feat(types): Add
NotFoundData
generic toHandlerContext
by @adamgreg in #1747 - feat: add
nonce
attribute automatically for inline scripts by @marvinhagemeister in #1772 - feat: exclude
_fresh
dir from everything by @marvinhagemeister in #1788 - feat: error if
useState
oruseReducer
is used outside of an island. by @marvinhagemeister in #1778 - feat: improve default error visualization by @marvinhagemeister in #1780
- feat: add plugin
buildStart
andbuildEnd
hooks (experimental) by @marvinhagemeister in #1770 - feat: twindv1: Enable setting tailwind theme variables in Options parameter by @MadTyres in #1776
- feat: Optional first party Deno KV OAuth plugin by @mbhrznr in #1774
- feat: Add support for mapped providers to Fresh plugin by @NuroDev in #1792
- feat: de-duplicate
<Head>
children by key by @marvinhagemeister in #1793 - feat: add
build.outDir
option by @marvinhagemeister in #1797 - feat: add
build.target
option by @marvinhagemeister in #1798 - feat: Add
InferOAuthProviders
utility type to KV OAuth plugin by @NuroDev in #1803 - feat: ask for project arg if missing on update by @marvinhagemeister in #1821
- feat: Add Partials by @marvinhagemeister in #1824
- feat: mark active or ancestor links by @marvinhagemeister in #1840
- feat: collect partials deeply from response by @marvinhagemeister in #1860
- feat: support scroll restoration for partials by @marvinhagemeister in #1858
- feat: only enable partials when attribute is set by @marvinhagemeister in #1861
- feat: Add types for partial attributes by @marvinhagemeister in #1862
- feat: add support for partial
<head>
merging by @marvinhagemeister in #1863 - feat: support
f-partial
on buttons by @marvinhagemeister in #1867 - feat: Expose esbuild's
metafile.json
by @tlgimenes in #1868 - feat: Use
href
instead of origin on Partial by @tlgimenes in #1870
Bug Fixes
- fix: build path by @jiawei397 in #1768
- fix: plugins in configless mode by @chibat in #1764
- fix: server initialized twice in configless dev mode by @marvinhagemeister in #1781
- fix: only enable dev things in dev mode by @marvinhagemeister in #1789
- fix: Fix typo in hover rule for default non-twind CSS by @mmuddasani in #1799
- fix: plugin script error halting JS execution by @marvinhagemeister in #1801
- fix: default fresh config with twind to pass fmt check by @mmuddasani in #1804
- fix: code frame not showing up in dev mode by @marvinhagemeister in #1814
- fix: conditional island children not rendered by @marvinhagemeister in #1822
- fix: show marker confusion by @marvinhagemeister in #1823
- fix: only send revive() script when needed by @marvinhagemeister in #1825
- fix: docs islands not hydrated on safari 12 by @marvinhagemeister in #1837
- fix: partial hash navigation causing loop by @marvinhagemeister in #1838
- fix:
remoteAddr
hardcoded tolocalhost:1234
by @martinrempel in #1839 - fix: scoped
npm:
packages not working by @marvinhagemeister in #1841 - fix: use Deno formatting rules by @mgenereu in #1844
- fix: use consistent partial attribute naming by @marvinhagemeister in #1847
- fix: add more space around code frame html by @marvinhagemeister in #1849
- fix: missing Component with async app + layout by @marvinhagemeister in #1848
- fix: active links outside partials not updated by @marvinhagemeister in #1852
- fix: throw error when no partials found by @marvinhagemeister in #1853
- fix: docs nav not working by @marvinhagemeister in #1854
- fix: only render keyed comments when needed by @marvinhagemeister in #1859
- fix: duplicate partial head tags by @marvinhagemeister in #1864
- fix: codeframe not visible with custom _500.tsx by @marvinhagemeister in #1869
- fix: init error by bare specifier import by @marvinhagemeister in #1871
- fix: remove another bare type import by @marvinhagemeister in #1872
- fix: meta charSet -> charset by @marvinhagemeister in #1875
- fix: Partial state deserialization on simple islands by @tlgimenes in #1873
- fix: allow setting server config from fresh config by @marvinhagemeister in #1889
- fix: don't store codeframe on error object by @marvinhagemeister in #1898
Maintenance
- chore: trace ops during CI testing by @marvinhagemeister in #1749
- chore: Refactor CLI tests by @smitssjors in #1744
- chore: fix wait for child process shutdown by @marvinhagemeister in #1777
- chore: fix fetch body not consumed in test by @marvinhagemeister in #1782
- chore: de-flake tests and re-enable sanitizers by @lucacasonato in #1786
- chore: speed up tests by @marvinhagemeister in #1791
- chore: only run KV tests if KV is available by @marvinhagemeister in #1794
- chore: Run all tests in parallel on CI by @marvinhagemeister in #1800
- chore: make it easier to debug markers by @marvinhagemeister in #1805
- refactor: simplified Deno KV OAuth plugin by @iuioiua in #1808
- ci: run on latest stable version of Deno by @iuioiua in #1820
- chore: update Deno KV OAuth plugin and docs by @iuioiua in #1826
- chore: append newline to produced json by @king8fisher in #1829
- chore: use
Promise.all
ininit.ts
by @sanjaiyan-dev in #1831 - chore: potential race conditions in e2e tests by @marvinhagemeister in #1851
- chore: remove console.log by @marvinhagemeister in #1881
- refactor: simplify www test by @iuioiua in #1895
- chore: synchronize CI and local tests by @iuioiua in #1894
- chore: release 1.5.0 by @marvinhagemeister in #1899
Documentation
- www: remove extra whitespace in class by @ryuapp in #1758
- docs: remove unneeded
Counter
import from Head page by @mattjbones in #1757 - docs: fix anchor links by @marvinhagemeister in #1845
- docs: improve code blocks mobile layout by @marvinhagemeister in #1846
- docs: use builtin active link detection by @marvinhagemeister in #1850
- docs: reload when
../src
changes by @marvinhagemeister in #1855 - docs: fix code snippet formatting by @marvinhagemeister in #1866
- docs: switch to partial navigation by @marvinhagemeister in #1865
- docs: add styling links example page by @marvinhagemeister in #1879
- docs: add partials documentation by @marvinhagemeister in #1878
- docs: improve admonition styles by @marvinhagemeister in #1880
- docs: improve sidebar active style by @marvinhagemeister in #1888
Showcase
- showcase: update url by @digitaldesigndj in https://github.com/denola...
1.4.3
Bug Fixes
- fix: build id mismatch between CI + deploy by @marvinhagemeister in #1681
- fix(server): pass context into 500 handlers by @deer in #1720
- fix(server): sanitize brackets from island names by @deer in #1723
- fix: export
DestinationKind
by @deer in #1721 - fix: wrong type for html boolean attrs by @marvinhagemeister in #1731
- fix: stream static files from disk by @marvinhagemeister in #1734
- fix: main index not found in group by @marvinhagemeister in #1710
- fix: Add
_fresh
to .gitignore on update by @smitssjors in #1696 - fix: dev command loading snapshot by @marvinhagemeister in #1735
- fix: Missing error on invalid island children by @marvinhagemeister in #1736
- fix: incorrect island child validation by @marvinhagemeister in #1740
- fix: env files not loaded in build task by @marvinhagemeister in #1743
- fix: only show update message once per day by @marvinhagemeister in #1742
Documentation
- www: fix broken link by @ovniroto in #1737
- www: add section for "Rendering islands on client only" by @bjesuiter in #1687
- www: fix small typos by @smitssjors in #1702
- www: example code should return the response by @hashrock in #1727
- www: mention required
--unstable
flag in Deno KV OAuth example by @revgum in #1665 - www: fix app wrapper docs by @jiawei397 in #1713
Maintenance
- chore: fix update check tests downloading deps by @marvinhagemeister in #1738
- chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #1732
- chore: disable canary deno tests temporarily by @marvinhagemeister in #1711
New Contributors
- @revgum made their first contribution in #1665
- @smitssjors made their first contribution in #1702
- @bjesuiter made their first contribution in #1687
- @ovniroto made their first contribution in #1737
Full Changelog: 1.4.2...1.4.3
1.4.2
Fixes
- fix: attributes on
<body>
not being rendered by @marvinhagemeister in #1648 - fix: exclude
_fresh
dir from lint + fmt by @marvinhagemeister in #1656 - fix: remove debug code by @marvinhagemeister in #1657
- fix: refresh not working by @marvinhagemeister in #1659
- fix: twind duplicating css classes when
className
is used instead ofclass
by @marvinhagemeister in #1658 - fix: invalid html structure by @marvinhagemeister in #1668
Docs
- www: update hello bar for Fresh 1.4 by @iuioiua in #1653
- www: fix broken link by @marvinhagemeister in #1661
- www: fix incorrect links by @marvinhagemeister in #1664
- www: fix typo by @marvinhagemeister in #1671
Full Changelog: 1.4.1...1.4.2