npm electron 45.1.0
electron v45.1.0

2 hours ago

Release Notes for v45.1.0

Features

  • Added filtering options to session.registerPreloadScript - matches, excludeMatches, includeGlobs, excludeGlobs, matchOriginAsFallback. #55181 (Also in 44)

Fixes

  • Fixed a crash on Linux when a D-Bus method call was made on a disconnected bus. #55292 (Also in 44, 46)
  • Fixed a main process crash when onSendHeaders observed Blob uploads. #55169 (Also in 44)
  • Fixed extension chrome.webRequest events reporting a tabId of -1 and chrome.declarativeNetRequest rules restricted to tabs never matching. #55283 (Also in 46)
    • Fixed session.clearStorageData() unregistering the service workers of loaded extensions.
    • Fixed chrome.management methods and events being unavailable to extensions with the management permission.
    • Fixed __MSG_*__ placeholders not being localized in extension stylesheets.
    • Fixed extension service workers being stopped after 30 seconds while a WebSocket was active.
    • Fixed sandboxed extension pages being hosted in a process with extension API privileges.
    • Fixed extension service workers running an outdated script after an app restart when the extension's files changed without a version change.
    • Fixed chrome.alarms and content scripts registered with persistAcrossSessions not persisting across app restarts.
  • Fixed File System Access blocklist gaps for .git/hooks writes and hypervisor UNC shares. #55329
  • Fixed handling of malformed asar archives whose size fields do not match the file length. #55175 (Also in 43, 44)
  • Fixed inconsistent handling of asar archive paths between the main process and child processes. #55184 (Also in 43, 44)
  • Fixed Menu.popup() on macOS sometimes not showing a menu after another closed. #55326 (Also in 44, 46)
  • Fixed MV3 extension events not arriving to background service workers. #55154 (Also in 43, 44)
  • Fixed protocol.registerSource schemes not applying the same fetch rules as protocol.handle schemes. #55178 (Also in 44)
  • Fixed requests stalling when an extension used a blocking chrome.webRequest listener. #55271 (Also in 46)
  • Fixed utilityProcess not emitting an exit event when the app quit while the process was still launching. #55274 (Also in 43, 44, 46)

Other Changes

  • Updated Chromium to 156.0.8078.49. #55252
  • Updated Node.js to v24.22.1. #55163

Don't miss a new electron release

NewReleases is sending notifications on new releases.