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@37.0.0-beta.4
.
Release Notes for v37.0.0-beta.4
Features
- Added
before-mouse-event
to allow intercepting and preventing mouse events in WebContents. #47364 (Also in 36) - Exposed
win.isContentProtected()
to allow developers to check window protection status. #47310 (Also in 36)
Fixes
- Fixed
addChildView()
crashes when adding a closed WebContentsView. #47338 (Also in 35, 36) - Fixed a potential crash using
session.clearData
in some circumstances. #47412 (Also in 35) - Fixed an error when importing
electron
for the first time from an ESM module loaded by a CJS module in a packaged app. #47342 (Also in 35, 36) - Fixed an issue where printing PDFs with
webContents.print({ silent: true })
would fail. #47397 - Partially fixes an issue with printing a PDF via
webContents.print()
where the callback would not be called. #47398 (Also in 35)