:electron: A complete tool for building and publishing Electron applications
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
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
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
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
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
We failed the npm publish for this version so we recommend upgrading directly to v6.0.3.
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
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/2327
https://github.com/electron/forge/pull/2344
nodeIntegration
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
Full Changelog: https://github.com/electron/forge/compare/v6.0.0-beta.74...v6.0.0-beta.75
Full Changelog: https://github.com/electron/forge/compare/v6.0.0-beta.73...v6.0.0-beta.74