Electron 17.0.0
Electron 17.0.0 вышел! Он включает обновления Chromium 98
, V8 9.8
и Node.js 16.13.0
. Read below for more details!
Команда Electron рада объявить о выпуске Electron 17.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!
Notable Changes
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.
Stack Changes
- Chromium
98
- Node.js
16.13.0
- V8
9.8
Highlighted Features
- Added
webContents.getMediaSourceId()
, can be used withgetUserMedia
to get a stream for a WebContents. #31204 - Deprecates
webContents.getPrinters()
and introduceswebContents.getPrintersAsync()
. #31023 desktopCapturer.getSources
is now only available in the main process. #30720
See the 17.0.0 release notes for a full list of new features and changes.
Критические изменения
Below are breaking changes introduced in Electron 17. More information about these and future changes can be found on the Planned Breaking Changes page.
desktopCapturer.getSources in the renderer
The desktopCapturer.getSources API is now only available in the main process. This has been changed in order to improve the default security of Electron apps.