Electron Releases - v16.2.0

npm install electron@v16.2.0
yarn add electron@v16.2.0

Release Notes

Features

  • Added nativeTheme.inForcedColorsMode API to allow detecting forced color mode. #33359 (Also in 15, 17, 18)

Fixes

  • Fixed maximizing frameless windows by double-clicking on a draggable (title bar) region. #33444 (Also in 15, 17, 18)
  • Fixed slowness when using child_process.spawn and related methods on macOS Big Sur and newer. #33405 (Also in 17, 18)

Other Changes

  • Backported fix for CVE-2022-0976. #33389
  • Backported fix for CVE-2022-1096. #33472
  • Backported fix for chromium:1296876. #33392
  • Fixed an issue where moving a window created in a scaled display to a regular display would increase the window size. #33381
  • Security: backported fix for CVE-2022-0806. #33240
  • Security: backported fix for CVE-2022-0975. #33341
  • Security: backported fix for CVE-2022-0978. #33340