Electron 39.0.0
Electron 39.0.0 がリリースされました! これには Chromium 142.0.7444.52、V8 14.2、Node 22.20.0 へのアップグレードが含まれています。
Electron チームは、Electron 39.0.0 のリリース発表にワクワクしています! You can install it with npm via npm install electron@latest or download it from our releases website. このリリースの詳細は続きをご覧ください。
何かフィードバックがあれば、Bluesky や Mastodon で共有したり、コミュニティの Discord に参加してみましょう! バグや機能の要望は Electron の Issue トラッカー で報告できます。
注目すべき変更
累積的変更
- Chromium
142.0.7444.52 - Node
22.20.0 - V8
14.2
Electron 39 upgrades Chromium from 140.0.7339.41 to 142.0.7444.52, Node.js from 22.18.0 to v22.20.0, and V8 from 14.0 to 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. ハッシュが存在しない場合、またはハッシュが一致しない場合は、アプリが強制終了します。
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.
In related news, Electron Packager v19 now enables ASAR by default. #1841
New Features and Improvements
- 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 (及び 37, 38)
- Support dynamic ESM imports in non-context isolated preloads. #48488 (及び 37, 38)
- Marked the ASAR integrity feature as stable. It had previously been experimental. #48434
破壊的変更
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.
36.x.y サポートの終了
プロジェクトの サポートポリシー に則り、Electron 36.x.y はサポート終了を迎えました。 開発者とアプリケーションは新しいバージョンの Electron にアップグレードすることを推奨します。
| 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 |
次回予告
短期的には、Chromium、Node、V8 といった Electron を構成する主要コンポーネントの開発に遅れないでチームが注力し続けるでしょう。
Electron の公開タイムラインはこちらで ご覧いただけます。
今後の変更についての詳細は、予定されている破壊的変更 のページをご覧ください。
