Releases: electron/forge
v7.4.0
What's Changed
Highlighted Feature:
- fix: bump packager minimum dep by @MarshallOfSound in #3551
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
- fix(cli): add
plugin-fuses
to import script by @Santhoshmani1 in #3535 - build(deps): bump dsanders11/github-app-commit-action from 1.3.0 to 1.4.0 by @dependabot in #3555
- build(deps): bump dsanders11/project-actions from 1.2.0 to 1.3.0 by @dependabot in #3557
- build(deps): bump webpack-dev-middleware from 5.3.3 to 5.3.4 by @dependabot in #3545
- build(deps): bump actions/checkout from 4.1.1 to 4.1.2 by @dependabot in #3556
- chore: update listr2 version by @yangannyx in #3542
- docs: Typo in Interface MakerDMGConfig by @zsewa in #3550
New Contributors
- @zsewa made their first contribution in #3550
- @Santhoshmani1 made their first contribution in #3535
Full Changelog: v7.3.1...v7.4.0
v7.3.1
What's Changed
Highlighted Feature:
- build: Bump @electron/windows-sign deps by @felixrieseberg in #3524
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 (likecertificateFile
,certificatePassword
, orsignWithParams
). -
Legacy: By passing the top-level settings (
certificateFile
,certificatePassword
, andsignWithParams
). 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
-
fix(publisher-github): don't sanitize asset names before upload by @dsanders11 in #3485
-
build: bump memory limit for docs:generate script by @dsanders11 in #3500
-
build: fix keyv type resolution warning during dev by @MarshallOfSound in #3507
-
build(deps): bump actions/setup-node from 4.0.1 to 4.0.2 by @dependabot in #3522
-
build(deps): bump follow-redirects from 1.15.4 to 1.15.6 by @dependabot in #3537
-
ci(windows): pin version of wix toolset to v3.14.0 by @erickzhao in #3525
-
docs: update forge create-electron-app template to match tutorial by @alicelovescake in #3528
New Contributors
- @alicelovescake made their first contribution in #3528
Full Changelog: v7.3.0...v7.3.1
v7.3.0
What's Changed
Features
- feat(plugin-vite): upgrade to vite@5 by @caoxiemeihao in #3468
- feat: allow a custom out dir from forge config by @lutzroeder in #3458
- feat(template-vite): patch types by @caoxiemeihao in #3494
- feat: adds default fuses to templates by @yangannyx in #3480
- feat(publisher-github): option to automatically generate release notes by @dsanders11 in #3484
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
- refactor: only run webpack once for multi-arch packages by @MarshallOfSound in #3437
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
- @kgallagher52 made their first contribution in #3431
- @rickymohk made their first contribution in #3461
- @lutzroeder made their first contribution in #3460
- @ianho made their first contribution in #3455
- @yangannyx made their first contribution in #3480
- @Dogdriip made their first contribution in #3482
Full Changelog: v7.2.0...v7.3.0
v7.2.0
What's Changed
Features
- feat: add support for sequential groups of webpack builds by @MarshallOfSound in #3435
Fixes
- fix: handle webpack configs exported as default by @MarshallOfSound in #3427
- fix: set empty publicPath for preload scripts by @MarshallOfSound in #3428
- fix: ensure that webpack is run once per arch for universal builds by @MarshallOfSound in #3433
Documentation
- docs: remove mention of v5 -> v6 migration by @erickzhao in #3412
- docs: add notes on publishing a new monorepo package by @erickzhao in #3415
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
v7.1.0
What's Changed
- feat(publisher-gcs): add Google Cloud Storage publisher by @mahnunchik in #2100
- fix: re-allow Yarn 2 and above by @erickzhao in #3411
Full Changelog: v7.0.0...v7.1.0
v7.0.0
What's Changed
Breaking Changes
- build!: update minimum Node.js version from
14.17.5
to16.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
to16.4.0
by @erikian in #3401 - chore(cli): limit yarn@^1.0.0 by @erickzhao in #3357
Features
- feat: run makers simultaneously by @MarshallOfSound in #3363
- feat: esm forge.config.js support by @mahnunchik in #3358
- feat: add tracing support for forge API by @MarshallOfSound in #3362
- feat(publisher-github): assets management by @mahnunchik in #1761
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
- ci: use pull_request_target in add to project workflow by @dsanders11 in #3347
- ci: disable node_modules cache by @erickzhao in #3341
- docs: maker-squirrel does not support macOS by @dsanders11 in #3348
- ci: update add to project workflow by @dsanders11 in #3365
- build(deps): bump get-func-name from 2.0.0 to 2.0.2 by @dependabot in #3367
- build(deps): bump @babel/traverse from 7.17.0 to 7.23.2 by @dependabot in #3383
- docs(README): fix typo by @Chaitanya110703 in #3386
- build(deps): bump postcss from 8.4.21 to 8.4.31 by @dependabot in #3372
- ci: use GitHub app for commits by @dsanders11 in #3373
- docs: updated contributing.md by @bhargavshirin in #3394
- chore: specify
packageManager
in package.json by @erickzhao in #3359 - build(deps): bump axios from 1.1.3 to 1.6.1 by @dependabot in #3406
- chore: fix sha1 for
packageManager
by @erickzhao in #3407
New Contributors
- @Chaitanya110703 made their first contribution in #3386
- @bhargavshirin made their first contribution in #3394
- @BitYoungjae made their first contribution in #3390
- @NoahAndrews made their first contribution in #3391
Full Changelog: v6.4.2...v7.0.0
v6.4.2
What's Changed
- fix(plugin-webpack): compile 4 webpackRendererConfigs instead of N by @georgexu99 in #3101
- fix(cli): update
--help
command output by @erickzhao in #3335 - chore: undocument
npm install -g
by @erickzhao in #3314
Full Changelog: v6.4.1...v6.4.2
v6.4.1
v6.4.0
What's Changed
- feat(template): add vite-typescript template by @caoxiemeihao in #3178
- build(deps): update
electron-installer-debian
to latest by @erickzhao in #3301- feat: allow setting custom compression options (Fixes #3235)
- build(deps): update electron-packager@17.1.2 by @erickzhao in #3302
- fix: only apply preAutoEntitlements to top-level app bundle (Fixes #2943)
Full Changelog: v6.3.0...v6.4.0
v6.3.0
What's Changed
- build(deps): bump semver from 7.3.5 to 7.5.2 by @dependabot in #3262
- ci: bump deprecated versions by @dsanders11 in #3267
- build(deps): bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #3276
- fix(publisher-ers): support arm64 osx platform by @daydayhappychao in #3270
- ci: use electronjs/node orb by @dsanders11 in #3289
- ci: don't use pull_request_target with semantic PR title check by @dsanders11 in #3294
- fix(template-vite): incorrectly bundling browser entrypoints by @markspolakovs in #3278
- chore: add
files
field for each package by @daydayhappychao in #3284 - feat(package): add support for async Forge configs by @VerteDinde in #3288
New Contributors
- @daydayhappychao made their first contribution in #3270
- @markspolakovs made their first contribution in #3278
Full Changelog: v6.2.1...v6.3.0