Перейти к основному содержанию

Electron 17.0.0

· 4 мин. прочитано

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!

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.

Notable Changes

  • Added webContents.getMediaSourceId(), can be used with getUserMedia to get a stream for a WebContents. #31204
  • Deprecates webContents.getPrinters() and introduces webContents.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.

Stack Changes

Критические изменения

Below are breaking changes introduced in Electron 17. More information about these and future changes can be found on the