Change8

v40.0.0-alpha.5

📦 electronView on GitHub →
3 features🐛 9 fixes🔧 5 symbols

Summary

Electron v40.0.0-alpha.5 introduces SF Symbol support for native images and a new net.request option, alongside critical fixes for WASM performance, window modality, and path encoding crashes.

Migration Steps

  1. Install the alpha version using npm install electron@40.0.0-alpha.5 or npm install electron@alpha.

✨ New Features

  • Added bypassCustomProtocolHandlers option to net.request.
  • Added support to import external shared texture as VideoFrame.
  • Updated nativeImage.createFromNamedImage to support SF Symbol names.

🐛 Bug Fixes

  • Corrected the appearance of tiled windows on GNOME and removed resize handles from tiled edges.
  • Fixed ESM-from-CJS import issues when CJK characters are in the file path.
  • Fixed debug symbol upload errors by switching dsym.zip to tar.xz compression.
  • Fixed a crash on Windows when UTF-8 characters are present in the path.
  • Fixed OOM crash during optimization of certain WASM functions with large phi nodes.
  • Fixed issue where parent windows remained interactive after a modal window was opened.
  • Re-enabled V8 trap handlers for WASM in browser and utility processes to improve runtime execution.
  • Fixed Windows issue where calling window.setFocusable(true) caused loss of focus.
  • Fixed an issue on macOS where menu items could not be disabled in all circumstances.

🔧 Affected Symbols

net.requestVideoFramenativeImage.createFromNamedImagewindow.setFocusableV8 trap handlers