Electron 11.0.0
Electron 11.0.0 has been released! It includes upgrades to Chromium 87
, V8 8.7
, and Node.js 12.18.3
. We've added support for Apple silicon, and general improvements. Read below for more details!
The Electron team is excited to announce the release of Electron 11.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 support for Apple's M1 hardware.
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!
Notable Changes
Stack Changes
- Chromium
87.0.4280.47
- Node.js
12.18.3
- V8
8.7
Highlight Features
- Support for Apple M1: On November 10, Apple announced their new M1 chips, which will be included in their upcoming hardware. Beginning in Electron 11, Electron will be shipping separate versions of Electron for Intel Macs (x64) and Apple's upcoming M1 hardware (arm64). You can learn more about how to get your Electron app running on Apple's M1 hardware here. #24545
- Added V8 crash message and location information to crashReport parameters. #24771
- Improved the performance of sending wide objects over the context bridge. #24671
See the 11.0.0 release notes for a full list of new features and changes.
Breaking Changes
- Removed experimental APIs:
BrowserView.{fromId, fromWebContents, getAllViews}
and theid
property ofBrowserView
. #23578
More information about these and future changes can be found on the Planned Breaking Changes page.
Alterações de API
- Added
app.getApplicationInfoForProtocol()
API that returns detailed information about the app that handles a certain protocol. #24112 - Added
app.createThumbnailFromPath()
API that returns a preview image of a file given its file path and a maximum thumbnail size. #24802 - Added
webContents.forcefullyCrashRenderer()
to forcefully terminate a renderer process to assist with recovering a hung renderer. #25756
End of Support for 8.x.y
Electron 8.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.
What's Next
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 quarterly. The tentative 12.0.0 schedule maps out key dates in the Electron 12.0 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.
Continued Work for Deprecation of remote
Module
We started work to remove the remote
module in Electron 9. We plan to remove the remote
module itself in Electron 14.
Read and follow this issue for full plans and details for deprecation.
Final Step for Requiring Native Node Modules to be Context Aware or N-API (in Electron 12)
From Electron 6 onwards, we've been laying the groundwork to require native Node modules loaded in the renderer process to be either N-API or Context Aware. Enforcing this change allows for stronger security, faster performance, and reduced maintenance workload. The final step of this plan is to remove the ability to disable render process reuse in Electron 12.
Read and follow this issue for full details, including the proposed timeline.