Electron 38.0.0
Electron 38.0.0 est disponible ! Il inclut des mises à jour vers Chromium 140.0.7339.41
, V8 14.0
et Node.js `22.16.0.
L’équipe Electron est heureuse d’annoncer la sortie d’Electron 38.0.0 ! Vous pouvez l'installer avec npm via npm install electron@latest
ou le télécharger sur notre site web de téléchargement de version. Vous obtiendrez plus de détails sur cette version en lisant ce qui suit.
If you have any feedback, please share it with us on Bluesky or Mastodon, or join our community Discord! Les bogues et les demandes de fonctionnalités peuvent être signalés dans l'[outil de suivi des problèmes] d’Electron (https://github.com/electron/electron/issues).
Changements notables
Changements de la Stack
- Chromium
140.0.7339.41
- Node
22.18.0
- V8
14.0
Electron 38 met à jour Chromium de 138.0.7204.35
à 140.0.7339.41
, Node de 22.16.0
à 22.18.0
, et V8 de 13.8
à 14.0
.
Nouvelles fonctionnalités et améliorations
- Added support for customizing system accent color and highlighting of active window border. #47285 (Également en 37)
- Added
fileBacked
andpurgeable
fields toprocess.getSystemMemoryInfo()
for macOS. #48146 (Également en 37) - Added
tray.{get|set}AutosaveName
to enable macOS tray icons to maintain position across launches. #48077 (Également en 37) - Added
webFrameMain.fromFrameToken(processId, frameToken)
to get aWebFrameMain
instance from its frame token. #47942 - Added support for
app.getRecentDocuments()
on Windows and macOS. #47924 (Également en 37) - Internally switched to using
DIR_ASSETS
instead ofDIR_MODULE
/DIR_EXE
to locate assets and resources, and added "assets" as a key that can be queried viaapp.getPath
. #47950 (Également en 37) - Fixed an issue where
dialog.showMessageDialog
showed a window incorrectly centered to monitor instead of parent window when passed. #48215 - Correction d'un problème qui empêchait les utilisateurs sur macOS d'interagir avec une page Web chargée via
loadURL
. #47575
Changements majeurs avec rupture de compatibilité
Removed: macOS 11 support
macOS 11 (Big Sur) n'est plus supporté par Chromium.
Older versions of Electron will continue to run on Big Sur, but macOS 12 (Monterey) or later will be required to run Electron v38.0.0 and higher.
Removed: ELECTRON_OZONE_PLATFORM_HINT
environment variable
The default value of the --ozone-plaftform
flag changed to auto
.
You should use the XDG_SESSION_TYPE=wayland
environment variable instead to use Wayland.
Removed: plugin-crashed
event
The plugin-crashed
event has been removed from webContents
.
Deprecated: webFrame.routingId
property
The routingId
property will be removed from webFrame
objects.
You should use webFrame.frameToken
instead.
Deprecated: webFrame.findFrameByRoutingId(routingId)
The webFrame.findFrameByRoutingId(routingId)
function will be removed.
You should use webFrame.findFrameByToken(frameToken)
instead.
Google Summer of Code Concludes
Our two Google Summer of Code contributors have just completed their summer projects!
- @nilayarya crafted a new Save/Restore Window State API in Electron core. The new APIs will provide a built-in, standardized way to handle window state persistence. See Nilay's original RFC at electron/rfcs#16.
- @hitarth-gg put a lot of hard work into modernizing the long-dormant Devtron extension using Chrome Manifest V3 APIs. This project provides tooling for developers to debug IPC communication, track event listeners, and visualize module dependencies in their Electron applications.
Stay tuned for a more detailed blog post outlining their projects and the outcomes.
Fin du support pour 35.x.y
Electron 35.x.y a atteint la limite pour le support conformément à la politique d'assistance du projet. Nous encourageons les développeurs à mettre à jour vers une version plus récente d'Electron et de faire de même avec leurs applications.
E38 (Sep'25) | E39 (Oct'25) | E40 (Jan'26) |
---|---|---|
38.x.y | 39.x.y | 40.x.y |
37.x.y | 38.x.y | 39.x.y |
36.x.y | 37.x.y | 38.x.y |
Et maintenant ?
À court terme, vous pouvez compter sur l’équipe pour continuer a se concentrer sur le développement des principaux composants qui composent Electron, notamment Chromium, Node et V8.
You can find Electron's public timeline here.
More information about future changes can be found on the Planned Breaking Changes page.