Electron 9.0.0 has been released! It includes upgrades to Chromium
8.3, and Node.js
12.14. We've added several new API integrations for our spellchecker feature, enabled PDF viewer, and much more!
The Electron team is excited to announce the release of Electron 9.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!
See the 9.0.0 release notes for a full list of new features and changes.
enableRemoteModle: true. #21546
remotemodule and moving it to userland. You can read and follow this issue that details our reasons for this and includes a proposed timeline for deprecation.
app.enableRendererProcessReuseto true by default. #22336
More information about these and future changes can be found on the Planned Breaking Changes page.
shell.openItemAPI has been replaced with an asynchronous
shell.openPath API. proposal
session.listWordsFromSpellCheckerDictionaryAPI to list custom words in the dictionary. #22128
session.removeWordFromSpellCheckerDictionaryAPI to remove custom words in the dictionary. #22368
session.serviceWorkerContextAPI to access basic service worker info and receive console logs from service workers. #22313
app.focus()on macOS to allow apps to forcefully take focus. #23447
The following APIs are now deprecated or removed:
shell.openItemAPI is now depreciated, and replaced with an asynchronous
<webview>.getWebContents, which was deprecated in Electron 8.0, is now removed.
webFrame.setLayoutZoomLevelLimits, which was deprecated in Electron 8.0, is now removed.
Electron 6.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.
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 10.0.0 schedule maps out key dates in the Electron 10.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.
Without contextIsolation, any code running in a renderer process can quite easily reach into Electron internals or an app's preload script. That code can then perform privileged actions that Electron wants to keep restricted.
Changing this default improves the default security of Electron apps, so that apps will need to deliberately opt in to the insecure behaviour. Electron will depreciate the current default of
contextIsolation in Electron 10.0, and change to the new default (
true) in Electron 12.0.
For more information on
contextIsolation, how to enable it easily and it's security benefits please see our dedicated Context Isolation Document.
|/||Focus the search bar|
|Esc||Focus the search bar and cleans it|
|↓||Select the next search result|
|↑||Select the previous search result|
|Enter||Open the selected search result|
|cmdEnter||Ctrl+Enter||Open the selected search result in a new tab|