Electron 7.0.0 вышел! В него включены обновления до Chromium 78, V8 7.8 и Node.js 12.8.1. Мы добавили Windows на Arm 64, быстрый метод IPC, новую
родную тему API и многое другое!
Команда Electron рада объявить о выпуске Electron 7.0.0! You can install it with npm via
npm install electron@latest or download it from our releases website. The release is packed with upgrades, fixes, and new features. We can't wait to see what you build with them! Continue reading for details about this release, and please share any feedback you have!
Stack Version in Electron 6 Version in Electron 7 What's New Chromium 76.0.3809.146 78.0.3905.1 77, 78 V8 7.6 7.8 7.7, 7.8 Node.js 12.4.0 12.8.1 12.5, 12.6, 12.7, 12.8, 12.8.1
ipcMain.handle()for asynchronous request/response-style IPC. These are strongly recommended over the
remotemodule. See this "Electron’s ‘remote’ module considered harmful" blog post for more information. #18449
See the 7.0.0 release notes for a longer list of changes.
More information about these and future changes can be found on the Planned Breaking Changes page.
- Removed deprecated APIs:
- Callback-based versions of functions that now use Promises. #17907
Session.clearAuthCache()no longer allows filtering the cleared cache entries. #17970
- Native interfaces on macOS (menus, dialogs, etc.) now automatically match the dark mode setting on the user's machine. #19226
- Updated the
electronmodule to use
@electron/get. The minimum supported node version is now Node 8. #18413
- The file
electron.asarno longer exists. Any packaging scripts that depend on its existence should be updated. #18577
End of Support for 4.x.y
Electron 4.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.
We continue to use our App Feedback Program for testing. Projects who participate in this program test Electron betas on their apps; and in return, the new bugs they find are prioritized for the stable release. If you'd like to participate or learn more, check out our blog post about the program.
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 release new major versions of Electron with new versions of those components approximately quarterly. The tentative 8.0.0 schedule maps out key dates in the Electron 8 development life cycle. Also, see our versioning document for more detailed information about versioning in Electron.
For information on planned breaking changes in upcoming versions of Electron, see our Planned Breaking Changes doc.