Electron v42.0.0-beta.2

Latest Pre Release
npm
npm install --save-dev electron@42.0.0-beta.2
yarn
yarn add --dev electron@42.0.0-beta.2
Google ChromeChromium
148.0.7778.0
Node.jsNode.js
24.14.1
V8V8
14.8.178

Release Notes

Features

  • Added globalShortcut.setSuspended() and globalShortcut.isSuspended() methods to temporarily suspend and resume global shortcut handling. #50777

Fixes

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

  • Fixed a crash when rendering PDFs when Site Isolation is disabled. #50846 (Also in 41)

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

  • Fixed a potential crash when using webContents.print(). #50853

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

  • Fixed an issue where the Squirrel.Mac installer could resolve the target bundle path to different locations at different stages of an install. #50765

  • Fixed an issue where webContents.print() would ignore pageSize / mediaSize when silent was true. #50855 (Also in 41)

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

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

Other Changes

  • Updated Chromium to 148.0.7778.0. #50813