A complete tool for building and publishing Electron applications
MIT License
Bot releases are hidden (Show)
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
plugin-fuses
to import script by @Santhoshmani1 in https://github.com/electron/forge/pull/3535
Full Changelog: https://github.com/electron/forge/compare/v7.3.1...v7.4.0
Published by georgexu99 7 months ago
This change enables advanced code signing with [@electron/windows-sign][@electron/windows-sign], supporting two different ways to codesign your application and the installer:
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
).
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.
fix(publisher-github): don't sanitize asset names before upload by @dsanders11 in https://github.com/electron/forge/pull/3485
build: bump memory limit for docs:generate script by @dsanders11 in https://github.com/electron/forge/pull/3500
build: fix keyv type resolution warning during dev by @MarshallOfSound in https://github.com/electron/forge/pull/3507
build(deps): bump actions/setup-node from 4.0.1 to 4.0.2 by @dependabot in https://github.com/electron/forge/pull/3522
build(deps): bump follow-redirects from 1.15.4 to 1.15.6 by @dependabot in https://github.com/electron/forge/pull/3537
ci(windows): pin version of wix toolset to v3.14.0 by @erickzhao in https://github.com/electron/forge/pull/3525
docs: update forge create-electron-app template to match tutorial by @alicelovescake in https://github.com/electron/forge/pull/3528
Full Changelog: https://github.com/electron/forge/compare/v7.3.0...v7.3.1
Published by VerteDinde 8 months ago
Full Changelog: https://github.com/electron/forge/compare/v7.2.0...v7.3.0
Published by georgexu99 11 months ago
Full Changelog: https://github.com/electron/forge/compare/v7.1.0...v7.2.0
Published by erickzhao 11 months ago
Full Changelog: https://github.com/electron/forge/compare/v7.0.0...v7.1.0
Published by georgexu99 11 months ago
14.17.5
to 16.0.0
by @erikian in https://github.com/electron/forge/pull/3399
electron-prebuilt-compile
support by @erickzhao in https://github.com/electron/forge/pull/3396
16.0.0
to 16.4.0
by @erikian in https://github.com/electron/forge/pull/3401
packageManager
in package.json by @erickzhao in https://github.com/electron/forge/pull/3359
packageManager
by @erickzhao in https://github.com/electron/forge/pull/3407
Full Changelog: https://github.com/electron/forge/compare/v6.4.2...v7.0.0
Published by georgexu99 about 1 year ago
--help
command output by @erickzhao in https://github.com/electron/forge/pull/3335
npm install -g
by @erickzhao in https://github.com/electron/forge/pull/3314
Full Changelog: https://github.com/electron/forge/compare/v6.4.1...v6.4.2
Published by erickzhao about 1 year ago
template-vite-typescript
to Forge's core dependencies by @erickzhao in https://github.com/electron/forge/pull/3303
Full Changelog: https://github.com/electron/forge/compare/v6.4.0...v6.4.1
Published by erickzhao about 1 year ago
electron-installer-debian
to latest by @erickzhao in https://github.com/electron/forge/pull/3301
Full Changelog: https://github.com/electron/forge/compare/v6.3.0...v6.4.0
Published by VerteDinde about 1 year ago
files
field for each package by @daydayhappychao in https://github.com/electron/forge/pull/3284
Full Changelog: https://github.com/electron/forge/compare/v6.2.1...v6.3.0
Published by erickzhao over 1 year ago
server.port
by @caoxiemeihao in https://github.com/electron/forge/pull/3201
browser
field for isomorphic packages by @jclab-joseph in https://github.com/electron/forge/pull/3218
Full Changelog: https://github.com/electron/forge/compare/v6.1.1...v6.2.1
Published by VerteDinde over 1 year ago
A Vite template is now available in Forge! 🚀 Thanks to @caoxiemeihao for contributing this template and plugin.
A plugin for Electron Fuses is now available in Forge! 🌟 Thanks to @erikian for contributing this plugin.
resetAdHocDarwinSignature
rules on Mac by @erikian in https://github.com/electron/forge/pull/3190
lerna-debug.log
by @erickzhao in https://github.com/electron/forge/pull/3162
Full Changelog: https://github.com/electron/forge/compare/v6.0.5...v6.1.1
Published by erickzhao over 1 year ago
this.config
when calling internal hooks by @albertxing in https://github.com/electron/forge/pull/3126
.gitattributes
file for proper handling of line endings by @erikian in https://github.com/electron/forge/pull/3134
electron-packager
throws if fails by @erickzhao in https://github.com/electron/forge/pull/3136
test:slow
script to avoid re-running fast tests in the slow-tests
job by @erikian in https://github.com/electron/forge/pull/3150
Full Changelog: https://github.com/electron/forge/compare/v6.0.4...v6.0.5
Published by erickzhao almost 2 years ago
v6.0.4 is a small release with a lot of internal code cleanup changes. Most importantly for users, this release adds clearer error messages for [object Object]
errors that were thrown during the Make step.
forge.config
property in package.json
to point to a non-js file by @erikian in https://github.com/electron/forge/pull/3070
@typescript-eslint/no-throw-literal
) by @erickzhao in https://github.com/electron/forge/pull/3086
tsc -b
for all packages by @erickzhao in https://github.com/electron/forge/pull/3090
Full Changelog: https://github.com/electron/forge/compare/v6.0.3...v6.0.4
Published by erickzhao almost 2 years ago
Electron Forge v6.0.3 is the direct successor to v6.0.1.
node_modules
folder by @MarshallOfSound in https://github.com/electron/forge/pull/3060
Full Changelog: https://github.com/electron/forge/compare/v6.0.1...v6.0.3
Published by georgexu99 almost 2 years ago
We failed the npm publish for this version so we recommend upgrading directly to v6.0.3.
Published by VerteDinde almost 2 years ago
mas
platform in the Package step would actually package for darwin
.Full Changelog: https://github.com/electron/forge/compare/v6.0.0...v6.0.1
Published by georgexu99 almost 2 years ago
Forge has spent a considerable time in beta development; this is a list of breaking changes made in recent betas (>= 6.0.0-beta.65), so that users who have been using the later beta versions in their apps can more easily transition to the stable release.
A complete list of changes and commits can be found below.
plugins
syntax (#2963)The plugins
array now takes objects containing an object with properties name
and config
, rather than tuples containing the plugin name and config.
This aligns the syntax for this configuration with the publishers
and makers
arrays.
{
plugins: [
- [
- '@electron-forge/plugin-webpack',
- { /* ... */ }
- ]
+
+ {
+ name: '@electron-forge/plugin-webpack',
+ config: { /* ... */ }
+ }
]
}
forge.config.js
for new Forge projects (#2991) (#2995)We have changed the electron-forge init
and electron-forge import
commands to create a JavaScript config file rather than a section in package.json
. This is to better
support dynamic build logic that isn't possible with the JSON format. Forge now has better support for alternate configuration syntaxes via rechoir.
This is a breaking change for any existing third-party templates and plugins:
Plugin.getHook(name)
has changed to Plugin.getHooks().name
.package.json
will need to instantiate their own forge.config.js
or forge.config.ts
For consistency with the packagerConfig
option for electron-packager
, the field to configure @electron/rebuild
has now been shortened to rebuildConfig
.
{
- electronRebuildConfig: { /* ... */ }
+ rebuildConfig: { /* ... */ }
}
ElectronRebuildConfig
(#2963)Removed @electron-forge/template-typescript
template (#2948)
This has been removed in favor of the [Webpack + TypeScript Template].
[email protected]
(3008))This upgrade includes a rename from appIconPath
to icon
in the config (#153). This aligns WiX MSI's icon config with the other makers.
electron-packager@17
(#2978)The upgrade to Electron Packager 17 introduces the shiny new @electron/osx-sign
package for macOS code signing. It's a rewrite of the old electron-osx-sign
tool with more sensible defaults.
To migrate, we recommend seeing if the default packagerConfig.osxSign
options work for you and tweaking the default entitlements to your needs. Otherwise, see the @electron/osx-sign
MIGRATION.md doc for a 1:1 conversion from the old config options to the new ones.
lint
command (#2964)install
command (#2958)@electron/osx-sign
by @erickzhao in https://github.com/electron/forge/pull/2959
install
command by @erickzhao in https://github.com/electron/forge/pull/2958
lint
command by @erickzhao in https://github.com/electron/forge/pull/2964
platform
and arch
to generateAssets
hook parameters by @timfish in https://github.com/electron/forge/pull/2327nodeIntegration
by @chetbox in https://github.com/electron/forge/pull/2867
ELECTRON_FORGE/VERSION
in templates by @erikian in https://github.com/electron/forge/pull/3030
forge.config.ts
by @erickzhao in https://github.com/electron/forge/pull/3016
devDependencies
, dependencies
, optionalDependencies
and peerDependencies
in the distributed package.json by @erikian in https://github.com/electron/forge/pull/3007
parserPlugins
option by @vhashimotoo in https://github.com/electron/forge/pull/2323
node_modules
folder with electron in it by @vhashimotoo in https://github.com/electron/forge/pull/2326
make
step by @erickzhao in https://github.com/electron/forge/pull/2752
index.js
in production by @shimaore in https://github.com/electron/forge/pull/1021
Full Changelog: https://github.com/electron/forge/compare/v5.1.1...v6.0.0
Published by VerteDinde almost 2 years ago
Full Changelog: https://github.com/electron/forge/compare/v6.0.0-beta.74...v6.0.0-beta.75
Published by VerteDinde almost 2 years ago
Full Changelog: https://github.com/electron/forge/compare/v6.0.0-beta.73...v6.0.0-beta.74