Electron 11.0.0 and 11.0.1 released, adding new experimental Apple chips

Electron 11.0.0 and 11.0.1 are now released. The  main updates of v11.0.0 are as follows:

Major changes

  • Removed API experimental: BrowserView.{destroy, fromId, fromWebContents, getAllViews}and BrowserViewof idproperty.

Features

Additions

  • Added a new experimental Apple chip (darwin arm64).
  • Added new app.runningUnderRosettaTranslation property to detect when running under Rosetta on Apple chips.
  • Added V8 crash message and location information to crash report parameters.
  • Added a small console prompt to the console to help debug renderer crashes.
  • New system-context-menuevents have been added to prevent and overwrite the system context menu.
  • Added webContents.forcefullyCrashRenderer()to forcibly terminate the renderer process to help resume the suspended renderer.
  • An app.getApplicationInfoForProtocol()API has been added that returns detailed information about applications that handle a specific protocol.
  • Add nameto app.getAppMetrics()output.
  • To appadd the utility-process-goneevent.
  • ......

Improvements

  • Improved the performance of sending JS primitives via context bridge.
  • Improved the performance of sending wide objects through the context bridge.
  • Improved the --interactivedefault REPL experience when running Electron with flags.
  • Improved takeHeapSnapshot()performance.
  • The app.getLoginItemSettings() and app.setLoginItemSettings() APIs have been modified to take into account the startup approval key when determining whether the application can be launched at login.
  • Display the sessionId associated with the target from the debugger module.
  • Implemented on Windows systemPreferences.getMediaAccessStatus().
  • V8CacheOptions is a new webpreference option used to enforce code caching strategies.
  • After enabling the disabled-by-default-v8.cpu_profiler tracking category, cpu samples will now be collected from the main process and the renderer.

Removed/Deprecated

  • Removed API experimental: BrowserView.{destroy, fromId, fromWebContents, getAllViews}and BrowserViewof idproperty.

Fixes

  • Fixed the problem that pageRanges cannot be used correctly when printing.
  • Fixed an issue where a corrupted async_hooks stack would crash the renderer when some errors occurred in the renderer process.
  • Fixed an issue where the draggable area stopped working when devtools was opened on macOS.
  • Fixed the problem that window.open does not accept size values ​​ending with "px".
  • Fixed the BrowserWindowproblem that the draggable area on BrowserViews could not be updated correctly when the contained content was resized.
  • Fixed an issue where the hover text on macOS Catalina would not work when VoiceOver was not enabled.
  • ......

End of support for 8.xy

According to the project's support policy,  Electron 8.xy has reached the end of support. Encourage developers and applications to upgrade to a higher version of Electron.

Update instructions: https://github.com/electron/electron/releases/tag/v11.0.0

The main updates of v11.0.1 are as follows:

Fixes

  • Fixed Uncaught TypeError when opening DevTools.
  • Removed the use of private APIs that prevented Mac App Store releases.

Update instructions: https://github.com/electron/electron/releases/tag/v11.0.1

Guess you like

Origin www.oschina.net/news/120981/electron-11-0-0-released