


























Electron 31.0.0 has been released! It includes upgrades to Chromium 126.0.6478.36, V8 12.6, and Node 20.14.0.
The Electron team is excited to announce the release of Electron 31.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 Twitter or Mastodon, or join our community Discord! Bugs and feature requests can be reported in Electron's issue tracker.
WebContentsView to accept pre-existing webContents object. #42319NODE_EXTRA_CA_CERTS. #41689WebSQL support #41868nativeImage.toDataURL will preserve PNG colorspace #41610webContents.setWindowOpenHandler to support manual creation of BrowserWindow. #41432126.0.6478.36
20.14.0
12.6Electron 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.
clearData method to Session. #40983
Session.clearData API. #41355navigator.serial. #41638NODE_EXTRA_CA_CERTS environment variable. #41689webContents.setWindowOpenHandler to support manual creation of BrowserWindow. #41432WebContentsView to accept pre-existing WebContents instances. #42319navigationHistory on webContents API with navigationHistory.getEntryAtIndex method, enabling applications to retrieve the URL and title of any navigation entry within the browsing history. #41577 (Also in 29, 30)WebSQL supportChromium has removed support for WebSQL upstream, transitioning it to Android only. See Chromium's intent to remove discussion for more information.
nativeImage.toDataURL will preseve PNG colorspacePNG 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.
win.flashFrame(bool) will flash dock icon continuously on macOSThis 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').
Electron 28.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.
| 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 |
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.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。