Releases: electron/electron
electron v40.0.0
Release Notes for v40.0.0
Stack Upgrades
- Chromium
144.0.7559.60 - Node
v24.11.1 - V8
14.4
Breaking Changes
- Deprecated clipboard API access from renderer processes #48923
- Fixed an error on debug symbol upload by moving dsym.zip to use tar.xz compression. #48952
Features
Additions
- Added "memory-eviction" as a possible reason for a child process to exit. #48362
- Added
RGBAF16output format with scRGB HDR color space support to Offscreen Rendering. #48265 (Also in 39) - Added
app.isHardwareAccelerationEnabled(). #47614 (Also in 37, 38, 39) - Added bypassCustomProtocolHandlers option to net.request. #48883 (Also in 38, 39)
- Added methods to enable more granular accessibility support management. #48042 (Also in 37, 38, 39)
- Added support for WebSocket authentication through the
loginevent onwebContents. #49064 (Also in 39) - Added support to import external shared texture as VideoFrame. #48831
- Added the ability to retrieve the system accent color on Linux using
systemPreferences.getAccentColor. #48027 (Also in 39) - Allowed for persisting File System API grant status within a given session. #48170 (Also in 37, 38, 39)
- Automatically focus DevTools when element is inspected or breakpoint is triggered. #46386 (Also in 37, 38, 39)
Improvements
- Enables resetting accent color to follow system accent settings if a previous color has been set via
window.setAccentColor(null). #48274 (Also in 38, 39) - Support dynamic ESM imports in non-context isolated preloads. #48375 (Also in 37, 38, 39)
- Updated
nativeImage.createFromNamedImageto support SF Symbol names. #48772 (Also in 39)
Fixes
- Added support for
--no-stdio-initto be used when nul device is disabled on windows. #47870 - Fixed an issue on Windows and Linux where no cookie encryption key provider was passed into the network service when cookie encryption was enabled. #49375
- Fixed an issue where no cookie encryption provider was passed into the network service when cookie encryption was enabled. #49350
- Fixed crash when attempting to resolve modules during process exit. #49104
- Fixed drag regions in child windows. #49312
- Fixed draw smoothing round corner issue. #48782
- Fixed the cookie encryption logic to use the old os_crypt sync implementation present in M142. #49384
- Fixed visual artifacts while resizing a window on Windows. #49191
Also in earlier versions...
- AccentColor set distinguishes the frame. #48405 (Also in 37, 38, 39)
- Corrected the appearance of tiled windows on GNOME (when frame: true), and removed resize handles from tiled edges. #48835 (Also in 38, 39)
- Fix: ESM-from-CJS import when CJK characters are in path. #48862 (Also in 39)
- Fix: runtime JS error that crashes
GetPackageJSON. #48293 (Also in 37, 38, 39) - Fixed Wayland configuration through the
XDG_SESSION_TYPEenvironment variable. #48301 (Also in 38, 39) - Fixed Windows
dialog.showMessageBoxdefault button handling. #48216 (Also in 36, 37, 38, 39) - Fixed a Windows notification issue where clicking a native notification would result in an application hang on certain Windows environments. #49129 (Also in 39)
- Fixed a potential crash in
dialog.showOpenDialogon Windows with an empty extension filter array. #48640 (Also in 37, 38, 39) - Fixed an application crash when clicking or hovering over the native MacOS "Window" menu. Reverts #48598. #48799 (Also in 37, 38, 39)
- Fixed an error when checking environmental variables when using remote checksums when installing Electron via npm. #48634 (Also in 37, 38, 39)
- Fixed an issue that menu items on macOS could not be disabled under all circumstances. #48598 (Also in 37, 38, 39)
- Fixed an issue where
menu-did-closewas not emitted properly for some application menus. #49092 (Also in 38, 39) - Fixed an issue where
shell.openExternalcaused an unexpected dialog to open when there was no app suitable to open the url. #48502 (Also in 38, 39) - Fixed an issue where
systemPreferences.getAccentColorinverted the color. #48511 (Also in 37, 38, 39) - Fixed an issue where
trafficLightPositionwould not be correctly applied when usingtitleBarStyle: 'customButtonsOnHover'on macOS 26. #48538 (Also in 37, 38, 39) - Fixed an issue where authentication via websockets can crash. #48510 <sup...
electron v40.0.0-beta.9
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@40.0.0-beta.9.
Release Notes for v40.0.0-beta.9
Fixes
- Fixed the cookie encryption logic to use the old os_crypt sync implementation present in M142. #49384
Other Changes
- Updated Chromium to 144.0.7559.60. #49380
electron v40.0.0-beta.8
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@40.0.0-beta.8.
Release Notes for v40.0.0-beta.8
Features
- Added support for WebSocket authentication through the
loginevent onwebContents. #49064
Fixes
- Fixed an issue on Windows and Linux where no cookie encryption key provider was passed into the network service when cookie encryption was enabled. #49375
electron v40.0.0-beta.7
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@40.0.0-beta.7.
Release Notes for v40.0.0-beta.7
Fixes
- Fixed an issue where no cookie encryption provider was passed into the network service when cookie encryption was enabled. #49350
electron v40.0.0-beta.6
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@40.0.0-beta.6.
Release Notes for v40.0.0-beta.6
Fixes
- Fixed drag regions in child windows. #49312
- Fixed visual artifacts while resizing a window on Windows. #49191
- Requests sent via
netare now capable of having their headers modified to use reserved headers viawebRequest. #49241 (Also in 39)
Other Changes
- Updated Chromium to 144.0.7559.31. #48958
electron v40.0.0-beta.5
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@40.0.0-beta.5.
Release Notes for v40.0.0-beta.5
Other Changes
- Backported fix for 466786677. #49286
electron v40.0.0-beta.4
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@40.0.0-beta.4.
Release Notes for v40.0.0-beta.4
Other Changes
- Backported fix for chromium:466192044. #49201
electron v39.2.7
electron v40.0.0-beta.3
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@40.0.0-beta.3.
Release Notes for v40.0.0-beta.3
Other Changes
- Updated Chromium to 144.0.7547.0. #49146