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.7.
Release Notes for v42.0.0-beta.7
Features
- Added JS stack trace to crash reports on renderer OOM. #50911
- Added
Notification.getHistory()for macOS, allowing developers to restore all delivered notifications still present in Notification Center. #51123 - Added support for heap profiling via
contentTracing.enableHeapProfiling(). #51162 (Also in 41) - Added support for importing shared textures using the nv16 pixel format. #51187
Fixes
- Ensured cross-origin
fetch()and XHR are blocked for custom protocols registered withsupportFetchAPI: trueunlesscorsEnabled: trueis also set; cross-originmode: 'no-cors'requests now receive an opaque response. #51269 (Also in 39, 40, 41) - Fixed
webContents.printToPDFrejecting on all subsequent calls after a prior call was rejected with an invalidpageRangesvalue. #51222 (Also in 40, 41) - Fixed a crash when providing invalid HTTP header names or values in the
webRequest.onBeforeSendHeaders()callback. #51366 (Also in 40, 41) - Fixed a crash that could occur when an autofill suggestion popup was shown while a window was closing. #51317 (Also in 41)
- Fixed a regression on Windows where frameless windows changed their size after calling
setResizable. #51296 - Fixed a regression where frameless fullscreen windows had white borders on Windows. #51331 (Also in 41)
- Fixed an issue where
app-region: draginside a hiddenWebContentsViewwould still drag the parent window on Windows. #51245 (Also in 40, 41) - Fixed an issue where calling
contentTracingAPIs beforeapp.whenReady()would crash the application. #51353 (Also in 41) - Fixed an issue where some toast notification properties didn't work as expected in WinRT. #51330
- Fixed buggy behavior where Backspace would accept macOS text replacements inside
contenteditableelements. #51344 (Also in 40, 41) - Fixed build failure when building with
enable_pdfdisabled. #51249 (Also in 41) - Fixed frameless transparent windows on Windows losing their transparency after
setResizable(false)followed bysetResizable(true). #51218 (Also in 41) - This PR fixes a regression in silent printing where custom DPI values from webContents.print were not honored, causing incorrect output scaling in real-world print flows. #51354 (Also in 41)
Other Changes
- Updated Chromium to 148.0.7778.56. #51299