新的 Electron 发布周期
从 2021 年 9 月开始,Electron 将每 8 周发布一个新的主要稳定版本。
🌐 Beginning in September 2021, Electron will release a new major stable version every 8 weeks.
2019 年,Electron 转向了 12 周的发布周期,以配合 Chromium 的 6 周发布周期。最近,Chrome 和微软都宣布了变动,这让我们重新考虑 Electron 当前的发布节奏:
🌐 In 2019, Electron moved to a 12 week release cycle to match Chromium's 6 week release cycle. Recently, both Chrome and Microsoft announced changes that made us reconsider Electron's current release cadence:
- Chromium 计划每 4 周 发布一个新里程碑,从 2021 年 9 月 21 日的 Chrome 94 开始。 这一发布节奏还增加了每 8 周一个新的扩展稳定版选项,其中将包含所有更新的安全修复。
- 微软商店将要求基于 Chromium 的应用版本不得早于最近的两个主要版本。例如,如果 Chromium 最新发布的主要版本是 85,则任何基于 Chromium 的浏览器必须至少为 Chromium 版本 83 或更高。此规则包括 Electron 应用。
从2021年9月开始,Electron 将每8周发布一个新的主要稳定版本,以配合 Chromium 的8周扩展稳定版发布周期。
我们首个基于 Chromium Extended Stable 的版本将是 Electron 15,发布日期为 2021 年 9 月 21 日。
🌐 Our first release with Chromium Extended Stable will be Electron 15 on September 21st, 2021.
鉴于我们知道版本发布节奏的改变会影响其他下游应用,我们希望尽快让开发者社区知晓。请继续阅读,了解我们2021年的发布计划详情。
🌐 Knowing that a release cadence change will impact other downstream applications, we wanted to let our developer community know as soon as possible. Read on for more details about our 2021 release schedule.
Electron 15:临时 Alpha
🌐 Electron 15: Temporary Alpha
鉴于我们最初的 Electron 15 版本面向的是非扩展稳定版本(Chromium 的扩展稳定版本基于其偶数版本),我们需要更改原定的目标发布日期。然而,Electron 应用必须使用 Chromium 的最新两个主要版本才能被 Microsoft Store 接受,这使得等待两个 Chromium 版本成为不可行的选择。
🌐 Given that our original Electron 15 release targeted a non-Extended Stable version (Chromium's Extended Stable versions are based on their even-numbered versions), we needed to change our original target release date. However, an Electron app must use the most recent 2 major versions of Chromium to be accepted to the Microsoft Store, which made waiting for two Chromium versions untenable.
有了这两个要求,我们的团队面临时间上的困境。将 Electron 15 升级以包含 Chromium M94 将让应用开发者能够使用 Chromium 的第一个扩展稳定版本;然而,这也会将从测试版到稳定版的周期缩短到仅 3 周。
🌐 With these two requirements, our team faced a timing dilemma. Moving Electron 15 to include Chromium M94 would allow app developers to get on the very first Extended Stable version of Chromium; however, it would also shorten the beta-to-stable cycle to only 3 weeks.
为了帮助进行这一转变,Electron 将提供一个临时的 Alpha 版本,仅针对 Electron 15 发行。这个 Alpha 版本将允许开发者有更多时间测试和规划 Electron 15 的发布,而且其稳定性比我们目前的每日构建版本更高。
🌐 To help with this switchover, Electron will offer a temporary alpha build, only for the Electron 15 release. This alpha build will allow developers more time to test and plan for an Electron 15 release, with a more stable build than our current nightlies.
Electron 15 的 alpha 通道版本将于 2021 年 7 月 20 日 发布。它将在 2021 年 9 月 1 日 转为 beta 版本,计划于 2021 年 9 月 21 日 发布稳定版本。后续的 Electron 版本将不再发布 alpha 版本。
🌐 The alpha channel build will ship for Electron 15 on July 20th, 2021. It will transition to a beta release on September 1st, 2021 with a stable release target of September 21st, 2021. Subsequent Electron releases will not have alpha releases.
2021 年发布计划
🌐 2021 Plan for Releases
以下是我们 2021 年的当前发布计划:
🌐 Below is our current release schedule for 2021:
| Electron | Chrome | Alpha 版本 | Beta 版本 | 稳定版本 | 稳定周期(周) |
|---|---|---|---|---|---|
| E13 | M91 | - | 2021-03-05 | 2021-05-25 | 12 |
| E14 | M93 | - | 2021-05-26 | 2021-08-31 | 14 |
| E15 | M94 | 2021-07-20 | 2021-09-01 | 2021-09-21 | 9(含 alpha) |
| E16 | M96 | - | 2021-09-22 | 2021-11-16 | 8 |
| E17 | M98 | - | 2021-11-17 | 2022-02-01 | 11 |
添加 alpha 通道将 Electron 15 发布前的开发时间从 3 周延长到 9 周——更接近我们新的 8 周周期,同时仍满足 Windows Store 提交的要求。
🌐 Adding the alpha channel extends the development time before Electron 15's launch from 3 weeks to 9 weeks - closer to our new 8 week cycle, while still meeting the requirements for Windows Store submission.
为了进一步帮助应用开发者,从2021年剩余时间直到2022年5月,我们也将把支持的 Electron 版本政策从最新的3个版本扩展到最新的4个版本。 这意味着即使你无法立即调整升级计划,旧版本的 Electron 仍然会收到安全更新和修复。
🌐 To further help app developers, for the remainder of 2021 until May 2022, we will also be extending our supported versions policy from the latest 3 versions to the latest 4 versions of Electron. That means that even if you can't immediately alter your upgrade schedule, older versions of Electron will still receive security updates and fixes.
寻址关注点
🌐 Addressing Concerns
我们之所以在这一发布周期变更计划之前提前发布这篇文章是有原因的。我们知道,更快的发布周期将对 Electron 应用产生实际影响——其中一些应用可能已经觉得我们的重大版本发布节奏很紧凑。
🌐 There's a reason we're publishing this post well before this release cycle change is scheduled. We know that a faster release cycle will have a real impact on Electron apps - some of which may already find our major release cadence aggressive.
我们已尝试解决以下常见问题:
🌐 We've tried to address common concerns below:
❓ 为什么要做这个改变?为什么不保持12周的发布节奏?
🌐 ❓ Why even make this change? Why not keep the 12 week release cadence?
为了在 Electron 中提供最新版本的 Chromium,我们的计划需要与他们的保持同步。关于 Chromium 发布周期的更多信息可以在这里找到。
🌐 To deliver the most up-to-date versions of Chromium in Electron, our schedule needs to track theirs. More information around Chromium's release cycle can be found here.
此外,当前每 12 周一次的发布节奏在微软商店的新提交要求下将难以维持。即使是使用最新稳定版 Electron 的应用,也可能会在大约两周的时间内由于新的安全要求而被拒绝上架。
🌐 Additionally, the current 12 week release cadence would be untenable with the Microsoft Store's new submission requirements. Even apps on the latest stable version of Electron would experience a roughly two week period where their app may be rejected under the new security requirements.
每个新的 Chromium 版本都包含新功能、错误修复/安全修复以及 V8 的改进。我们希望你们作为应用开发者能够及时获得这些变更,因此我们的稳定版本发布时间将继续与每个其他 Chromium 稳定版本同步。作为应用开发者,你将比以往更早获得新的 Chromium 和 V8 功能及修复。
🌐 Every new Chromium release contains new features, bug fixes / security fixes, and V8 improvements. We want you, as app developers, to have these changes in a timely manner, so our stable release dates will continue to match every other Chromium stable release. As an app developer, you'll have access to new Chromium and V8 features and fixes sooner than before.
❓ 现有的 12 周发布计划已经进展很快。团队正在采取哪些措施来简化升级进程?
🌐 ❓ The existing 12 week release schedule already moves quickly. What steps are the team taking to make upgrading easier?
更频繁发布的一个优势是可以发布更小的版本。我们理解升级 Electron 的主要版本可能比较困难。我们希望每次较小的发布能够引入更少的重大 Chromium 和 Node 变更,以及更少的破坏性更改。
🌐 One advantage of more frequent releases is having smaller releases. We understand that upgrading Electron's major versions can be difficult. We hope that smaller releases will introduce fewer major Chromium and Node changes, as well as fewer breaking changes, per release.
❓ 未来的 Electron 版本会有 alpha 测试版吗?
🌐 ❓ Will there been an alpha release available for future Electron versions?
目前没有支持永久性 alpha 版本的计划。这个 alpha 版本仅适用于 Electron 15,目的是帮助开发者在较短的发布周期内更轻松地进行升级。
🌐 There are no plans to support a permanent alpha release at this time. This alpha is only intended for Electron 15, as a way to help developers upgrade more easily in the shortened release period.
❓ Electron 会扩展支持的版本数量吗?
🌐 ❓ Will Electron extend the number of supported versions?
我们将把支持的版本策略从最新的三个版本扩展到最新的四个版本,直到 2022 年 5 月,即 Electron 19 发布时。在 Electron 19 发布后,我们将恢复支持最新的三个主要版本,以及测试版和夜间版。
🌐 We will be extending our supported version policy from the latest three versions to the latest four versions of Electron until May 2022, with the release of Electron 19. After Electron 19 is released, we'll return to supporting the latest three major versions, as well as the beta and nightly releases.
| E13(2021年5月) | E14(2021年8月) | E15(2021年9月) | E16(2021年11月) | E17(2022年2月) | E18(2022年3月) | E19(2022年5月) |
|---|---|---|---|---|---|---|
| 13.x.y | 14.x.y | 15.x.y | 16.x.y | 17.x.y | 18.x.y | 19.x.y |
| 12.x.y | 13.x.y | 14.x.y | 15.x.y | 16.x.y | 17.x.y | 18.x.y |
| 11.x.y | 12.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 | -- |
有问题吗?
🌐 Questions?
📨 如果你有任何疑问或顾虑,请发送邮件至 info@electronjs.org 或 加入我们的 Discord。我们知道这是一个会影响许多应用和开发者的变更,你的反馈对我们非常重要。我们希望听到你的声音!