Change8

v37.3.0

📦 electronView on GitHub →
3 features🐛 6 fixes🔧 7 symbols

Summary

Electron v37.3.0 introduces window accent color controls and recent document support, alongside critical fixes for ESM imports and webContents crashes.

✨ New Features

  • Added support for app.getRecentDocuments() on Windows and macOS.
  • Added the ability to change window accent color on Windows after initialization via getAccentColor and setAccentColor.
  • Added 'assets' as a queryable key for app.getPath and switched internal asset location to DIR_ASSETS.

🐛 Bug Fixes

  • Fixed a crash when calling webContents.loadURL() from a failed loadURL() catch handler.
  • Fixed an issue where app.accessibilitySupportEnabled did not function correctly.
  • Fixed runtime errors when importing from 'electron/utility' in ESM files.
  • Fixed ERR_MODULE_NOT_FOUND errors when importing from 'electron/utility'.
  • Fixed an issue where the accent border was drawn on inactive/unfocused windows.
  • Fixed compilation errors when extensions and pdf_viewer were disabled.

🔧 Affected Symbols

app.getRecentDocumentsapp.getPathapp.accessibilitySupportEnabledwebContents.loadURLelectron/utilitygetAccentColorsetAccentColor