Electron v42.0.0-beta.7

Latest Pre Release
npm
npm install --save-dev electron@42.0.0-beta.7
yarn
yarn add --dev electron@42.0.0-beta.7
Google ChromeChromium
148.0.7778.56
Node.jsNode.js
24.15.0
V8V8
14.8.178.6

Release Notes

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 with supportFetchAPI: true unless corsEnabled: true is also set; cross-origin mode: 'no-cors' requests now receive an opaque response. #51269 (Also in 39, 40, 41)

  • Fixed webContents.printToPDF rejecting on all subsequent calls after a prior call was rejected with an invalid pageRanges value. #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: drag inside a hidden WebContentsView would still drag the parent window on Windows. #51245 (Also in 40, 41)

  • Fixed an issue where calling contentTracing APIs before app.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 contenteditable elements. #51344 (Also in 40, 41)

  • Fixed build failure when building with enable_pdf disabled. #51249 (Also in 41)

  • Fixed frameless transparent windows on Windows losing their transparency after setResizable(false) followed by setResizable(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