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.1.
Release Notes for v42.0.0-beta.1
Features
- Added
allowExtensionsprivilege toprotocol.registerSchemesAsPrivileged()to enable Chrome extensions on custom protocols. #50530 (Also in 40, 41)
Fixes
- BrowserWindow now enforces min/max size constraints on window creation, even if they conflict with the requested width and height. #50754 (Also in 41)
- Fixed a crash when calling
contentTracing.getTraceBufferUsage()while a trace session is active. #50592 (Also in 39, 40, 41) - Fixed an intermittent
Invoke in DisallowJavascriptExecutionScopecrash on application quit when aWebContents(or other JS-emitting native object) is garbage-collected during shutdown. #50695 (Also in 40, 41) - Fixed an issue on macOS where
show/hideevents andWebContentsvisibility state could be reported incorrectly when multipleWebContentsViews were attached to a window. #50712 (Also in 40, 41) - Fixed an issue where concurrent
getFileHandlerequests on the same path could stall indefinitely. #50671 (Also in 40, 41) - Fixed an issue where custom options in
webContents.print()did not prefill the print dialog on macOS. #50643 - Fixed an issue where margins did not look as expected when printing in silent mode. #50653 (Also in 41)
- Fixed an issue where the
webContents.print()callback may not fire correctly in some cases. #50603 (Also in 41) - Fixed certain DevTools extension panels not showing without a page reload. #50640
- Fixed native notification clicks not focusing the application window on Wayland. #50669
- Fixed the appearance of maximized windows on GNOME in Wayland, especially when non-default GTK themes like Breeze are set. #50644 (Also in 41)
- Removed "representedObject is not a WeakPtrToElectronMenuModelAsNSObject" logging when interacting with macOS menus. #50614 (Also in 41)