Skip to content

build(deps): bump the electron group across 1 directory with 3 updates#3391

Merged
wojtekn merged 7 commits into
trunkfrom
dependabot/npm_and_yarn/electron-d7629f7ab5
May 20, 2026
Merged

build(deps): bump the electron group across 1 directory with 3 updates#3391
wojtekn merged 7 commits into
trunkfrom
dependabot/npm_and_yarn/electron-d7629f7ab5

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 8, 2026

Bumps the electron group with 2 updates in the / directory: electron and electron-to-chromium.

Updates electron from 41.4.0 to 42.1.0

Release notes

Sourced from electron's releases.

electron v42.1.0

Release Notes for v42.1.0

Fixes

  • Fixed a crash in the macOS Touch ID WebAuthn prompt caused by a missing string resource, and added touchID.promptReason to app.configureWebAuthn() to customize the prompt text. #51594 (Also in 41, 43)
  • Fixed a crash on MacOS when a user clicked into a title bar or top view. #51605 (Also in 43)

Other Changes

  • Improved performance of webRequest header conversions and several other gin converter hot paths. #51607 (Also in 43)
  • Improved performance of native event emission, IPC dispatch, and option-dictionary parsing. #51614 (Also in 41)

electron v42.0.1

Release Notes for v42.0.1

Fixes

  • Fixed DesktopCapturer crash on macOS. #51506
  • Fixed ELECTRON_INSTALL_PLATFORM being ignored when resolving the Electron executable path during postinstall, which caused path.txt to be written for the host platform instead of the requested target and made isInstalled() always re-download on subsequent installs. #51370
  • Fixed app.getLoginItemSettings() returning undefined for executableWillLaunchAtLogin on macOS; the property is now always a boolean. #51507 (Also in 40, 41)
  • Fixed a potential race condition crash when closing DevTools. #51473 (Also in 41)

Other Changes

  • Updated Chromium to 148.0.7778.97. #51517

electron v42.0.0

Release Notes for v42.0.0

Stack Upgrades

Breaking Changes

Behavior Changed: macOS notifications now use UNNotification API

Electron has migrated from the deprecated NSUserNotification API to the UNNotification API on macOS. The new API requires that an application be code-signed in order for notifications to be displayed. If an application is not code-signed, notifications will emit a failed event on the Notification object. #47817

Behavior Changed: electron no longer downloads itself via postinstall script

Previously, the electron npm package would download the Electron binary from the repository's GitHub Releases in the package's postinstall script. With recent supply chain security attacks against the npm ecosystem with postinstall scripts as a common attack vector, Electron will now download itself dynamically the first time that its main bin script is run (e.g. via npx electron). See [RFC #22](electron/rfcs#22) for more context. #49328

Behavior Changed: Offscreen rendering default device scale factor

Previously, OSR used the primary display's device scale factor for rendering. Starting from Electron 42, the default changes to a constant value of 1.0 for more consistent output sizes. Use webPreferences.offscreen.deviceScaleFactor to specify a custom value. #49683

... (truncated)

Commits
  • 9604c46 refactor: simplify content_view_ hit-test transparency on macOS (#51626)
  • e229b1d perf: reduce per-call overhead in gin converters (#51607)
  • e639fa0 fix: don't return a nullptr from TargetForRect (#51605)
  • bce23fc perf: reduce per-call overhead in gin_helper hot paths (#51614)
  • eac794f fix: ship IDS_WEBAUTHN_TOUCH_ID_PROMPT_REASON and allow overriding it (#51594)
  • b133532 ci: pin Homebrew version in CI runs (#51545)
  • a8a9854 chore: update breaking changes for Electron 42 (#51550)
  • e7021e3 fix: test idempotency issues (#51526)
  • e49c3c6 test: make sure there are no orphaned electron processes running (#51485)
  • 90ef05b chore: bump chromium to 148.0.7778.97 (42-x-y) (#51517)
  • Additional commits viewable in compare view

Updates @electron/get from 2.0.3 to 3.0.0

Release notes

Sourced from @​electron/get's releases.

v3.0.0

3.0.0 (2023-10-31)

Bug Fixes

  • update dependencies to clean up yarn audit (#234) (6ab6b88)

BREAKING CHANGES

  • New minimum node version is node 14

Co-authored-by: Black-Hole 158blackhole@gmail.com

Commits

Updates electron-to-chromium from 1.5.348 to 1.5.357

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file. javascript Pull requests that update javascript code. labels May 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

ℹ️ This PR updates development dependencies with major version changes. Please review for potential breaking changes in the build/test pipeline.

@dependabot dependabot Bot changed the title build(deps): bump the electron group with 3 updates build(deps): bump the electron group across 1 directory with 3 updates May 8, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/electron-d7629f7ab5 branch from 8c1a2ce to ef72d99 Compare May 8, 2026 07:41
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

ℹ️ This PR updates development dependencies with major version changes. Please review for potential breaking changes in the build/test pipeline.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/electron-d7629f7ab5 branch from ef72d99 to 61d581c Compare May 12, 2026 11:26
@github-actions
Copy link
Copy Markdown
Contributor

ℹ️ This PR updates development dependencies with major version changes. Please review for potential breaking changes in the build/test pipeline.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/electron-d7629f7ab5 branch from 61d581c to 7eb2308 Compare May 15, 2026 06:58
@github-actions
Copy link
Copy Markdown
Contributor

ℹ️ This PR updates development dependencies with major version changes. Please review for potential breaking changes in the build/test pipeline.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/electron-d7629f7ab5 branch from 7eb2308 to bda1d35 Compare May 15, 2026 13:39
@github-actions
Copy link
Copy Markdown
Contributor

ℹ️ This PR updates development dependencies with major version changes. Please review for potential breaking changes in the build/test pipeline.

Bumps the electron group with 2 updates in the / directory: [electron](https://github.com/electron/electron) and [electron-to-chromium](https://github.com/Kilian/electron-to-chromium).


Updates `electron` from 41.4.0 to 42.1.0
- [Release notes](https://github.com/electron/electron/releases)
- [Commits](electron/electron@v41.4.0...v42.1.0)

Updates `@electron/get` from 2.0.3 to 3.0.0
- [Release notes](https://github.com/electron/get/releases)
- [Commits](electron/get@v2.0.3...v3.0.0)

Updates `electron-to-chromium` from 1.5.348 to 1.5.357
- [Changelog](https://github.com/Kilian/electron-to-chromium/blob/main/CHANGELOG.md)
- [Commits](Kilian/electron-to-chromium@v1.5.348...v1.5.357)

---
updated-dependencies:
- dependency-name: "@electron/get"
  dependency-version: 3.0.0
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: electron
- dependency-name: electron
  dependency-version: 42.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: electron
- dependency-name: electron-to-chromium
  dependency-version: 1.5.352
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: electron
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/electron-d7629f7ab5 branch from bda1d35 to 44f7b34 Compare May 18, 2026 08:55
@github-actions
Copy link
Copy Markdown
Contributor

ℹ️ This PR updates development dependencies with major version changes. Please review for potential breaking changes in the build/test pipeline.

@wpmobilebot
Copy link
Copy Markdown
Collaborator

wpmobilebot commented May 19, 2026

📊 Performance Test Results

Comparing c2e1538 vs trunk

app-size

Metric trunk c2e1538 Diff Change
App Size (Mac) 1376.03 MB 1380.17 MB +4.14 MB 🔴 0.3%

site-editor

Metric trunk c2e1538 Diff Change
load 1511 ms 1490 ms 21 ms ⚪ 0.0%

site-startup

Metric trunk c2e1538 Diff Change
siteCreation 8553 ms 8557 ms +4 ms ⚪ 0.0%
siteStartup 4937 ms 4935 ms 2 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

@wojtekn wojtekn self-assigned this May 19, 2026
wojtekn added 2 commits May 19, 2026 18:28
Electron 42 removed the postinstall binary download and replaced it with
lazy downloading on first require(). This means any test that transitively
requires electron (e.g. via electron-squirrel-startup) will attempt a live
network download if the binary is absent, causing CI failures on fresh installs.

Set ELECTRON_OVERRIDE_DIST_PATH in vitest.config.ts to bypass the binary
path resolution entirely. This is the officially supported mechanism for
test/CI environments where the Electron binary is not needed.
@wojtekn wojtekn merged commit 8206b51 into trunk May 20, 2026
10 checks passed
@wojtekn wojtekn deleted the dependabot/npm_and_yarn/electron-d7629f7ab5 branch May 20, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file. javascript Pull requests that update javascript code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants