Electron 22.0.0
Electron 22.0.0 wurde veröffentlicht! Es enthält eine neue Utility-Prozess-API, Updates für Windows 7/8/8.1 Support und Upgrades auf Chromium 108, V8 10.8 und Node.js 16.17.1. Lesen Sie unten für weitere Details!
Das Electron-Team freut sich die Veröffentlichung von Electron 22.0.0 bekannt zu geben! You can install it with npm via npm install electron@latest or download it from our releases website. Lesen Sie weiter für Details zu dieser Version.
Wenn du ein Feedback hast, teile es bitte mit uns auf Twitter, oder trete unserer Community Discord bei! Bugs und Feature-Requests können in Electrons Issue-Tracker gemeldet werden.
Windows 7/8/8.1 Support Update
2023/02/16: Ein Update auf Windows Server 2012 Unterstützung
Last month, Google announced that Chrome 109 would continue to receive critical security fixes for Windows Server 2012 and Windows Server 2012 R2 until October 10, 2023. In accordance, Electron 22's (Chromium 108) planned end of life date will be extended from May 30, 2023 to October 10, 2023. The Electron team will continue to backport any security fixes that are part of this program to Electron 22 until October 10, 2023.
Beachten Sie, dass wir keine zusätzlichen Sicherheitskorrekturen für Windows 7/8/8.1 vornehmen werden. Außerdem wird Electron 23 (Chromium 110) nur unter Windows 10 und höher funktionieren, wie zuvor schon angekündigt.
Electron 22 wird die letzte Electron-Hauptversion sein, die Windows 7/8/8.1 unterstützt. Electron follows the planned Chromium deprecation policy, which will deprecate Windows 7/8/8.1 support in Chromium 109 (read more here).
Windows 7/8/8.1 will not be supported in Electron 23 and later major releases.
Bemerkenswerte Änderungen
UtilityProcess API #36089
Das neue UtilityProcess Hauptprozessmodul ermöglicht die Erstellung eines leichten Chrom-Kindprozesses mit nur Node.js Integration, während auch die Kommunikation mit einem Sandbox-Renderer mit MessageChannel erlaubt. The API was designed based on Node.js child_process.fork to allow for easier transition, with one primary difference being that the entry point modulePath must be from within the packaged application to allow only for trusted scripts to be loaded. Additionally the module prevents establishing communication channels with renderers by default, upholding the contract in which the main process is the only trusted process in the application.
Lesen Sie mehr über die neue UtilityProcess API in unserer Dokumentation hier.
Weitere hervorgehobene Änderungen
- Unterstützung für Web-Bluetooth-Pairing unter Linux und Windows. #35416
- Added
LoadBrowserProcessSpecificV8Snapshotas a new fuse that will let the main/browser process load its v8 snapshot from a file atbrowser_v8_context_snapshot.bin. Jeder andere Prozess verwendet den gleichen Pfad, den er heute verwendet. #35266 WebContents.openerwurde hinzugefügt, um auf den Fensteröffner undwebContents.fromFrame(frame)zuzugreifen, um den WebInhalt einer WebFrameMain-Instanz zu erhalten. #35140- Unterstützung für
navigator.mediaDevices.getDisplayMediaüber einen neuen Session-Handlerses.setDisplayMediaRequestHandlerhinzugefügt. #30702







