Releases: freshframework/fresh
Releases · freshframework/fresh
2.3.3
- fix: change post_publish upload target to S3 by @crowlKats in #3745
- revert: bring back Babel CJS transform by @bartlomieju in #3798
Full Changelog: 2.3.2...2.3.3
2.3.2
What's Changed
- fix: CJS detection regression for packages with "export" in comments by @bartlomieju in #3793
Full Changelog: 2.3.1...2.3.2
2.3.1
What's Changed
- refactor: remove CJS and env var Babel transforms, let Vite handle natively by @bartlomieju in #3767
- fix: keep ?fresh-partial an implementation detail by @CertainLach in #3776
Full Changelog: 2.3.0...2.3.1
2.3.0
What's Changed
- docs: comprehensive documentation audit, fixes, and website improvements by @bartlomieju in #3712
- docs: fix markdown docs by @fry69 in #3459
- docs: fix misleading main.tsx filenames by @fry69 in #3477
- feat: add _freshIndicator support for partial form submits by @bartlomieju in #3753
- feat: add first-class WebSocket support via ctx.upgrade() and app.ws() by @bartlomieju in #3774
- feat: add IP filter middleware by @Octo8080X in #3035
- feat: add nonce support for inline style and script tags in CSP by @bartlomieju in #3709
- feat: add trustProxy option to respect X-Forwarded-* headers by @bartlomieju in #3757
- feat: add View Transitions API support for client-side navigation by @bartlomieju in #3708
- feat: allow passing Temporal objects to islands by @bartlomieju in #3701
- feat: inject traceparent meta tag when OpenTelemetry is active by @bartlomieju in #3729
- feat: support
deno createfor project initialization by @bartlomieju in #3706 - feat: support multiple staticDir entries by @bartlomieju in #3759
- feat:Actually ship no JS by default by @Ionaru in #3696
- fix: active links consider query params and respect existing aria-current by @bartlomieju in #3755
- fix: add @types/babel__core to vite project template by @bartlomieju in #3723
- fix: add cache-bust query param to Vite asset URLs for immutable caching by @bartlomieju in #3761
- fix: append data script tags to head during partial navigation by @bartlomieju in #3720
- fix: apply basePath correctly in dev mode for root index by @yukitaka in #3219
- fix: apply layout to index route with programmatic routing by @bartlomieju in #3725
- fix: architecture diagram unreadable in dark mode by @bartlomieju in #3752
- fix: CSP user directives now override defaults instead of duplicating by @bartlomieju in #3724
- fix: CSS modules not working in _app/_layout/_error and across routes in dev by @bartlomieju in #3764
- fix: dev server intercepts Vite URLs when basePath is configured by @bartlomieju in #3730
- fix: don't intercept forms without explicit f-partial inside f-client-nav by @bartlomieju in #3722
- fix: fall back to full navigation when partial redirect has no partials by @bartlomieju in #3716
- fix: handle commas in static file paths by @SebF33 in #3770
- fix: ignore temp files in Vite watcher to prevent dev server crash by @bartlomieju in #3763
- fix: improve CJS-to-ESM transform for better npm compatibility by @bartlomieju in #3697
- fix: improve Deno module resolution in Vite plugin by @bartlomieju in #3734
- fix: improve error message for missing exports in file routes by @bartlomieju in #3718
- fix: improve update tool output for Fresh 2 projects by @bartlomieju in #3754
- fix: in sortRoutePaths: sort files alphabetically by @will-weiss in #3769
- fix: let node_modules asset requests pass through in dev mode by @bartlomieju in #3728
- fix: make
<Head>work in client by @marvinhagemeister in #3252 - fix: middleware not matching routes with optional parameters in fs routing by @bartlomieju in #3726
- fix: normalize Windows paths in generated snapshot and server entry by @bartlomieju in #3727
- fix: preserve partial search param through redirects by @bartlomieju in #3715
- fix: prevent 404 for routes consisting solely of an optional parameter by @ghalle in #2798
- fix: register files generated by Vite plugins in static file cache by @fry69 in #3534
- fix: resolve server entry filename from bundle chunks by @bartlomieju in #3719
- fix: trailing slash mismatch causes 404 for static routes by @bartlomieju in #3721
- fix: use deno run for init instead of deno create before 2.3.0 by @bartlomieju in #3746
- fix: warn instead of crash on invalid HTML nesting around islands by @bartlomieju in #3762
- fix: warn when Partial with append/prepend mode is missing key prop by @bartlomieju in #3738
- perf: pre-compile middleware chains at build time by @marvinhagemeister in #3104
- refactor: add integrationTest() helper to reduce test boilerplate by @bartlomieju in #3711
- Remove
readonlyfromFreshRequest.reqby @dahlia in #2751
New Contributors
- @yukitaka made their first contribution in #3219
- @ghalle made their first contribution in #2798
- @Ionaru made their first contribution in #3696
- @SebF33 made their first contribution in #3770
Full Changelog: 2.2.2...2.3.0
2.2.2
What's Changed
- Updates the examples on the homepage by @jasonmccallister in #3682
- fix: typo in Subscribe page handler reference by @DouglasdeMoura in #3669
- Update Code of Conduct link in Footer component by @written-fresh in #3679
- Do not assign named exports into existing default export by @CertainLach in #3494
- fix(vite): use manifest entry filename for server entry import by @cuipeiyu in #3595
- docs: add example for session management by @DontMash in #3594
- docs: add clarification for assets/static by @fry69 in #3525
- fix: handle paths with whitespaces in staticFiles by @LY1806620741 in #3659
- perf: make updater faster by streaming instead of reading into memory by @ottenhoff in #3630
- docs: add contributing section by @fry69 in #3384
- chore: minor code cleanups by @marvinhagemeister in #3103
- feat: expose
HttpErrorfor clients by @marvinhagemeister in #3080 - docs: update project setup commands in READMEs by @SisyphusZheng in #3334
- fix: handle invalid date objects in jsonify stringify by @dahlia in #2851
- chore: remove showcase page by @bartlomieju in #3703
- fix: vendor check_docs to avoid raw GitHub URL rate limits by @bartlomieju in #3704
New Contributors
- @muhaimincs made their first contribution in #3686
- @jasonmccallister made their first contribution in #3682
- @DouglasdeMoura made their first contribution in #3669
- @alphatra made their first contribution in #3660
- @cngarrison made their first contribution in #3547
- @cuipeiyu made their first contribution in #3595
- @DontMash made their first contribution in #3594
- @briansimoni made their first contribution in #3212
- @LY1806620741 made their first contribution in #3659
- @ottenhoff made their first contribution in #3630
- @wfrancescons made their first contribution in #3236
- @j0si made their first contribution in #2970
- @dahlia made their first contribution in #2851
Full Changelog: 2.2.1...2.2.2
2.2.1
Bug Fixes
- fix: force at least @deno/loader@0.3.10 by @dsherret in #3631
- fix:
.well-knownstatic folder not working by @marvinhagemeister in #3676
Maintenance
- fix: update type & imports by @eryue0220 in #3638
- refactor: complete move to Vite Environment API by @lishaduck in #3634
- chore: update preact version by @marvinhagemeister in #3664
- chore: update lockfile by @marvinhagemeister in #3677
Documentation
- Removed the "beta" from the notification by @emilkrebs in #3373
- Update daisyUI installation instructions and file path by @falvarador in #3592
- Fix typo in getting started documentation by @madflow in #3675
- Fix spelling error in index.md by @sck451 in #3658
New Contributors
- @falvarador made their first contribution in #3592
- @eryue0220 made their first contribution in #3638
- @lishaduck made their first contribution in #3634
- @madflow made their first contribution in #3675
- @sck451 made their first contribution in #3658
Full Changelog: 2.2.0...2.2.1
2.2.0
Features
- feat: Add
.json()/.text()/.html()/.stream()context helpers by @marvinhagemeister in #3613
@fresh/plugin-vite
- fix(vite): source mapping locations by @marvinhagemeister in #3624
@fresh/init
- feat(init): use recommended vscode settings for tailwind by @KiritaniAyaka in #3621
Documentation
- docs(build-id): add code block example by @csvn in #3600
- docs(core): correct example code block formatting by @csvn in #3601
- docs(vite-plugin): add JSDoc and export public API by @csvn in #3604
- docs(examples): add module and public exports JSDoc for all entrypoints by @csvn in #3603
- docs(core): improve CORS example documentation on JSR by @csvn in #3602
- docs(core): add small usage & getting started example by @csvn in #3598
- docs: improve copy button appearance on light mode by @KiritaniAyaka in #3620
New Contributors
- @KiritaniAyaka made their first contribution in #3620
Full Changelog: 2.1.4...2.2.0
2.1.4
Bug Fixes
- fix(partial): buttons outside forms should not trigger navigation by @marvinhagemeister in #3584
- fix: switch to
nodeModulesDir: "manual"to avoid install race conditions by @marvinhagemeister in #3588 - fix:
HEADwhen onlyGETis registered in.route()by @marvinhagemeister in #3587
@fresh/plugin-vite
- fix(vite): mark transformed commonjs with
__esModuleby @marvinhagemeister in #3575 - fix(vite): inherit top level
outDirconfig if by @PastelStoic in #3570
Documentation
Maintenance
- chore: update @astral/astral by @marvinhagemeister in #3583
- chore: tests add more logs for easier debugging by @marvinhagemeister in #3589
- chore: improve init tests by @marvinhagemeister in #3590
New Contributors
Full Changelog: 2.1.3...2.1.4
2.1.3
Bug Fixes
- fix: disable static file caching in development by @brettchalupa in #3561
- fix: HEAD method not handled properly by @marvinhagemeister in #3563
- fix:
.fsRoutes()pattern argument not working by @marvinhagemeister in #3571
@fresh/plugin-vite
- fix(vite): exclude test files from production builds by @brettchalupa in #3559
@fresh/init
- feat: add
@/path alias to generated projects by @brettchalupa in #3562
Maintenance
- chore: update README Deno Deploy docs for EA by @brettchalupa in #3560
- chore: fix link to Fresh documentation in README by @PastelStoic in #3569
New Contributors
- @brettchalupa made their first contribution in #3561
- @PastelStoic made their first contribution in #3569
Full Changelog: 2.1.2...2.1.3
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