Electron 27.0.0
Electron 27.0.0 вышел! Он включает обновления Chromium 118.0.5993.32, V8 11.8 и Node.js 18.17.1.
Команда Electron рада объявить о выпуске Electron 27.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 Mastodon, or join our community Discord! Bugs and feature requests can be reported in Electron's issue tracker.
Stack Changes
- Chromium
118.0.5993.32 - Node.js
18.17.1 - V8
11.8
Критические изменения
Removed: macOS 10.13 / 10.14 support
macOS 10.13 (High Sierra) and macOS 10.14 (Mojave) are no longer supported by Chromium.
Older versions of Electron will continue to run on these operating systems, but macOS 10.15 (Catalina) or later will be required to run Electron v27.0.0 and higher.
Устарело: ipcRenderer.sendTo()
The ipcRenderer.sendTo() API has been deprecated. It should be replaced by setting up a MessageChannel between the renderers.
The senderId and senderIsMainFrame properties of IpcRendererEvent have been deprecated as well.
Removed: color scheme events in systemPreferences
The following systemPreferences events have been removed:
inverted-color-scheme-changedhigh-contrast-color-scheme-changed
Use the new updated event on the nativeTheme module instead.
// Removed
systemPreferences.on('inverted-color-scheme-changed', () => {
/* ... */
});
systemPreferences.on('high-contrast-color-scheme-changed', () => {
/* ... */
});
// Replace with
nativeTheme.on('updated', () => {