Skip to content

build(deps-dev): bump Electron Forge to v8.0.1 - #2092

Open
claude[bot] wants to merge 1 commit into
mainfrom
chore/bump-electron-forge-8.0.1
Open

claude[bot] wants to merge 1 commit into
mainfrom
chore/bump-electron-forge-8.0.1

Conversation

@claude

@claude claude Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Requested by Erick Zhao · Slack thread

This moves every @electron-forge/* package from 8.0.0-alpha.10 to the stable 8.0.1 release (including the maker-base and shared-types resolutions in the root package.json), so Fiddle is no longer on a mix of alpha and stable Forge packages; maker-squirrel, plugin-fuses and plugin-vite were already on 8.0.1, and yarn.lock no longer contains any alpha Forge versions. Forge 8.0.0 deprecated publish --dry-run and --from-dry-run (they still work but warn, and will be removed in a future major) in favour of make, which now always saves a manifest to out/make-results/, followed by release --from-make, and renamed the publish command to release, so the release workflow's build jobs now run make and the release job runs release --from-make through a renamed release script; the whole out/ directory is already passed between jobs, so the manifest travels with the distributables. Locally, format, lint, typecheck, the generated-source and i18n checks pass, and yarn package loads the Forge config, runs the hooks and builds all Vite targets. Caveat: this container couldn't download the Electron binary (GitHub release downloads are blocked here), so yarn package/yarn make stopped at that download, the seven Vitest suites that require electron couldn't load, and the release workflow change can only be exercised on the next tagged release; this supersedes #2082, #2069 and #2086.


Generated by Claude Code

Move every @electron-forge/* package (and the maker-base/shared-types
resolutions) from 8.0.0-alpha.10 to the 8.0.1 stable release, so all
Forge packages are on one version again.

Forge 8.0.0 deprecated `publish --dry-run` / `--from-dry-run` in favour
of `make` (which now always saves its results to out/make-results) and
`release --from-make`, and renamed `publish` to `release`. Switch the
release workflow and the app's script to the new commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WZZBj9ojQvuq9nfVJhkr39
@socket-security

socket-security Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

@socket-security

socket-security Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring alerts on:

  • @electron/packager@20.3.1

View full report

@claude

claude Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

The Socket Security block is its age-based "Recently published" alert on @electron/packager@20.3.1, which Forge 8.0.1 pulls in through @electron-forge/shared-types and @electron-forge/core (both declare ^20.3.0; main currently resolves 20.3.0 via the alpha's ^20.0.1). 20.3.1 is a genuine electron/packager release: the npm tarball matches tag v20.3.1 (58238ab) and was published with provenance from electron/packager's GitHub Actions on 2026-11-27. The alert clears on its own once the release ages past Socket's window, or sooner if a maintainer marks it acceptable; it isn't a code problem in this PR.


Generated by Claude Code

@erickzhao

Copy link
Copy Markdown
Member

@SocketSecurity ignore npm/@electron/packager@20.3.1

@erickzhao
erickzhao marked this pull request as ready for review December 1, 2026 22:49
@erickzhao
erickzhao requested review from a team and codebytere as code owners December 1, 2026 22:49
@erickzhao
erickzhao enabled auto-merge (squash) December 1, 2026 22:49

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed this PR and didn't find any bugs. It changes the release pipeline in a way that only runs on the next tagged release, and CODEOWNERS covers these files, so a maintainer should still look at it.

What was reviewed:

  • The release.yml build jobs now run make, and the release job runs release --from-make. Each build job still uploads all of packages/app/out, and the release job downloads it back into packages/app/out. The signing and notarization env vars are still on the build steps, and the asar check path did not change.
  • Not checked: whether the out/make-results/ manifests from the macOS, Linux and Windows jobs have distinct file names. The release job downloads with merge-multiple: true, so manifests with the same name would overwrite each other. Forge is not installed in this checkout, so I couldn't confirm the naming.
  • The package.json files and root resolutions now pin every @ electron-forge/* package to 8.0.1. The script is renamed from publish to release. No Forge alpha versions are left in yarn.lock.
Extended reasoning...

The change bumps Electron Forge devDependencies and resolutions to 8.0.1, regenerates yarn.lock, and changes the release workflow from publish --dry-run / --from-dry-run to make / release --from-make. It touches release-pipeline code that handles signing secrets and the GitHub release token, but the steps that run with secrets stay the same apart from the command. The new flow can't be tested until a tag is pushed. Whether the per-platform manifests survive the merged artifact download depends on Forge internals that aren't available here. A CODEOWNERS rule (*) covers every changed file, so this should not be auto-approved.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants