Electron Releases - v30.4.0

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

Release Notes

Features

  • Added a new property prefersReducedTransparency to nativeTheme, which indicates whether the user has chosen to reduce OS-level transparency via system accessibility settings. #43138 (Also in 31, 32)
  • Aligned failure pathway in File System Access API with upstream when attempting to open a file or directory in a blocked path. #43162 (Also in 31, 32)

Fixes

  • Fixed an issue where navigator.serial.getPorts() incorrectly returned an empty array in some cases. #43171 (Also in 31, 32)
  • Fixed an issue where system-context-menu was not triggered as expected on Windows when using a frameless BrowserWindow. #43275 (Also in 31, 32)
  • Fixed an issue where the File System Access API did not remember the user's last picked directory as expected. #43155 (Also in 31, 32)
  • Fixed behavior when entering/exiting fullscreen fails on macOS. #43151 (Also in 29, 31, 32)
  • Fixed the resource leak when using Node.js readable streams as the response body for a custom protocol handler. #43072 (Also in 31, 32)
  • Resolved an issue where desktopCapturer.getSources never fulfilled its promise in some cases. #43272 (Also in 29, 31, 32)

Other Changes

  • Fixed a potential crash when removing notifications on Windows. #43059 (Also in 31, 32)
  • Fixed ffmpeg release on x64 macOS. #43118 (Also in 29, 31, 32)
  • Security: backported fix for 352872238. #43167
  • Security: backported fix for CVE-2024-6776.
    • Security: backported fix for CVE-2024-6778.
    • Security: backported fix for CVE-2024-6777.
    • Security: backported fix for CVE-2024-6773.
    • Security: backported fix for CVE-2024-6774.
    • Security: backported fix for 343507800.
    • Security: backported fix for CVE-2024-6772.
    • Security: backported fix for CVE-2024-6775.
    • Security: backported fix for 348567825.
    • Security: backported fix for 338248595.
    • Security: backported fix for CVE-2024-6779. #43141
  • Security: backported fix for CVE-2024-6989.
    • Security: backported fix for CVE-2024-6991. #43159