Skip to content

Releases: electron/forge

v8.0.0-alpha.8

21 Apr 19:06
e6e0d00

Choose a tag to compare

v8.0.0-alpha.8 Pre-release
Pre-release

In this release

We're continuing to release Alpha versions at a faster cadence! Most importantly, this release fixes a bunch of Windows-specific import path bugs from the ESM migration.

Breaking Changes

  • @electron-forge/publisher-github now exports a PublisherGitHub constructor rather than PublisherGithub (fixed capitalization).

What's Changed

Full Changelog: v8.0.0-alpha.7...v8.0.0-alpha.8

v8.0.0-alpha.7

10 Apr 16:26
2f61a07

Choose a tag to compare

v8.0.0-alpha.7 Pre-release
Pre-release

What's new

In this version of Electron Forge, we've fixed up the webpack plugin, which had ESM/CJS-related runtime errors. The Vite plugin now also uses Vite 8, powered by rolldown!

Full Changelog

New Contributors

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

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