Electron v41.2.0

Latest Stable
npm
npm install --save-dev electron@41.2.0
yarn
yarn add --dev electron@41.2.0
Google ChromeChromium
146.0.7680.179
Node.jsNode.js
24.14.0
V8V8
14.6.202.31

Release Notes

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