Releases: electron/forge
v6.0.0-beta.71
What's Changed
Fixes
- fix: restore isProd in the webpack plugin by @MarshallOfSound in #3021
- fix: use @electron-forge/cli hint for project resolution by @MarshallOfSound in #3023
- fix(template-base): use minimum instead of exact version when replacing
ELECTRON_FORGE/VERSIONin templates by @erikian in #3030 - fix(publish): ignore unnecessary files when publishing to npm by @erikian in #3024
- fix(packager): "packaging application" log never stops when building for multiple architectures by @macdja38 in #3006
Other Changes
- build: remove travis and appveyor ci templates by @VerteDinde in #3034
- chore: move from electron-rebuild to @electron/rebuild by @MarshallOfSound in #3033
- chore: rename typescript-webpack to webpack-typescript by @georgexu99 in #3035
- chore: update README.md by @VerteDinde in #3025
- docs: update release process by @georgexu99 in #3032
- test: add test to detect forge.config by @VerteDinde in #3031
- refactor: use listr2 instead of async-ora by @MarshallOfSound in #3022
- refactor: use forge.config.ts in the webpack typescript template by @MarshallOfSound in #3012
New Contributors
Full Changelog: v6.0.0-beta.70...v6.0.0-beta.71
v6.0.0-beta.70
What's Changed
- docs: generate custom docs sidebar by @VerteDinde in #2974
- refactor: add / use named exports for plugins + makers + publishers by @MarshallOfSound in #2996
- docs: add READMEs to packages by @georgexu99 in #2986
- chore: upgrade electron-wix-msi to 4.0.0 by @georgexu99 in #3003
- build: fix some yarn audit output by @MarshallOfSound in #3002
- refactor(maker-squirrel): ensure Squirrel.Windows
namedoesn't contain hyphens by @erickzhao in #3004 - chore: bump electron-wix-msi to 5.0.0 by @VerteDinde in #3008
- chore: fix links from userland migration by @georgexu99 in #3010
- Release 6.0.0 beta.69 by @VerteDinde in #3011
- fix(template-typescript-webpack): clean up forge config code by @erickzhao in #3009
- fix(template-typescript-webpack): webpack entrypoint extensions by @erickzhao in #3014
- fix(template-typescript-webpack): properly load
forge.config.tsby @erickzhao in #3016 - build: add icon property to MakerWixConfig by @VerteDinde in #3017
Full Changelog: v6.0.0-beta.69...v6.0.0-beta.70
6.0.0-beta.69
What's Changed
Breaking Changes
- feat!: prefer forge.config.js over package.json config by @erickzhao in #2991
- refactor!: better internal type safety for hooks by @MarshallOfSound in #2995
Features
- feat(plugin-webpack): support standalone preload entry points by @erickzhao in #2950
- feat: add support for forge.config.ts et. al by @MarshallOfSound in #2993
- feat(publisher-s3): Add sessionToken and change default fallback by @bboure in #2984
Other Changes
- fix(plugin-webpack): keep
devDependencies,dependencies,optionalDependenciesandpeerDependenciesin the distributed package.json by @erikian in #3007 - fix(template-typescript-webpack): use new plugin syntax by @georgexu99 in #2989
- fix(template-webpack): use new plugin syntax by @georgexu99 in #2990
- build: configure import/order eslint rule by @MarshallOfSound in #2997
- build: actually enable husky/lint-staged by @MarshallOfSound in #2999
- build: add rule that enforces named exports over default exports by @MarshallOfSound in #3000
- refactor: rename some constructor params for MakerBase and PublisherBase by @MarshallOfSound in #2994
New Contributors
Full Changelog: v6.0.0-beta.68...v6.0.0-beta.69
v6.0.0-beta.68
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
- feat(maker-pkg): upgrade to
@electron/osx-signby @erickzhao in #2959 - build(deps): npx browserslist@latest --update-db by @erickzhao in #2962
New Contributors
- @georgexu99 made their first contribution in #2946
Full Changelog: v6.0.0-beta.67...v6.0.0-beta.68
v6.0.0-beta.67
What's Changed
- fix(template-typescript-webpack): preload file to webpack config by @fredrikj31 in #2936
- feat: remove preload.js from TypeScript templates by @itsananderson in #2938
- chore: update electron-packager to v16 by @erikian in #2927
New Contributors
- @fredrikj31 made their first contribution in #2936
- @itsananderson made their first contribution in #2938
- @erikian made their first contribution in #2927
Full Changelog: v6.0.0-beta.66...v6.0.0-beta.67
v6.0.0-beta.66
What's Changed
- feat(plugin-webpack): Allow each entrypoint to specify
nodeIntegrationby @chetbox in #2867 - build: update @electron/get to 2.0.0 by @VerteDinde in #2924
New Contributors
Full Changelog: v6.0.0-beta.65...v6.0.0-beta.66
v6.0.0-beta.65
v6.0.0-beta.64
New Features
- cli: add --inspect-brk-electron option (#1328) (c5a6ea17)
- maker: allow disabling maker in config (#2754) (69777402)
- maker-wix: Make autoUpdate and autoLaunch features configurable in MakerWixConfig (#2620) (bf7d271a)
- publisher-ers: support flavor config (#2766) (6069ebe1)
- publisher-github: allow specifying alternative tag prefix (#2605) (88d9d722)
- template: add a default preload script (#2722) (636e2c5d)
- plugin-webpack: