Electron 9.0.0 has been released! It includes upgrades to Chromium 83, V8 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!
83.0.4103.64
12.14.1
8.3
See the 9.0.0 release notes for a full list of new features and changes.
remote without enableRemoteModule: true. #21546
remote module 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.enableRendererProcessReuse to true by default. #22336
More information about these and future changes can be found on the Planned Breaking Changes page.
shell API changes:
shell.openItem API has been replaced with an asynchronous shell.openPath API. proposalsessionAPI changes:
session.listWordsFromSpellCheckerDictionary API to list custom words in the dictionary. #22128session.removeWordFromSpellCheckerDictionary API to remove custom words in the dictionary. #22368session.serviceWorkerContext API to access basic service worker info and receive console logs from service workers. #22313app API changes:
app.focus() on macOS to allow apps to forcefully take focus. #23447BrowserWindow API changes:
BrowserWindow. #23208The following APIs are now deprecated or removed:
shell.openItem API is now depreciated, and replaced with an asynchronous shell.openPath API.<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.
contextIsolation from false to true (Starting in Electron 10)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.
Bu yayına geri bildiriminiz mi var? Twitter'da @electronjs adresini bilgilendirin.
Yardıma mı ihtiyacınız var ya da bir hata mı buldunuz? Bize ulaşın .
| Key | Action | |
|---|---|---|
| / | 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 |