Electron 21.0.0 has been released! It includes upgrades to Chromium
10.6, and Node.js
16.16.0. Read below for more details!
The Electron team is excited to announce the release of Electron 21.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.
- Added new
- Added support for panel-like behavior. Window can float over full-screened apps. #34388
- Added support for push notifications from APNs for macOS apps. #33574
Breaking & API Changes
Below are breaking changes introduced in Electron 21.
V8 Memory Cage Enabled
Electron 21 enables V8 sandboxed pointers, following Chrome's decision to do the same in Chrome 103. This has some implications for native modules. This feature has performance and security benefits, but also places some new restrictions on native modules, e.g. use of ArrayBuffers that point to external ("off-heap") memory. Please see this blog post for more information. #34724
webContents.printToPDF to align with Chromium's headless implementation. See #33654 for more information.
More information about these and future changes can be found on the Planned Breaking Changes page.
End of Support for 18.x.y
Electron 18.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.
|E18 (Mar'22)||E19 (May'22)||E20 (Aug'22)||E21 (Sep'22)||E22 (Dec'22)|
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.
You can find Electron's public timeline here.
More information about future changes can be found on the Planned Breaking Changes page.