Releases: electron/forge
Releases · electron/forge
v7.10.2
What's Changed
Highlights
- fix(maker-msix): rename and add named exports by @erickzhao in #4020
- fix(msix): use temp staging folder and fix types by @MarshallOfSound in #4021
- build: upgrade to Lerna 9 and Yarn 4 by @georgexu99 in #4009
- fix(maker-squirrel): make app in tmpdir by @MarshallOfSound in #4022
Other Changes
- build: update yarn version by @georgexu99 in #4023
- build: correct lerna-publish version by @VerteDinde in #4024
- build: move husky to postinstall by @VerteDinde in #4025
- docs: update CONTRIBUTING to include build by @VerteDinde in #4027
Full Changelog: v7.10.0...v7.10.2
v7.10.1
v7.10.0
The MSIX Release
Forge v7.10.0 adds experimental support for the MSIX packaging format on Windows. The new @electron-forge/maker-msix package adapts the standalone electron-windows-msix installer utility to work alongside the rest of the Electron Forge build and release pipeline.
npm install --save-dev @electron-forge/maker-msix
What's Changed
- fix(init): unbreak interactive force check by @erickzhao in #4007
- feat(msix): add maker-msix by @bitdisaster in #3978
New Contributors
- @bitdisaster made their first contribution in #3978
Full Changelog: v7.9.0...v7.10.0
v7.9.0
What's Changed
Vite Plugin Changes
In this release, a few improvements to the Vite plugin are important to note:
- We've had Out of Memory issues reported in the past for Vite builds with many renderer targets (ref #3965). Forge 7.9 adds the ability to limit the number of concurrent builds with the
concurrentconfiguration flag. Note that another workaround to memory issues is to increase V8's max memory size using the--max_old_space_sizeCLI flag in Node. - Forge 7.9 changes the default behaviour of Vite's static asset handling. Previously, the
publicDirwould copy to all build targets, where apps would typically only want to have the dir available for the web/renderer target. If you need to change this behaviour back, enable thebuild.copyPublicDiroption in the relevant Vite configurations.
Features:
- feat: updated publisher-s3 to support cache max-age for release files by @discorev in #3968
- feat: added inquirer as an alternative to --template cli by @sethcg in #3933
- feat(plugin-vite): add
concurrentoption by @erickzhao in #3990 - feat: improve Yarn Berry support by @erickzhao in #3997
Bug Fixes and Improvements
- build(deps): bump vite from 5.4.19 to 5.4.20 by @dependabot[bot] in #4001
- build(deps): use
@vscode/sudo-promptfork by @erickzhao in #3983 - build(deps): update
form-databy @erickzhao in #3991 - fix: wait for previous app to exit before restarting by @MarshallOfSound in #3973
- fix(plugin-vite): only copy
/publicin the renderer by @erickzhao in #3971 - fix(core-utils): startLogic was called in incorrect context by @Hill-98 in #3809
- fix(plugin-vite): handle object-like inputs from rollup options in CLI output by @erickzhao in #3982
- fix(plugin-vite): support
electron/*subpath imports by @erickzhao in #3988 - fix(plugin-vite): clearer bundle error state by @erickzhao in #3987
New Contributors
- @Hill-98 made their first contribution in #3809
- @sethcg made their first contribution in #3933
- @discorev made their first contribution in #3968
Full Changelog: v7.8.3...v7.9.0
v7.8.3
What's Changed
Bug Fixes & Improvements
- fix(plugin-fuses): only use fuses v1 by @erickzhao in #3972
Full Changelog: v7.8.2...v7.8.3
v7.8.2
What's Changed
Bug Fixes & Improvements
- fix(plugin-vite): ensure vite build errors are propagated to CLI by @erickzhao in #3939
- fix(vite-typescript): add missing
@types/electron-squirrel-startupdependency by @alectrocute in #3957 - fix: remove unused
ts-nodein template by @himself65 in #3959 - fix: hide promises from promisify by @MarshallOfSound in #3969
Other Changes
- build(deps): update Octokit by @erickzhao in #3940
- build(dev-deps): upgrade vitest to latest by @erickzhao in #3941
- build(deps): bump form-data from 4.0.0 to 4.0.4 by @dependabot[bot] in #3966
- ci: use latest version of
wixtoolsetv3 by @erickzhao in #3946 - ci: disable macOS x64 configs by @erickzhao in #3960
- chore: update electron-quick-start references by @yangannyx in #3958
- chore(plugin-vite): delete unused dependencies by @dmitriy-bizyaev in #3952
New Contributors
- @alectrocute made their first contribution in #3957
- @dmitriy-bizyaev made their first contribution in #3952
- @himself65 made their first contribution in #3959
Full Changelog: v7.8.1...v7.8.2
v7.8.1
What's Changed
Bug Fixes and Improvements
- fix(plugin-webpack): make entry point consistent between dev and prod by @viliml in #3871
- fix(package): update
@electron/universalto v2.0.3 by @erickzhao in #3931 - fix: add electron-winstaller in onlyBuiltDependencies by @wy-luke in #3924
- fix(core): load TypeScript configurations with
jitiby @erickzhao in #3907
Other Changes
- build(deps): bump vite from 5.4.14 to 5.4.15 by @dependabot in #3899
- build(deps): bump vite from 5.4.15 to 5.4.16 by @dependabot in #3901
- build(deps): bump dsanders11/project-actions from 1.5.1 to 1.7.0 by @dependabot in #3905
- build(deps): bump actions/setup-node from 4.2.0 to 4.3.0 by @dependabot in #3904
- build(deps): bump vite from 5.4.16 to 5.4.17 by @dependabot in #3912
- build(deps): bump vite from 5.4.17 to 5.4.18 by @dependabot in #3920
- build(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9 by @dependabot in #3921
- build(deps): update node-abi to latest 3.x by @erickzhao in #3929
- build(deps): bump vite from 5.4.18 to 5.4.19 by @dependabot in #3927
- build(deps): bump actions/setup-node from 4.3.0 to 4.4.0 by @dependabot in #3928
- ci(stale): use
any-of-labelsby @erickzhao in #3913 - test(plugin-fuses): use local build for tests by @erickzhao in #3910
New Contributors
Full Changelog: v7.8.0...v7.8.1
v7.8.0
What's Changed
New Features
- feat(cli): show template sources when initializing by @erickzhao in #3895
- feat(cli): add
--skip-gitoption by @erickzhao in #3860
Bug Fixes and Improvements
- fix(maker-wix): version with pre-release tag breaks app start by @ShGKme in #3855
- fix(maker-wix): inherit config types from
electron-wix-msiby @erickzhao in #3858 - fix(core-utils): trim
spawnPackageManageroutput by @rahulptl165 in #3866 - fix(start): pass app args with correct amount of
--by @erickzhao in #3879 - fix(cli): correctly wire up
--skip-gitopt by @erickzhao in #3886 - fix(core-utils): correctly fall back package manager lockfile by @erickzhao in #3885
- fix(template-base): properly add
.npmrcto template files by @erickzhao in #3891 - fix(cli): add descriptive error for unsupported node version by @knqu in #3894
Other Changes
- build(deps): bump axios from 1.7.6 to 1.8.4 by @dependabot in #3897
- test(core-utils): add test coverage for spawnPackageManager by @dsanders11 in #3868
New Contributors
- @ShGKme made their first contribution in #3855
- @rahulptl165 made their first contribution in #3866
- @knqu made their first contribution in #3894
Full Changelog: v7.7.0...v7.8.0
v7.7.0
What's Changed
Features
- feat(core): pnpm support by @erickzhao in #3822
Fixes
- fix(template): use esm imports for vite template only by @erickzhao in #3824
- fix(template-base): install correct version of plugin-fuses by @erickzhao in #3823
- fix(template-vite): make
--forceflag work by @erickzhao in #3825 - fix(template-vite-typescript): make
--forceflag work by @erickzhao in #3829 - fix(package): make
packagerConfig.quietconfigurable by @erickzhao in #3831 - fix(maker-flatpak): fix flatpakArch for arm64 by @pano9000 in #3839
- fix(cli): deduplicate default information by @erickzhao in #3842
- fix: upgrade
commander4 -> 11 by @erickzhao in #3848 - fix(cli): clean up output by @erickzhao in #3851
- fix(cli): error if system check fails by @erickzhao in #3852
- perf(cli): minimize
resolvePackageManagercalls by @erickzhao in #3853 - perf(cli): only check system on commands by @erickzhao in #3843
- perf(cli): only check for
giton init by @erickzhao in #3846
Other Changes
- build: update outdated yarn.lock by @dsanders11 in #3819
- build(deps): bump @octokit/request-error from 2.1.0 to 5.1.1 by @dependabot in #3856
- build(deps): bump deps to partially clear audit by @dsanders11 in #3820
- build(deps): bump dsanders11/project-actions from 1.4.0 to 1.5.1 by @dependabot in #3834
- build(deps): bump actions/setup-node from 4.1.0 to 4.2.0 by @dependabot in #3833
- build(deps): bump serialize-javascript from 6.0.1 to 6.0.2 by @dependabot in #3850
- build(deps-dev): bump vitest from 3.0.3 to 3.0.5 by @dependabot in #3836
- chore: run ESLint with cache on lint-staged by @erickzhao in #3837
- chore: clean up issue templates by @erickzhao in #3841
- chore: add
actions/stalefor issues by @erickzhao in #3830 - chore: remove
.vscode/settings.jsonfrom source control by @erickzhao in #3826 - docs: update broken link to outdated process docs by @sarahetter in #3821
- refactor(init): remove unmaintained
resolve-packageby @erickzhao in #3812 - test: unskip prebuilt-native-module test by @erickzhao in #3832
New Contributors
- @sarahetter made their first contribution in #3821
- @pano9000 made their first contribution in #3839
Full Changelog: v7.6.1...v7.7.0
v7.6.1
What's Changed
This release contains several bug fixes and improvements, as well as bumps in dependencies.
Bug Fixes and Improvements
- fix(maker-dmg): remove extraneous properties from
MakerDMGConfigby @tanishqkancharla in #3761 - fix(core-utils): don't add --save flag for npm install by @erickzhao in #3795
- fix: update native module unpack pattern to include hidden directories by @glowingjade in #3793
- fix(maker-dmg): make
macos-aliasbuild on Node.js 22 by @erickzhao in #3810 - fix(template): install fuses@ELECTRON_FORGE/VERSION by @erickzhao in #3702
Other Changes
- build(deps): remove unused
pretty-msdep by @erickzhao in #3775 - build(deps): bump vite from 5.4.11 to 5.4.12 by @dependabot in #3814
- build(plugin-vite): allow renderer name to contain dashes by @broose-goose in #3794
- build(deps): TypeScript 5.4 by @erickzhao in #3790
- ci: disable parallelism by @erickzhao in #3798
- ci: change gh-pages workflow to ubuntu-latest runner by @dsanders11 in #3807
- chore(core): remove unused
download-to-fileutil by @erickzhao in #3774 - chore: upgrade [email protected] in corepack by @erickzhao in #3799
- chore: upgrade ESLint dependencies by @erickzhao in #3811
- refactor(all): use
node:prefixes by @erickzhao in #3784 - test: avoid
proxyquireinapi_spec_slowby @erickzhao in #3786 - test: refactor fast suite to use vitest by @erickzhao in #3797
- refactor(core): replace
yarn-or-npmwithdetect-package-managerby @erickzhao in #3813 - test(plugin-fuses): bump Electron version in fixture by @dsanders11 in #3815
- test: Vitest 3 by @erickzhao in #3816
- test: migrate slow tests to use vitest by @erickzhao in #3802
New Contributors
- @tanishqkancharla made their first contribution in #3761
- @broose-goose made their first contribution in #3794
- @glowingjade made their first contribution in #3793
Full Changelog: v7.6.0...v7.6.1
