Electron v40.9.0

npm
npm install --save-dev electron@40.9.0
yarn
yarn add --dev electron@40.9.0
Google ChromeChromium
144.0.7559.236
Node.jsNode.js
24.14.1
V8V8
14.4.258.32

Release Notes

Features

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

Fixes

  • Fixed fs.stat on files inside asar archives returning undefined for blksize and blocks instead of numeric values. #50875 (Also in 41, 42)

  • Fixed a memory leak where Menu items were not cleaned up after Menu.setApplicationMenu was called repeatedly. #50831 (Also in 41, 42)

  • Fixed an intermittent Invoke in DisallowJavascriptExecutionScope crash on application quit when a WebContents (or other JS-emitting native object) is garbage-collected during shutdown. #50693 (Also in 41, 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. #50713 (Also in 41, 42)

  • Fixed an issue where DevTools would re-attach to the window when opened after previously being detached. #50817 (Also in 39, 41, 42)

  • Fixed an issue where setSimpleFullScreen on macOS would exit when web content called requestFullscreen(). #50986 (Also in 42)

  • Fixed an issue where concurrent getFileHandle requests on the same path could stall indefinitely. #50672 (Also in 41, 42)

  • Fixed aspect ratio min/max size clamping to correctly account for extraSize on macOS. #50834 (Also in 41, 42)

  • Fixed the crash keys being lost and the crash reporter hanging on macOS when many dynamic crash keys were registered. #50838 (Also in 41, 42)

  • Moved Electron-specific help menu links to the default app only; unpackaged apps will no longer see these items in their default menu. #50860 (Also in 41, 42)

Other Changes

  • Backported fix for 489711638. #50623

  • Backported fix for 493952652. #50619

  • Backported fix for none. #50881

  • Backported upstream v8 fixes for several maglev, inspector, and arm64 code-generation edge cases. #50992