Electron v45.0.0-alpha.5

Latest Pre Release
npm
npm install --save-dev electron@45.0.0-alpha.5
yarn
yarn add --dev electron@45.0.0-alpha.5
Google ChromeChromium
155.0.8038.2
Node.jsNode.js
24.20.0
V8V8
15.4.80

Release Notes

Fixes

  • File System Access permission requests and the file-system-access-restricted event are scoped to the requesting document, grants are reset when the origin's last page closes, and write access works in in-memory sessions. #53690 (Also in 43)

  • Fixed Tray icons not appearing when running inside Flatpak or Snap sandboxes on Linux. #53654 (Also in 44)

  • Fixed app.getGPUInfo('complete') stalling the GPU process for several seconds on some Windows systems. #53645 (Also in 44)

  • Fixed session.setPermissionCheckHandler receiving the top-level origin and a null webContents for hid and usb checks made from a subframe. #53679 (Also in 43, 44)

  • Fixed webContents.on(), removeListener() and removeAllListeners() throwing "Object has been destroyed" for console-message listeners after the WebContents was destroyed. #53495 (Also in 42, 43, 44)

  • Fixed a crash on Linux when process.env was written while another thread was reading the environment, and a memory leak when a worker thread exits. #53508 (Also in 42, 43, 44)

  • Fixed a possible crash on Windows when a file dialog was shown for a window that was being closed at the same time. #53586 (Also in 42, 43, 44)

  • Fixed a renderer crash when the main process sent IPC to, or a page navigated, a same-process window.open() child whose contextIsolation differed from its opener's. #53538 (Also in 42, 43, 44)

  • Fixed a spurious node_init error being logged when creating a ShadowRealm with Node.js integration enabled. #53578 (Also in 44)

  • Fixed crashes in setDisplayMediaRequestHandler when the granted frame had been destroyed or another tab was granted by id. #53673 (Also in 42, 43, 44)

  • Fixed several non-functional DevTools integrations: the Security panel's "View certificate" button, Ctrl+wheel zooming inside DevTools, and DevTools keyboard shortcuts (e.g. F8) while the inspected page has focus. #53471 (Also in 43, 44)

  • Fixed window state not being persisted when a window entered or left fullscreen, or was maximized or unmaximized, without also being moved or resized. #53577 (Also in 44)

  • openExternal permission requests started by a frame that has since gone away are attributed to that frame's origin rather than to the navigating page. #53696 (Also in 42, 43)

  • pointerLock and keyboardLock permission requests now report the requesting frame, and execCommand('paste') requires user activation in the frame that calls it. #53692 (Also in 44)

Other Changes

  • Electron's internal JavaScript bundles are no longer listed in require('module').builtinModules or loadable through process.getBuiltinModule(). #53624

  • Fixed the app becoming unresponsive when a page has a very large number of app-region draggable elements. #53596 (Also in 43, 44)

  • Improved throughput of responses that protocol.handle handlers return straight from net.fetch. #53379 (Also in 44)