Skip to content

chore: update electron@42.6.0#325428

Merged
deepak1556 merged 7 commits into
mainfrom
robo/update_electron
Jul 12, 2026
Merged

chore: update electron@42.6.0#325428
deepak1556 merged 7 commits into
mainfrom
robo/update_electron

Conversation

@deepak1556

@deepak1556 deepak1556 commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Refs https://releases.electronjs.org/release/compare/v42.5.0/v42.6.0

Fixes #323051

Note

npm version bump with this update brings in support for explicit approval of install scripts. The explicitly allowed ones all carry a native module dependency build, with only exception of ssh2 being disallowed as we don't use its native cpu-features. Refs https://github.com/microsoft/vscode/pull/307435/changes (cc @roblourens)

@deepak1556 deepak1556 added this to the 1.129.0 milestone Jul 11, 2026
@deepak1556 deepak1556 self-assigned this Jul 11, 2026
Copilot AI review requested due to automatic review settings July 11, 2026 12:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the Electron runtime to 42.6.0, including its Chromium and Node.js revisions, to enable the Chromium PDF viewer.

Changes:

  • Updates Electron, Chromium, Node.js, manifests, checksums, and build configuration.
  • Adds npm dependency-script allowlists.
  • Refreshes lockfile metadata.
Show a summary per file
File Description
.npmrc Targets Electron 42.6.0 and its build.
.nvmrc Updates Node.js to 24.18.0.
package.json Updates Electron and adds script approvals.
package-lock.json Locks Electron 42.6.0.
cgmanifest.json Updates runtime component metadata.
remote/.npmrc Targets Node.js 24.18.0.
remote/package.json Adds remote dependency-script approvals.
remote/package-lock.json Refreshes optional dependency metadata.
test/automation/package.json Approves the fsevents install script.
extensions/package.json Approves extension build scripts.
extensions/copilot/.nvmrc Aligns Copilot with Node.js 24.18.0.
extensions/copilot/package.json Adds Copilot dependency-script approvals.
extensions/git/package.json Approves fs-copyfile installation.
extensions/mermaid-markdown-features/package.json Approves fsevents installation.
extensions/microsoft-authentication/package.json Approves MSAL native scripts.
build/package.json Adds build dependency-script approvals.
build/vite/package.json Approves fsevents installation.
build/checksums/electron.txt Updates Electron artifact checksums.
build/checksums/nodejs.txt Updates Node.js artifact checksums.
build/linux/dependencies-generator.ts References the new Chromium revision.
build/azure-pipelines/linux/setup-env.sh Updates Chromium toolchain sources.

Review details

Files not reviewed (1)
  • remote/package-lock.json: Generated file
  • Files reviewed: 19/21 changed files
  • Comments generated: 2
  • Review effort level: Medium

Comment thread package.json
Comment thread remote/package.json
@deepak1556

Copy link
Copy Markdown
Collaborator Author

@deepak1556 deepak1556 force-pushed the robo/update_electron branch from 0773d47 to 17e0d23 Compare July 12, 2026 18:50
@deepak1556 deepak1556 marked this pull request as ready for review July 12, 2026 18:50
@deepak1556 deepak1556 enabled auto-merge (squash) July 12, 2026 18:50
@vs-code-engineering

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@lszomoru

Matched files:

  • build/azure-pipelines/linux/setup-env.sh
  • extensions/git/package.json

@TylerLeonhardt

Matched files:

  • extensions/microsoft-authentication/package.json

@deepak1556 deepak1556 merged commit dc7db07 into main Jul 12, 2026
46 of 48 checks passed
@deepak1556 deepak1556 deleted the robo/update_electron branch July 12, 2026 20:30
@rostidev

Copy link
Copy Markdown

There is electron@42.6.1 released, and it resolves the "crash triggered by replacing an open application menu" issue. Sounds like it's worth to be updated again and since this is a patch level upgrade it should be trivial.

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.

Enable Chromium PDF viewer

4 participants