Electron 18.0.0
Electron 18.0.0 вышел! Он включает обновления Chromium 100
, V8 10.0
и Node.js 16.13.2
. Read below for more details!
Команда Electron рада объявить о выпуске Electron 18.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!
Notable Changes
Electron Release Cadence Change
As of Electron 15, Electron will release a new major stable version every 8 weeks. You can read the full details here.
Additionally, Electron has changed supported versions from latest three versions to latest four versions until May 2022. See our versioning document for more detailed information about versioning in Electron. After May 2022, we will return to supporting latest three versions.
Stack Changes
- Chromium
100
- Node.js
16.13.2
- V8
10.0
Highlighted Features
- Added
ses.setCodeCachePath()
API for setting code cache directory. #33286 - Removed the old
BrowserWindowProxy
-based implementation ofwindow.open
. This also removes thenativeWindowOpen
option fromwebPreferences
. #29405 - Added 'focus' and 'blur' events to
WebContents
. #25873 - Added Substitutions menu roles on macOS:
showSubstitutions
,toggleSmartQuotes
,toggleSmartDashes
,toggleTextReplacement
. #32024 - Added a
first-instance-ack
event to theapp.requestSingleInstanceLock()
flow, allowing users to seamlessly transmit data from the first instance to the second instance. #31460 - Added support for more color formats in
setBackgroundColor
. #33364
See the 18.0.0 release notes for a full list of new features and changes.
Breaking & API Changes
Below are breaking changes introduced in Electron 18. More information about these and future changes can be found on the Planned Breaking Changes page.
Удален: nativeWindowOpen
Prior to Electron 15, window.open
was by default shimmed to use BrowserWindowProxy
. This meant that window.open('about:blank')
did not work to open synchronously scriptable child windows, among other incompatibilities. Начиная с Electron 15, nativeWindowOpen
включен по умолчанию.
See the documentation for window.open in Electron for more details. Removed in #29405
End of Support for 14.x.y
Electron 14.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.
As of Electron 15, we have changed supported versions from latest three versions to latest four versions until May 2022 with Electron 19. After Electron 19, we will return to supporting the latest three versions. This version support change is part of our new cadence change. Please see our blog post for full details here.
E15 (Sep'21) | E16 (Nov'21) | E17 (Feb'22) | E18 (Mar'22) | E19 (May'22) |
---|---|---|---|---|
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 | -- |
Что дальше
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.
You can find Electron's public timeline here.
More information about future changes can be found on the Planned Breaking Changes page.