Change8

v41.0.0-alpha.2

📦 electronView on GitHub →
8 features🐛 22 fixes🔧 4 symbols

Summary

This alpha release introduces several new features, including command-line flags for macOS geolocation and enhanced texture import capabilities. It also resolves numerous bugs across various platforms related to crashes, notifications, and menu handling.

✨ New Features

  • Added --disable-geolocation command-line flag for macOS apps to disable location services.
  • Added NV12 support for import shared texture.
  • Added additional defence against privileged user modifications to ASAR Integrity protected applications on macOS.
  • Added bypassCustomProtocolHandlers option to net.request.
  • Added support for WebSocket authentication through the `login` event on `webContents`.
  • Added support to import external shared texture as VideoFrame.
  • DevTools errors are no longer printed to console.
  • Updated `nativeImage.createFromNamedImage` to support SF Symbol names.

🐛 Bug Fixes

  • Corrected the appearance of tiled windows on GNOME (when frame: true), and removed resize handles from tiled edges.
  • Fix: ESM-from-CJS import when CJK characters are in path.
  • Fixed ID of tray icons on Linux.
  • Fixed `setRepresentedFilename()` not setting `AXDocument` accessibility attribute on macOS.
  • Fixed a Windows notification issue where clicking a native notification would result in an application hang on certain Windows environments.
  • Fixed a potential race condition crash when opening DevTools.
  • Fixed an application crash when clicking or hovering over the native MacOS "Window" menu. Reverts #48598.
  • Fixed an error on debug symbol upload by moving dsym.zip to use tar.xz compression.
  • Fixed an issue on Windows and Linux where no cookie encryption key provider was passed into the network service when cookie encryption was enabled.
  • Fixed an issue where `menu-did-close` was not emitted properly for some application menus.
  • Fixed an issue where no cookie encryption provider was passed into the network service when cookie encryption was enabled.
  • Fixed an issue where some apps would throw an exception on launch.
  • Fixed an issue where the close callback param for `menu.popup` would fire when any arbitrary submenu of the given menu closed, and not the menu itself.
  • Fixed crash on windows when UTF-8 is in path.
  • Fixed crash when attempting to resolve modules during process exit.
  • Fixed crash when creating event object for ipc events.
  • Fixed crash when reading system certificates via nodejs tls module.
  • Fixed drag regions in child windows.
  • Fixed draw smoothing round corner issue.
  • Fixed oom crash when optimizing certain wasm functions involving large phi nodes.
  • Fixed the cookie encryption logic to use the old os_crypt sync implementation present in M142.
  • Fixed the issue where the parent window leave disabled after the modal window call show() multiple time.

Affected Symbols