v40.8.1
📦 electronView on GitHub →
🐛 11 fixes🔧 6 symbols
Summary
This patch release focuses on numerous bug fixes across various platforms, including issues with protocol validation, auto-updater behavior on macOS, instance locking on Windows, and rendering glitches on macOS and Wayland.
🐛 Bug Fixes
- Added validation to protocol client methods to reject protocol names that do not conform to the RFC 3986 URI scheme grammar.
- Fixed an issue on macOS where calling autoUpdater.quitAndInstall() could fail if checkForUpdates() was called again after an update was already downloaded.
- Fixed an issue where Chrome Devtools menus may not appear in certain embedded windows.
- Fixed an issue where additionalData passed to app.requestSingleInstanceLock on Windows could be truncated or fail to deserialize in the primary instance's second-instance event.
- Fixed an issue where screen.getCursorScreenPoint() crashed on Wayland when it was called before a BrowserWindow had been created.
- Fixed an issue where calling setBounds on a WebContentsView could trigger redundant page-favicon-updated events even when the favicon had not changed.
- Fixed an issue where invalid characters in custom protocol or webRequest response header values were not rejected.
- Fixed an issue where permission and device-chooser handlers received the top-level page origin instead of the requesting subframe's origin.
- Fixed an issue where traffic light buttons would flash at position (0,0) when restoring a window with a custom trafficLightPosition from minimization on macOS.
- Fixed bug where opening a message box immediately upon closing a child window may cause the parent window to freeze on Windows.
- Reverted AltGr key fix that caused menu bar to no longer show on Windows.