Electron 23.0.0
Electron 23.0.0 has been released! It includes upgrades to Chromium 110
, V8 11.0
, and Node.js 18.12.1
. Additionally, support for Windows 7/8/8.1 has been dropped. Read below for more details!
The Electron team is excited to announce the release of 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
New Features
- 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).
Breaking API Changes
Below are breaking changes introduced in Electron 23. You can read more about these changes and future changes on the Planned Breaking Changes page.
Removed: BrowserWindow scroll-touch-*
events
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()
+ }
+})
End of Support for 20.x.y
Electron 20.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.
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.