Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm install electron@42.0.0-beta.2.
Release Notes for v42.0.0-beta.2
Features
- Added
globalShortcut.setSuspended()andglobalShortcut.isSuspended()methods to temporarily suspend and resume global shortcut handling. #50777
Fixes
- Fixed
fs.staton files inside asar archives returningundefinedforblksizeandblocksinstead 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