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 #1762
- showcase: Add crawford.ml site by @denyncrawford in #1771
- showcase: Add Deno Artwork by @jasonjgardner in #1830
- showcase: Add FilterHN to showcase.json by @adamzerner in #1883
- showcase: Add AquaVibes by @arturolume in #1890
New Contributors
- @mattjbones made their first contribution in #1757
- @bastilian made their first contribution in #1039
- @chibat made their first contribution in #1764
- @adamgreg made their first contribution in #1747
- @denyncrawford made their first contribution in #1771
- @MadTyres made their first contribution in #1776
- @NuroDev made their first contribution in #1792
- @mmuddasani made their first contribution in #1799
- @king8fisher made their first contribution in #1829
- @jasonjgardner made their first contribution in #1830
- @sanjaiyan-dev made their first contribution in #1831
- @martinrempel made their first contribution in #1839
- @mgenereu made their first contribution in #1844
- @tlgimenes made their first contribution in #1868
- @adamzerner made their first contribution in #1883
- @arturolume made their first contribution in #1890
Full Changelog: 1.4.3...1.5.0