Skip to content

Bump electron from 26.3.0 to 41.2.1#21

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/electron-41.2.1
Open

Bump electron from 26.3.0 to 41.2.1#21
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/electron-41.2.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Apr 16, 2026

Bumps electron from 26.3.0 to 41.2.1.

Release notes

Sourced from electron's releases.

electron v41.2.1

Release Notes for v41.2.1

Fixes

  • Added missing metadata fields to contentTracing traces. #51021 (Also in 42)
  • Changed the kResizeThreshold to trigger the resize on corners. #51002 (Also in 42)
  • Fixed fs.stat on files inside asar archives returning undefined for blksize and blocks instead of numeric values. #50876 (Also in 40, 42)
  • Fixed a crash when rendering PDFs when Site Isolation is disabled. #50845 (Also in 42)
  • Fixed a memory leak where Menu items were not cleaned up after Menu.setApplicationMenu was called repeatedly. #50830 (Also in 40, 42)
  • Fixed an issue where DevTools would re-attach to the window when opened after previously being detached. #50816 (Also in 39, 40, 42)
  • Fixed an issue where setSimpleFullScreen on macOS would exit when web content called requestFullscreen(). #50985 (Also in 40, 42)
  • Fixed an issue where closing devtools immediately after focus caused a crash. #51037 (Also in 42)
  • Fixed an issue where webContents.print() would ignore pageSize / mediaSize when silent was true. #50856 (Also in 42)
  • Fixed aspect ratio min/max size clamping to correctly account for extraSize on macOS. #50835 (Also in 40, 42)
  • Fixed crash when app.setPath('sessionData') was called with a non-existent directory. #50958 (Also in 42)
  • Fixed resize hit targets for frameless windows on Windows. Resize targets now start at the side and bottom edges of the window and extend outward when frame: false, matching the behavior for windows with frames. #50863 (Also in 42)
  • Fixed the crash keys being lost and the crash reporter hanging on macOS when many dynamic crash keys were registered. #50837 (Also in 40, 42)
  • Moved Electron-specific help menu links to the default app only; unpackaged apps will no longer see these items in their default menu. #50859 (Also in 40, 42)

Other Changes

  • Backported fix for none. #50880
  • Backported upstream fixes for two edge cases in the WebNN TFLite graph builder. #50983
  • Backported upstream v8 fixes for a maglev use-count accounting issue and an inspector InspectedContext lifetime issue. #50991
  • Updated Chromium to 146.0.7680.188. #50787
  • Updated Node.js to v24.14.1. #50478

electron v41.2.0

Release Notes for v41.2.0

Features

  • Added allowExtensions privilege to protocol.registerSchemesAsPrivileged() to enable Chrome extensions on custom protocols. #50529 (Also in 40, 42)

Fixes

  • BrowserWindow now enforces min/max size constraints on window creation, even if they conflict with the requested width and height. #50753 (Also in 42)
  • Fixed a regression on Linux where transparent frameless windows would have visible borders. Also fixed a longstanding issue where transparent windows on Linux could show smeared and glitched content as windows moved around. #50605
  • Fixed an intermittent Invoke in DisallowJavascriptExecutionScope crash on application quit when a WebContents (or other JS-emitting native object) is garbage-collected during shutdown. #50694 (Also in 40, 42)
  • Fixed an issue on macOS where show/hide events and WebContents visibility state could be reported incorrectly when multiple WebContentsViews were attached to a window. #50715 (Also in 40, 42)
  • Fixed an issue where concurrent getFileHandle requests on the same path could stall indefinitely. #50670 (Also in 40, 42)
  • Fixed an issue where margins did not look as expected when printing in silent mode. #50652 (Also in 42)
  • Fixed an issue where the webContents.print() callback may not fire correctly in some cases. #50604 (Also in 42)
  • Fixed the appearance of maximized windows on GNOME in Wayland, especially when non-default GTK themes like Breeze are set. #50645 (Also in 42)
  • Removed "representedObject is not a WeakPtrToElectronMenuModelAsNSObject" logging when interacting with macOS menus. #50613 (Also in 42)

Other Changes

  • Updated Chromium to 146.0.7680.179. #50616

electron v41.1.1

Release Notes for v41.1.1

... (truncated)

Commits
  • 8ee008a fix: simpleFullScreen exits when web content calls requestFullscreen (#50...
  • 881d198 fix: avoid window drag during corner resize in MAS build (#51002)
  • af412f8 test: add desktopCapturer icon validation (#50821)
  • 290d3cf test: fixup autoupdater tests failures (#51059)
  • 04f4d4b chore: backport cppgc cleanups (#50915)
  • a8c34b8 build: authenticate sudowoodo /token exchange via Actions OIDC (41-x-y) (#51053)
  • ec9b4dc fix: crash when closing devtools after focus (#51037)
  • 7ffb676 ci: split macos-x64 tests into 3 shards (41-x-y) (#50974)
  • 0d41720 fix: include missing metadata in trace files (#51021)
  • b610b41 ci: capture fatal errors in clang problem matcher (#50997)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [electron](https://github.com/electron/electron) from 26.3.0 to 41.2.1.
- [Release notes](https://github.com/electron/electron/releases)
- [Commits](electron/electron@v26.3.0...v41.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 16, 2026
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.

0 participants