Electron 23.0.0
¡Electron 23.0.0 ha sido liberado! Incluye actualizaciones a Chromium 110
, V8 11.0
, y Node.js 18.12.1
. Additionally, support for Windows 7/8/8.1 has been dropped. ¡Lea a continuación para más detalles!
El equipo de Electron esta emocionado de anunciar el lanzamiento de Electron 23.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.
If you have any feedback, please share it with us on Twitter, or join our community Discord! Bugs and feature requests can be reported in Electron's issue tracker.
Notable Changes
Stack Changes
- Chromium
110
- Node.js
18.12.1
- V8
11.0
Nuevas características
- Added
label
property toDisplay
objects. #36933 - Added an
app.getPreferredSystemLanguages()
API to return the user's system languages. #36035 - Added support for the WebUSB API. #36289
- Added support for
SerialPort.forget()
as well as a new eventserial-port-revoked
emitted on Session objects when a given origin is revoked. #35310 - Added new
win.setHiddenInMissionControl
API to allow developers to opt out of Mission Control on macOS. #36092
Dropping Windows 7/8/8.1 Support
Electron 23 no longer supports Windows 7/8/8.1. Electron follows the planned Chromium deprecation policy, which will deprecate Windows 7/8/8.1 , as well as Windows Server 2012 and 2012 R2 support in Chromium 109 (read more here).
Rupturas de cambios de la API
Below are breaking changes introduced in Electron 23. You can read more about these changes and future changes on the Planned Breaking Changes page.
Eliminado: eventos BrowserWindow scroll-touch-*
The deprecated scroll-touch-begin
, scroll-touch-end
and scroll-touch-edge
events on BrowserWindow have been removed. Instead, use the newly available input-event
event on WebContents.
// Removed in Electron 23.0
-win.on('scroll-touch-begin', scrollTouchBegin)
-win.on('scroll-touch-edge', scrollTouchEdge)
-win.on('scroll-touch-end', scrollTouchEnd)
// Replace with
+win.webContents.on('input-event', (_, event) => {
+ if (event.type === 'gestureScrollBegin') {
+ scrollTouchBegin()
+ } else if (event.type === 'gestureScrollUpdate') +{
+ scrollTouchEdge()
+ } else if (event.type === 'gestureScrollEnd') {
+ scrollTouchEnd()
+ }
+})
Fin de soporte para 20.x.y
Electron 20.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.
E22 (Nov'22) | E23 (Feb'23) | E24 (Apr'23) | E25 (May'23) | E26 (Aug'23) |
---|---|---|---|---|
22.x.y | 23.x.y | 24.x.y | 25.x.y | 26.x.y |
21.x.y | 22.x.y | 23.x.y | 24.x.y | 25.x.y |
20.x.y | 21.x.y | 22.x.y | 23.x.y | 24.x.y |
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.
You can find Electron's public timeline here.
More information about future changes can be found on the Planned Breaking Changes page.