¡Electron 18.0.0 ha sido liberado! Incluye actualizaciones a Chromium
16.13.2. ¡Lea a continuación para más detalles!
El equipo de Electron esta emocionado de anunciar el lanzamiento de 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
Vea la notas de lanzamiento 18.0.0 para la lista completa de nuevas características y cambios.
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. Eliminado en #29405
Fin de soporte para 14.x.y
Electron 14.x.y ha alcanzado el fin de soporte según la política de soporte del proyecto. 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 (Sept'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.