Skip to content

chore(deps-dev): Bump electron from 41.3.0 to 42.0.1#61

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/electron-42.0.1
Closed

chore(deps-dev): Bump electron from 41.3.0 to 42.0.1#61
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/electron-42.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps electron from 41.3.0 to 42.0.1.

Release notes

Sourced from electron's releases.

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

Removed: quotas object from Session.clearStorageData(options)

When calling Session.clearStorageData(options), the options.quotas object is no longer supported because it has been removed from upstream Chromium.

Removed: ELECTRON_SKIP_BINARY_DOWNLOAD environment variable

This environment variable is no longer supported due to the new lazy download behavior. #50459

Features

Additions

... (truncated)

Commits
  • 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)
  • 34e6739 test: await did-create-window assertion in child close test (#51519)
  • 6e01417 fix: always emit executableWillLaunchAtLogin from getLoginItemSettings (#...
  • 7db53c0 fix: timing issue DCHECK crash in DesktopCapturer on macOS (#51506)
  • b71b313 build: replace spec dep fork with transitive resolution (#51489)
  • 2a4e369 fix: honor ELECTRON_INSTALL_PLATFORM in getPlatformPath (#51029) (#51370)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 10, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/electron-42.0.1 branch from 2a29358 to f3f50ee Compare May 13, 2026 15:02
Bumps [electron](https://github.com/electron/electron) from 41.3.0 to 42.0.1.
- [Release notes](https://github.com/electron/electron/releases)
- [Commits](electron/electron@v41.3.0...v42.0.1)

---
updated-dependencies:
- dependency-name: electron
  dependency-version: 42.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/electron-42.0.1 branch from f3f50ee to 4e57f0c Compare May 13, 2026 15:11
@Wintersta7e
Copy link
Copy Markdown
Owner

Superseded by e4847f7 on main — bumped electron to 42.0.1 directly and pinned node-abi via overrides because @electron/rebuild's transitive range was resolving to a version with no ABI 146 mapping. Dependabot will reopen when @electron/rebuild publishes a release that pulls in a newer node-abi by default.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 13, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/electron-42.0.1 branch May 13, 2026 15:23
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.

1 participant