Electron 18.0.0 has been released! It includes upgrades to Chromium
10.0, and Node.js
16.13.2. Read below for more details!
The Electron team is excited to announce the release of 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!
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.
ses.setCodeCachePath()API for setting code cache directory. #33286
- Removed the old
BrowserWindowProxy-based implementation of
window.open. This also removes the
- Added 'focus' and 'blur' events to
- Added Substitutions menu roles on macOS:
first-instance-ackevent to the
app.requestSingleInstanceLock()flow, so that users can pass some data back from the second instance to the first instance. #31460
- Added support for more color formats in
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.
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. Since Electron 15,
nativeWindowOpen has been enabled by default.
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)|
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.