Electron 40.0.0
Electron 40.0.0 вышел! It includes upgrades to Chromium 144.0.7559.60, V8 14.4, and Node 24.11.1.
Команда Electron рада объявить о выпуске Electron 40.0.0! You can install it with npm via npm install electron@latest or download it from our releases website. Continue reading for details about this release.
If you have any feedback, please share it with us on Bluesky or Mastodon, or join our community Discord! Bugs and feature requests can be reported in Electron's issue tracker.
Stack Changes
-
Chromium
144.0.7559.60 -
Node
v24.11.1 -
V8
14.4
Electron 40 upgrades Chromium from 142.0.7444.52 to 144.0.7559.60, Node.js from v22.20.0 to v24.11.1, and V8 from 14.2 to 14.4.
New Features and Improvements
- 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 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)
- 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)
Критические изменения
Deprecated: clipboard API access from renderer processes
Using the clipboard API directly in the renderer process is deprecated. If you want to call this API from a renderer process, place the API call in your preload script and expose it using the contextBridge API.
Behavior Changed: MacOS dSYM files now compressed with tar.xz
Debug symbols for MacOS (dSYM) now use xz compression in order to handle larger file sizes. dsym.zip files are now dsym.tar.xz files. End users using debug symbols may need to update their zip utilities.
Окончание поддержки версии 37.x.y
Electron 37.x.y has reached end-of-support as per the project's support policy. Developers and applications are encouraged to upgrade to a newer version of Electron.
| E40 (Jan'26) | E41 (Mar'26) | E42 (May'26) |
|---|---|---|
| 40.x.y | 41.x.y | 42.x.y |
| 39.x.y | 40.x.y | 41.x.y |
| 38.x.y | 39.x.y | 40.x.y |
Что дальше
In the short term, you can expect the team to continue to focus on keeping up with the development of the major components that make up Electron, including Chromium, Node, and V8.
You can find Electron's public timeline here.
More information about future changes can be found on the Planned Breaking Changes page.
