Change8

v44.0.0-beta.1

Breaking Changes
📦 electronView on GitHub →
2 breaking1 features🐛 5 fixes🔧 6 symbols

Summary

This beta release introduces the ability to print individual frames to PDF from the main process and includes several bug fixes for crashes, accent color issues, and login item settings. It also improves error reporting for asar integrity checks.

⚠️ Breaking Changes

  • The `openAsHidden` option has been removed from `app.setLoginItemSettings()`. Developers should no longer attempt to use this option.
  • The `openAsHidden`, `wasOpenedAsHidden`, and `restoreState` fields have been removed from the return value of `app.getLoginItemSettings()`. Applications relying on these fields will need to be updated.

Migration Steps

  1. Remove usage of the `openAsHidden` option from `app.setLoginItemSettings()`.
  2. Update applications to no longer expect `openAsHidden`, `wasOpenedAsHidden`, or `restoreState` fields from the return value of `app.getLoginItemSettings()`.

✨ New Features

  • Added `webFrameMain.printToPDF()` to allow printing individual frames to PDF from the main process.

🐛 Bug Fixes

  • Fixed an issue where `getDisplayMedia({ audio: { restrictOwnAudio: true } })` was ignored in `setDisplayMediaRequestHandler`, causing loopback audio to include local app playback.
  • Fixed a browser process crash that could occur during Windows logoff, shutdown, or restart.
  • Fixed the Linux system accent color intermittently not being applied (`systemPreferences.getAccentColor()` returning an empty string on some launches).
  • Improved the error message when an asar integrity check fails to name the entry that failed.
  • Fixed potential deadlock inside `app.getLoginItemSettings()` on macOS.

Affected Symbols