Release Notes for v5.0.0-beta.3
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 i electron@5.0.0-beta.3.
Breaking Changes
- Upgraded to Chromium 73.0.3683.27. #16975
Features
- Added
win.removeMenu()
to remove application menus instead of usingwin.setMenu(null)
. #16657 - Added caps lock and numlock as keyboard accelerator modifiers. #16725
- Converted
debugger.sendCommand()
to return a Promise instead of taking a callback. #16931 - Updated
Menu.buildFromTemplate()
to allow it to acceptMenuItem
s in addition to plain objects. #16783
Fixes
- Added a patch to fix incorrect enumeration and instantiation of Node.js ciphers in the Crypto module. #16909
- Fixed Chromium sandbox v2 related crashes in MAS builds. #16969
- Fixed crash when calling setProgressBar on macOS. #16728
- Fixed issue whereby a user was not well informed when interacting with a menu submenu that did not have any visible
MenuItems
. #16848 - Fixed memory leak when using webFrame and spell checker. #16851
- Fixed submenus not responding to the
visible: false
MenuItem
property. #16846 - Fixed the
enable
property having no effect for top-level submenuMenuItems
. #16858 - Made getUserMedia APIs work again on C72+ (backport: 5-0-x). #16768
Other Changes
- Added
webFrame.setIsolatedWorldInfo
API and deprecated related APIs. #16932 - Deprecated
ServiceWorker
APIs onWebContents
in preparation for their removal. #16732 - No-notes. #16882, #16886
- Updated Chromium to 72.0.3626.102. #16829