Skip to content

v6.0.0-beta.68

Compare
Choose a tag to compare
@VerteDinde VerteDinde released this 24 Oct 17:41
· 315 commits to main since this release

What's Changed

Breaking Changes

Forge v6.0.0-beta.68 introduces a few breaking changes to the Forge config.

Renamed Electron Rebuild config (#2963)

For consistency with the packagerConfig option for electron-packager, the field to configure electron-rebuild has now been shortened to rebuildConfig.

{
-  electronRebuildConfig: { /* ... */ }
+  rebuildConfig: { /* ... */ }
}

Changed plugin configuration 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: { /* ... */ }
+      }
 ]
}

Upgraded Package dependency to 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.

Fixes

  • fix(plugin-webpack): better webpack-dev-server types by @erickzhao in #2952

Other Changes

New Contributors

Full Changelog: v6.0.0-beta.67...v6.0.0-beta.68