Change8

v38.7.0

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

Summary

Electron v38.7.0 introduces hardware acceleration checks and accent color resetting, while resolving several critical crashes related to Wayland, WASM optimization, and file paths containing CJK or UTF-8 characters.

✨ New Features

  • Added app.isHardwareAccelerationEnabled() to check hardware acceleration status.
  • Added bypassCustomProtocolHandlers option to net.request.
  • Automatically focus DevTools when an element is inspected or a breakpoint is triggered.
  • Enables resetting accent color to follow system settings via window.setAccentColor(null).

🐛 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 a crash on Wayland when calling webContents.openDevTools({ mode: 'detach' }).
  • Fixed a crash on Windows when UTF-8 characters are in the file path.
  • Fixed an OOM crash when optimizing certain WASM functions involving large phi nodes.
  • Fixed an issue where parent windows remained interactive after a modal window was opened.
  • Restored the window's canHide property.
  • Fixed an issue on macOS where menu items could not be disabled under all circumstances.

🔧 Affected Symbols

app.isHardwareAccelerationEnablednet.requestwindow.setAccentColorwebContents.openDevToolswindow.canHide