Electron 13.0.0
· 3 мин. прочитано
Electron 13.0.0 вышел! It includes upgrades to Chromium 91
and V8 9.1
. We've added several API updates, bug fixes, and general improvements. Read below for more details!
Команда Electron рада объявить о выпуске Electron 13.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
Stack Changes
- Chromium
91
- Node.js
14.16.0
- V8
9.1
Highlight Features
- Added
process.contextIsolated
property that indicates whether the current renderer context hascontextIsolation
enabled. #28252 - Added new
session.storagePath
API to get the path on disk for session-specific data. #28866 - Deprecated the
new-window
event ofWebContents
. Заменяется наwebContents.setWindowOpenHandler()
- Added
process.contextId
used by@electron/remote
. #28251
See the 13.0.0 release notes for a full list of new features and changes.
Критические изменения
window.open()
parameter frameName is no longer set as window title. #27481- Changed
session.setPermissionCheckHandler(handler)
to allow forhandler
's first parameter,webContents
to benull
. #19903
More information about these and future changes can be found on the Planned Breaking Changes page.