Electron 31.0.0
Electron 31.0.0 がリリースされました! It includes upgrades to Chromium 126.0.6478.36
, V8 12.6
, and Node 20.14.0
.
Electron チームは、Electron 31.0.0 のリリース発表にワクワクしています! npm install electron@latest
から npm でインストールするか、リリースウェブサイト からダウンロードできます。 このリリースの詳細は続きをご覧ください。
何かフィードバックがあれば、Twitter や Mastodon で共有したり、コミュニティの Discord に参加してみましょう! バグや機能の要望は Electron の Issue トラッカー で報告できます。
注目すべき変更
ハイライト
- Extended
WebContentsView
to accept pre-existingwebContents
object. #42319 - Added support for
NODE_EXTRA_CA_CERTS
. #41689 - Updated window.flashFrame(bool) to flash continuously on macOS. #41391
- Removed
WebSQL
support #41868 nativeImage.toDataURL
will preserve PNG colorspace #41610- Extended
webContents.setWindowOpenHandler
to support manual creation of BrowserWindow. #41432
累積的変更
- Chromium
126.0.6478.36
- Node
20.14.0
- V8
12.6
Electron 31 upgrades Chromium from 124.0.6367.49
to 126.0.6478.36
, Node from 20.11.1
to 20.14.0
, and V8 from 12.4
to 12.6
.
新機能
- Added
clearData
method toSession
. #40983- Added options parameter to
Session.clearData
API. #41355
- Added options parameter to
- Added support for Bluetooth ports being requested by service class ID in
navigator.serial
. #41638 - Added support for Node's
NODE_EXTRA_CA_CERTS
environment variable. #41689 - Extended
webContents.setWindowOpenHandler
to support manual creation of BrowserWindow. #41432 - Implemented support for the web standard File System API. #41419
- Extended
WebContentsView
to accept pre-existingWebContents
instances. #42319 - Added a new instance property
navigationHistory
on webContents API withnavigationHistory.getEntryAtIndex
method, enabling applications to retrieve the URL and title of any navigation entry within the browsing history. #41577 (Also in 29, 30)
破壊的変更
Removed: WebSQL
support
Chromium has removed support for WebSQL upstream, transitioning it to Android only. See Chromium's intent to remove discussion for more information.
Behavior Changed: nativeImage.toDataURL
will preseve PNG colorspace
PNG decoder implementation has been changed to preserve colorspace data. The encoded data returned from this function now matches it.
See crbug.com/332584706 for more information.
Behavior Changed: win.flashFrame(bool)
will flash dock icon continuously on macOS
This brings the behavior to parity with Windows and Linux. Prior behavior: The first flashFrame(true)
bounces the dock icon only once (using the NSInformationalRequest level) and flashFrame(false)
does nothing. New behavior: Flash continuously until flashFrame(false)
is called. This uses the NSCriticalRequest level instead. To explicitly use NSInformationalRequest
to cause a single dock icon bounce, it is still possible to use dock.bounce('informational')
.
28.x.y サポートの終了
プロジェクトの サポートポリシー に則り、Electron 28.x.y はサポート終了を迎えました。 開発者とアプリケーションは新しいバージョンの Electron にアップグレードすることを推奨します。
E31 (Jun'24) | E32 (Aug'24) | E33 (Oct'24) |
---|---|---|
31.x.y | 32.x.y | 33.x.y |
30.x.y | 31.x.y | 32.x.y |
28.x.y | 29.x.y | 31.x.y |
次回予告
短期的には、Chromium、Node、V8 といった Electron を構成する主要コンポーネントの開発に遅れないでチームが注力し続けるでしょう。
Electron の公開タイムラインはこちらで ご覧いただけます。
今後の変更についての詳細は、予定されている破壊的変更 のページをご覧ください。