新的 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 计划每 8 周发布一次 从 2021 年 9 月 21 日的 Chrome 94 开始,每 4 周发布一个新的里程碑。 版本。此发布节奏还增加了每 8 周一次的扩展稳定版本,其中包含所有更新的安全修复。
¥Chromium plans to release a new milestone every 4 weeks, starting with Chrome 94 on September 21st, 2021. This release cadence also adds a new Extended Stable option every 8 weeks, which will contain all updated security fixes.
-
微软商店将 要求基于 Chromium 的应用版本不早于 2 个主要版本。例如,如果最新发布的 Chromium 主版本号是 85,那么任何基于 Chromium 的浏览器都必须至少运行 Chromium 83 或更高版本。此规则适用于 Electron 应用。
¥The Microsoft Store will require Chromium-based apps to be no older than within 2 major versions. As an example, if the latest released major version of Chromium is 85, any browser based on Chromium must be on at least Chromium version 83 or higher. This rule includes Electron apps.
从 2021 年 9 月开始,Electron 将每 8 周发布一个新的主要稳定版本,以匹配 Chromium 每 8 周发布一次的扩展稳定版本。
¥Beginning in September 2021, Electron will release a new major stable version every 8 weeks, to match Chromium's 8 week Extended Stable releases.
我们基于 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 才能被微软商店接受,这使得等待两个 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 的第一个扩展稳定版本;然而,这也将 Beta 到稳定版本的周期缩短至仅 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.
Alpha 通道版本将于 2021 年 7 月 20 日发布,适用于 Electron 15。它将于 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 年 3 月 5 日 | 2021 年 5 月 25 日 | 12 |
E14 | M93 | * | 2021 年 5 月 26 日 | 2021 年 8 月 31 日 | 14 |
E15 | M94 | 2021 年 7 月 20 日 | 2021 年 9 月 1 日 | 2021 年 9 月 21 日 | 9 点(包含 alpha 测试) |
E16 | M96 | * | 2021 年 9 月 22 日 | 2021 年 11 月 16 日 | 8 |
E17 | M98 | * | 2021 年 11 月 17 日 | 2022 年 2 月 1 日 | 11 |
添加 Alpha 通道将 Electron 15 发布前的开发时间从 3 周延长至 9 周。 - 更接近我们新的 8 周周期,同时仍然满足 Windows 应用商店提交的要求。
¥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,我们的进度安排需要与 Electron 保持一致。更多关于 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.
此外,由于 Microsoft Store 新的提交要求,目前 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?
随着 Electron 19 的发布,我们将把 Electron 的支持版本政策从最新的三个版本扩展到最新的四个版本,直至 2022 年 5 月。Electron 19 发布后,我们将恢复到 支持最新的三个主要版本 版本,以及 Beta 版和 Nightly 版。
¥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。我们知道这项变更将影响许多应用和开发者,你的反馈对我们非常重要。我们想听听你的意见!
¥📨 If you have questions or concerns, please mail us at info@electronjs.org or join our Discord. We know this is a change that will impact many apps and developers, and your feedback is very important to us. We want to hear from you!