What's Changed
Improved ESM module support
Electron Forge v7.5.0 adds support for loading Forge modules (plugins, makers, publishers etc.) that use ESM for their module format. This change allows both official Forge modules and third-party modules to use ESM syntax.
Change in Vite support policy
v7.5.0 also makes refinements to our Vite plugin, fixing an issue that users identified as breaking between 7.2.0 and 7.3.0 (#3506). Users upgrading from any past version of Forge to 7.5.0 should now not experience breaking config changes.
After discussion with maintainers, we've decided to retroactively mark the Vite plugin as experimental, as the plugin is still under active development and cannot offer the same API stability guarantees as our other existing plugins. Minor versions may include breaking changes to improve developer ergonomics or to fix bugs (especially around native Node.js modules).
When these changes happen, we'll provide additional migration information in future release notes.
- feat(plugin-vite): better logic by @caoxiemeihao in #3583
- feat(core): support ESM Forge module loading by @SpacingBat3 in #3582
- feat(core): adding register/unregisterForgeConfigForDirectory to utils by @IIIMADDINIII in #3626
- feat(publisher-gcs): only include provided upload options by @kochrt in #3576
- feat: Adding optional metadata config to gcs publisher by @Tobiasartz in #3682
- feat(maker-wix): Expose the property associateExtensions by @fras2560 in #3674
- feat(plugin-webpack): support for dev server custom headers by @rahul-sachdeva22 in #3653
Bug Fixes and Improvements
- fix(cli): cli capitalisation by @DevanceJ in #3539
- ci: don't use versionDocs option in API Documentation workflow by @dsanders11 in #3571
- test(import): check if electron-quick-start packages by @erickzhao in #3580
- fix(maker-squirrel): only push
delta
artifacts if they exist on disk by @hipstersmoothie in #3586 - docs: upgrade typedoc@0.25 by @erickzhao in #3636
- fix(plugin-webpack): protocol recognizes webpack's
devServer
setting by @Dogdriip in #3650 - fix(hooks): allow mutating hooks to have a
void
return by @erickzhao in #3655 - fix: Bump @electron/packager to ^18.3.5 by @felixrieseberg in #3692
- chore: bump electronjs/node to 2.3.0 (main) by @electron-roller in #3596
- chore(publisher-s3): update aws-sdk deps by @erickzhao in #3708
- chore: bump
asar
dep to latest by @erickzhao in #3592 - test: correctly make test-output.xml paths relative in windows by @yangannyx in #3620
- docs: mark plugin-vite as experimental by @VerteDinde in #3710
New Contributors
- @DevanceJ made their first contribution in #3539
- @hipstersmoothie made their first contribution in #3586
- @Tobiasartz made their first contribution in #3682
- @rahul-sachdeva22 made their first contribution in #3653
- @fras2560 made their first contribution in #3674
- @IIIMADDINIII made their first contribution in #3626
- @SpacingBat3 made their first contribution in #3582
- @kochrt made their first contribution in #3576
Full Changelog: v7.4.0...v7.5.0