Skip to content

Releases: electron/forge

v8.0.0-alpha.10

v8.0.0-alpha.10 Pre-release
Pre-release

Choose a tag to compare

@electron-npm-package-publisher electron-npm-package-publisher released this 02 Jul 18:09
a042139

What's Changed

Full Changelog: v8.0.0-alpha.9...v8.0.0-alpha.10

v7.11.2

Choose a tag to compare

@electron-npm-package-publisher electron-npm-package-publisher released this 20 May 18:19
f2a3ec8

What's Changed

New Contributors

Full Changelog: v7.11.1...v7.11.2

v8.0.0-alpha.9

v8.0.0-alpha.9 Pre-release
Pre-release

Choose a tag to compare

@electron-npm-package-publisher electron-npm-package-publisher released this 20 May 18:18
8d04835

What's Changed

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

v8.0.0-alpha.8

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

Choose a tag to compare

@electron-npm-package-publisher electron-npm-package-publisher released this 21 Apr 19:06
e6e0d00

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

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

Choose a tag to compare

@electron-npm-package-publisher electron-npm-package-publisher released this 10 Apr 16:26
2f61a07

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

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

Choose a tag to compare

@electron-npm-package-publisher electron-npm-package-publisher released this 19 Mar 00:58
5663b52

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

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

Choose a tag to compare

@electron-npm-package-publisher electron-npm-package-publisher released this 18 Mar 21:57
5ad3a25

(don't use this release)

v8.0.0-alpha.4

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

Choose a tag to compare

@electron-npm-package-publisher electron-npm-package-publisher released this 14 Jan 23:10
9f2c01f

What's Changed

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

v7.11.1

Choose a tag to compare

@electron-npm-package-publisher electron-npm-package-publisher released this 12 Jan 23:01
eb0a845

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

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

Choose a tag to compare

@electron-npm-package-publisher electron-npm-package-publisher released this 04 Dec 01:46
1ac299b

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