Skip to content

Releases: electron/forge

v8.0.0-alpha.6

19 Mar 00:58
5663b52

Choose a tag to compare

v8.0.0-alpha.6 Pre-release
Pre-release

The ESM Release

This release marks the culmination of our journey to bump all of our first-party Electron packages to Node 22 LTS + ESM.

Electron Forge is now a set of ESM packages and requires at least Node.js 22.12.0 (the first version to support require(esm) in CommonJS).

All dependent @electron/ npm packages have been bumped to their latest major version.

  • @electron/asar
    • Removed all default exports.
  • @electron/fuses
    • No additional breaking changes beyond Node.js and ESM requirements.
  • @electron/get
    • Removed deprecated nightly_mirror option. Use nightlyMirror instead.
    • Removed deprecated force option. Use cacheMode: ElectronDownloadCacheMode.WriteOnly instead.
  • @electron/notarize
    • Removed deprecated altool notarization strategy. The tool parameter is no longer used.
  • @electron/osx-sign
    • Removed deprecated signAsync, walkAsync, and flatAsync functions. The base sign, walk, and flat functions are now Promise-based exclusively.
  • @electron/packager
    • ASAR is now enabled by default with unpack: '**/{.**,**/}/**/*.node' (you likely can removed the auto-unpack-natives Forge plugin).
    • derefSymlinks now defaults to true.
    • Hook arguments are now consolidated into a single object parameter and hooks are promisified.
  • @electron/rebuild
    • Removed default export.
    • Removed unused nodeGypPath field from the Rebuilder object.
  • @electron/universal
    • No additional breaking changes beyond Node.js and ESM requirements.
  • @electron/windows-sign
    • No additional breaking changes beyond Node.js and ESM requirements.

Additionally, many other dependencies are bumped to their latest major version! Most notably, @electron-forge/plugin-vite now uses Vite 7.

Moving init and import out of @electron-forge/core

The init and import ("bootstrap") commands aren't useful once you have a Forge app working. Fundamentally, it doesn't make sense for them to exist within @electron-forge/core, especially since it also meant that all Forge apps ended up bundling webpack and vite in their node_modules (inherited from init depending on @electron-forge/template-*).

This release moves the core of the init and import logic into the create-electron-app package. 👍

What's next?

This is subject to change, but the next release will probably ship with:

  • Vite 8
  • Modern linting for templates
  • Modern compiler options for TypeScript templates
  • ESM bundling support for the Vite plugin

A full roadmap is available in #4082. (If you have any feedback or comments, feel free to leave them in the issue!)

Yours truly,
@erickzhao

Changelog

Full Changelog: v8.0.0-alpha.4...v8.0.0-alpha.6

v8.0.0-alpha.5

18 Mar 21:57
5ad3a25

Choose a tag to compare

v8.0.0-alpha.5 Pre-release
Pre-release

(don't use this release)

v8.0.0-alpha.4

14 Jan 23:10
9f2c01f

Choose a tag to compare

v8.0.0-alpha.4 Pre-release
Pre-release

What's Changed

Full Changelog: v8.0.0-alpha.3...v8.0.0-alpha.4

v7.11.1

12 Jan 23:01
eb0a845

Choose a tag to compare

What's Changed

Forge v7.11 is the first version to be released using npm trusted publishing. A lot of internal build and test refactoring went into this release to make publishing seamless for releasers.

Full Changelog

Full Changelog: v7.10.2...v7.11.1

v8.0.0-alpha.3

04 Dec 01:46
1ac299b

Choose a tag to compare

v8.0.0-alpha.3 Pre-release
Pre-release

Electron Forge 8

This is the first published release of the next branch, which contains code for future releases of Electron Forge 8. For now, the alpha stage indicates that the toolchain is still in active development and to use it at your own risk.

Eventually, a future beta stage will indicate that the toolchain ready for early adopters. For now, each Alpha release will note whenever breaking changes are released.

Breaking Changes

Other Changes

Internal

Full Changelog: v7.10.2...v8.0.0-alpha.3

v7.10.2

10 Oct 06:56
v7.10.2
af12ba0

Choose a tag to compare

What's Changed

Highlights

Other Changes

Full Changelog: v7.10.0...v7.10.2

v7.10.1

09 Oct 23:27
v7.10.1
a9c9eb7

Choose a tag to compare

v7.10.1 Pre-release
Pre-release

Unfortunately, this release had an error in the final npm package. We're sorry for the inconvenience; we recommend upgrading directly to v7.10.2.

anya-spy-x-family-shock

v7.10.0

08 Oct 23:06
v7.10.0
aae99d3

Choose a tag to compare

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

New Contributors

Full Changelog: v7.9.0...v7.10.0

v7.9.0

10 Sep 00:52
v7.9.0
cd63f57

Choose a tag to compare

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 concurrent configuration flag. Note that another workaround to memory issues is to increase V8's max memory size using the --max_old_space_size CLI flag in Node.
  • Forge 7.9 changes the default behaviour of Vite's static asset handling. Previously, the publicDir would 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 the build.copyPublicDir option 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 concurrent option by @erickzhao in #3990
  • feat: improve Yarn Berry support by @erickzhao in #3997

Bug Fixes and Improvements

New Contributors

Full Changelog: v7.8.3...v7.9.0

v7.8.3

05 Aug 17:42
v7.8.3
4ff6571

Choose a tag to compare

What's Changed

Bug Fixes & Improvements

Full Changelog: v7.8.2...v7.8.3