Electron 发行版
Electron 经常与 Chromium 一起发布主版本。 本文档侧重于发布排期和版本支持政策。 For a more in-depth guide on our git branches and how Electron uses semantic versions, check out our Electron Versioning doc.
时间表
Electron's Release Schedule lists a schedule of Electron major releases showing key milestones including alpha, beta, and stable release dates, as well as end-of-life dates and dependency versions.
Electron's official support policy is the latest 3 stable releases. Our stable release and end-of-life dates are determined by Chromium, and may be subject to change. While we try to keep our planned release and end-of-life dates frequently updated here, future dates may change if affected by upstream scheduling changes, and may not always be accurately reflected.
See Chromium's public release schedule for definitive information about Chromium's scheduled release dates.
说明:
-alpha.1,-beta.1, 和stable的日期是我们已确定的发布日期。- 我们争取每周发布测试版,但我们往往比预定发布更多版本。
- 我们致力于在这些日期发布版本,但可能因为诸如安全漏洞之类的理由调整这些排定的最后期限。
历史变化:
- 自从Electron 5以来,Electron 一直在公开其发布日期(见博客文章)。
- 自Electron 6以来,Electron 的大版本一直对应每个 Chromium 的大版本。 每一个 Electron 稳定版应该与 Chrome 稳定版同一天发布(见博客文章)。
- 从 Electron 16以来, Electron 每8周发布大版本,因为Chrome 已经更改为4周的排期(见博客文章)。
- Electron temporarily extended support for Electron 22 until October 10, 2023, to support an extended end-of-life for Windows 7/8/8.1
版本支持政策
最新的 3 个_稳定的_的版本受 Electron 团队支持。 例如,如果最新版本是 6.1.x,则包括 5.0.x和 4.2.x系列的同样会被支持 我们只支持每个稳定版中最新的次要版本。 这意味着在安全修复时, 我们会修复 6.1.x,但我们不会发布 6.0.x 的新版本。
最新的稳定版会单方面接受来自 main 的所有修复,在时间和带宽允许的情况下,之前的版本会接受绝大部分的修复。 最早的受支持发布线将只接受安全修复。
Chromium version support
Chromium's public release schedule is here.
Electron targets Chromium even-number versions, releasing every 8 weeks in concert with Chromium's 4-week release schedule. For example, Electron 26 uses Chromium 116, while Electron 27 uses Chromium 118.
Node.js version support
Electron upgrades its main branch to even-number versions of Node.js when they enter Active LTS. The schedule is as follows:
If Electron has recently updated its main branch to a new major version of Node.js, the next stable branch to be cut will be released with the new version.
Stable release lines of Electron will receive minor and patch bumps of Node.js after they are released. Patch bumps to Node.js will be released in patch releases of Electron, and minor bumps to Node.js will result in a minor release of Electron. Security-only release branches will receive security-related changes from Node.js releases, but not the full release.
Breaking API changes
当一个API的改动或移除会导致某个现有功能被破坏时,这个现有功能在被移除之前,仍然会在至少两个主要版本号内得到尽可能的支持。 比如,某个函数需要三个参数,而在主要版本10中,它被修改为需要两个参数,那么这个函数的三参数版本仍然会被支持,至少持续到主要版本12。 经过两个主要版本后,我们仍会尝试支持后向兼容,直到维护成本高得难以承受而无法继续支持。