Electron v41.2.1

Latest Stable
npm
npm install --save-dev electron@41.2.1
yarn
yarn add --dev electron@41.2.1
Google ChromeChromium
146.0.7680.188
Node.jsNode.js
24.14.1
V8V8
14.6.202.33

Release Notes

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