Electron 17.0.0 вышел! Он включает обновления Chromium
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!
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.
webContents.getMediaSourceId(), can be used with
getUserMediato get a stream for a WebContents. #31204
desktopCapturer.getSourcesis 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.
There were no API changes in Electron 17.
- Usage of the
desktopCapturer.getSourcesAPI in the renderer has been removed. See here for details on how to replace this API in your app.
End of Support for 13.x.y
Electron 13.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.
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 (Sep'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.