Skip to content

Releases: electron/forge

v7.6.0

26 Nov 22:47
v7.6.0
37a66f2
Compare
Choose a tag to compare

What's Changed

Added Forge preStart hook

Electron Forge v7.6.0 adds a new preStart hook that improves Forge's starting logic, specifically allowing multiple plugins to customize their start logic, rather than just one. This addition fixes an issue where a project containing multiple plugins that hooked into the app's start would collide.

Allow omittingACL from publisher-s3 plugin upload

v7.6.0 also allows users of the publisher-s3 plugin to omit the ACL from the upload request, per Amazon's recommendation of using bucket owner-enforced permissions.

Bug Fixes and Improvements

Other Changes

New Contributors

Full Changelog: v7.5.0...v7.6.0

v7.5.0

20 Sep 18:55
v7.5.0
5941a9a
Compare
Choose a tag to compare

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.

Bug Fixes and Improvements

New Contributors

Full Changelog: v7.4.0...v7.5.0

v7.4.0

11 Apr 22:08
Compare
Choose a tag to compare

What's Changed

Highlighted Feature:

This version of Forge enables the new Windows ASAR integrity feature in Electron. When ASAR integrity is enabled, your Electron app will verify the header hash of the ASAR archive on runtime. If no hash is present or if there is a mismatch in the hashes, the app will forcefully terminate.

More information about this feature can be found in Electron's documentation here: https://github.com/electron/electron/blob/main/docs/tutorial/asar-integrity.md#using-electron-tooling

Bug Fixes and Improvements

New Contributors

Full Changelog: v7.3.1...v7.4.0

v7.3.1

20 Mar 16:32
v7.3.1
ccf6063
Compare
Choose a tag to compare

What's Changed

Highlighted Feature:

This change enables advanced code signing with [@electron/windows-sign][@electron/windows-sign], supporting two different ways to codesign your application and the installer:

  1. Modern: By passing a windowsSign option, which will be passed to [@electron/windows-sign]. This method allows full customization of the code-signing process - and supports more complicated scenarios like cloud-hosted EV certificates, custom sign pipelines, and per-file overrides. It also supports all existing "simple" codesigning scenarios, including just passing a certificate file and password. Please see https://github.com/@electron/windows-sign for all possible configuration options.

    When passing windowsSign, do not pass any other available parameters at the top level (like certificateFile, certificatePassword, or signWithParams).

  2. Legacy: By passing the top-level settings (certificateFile, certificatePassword, and signWithParams). For simple codesigning scenarios, there's no reason not to use this method - it'll work just as fine as the modern method.

Bug Fixes and Improvements

New Contributors

Full Changelog: v7.3.0...v7.3.1

image

v7.3.0

21 Feb 18:00
v7.3.0
81160c5
Compare
Choose a tag to compare

What's Changed

Features

Fixes

  • fix(electron-release-publisher): change api/version endpoint in PublisherERS to use versions/sorted by @kgallagher52 in #3431
  • fix(core): packageJSON won't be found when programmatic usage instead of CLI by @ianho in #3455
  • fix: actually depend on preceeding groups by @MarshallOfSound in #3438
  • fix: normalize windows version with build part correctly by @rickymohk in #3461
  • fix: .vscode settings.json changes on open by @lutzroeder in #3460
  • fix(plugin-vite): package volume size to large by @caoxiemeihao in #3336

Performance

Other Changes

  • chore: update Packager by @erikian in #3419
  • chore: bump electronjs/node to 2.2.0 (main) by @electron-roller in #3469
  • chore(plugins/electronegativity): correct some config types by @Dogdriip in #3482
  • chore: use Dependabot to update GitHub Actions deps by @dsanders11 in #3487
  • chore: bump electronjs/node to 2.2.1 (main) by @electron-roller in #3496

New Contributors

Full Changelog: v7.2.0...v7.3.0

v7.2.0

30 Nov 23:58
v7.2.0
30af3b2
Compare
Choose a tag to compare

What's Changed

Features

Fixes

Documentation

Other Changes

  • build(docs): enable API documentation builds for Forge v7 by @erickzhao in #3413
  • ci: allow manual API documentation publish by @dsanders11 in #3414
  • refactor: dedupe key resolver for static publishers by @MarshallOfSound in #3421
  • chore: bump electronjs/node to 2.1.0 (main) by @electron-roller in #3422
  • chore: update deps to clear some audit warnings by @dsanders11 in #3429

Full Changelog: v7.1.0...v7.2.0

image

v7.1.0

17 Nov 19:29
efaafef
Compare
Choose a tag to compare

What's Changed

Full Changelog: v7.0.0...v7.1.0

v7.0.0

15 Nov 23:20
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • build!: update minimum Node.js version from 14.17.5 to 16.0.0 by @erikian in #3399
  • feat!: change electron-packager to @electron/packager by @VerteDinde in #3408
  • chore!: remove electron-prebuilt-compile support by @erickzhao in #3396
  • build!: update minimum Node.js version from 16.0.0 to 16.4.0 by @erikian in #3401
  • chore(cli): limit yarn@^1.0.0 by @erickzhao in #3357

Features

Fixes

  • fix(publisher-github): update error message to reflect the correct property names by
    @erikian in #3393
  • fix(plugin-webpack): preload race condition by @georgexu99 in #3353
  • fix(plugin-fuses): use target platform in the executable path by @erikian in #3376
  • fix(maker-dmg): make 'name' optional in DMGContents interface by @BitYoungjae in #3390
  • fix: handle missing manifest in zip maker by @MarshallOfSound in #3405
  • fix(template-webpack-typescript): use fork-ts-checker-webpack-plugin in main webpack config by @NoahAndrews in #3391

Other Changes

New Contributors

Full Changelog: v6.4.2...v7.0.0

image

v6.4.2

07 Sep 22:58
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.4.1...v6.4.2

v6.4.1

21 Aug 22:56
198d703
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.4.0...v6.4.1