Electron 19.0.0
Electron 19.0.0 已经发布!它包括对 Chromium 102、V8 10.2 和 Node.js 16.14.2 的升级。请往下阅读了解更多详情!
🌐 Electron 19.0.0 has been released! It includes upgrades to Chromium 102, V8 10.2, and Node.js 16.14.2. Read below for more details!
Electron 团队很高兴宣布发布 Electron 19.0.0!你可以通过 npm 使用 npm install electron@latest 安装,或者从我们的 发布网站 下载。继续阅读以了解此版本的详细信息,并请分享你的任何反馈意见!
🌐 The Electron team is excited to announce the release of Electron 19.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 and please share any feedback you have!
Electron 发布节奏变更
🌐 Electron Release Cadence Change
该项目正在回归其早期的政策,支持最近的三个主要版本。请参阅我们的版本文档以获取有关 Electron 版本和支持的更详细信息。为了帮助用户适应从 Electron 15 开始的新发布节奏,这一政策曾暂时扩展为支持四个主要版本。你可以在此处阅读完整详情。
🌐 The project is returning to its earlier policy of supporting the latest three major versions. See our versioning document for more detailed information about Electron versioning and support. This had temporarily been four major versions to help users adjust to the new release cadence that began in Electron 15. You can read the full details here.
技术栈变更
🌐 Stack Changes
- Chromium
102 - Node.js
16.14.2 - V8
10.2
重大变更和 API 变更
🌐 Breaking & API Changes
以下是 Electron 19 引入的重大变更。关于这些以及未来变更的更多信息,可以在 计划中的重大变更 页面找到。
🌐 Below are breaking changes introduced in Electron 19. More information about these and future changes can be found on the Planned Breaking Changes page.
在 Linux 上不支持:.skipTaskbar
🌐 Unsupported on Linux: .skipTaskbar
在 Linux 上不再支持 BrowserWindow 构造函数选项 skipTaskbar。在 #33226 中已更改
🌐 The BrowserWindow constructor option skipTaskbar is no longer supported on Linux. Changed in #33226
移除 WebPreferences.preloadURL
🌐 Removed WebPreferences.preloadURL
半文档化的 preloadURL 属性已从 WebPreferences 中移除。#33228。应改用 WebPreferences.preload。
🌐 The semi-documented preloadURL property has been removed from WebPreferences. #33228. WebPreferences.preload should be used instead.
15.x.y 终止支持和 16.x.y
🌐 End of Support for 15.x.y and 16.x.y
Electron 14.x.y 和 15.x.y 都已达到支持终止。这将使 Electron 回到其现有政策,即支持最近的三个主要版本。建议开发者和应用升级到较新的 Electron 版本。
🌐 Electron 14.x.y and 15.x.y have both reached end-of-support. This returns Electron to its existing policy of supporting the latest three major versions. Developers and applications are encouraged to upgrade to a newer version of Electron.
| E15(2021年9月) | E16(2021年11月) | E17(2022年2月) | E18(2022年3月) | E19(2022年5月) |
|---|---|---|---|---|
| 15.x.y | 16.x.y | 17.x.y | 18.x.y | 19.x.y |
| 14.x.y | 15.x.y | 16.x.y | 17.x.y | 18.x.y |
| 13.x.y | 14.x.y | 15.x.y | 16.x.y | 17.x.y |
| 12.x.y | 13.x.y | 14.x.y | 15.x.y | -- |
下一步计划
🌐 What's Next
在短期内,你可以预期团队将继续专注于跟进构成 Electron 的主要组件的开发,包括 Chromium、Node 和 V8。尽管我们小心翼翼地避免对发布日期作出承诺,但我们的计划是大约每两个月发布一次包含这些组件新版本的 Electron 主要版本。
🌐 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. Although we are careful not to make promises about release dates, our plan is to release new major versions of Electron with new versions of those components approximately every 2 months.
你可以在这里找到 Electron 的公开时间线。
🌐 You can find Electron's public timeline here.
有关未来更改的更多信息可以在计划中的重大变更页面上找到。
🌐 More information about future changes can be found on the Planned Breaking Changes page.