¡Electron 11.0.0 ha sido liberado! Incluye actualizaciones a Chromium 87
, V8 8.7
, y Node.js 12.18.3
. Añadimos soporte para Apple silicon, y mejoras generales. ¡Lea a continuación para más detalles!
El equipo de Electron esta emocionado de anunciar el lanzamiento de Electron 11.0.0! You can install it with npm via npm install electron@latest
or download it from our releases website. La versión está llena de actualizaciones, correcciones y nuevo soporte para el hardware de Apple's M1.
We can't wait to see what you build with them! Continue reading for details about this release, and please share any feedback you have!
Notable Changes
Stack Changes
- Chromium
87.0.4280.47
- Node.js
12.18.3
- V8
8.7
Características Destacadas
- Support for Apple M1: On November 10, Apple announced their new M1 chips, which will be included in their upcoming hardware. Beginning in Electron 11, Electron will be shipping separate versions of Electron for Intel Macs (x64) and Apple's upcoming M1 hardware (arm64). You can learn more about how to get your Electron app running on Apple's M1 hardware here. #24545
- Added V8 crash message and location information to crashReport parameters. #24771
- Improved the performance of sending wide objects over the context bridge. #24671
Vea la notas de lanzamiento 11.0.0 para la lista completa de nuevas características y cambios.
Restaurar archivos borrados
- Removed experimental APIs:
BrowserView.{fromId, fromWebContents, getAllViews}
and theid
property ofBrowserView
. #23578
More information about these and future changes can be found on the Planned Breaking Changes page.
API Modificada
- Added
app.getApplicationInfoForProtocol()
API that returns detailed information about the app that handles a certain protocol. #24112 - Added
app.createThumbnailFromPath()
API that returns a preview image of a file given its file path and a maximum thumbnail size. #24802 - Añadido
webContents.forcefullyCrashRenderer()
para terminar forzosamente un proceso de renderizado para ayudar a recuperar un proceso de renderizado colgado. #25756
Fin de soporte para 8.x.y
Electron 8.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.
What's Next
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 quarterly. El calendario tentativo 12.0.0 traza fechas claves en el ciclo de vida del desarrollo de Electron 12.0. Also, see our versioning document for more detailed information about versioning in Electron.
For information on planned breaking changes in upcoming versions of Electron, see our Planned Breaking Changes doc.
Continued Work for Deprecation of remote
Module
We started work to remove the remote
module in Electron 9. We plan to remove the remote
module itself in Electron 14.
Sigue y lee este asunto para conocer los planes completo y detalles para la desaprobación.
Final Step for Requiring Native Node Modules to be Context Aware or N-API (in Electron 12)
From Electron 6 onwards, we've been laying the groundwork to require native Node modules loaded in the renderer process to be either N-API or Context Aware. Enforcing this change allows for stronger security, faster performance, and reduced maintenance workload. The final step of this plan is to remove the ability to disable render process reuse in Electron 12.
Read and follow this issue for full details, including the proposed timeline.