Electron v41.4.0

Latest Stable
npm
npm install --save-dev electron@41.4.0
yarn
yarn add --dev electron@41.4.0
Google ChromeChromium
146.0.7680.216
Node.jsNode.js
24.15.0
V8V8
14.6.202.34

Release Notes

Features

  • Added support for heap profiling via contentTracing.enableHeapProfiling(). #51178 (Also in 42)

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. #51270 (Also in 39, 40, 42)

  • Fixed a crash when providing invalid HTTP header names or values in the webRequest.onBeforeSendHeaders() callback. #51365 (Also in 40, 42)

  • Fixed a bug that cause offscreen rendering doesn't have valid screen info and unable to get valid result of related media queries.

    • Added webPreference.offscreen.deviceScaleFactor to allow user specify a value, instead of using user's primary display's value. #50375 (Also in 40)

  • Fixed a bug where errors would occur when using the Chrome DevTools Fetch API. #51371 (Also in 42)

  • Fixed a crash that could occur when an autofill suggestion popup was shown while a window was closing. #51321 (Also in 42)

  • Fixed a regression where frameless fullscreen windows had white borders on Windows. #51332 (Also in 42)

  • Fixed a renderer crash when a page uses the <geolocation> HTML element. #51373 (Also in 42)

  • Fixed an issue where calling contentTracing APIs before app.whenReady() would crash the application. #51352 (Also in 42)

  • Fixed an issue where some toast notification properties didn't work as expected in WinRT. #51397 (Also in 42)

  • Fixed buggy behavior where Backspace would accept macOS text replacements inside contenteditable elements. #51343 (Also in 40, 42)

  • 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. #51355 (Also in 42)

Other Changes

  • Backported a fix for route_id validation in the GPU command buffer. #51319

  • Backported fix in Skia for 495534710. #51264

  • Backported security fixes for 492736100, 492668885, 493413432, 493319454, 494158331, 496281816. #51259

  • Updated Chromium to 146.0.7680.216. #51382