Releases: denoland/fresh
Releases Β· denoland/fresh
2.1.2
Bug Fixes
@fresh/plugin-vite
- fix(vite): dev server not recovering on syntax error by @marvinhagemeister in #3507
- fix(vite): support jsx namespaces by @marvinhagemeister in #3539
- fix(vite): empty commonjs files with only __esModule by @marvinhagemeister in #3540
Maintenance
- chore: set nodeModulesDir to manual by @fry69 in #3493
- ci: fix publish workflow by @fry69 in #3495
- test: make sure free ports get used by @fry69 in #3497
- test(init): fix address in use by @fry69 in #3532
- fix(vite): unable to load transpiled commonjs with node builtins by @marvinhagemeister in #3541
Documentation
- docs: add deno.json update section to migration guide by @fry69 in #3471
- docs: Fix wrong variable name in migration guide by @BrunoBernardino in #3496
- docs: update readme for fresh 2 by @treejadey in #3503
- docs: troubleshoot dependency installation by @fry69 in #3508
- docs: troubleshoot VS Code extension by @fry69 in #3510
- docs: troubleshoot deploy error message by @fry69 in #3511
- docs: export FreshViteConfig type by @dsherret in #3516
- docs: add Deno upgrade section by @marvinhagemeister in #3526
- docs: typos in define helpers page by @devdumpling in #3533
Showcase
New Contributors
- @BrunoBernardino made their first contribution in #3496
- @treejadey made their first contribution in #3503
- @dsherret made their first contribution in #3516
- @Nergy101 made their first contribution in #3490
- @devdumpling made their first contribution in #3533
Full Changelog: 2.1.1...2.1.2
2.1.1
Bug Fixes
- fix: returned handler headers only working with plain objects by @marvinhagemeister in
@fresh/[email protected]
- fix(vite): ensure plugins are only instantiated once by @marvinhagemeister in #3450
- fix(vite): improve cjs esm detection + builtins resolution by @marvinhagemeister in #3457
- fix(vite): Cover more commonjs cases for supabase by @marvinhagemeister in #3465
@fresh/[email protected]
Documentation
- docs: fix slugs shared across all pages by @marvinhagemeister in #3448
- docs: Revise migration guide with new help sections by @MauScheff in #3455
Maintenance
Showcase
- showcase: remove paquet by @marvinhagemeister in #3462
New Contributors
- @MauScheff made their first contribution in #3455
Full Changelog: 2.1.0...2.1.1
2.1.0
Features
- feat: Add CSP and header middleware by @emilkrebs in #3421
Bug Fixes
- fix: bring back support for middleware Array by @marvinhagemeister in #3434
- fix: improve missing build cache error message by @marvinhagemeister in #3441
@fresh/[email protected]
- fix(vite): keep require calls in ESM file by @marvinhagemeister in #3433
- fix(vite): support css imports in route files by @marvinhagemeister in #3438
- fix(vite): nested islands not working by @marvinhagemeister in #3440
@fresh/[email protected]
Documentation
- docs: fix minor issues in middleware docs by @fry69 in #3436
- docs: fix testing docs by @fry69 in #3419
Maintenance
- chore: fix non-prerelease version in release script by @marvinhagemeister in #3442
New Contributors
- @emilkrebs made their first contribution in #3421
Full Changelog: 2.0.2...2.1.0
2.0.2
Bug fixes
- fix: add missing compile entry by @marvinhagemeister in #3410
@fresh/plugin-vite 1.0.2
- fix(vite): drop trailing or leading whitespace in build id by @marvinhagemeister in #3408
- fix(vite): workaround for FOUC with tailwind by @marvinhagemeister in #3407
- fix(vite): missing build id in Deno Deploy EA by @marvinhagemeister in #3414
- fix(vite): exclude packages from deno cache by @CertainLach in #3374
- fix(vite):
.env
files not being loaded by @marvinhagemeister in #3416
@fresh/init 2.0.8
- fix(init): incorrect target dir argument by @marvinhagemeister in #3415
Documentation
- docs: fix missing files on "sharing state with islands" page by @SisyphusZheng in #3377
Maintenance
- chore: make less test less flaky by @marvinhagemeister in #3417
Full Changelog: 2.0.1...2.0.2
2.0.1
Bug fixes
- fix: add
ctx.route
type to props by @fry69 in #3382 - fix: basePath handling for static assets by @fry69 in #3394
- fix: add
basePath
support inmountApp()
by @fry69 in #3395
@fresh/plugin-vite 1.0.1
- fix(vite): remove Deno global check by @marvinhagemeister in #3401
@fresh/init 2.0.7
Documentation
- docs: add simple mountApp example by @fry69 in #3380
- docs: add copy buttons by @marvinhagemeister in #3393
- docs: avoid showing "Copied" if copying fails by @csvn in #3397
- docs: update testing with routes and islands by @fry69 in #3385
- docs: mention entry in cloudflare worker docs by @marvinhagemeister in #3403
- docs: update cloudflare wokers docs by @marvinhagemeister in #3405
Full Changelog: 2.0.0...2.0.1
2.0.0
To upgrade from Fresh 1.x follow this guide https://fresh.deno.dev/docs/examples/migration-guide
Major changes
- Fresh is officially a vite plugin now. This allows you to tap into the vast ecosystem of vite plugins
- HMR in islands
- Much faster rendering thanks to Deno's
precompile
- Rewritten core engine to make it easy to compose middlewares or even full Fresh apps
- Built-in OpenTelemetry integration. View middleware, rendering performance and more directly in Deno Deploy
- Drastically improved cold start times due to lazily loading routes only when needed
- Fresh has moved to JSR
1.7.3
Bug Fixes
- fix: make
esbuild-deno-loader
work with Deno 2's new cache layout by @marvinhagemeister in #2708
Full Changelog: 1.7.2...1.7.3
1.7.2
Bug Fixes
- fix:
f-client-nav={false}
not working inside island by @marvinhagemeister in #2678 - fix: normalize
URLPattern
groups in anticipation of spec change by @marvinhagemeister in #2669 - fix: SVG in links or buttons breaking partial navigation by @marvinhagemeister in #2682
Full Changelog: 1.7.1...1.7.2
1.7.1
Bug fix
- fix: missing version file update in 1.7.0 by @marvinhagemeister in #2620
Full Changelog: 1.7.0...1.7.1
1.7.0
This is mostly a maintenance bug fix release with one little feature.
Features
Bug Fixes
- fix: preact 10.22.1 contains error by @marvinhagemeister in #2596
- fix: add
.js
+.jsx
extension to tailwind content glob by @kerimhudson in #2414 - fix:
ServerhandlerInfo
type for newer Deno versions by @marvinhagemeister in #2419
Documentation
- docs: using server components in islands by @kerimhudson in #2416
- docs: document colocation of route groups by @kerimhudson in #2413
- docs: fix arguments for route component in Upload example by @CAYdenberg in #2396
- docs: add a PKCE authentication with Supabase example by @morlinbrot in #2302
- docs: Update documentation for active link with Tailwind by @bastianplsfix in #2417
Showcase
- showcase: add JSR and Deno.com by @josh-collinsworth in #2447
- showcase: add dgaubert's showcase by @dgaubert in #2422
- showcase: add 'Echo-Echo' by @Octo8080X in #2383
- showcase: deno paste (updates to url, github repo, and screenshots) by @stephenmelnicki in #2378
- showcase: fix incorrect repository link + screenshot by @Octo8080X in #2384
- showcase: Add virtualfreight.software by @epangelias in #2415
Maintenance
New Contributors
- @sigmaSd made their first contribution in #2389
- @morlinbrot made their first contribution in #2302
- @kerimhudson made their first contribution in #2414
- @epangelias made their first contribution in #2415
- @mcandeia made their first contribution in #2392
- @bastianplsfix made their first contribution in #2417
- @dgaubert made their first contribution in #2422
Full Changelog: 1.6.8...1.6.9