Electron Releases - v10.4.0

npm install electron@v10.4.0
yarn add electron@v10.4.0

Release Notes

Features

  • Added win.setTopBrowserView() so that BrowserViews can be raised. #27711 (Also in 11, 12)

Fixes

  • Fixed OS-level shortcuts on macOS (e.g. Ctrl + F2, ⌘ + ~). #27812 (Also in 11, 12)
  • Fixed an Uncaught TypeError when opening DevTools. #27691 (Also in 11)
  • Fixed an erroneous enableBlinkFeatures warning shown webviews which enabled no Blink features. #27788 (Also in 11, 12)
  • Fixed an issue where deleted download directories would be sometimes recreated by the operating system. #27807 (Also in 11, 12)
  • Fixed an occasional white flicker present when rendering BrowserViews in close succession. #27660 (Also in 11, 12)
  • Fixed crash when destroying WebContents in the crashed event. #27758 (Also in 11, 12)
  • Fixed memory leak when sending non-primitives over the context bridge. #27637 (Also in 11, 12)

Other Changes

  • Fixed slow child process spawning on macOS Big Sur. #27655 (Also in 11, 12)
  • Reverted posix_spawn change in libuv that affected child process spawning on macOS Big Sur. #27811 (Also in 11, 12)
  • Security: backported fix for 1154965. #27611
  • Security: backported fix for 1155974. #27795
  • Security: backported fix for 1166504. #27794
  • Security: backported fix for 1170657. #27796
  • Security: backported fix for 1171954. #27793
  • Security: backported fix for 1172192. #27791
  • Security: backported fix for 1177341. #27749
  • Security: backported fix for chromium:1162942. #27613
  • Security: backported fix for https://crbug.com/1161705. #27608

Documentation

  • Documentation changes: #27816