Electron 39.0.0
Electron 39.0.0 est disponible ! Il inclut des mises à jour vers Chromium 142.0.7444.52, V8 14.2 et Node.js `22.20.0.
L’équipe Electron est heureuse d’annoncer la sortie d’Electron 39.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
142.0.7444.52 - Node
22.20.0 - V8
14.2
Electron 39 met à jour Chromium de 1414.0.0.7339.41 à 142.0.7444.52, Node de 22.18.0 à 20.0.0 et V8 de 14.2 à ``.
ASAR Integrity graduates to stable
A long-standing "experimental" feature -- ASAR integrity -- is now stable in Electron 39. When you enable this feature, it validates your packaged app.asar at runtime against a build-time hash to detect any tampering. If no hash is present or if there is a mismatch in the hashes, the app will forcefully terminate.
See the ASAR integrity documentation for full information on how on the feature works, on how to use it in your application, and how to use it in Electron Forge and Electron Packager.
Pour les nouvelles connexes, Electron Packager v19 active maintenant ASAR par défaut. #1841
Nouvelles fonctionnalités et améliorations
- Added
app.isHardwareAccelerationEnabled(). #48680 - Added
RGBAF16output format with scRGB HDR color space support to Offscreen Rendering. #48504 - Added methods to enable more granular accessibility support management. #48625
- Added support for
USBDevice.configurations. #47459 - Added the ability to retrieve the system accent color on Linux using
systemPreferences.getAccentColor. #48628 - Allowed for persisting File System API grant status within a given session. #48326 (Also in 37, 38)
- Support dynamic ESM imports in non-context isolated preloads. #48488 (Also in 37, 38)
- Marked the ASAR integrity feature as stable. It had previously been experimental. #48434
Changements majeurs avec rupture de compatibilité
Deprecated: --host-rules command line switch
Chromium is deprecating the --host-rules switch.
You should use --host-resolver-rules instead.
Behavior Changed: window.open popups are always resizable
Per current WHATWG spec, the window.open API will now always create a resizable popup window.
To restore previous behavior:
webContents.setWindowOpenHandler((details) => {
return {
action: 'allow',
overrideBrowserWindowOptions: {
resizable: details.features.includes('resizable=yes'),
},
};
});
Behavior Changed: shared texture OSR paint event data structure
When using the shared texture offscreen rendering feature, the paint event now emits a more structured object.
It moves the sharedTextureHandle, planes, modifier into a unified handle property.
See the OffscreenSharedTexture documentation for more details.
Fin du support pour 36.x.y
Electron 36.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.
| E39 (Oct'25) | E40 (Jan'26) | E41 (Feb'26) |
|---|---|---|
| 39.x.y | 40.x.y | 41.x.y |
| 38.x.y | 39.x.y | 40.x.y |
| 37.x.y | 38.x.y | 39.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.
