electron v45.0.0-alpha.5
- 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
- pointerLock and keyboardLock permission requests now report the requesting frame, and execCommand('paste') requires user activation in the frame that calls it
- Electron's internal JavaScript bundles are no longer listed in require('module').builtinModules or loadable through process.getBuiltinModule()
- Improved throughput of responses that protocol.handle handlers return straight from net.fetch
- 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
- Tray icons not appearing when running inside Flatpak or Snap sandboxes on Linux
- app.getGPUInfo('complete') stalling the GPU process for several seconds on some Windows systems
- session.setPermissionCheckHandler receiving the top-level origin and a null webContents for hid and usb checks made from a subframe
- webContents.on(), removeListener() and removeAllListeners() throwing 'Object has been destroyed' for console-message listeners after the WebContents was destroyed
- Crash on Linux when process.env was written while another thread was reading the environment, and a memory leak when a worker thread exits
- Possible crash on Windows when a file dialog was shown for a window that was being closed at the same time
- 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
- Spurious node_init error being logged when creating a ShadowRealm with Node.js integration enabled
- Crashes in setDisplayMediaRequestHandler when the granted frame had been destroyed or another tab was granted by id
- Non-functional DevTools integrations: the Security panel's 'View certificate' button, Ctrl+wheel zooming inside DevTools, and DevTools keyboard shortcuts while the inspected page has focus
- Window state not being persisted when a window entered or left fullscreen, or was maximized or unmaximized, without also being moved or resized
- App becoming unresponsive when a page has a very large number of app-region draggable elements
From Electron
Note: This is an alpha release. Please file new issues for any bugs you find in it.
This release is published to npm under the alpha tag and can be installed via npm install electron@alpha, or npm install electron@45.0.0-alpha.5.
Release Notes for v45.0.0-alpha.5
Fixes
- File System Access permission requests and the
file-system-access-restrictedevent 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
Trayicons 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.setPermissionCheckHandlerreceiving the top-level origin and a nullwebContentsforhidandusbchecks made from a subframe. #53679 (Also in 43, 44) - Fixed
webContents.on(),removeListener()andremoveAllListeners()throwing "Object has been destroyed" forconsole-messagelisteners after the WebContents was destroyed. #53495 (Also in 42, 43, 44) - Fixed a crash on Linux when
process.envwas 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 whosecontextIsolationdiffered from its opener's. #53538 (Also in 42, 43, 44) - Fixed a spurious
node_initerror being logged when creating aShadowRealmwith Node.js integration enabled. #53578 (Also in 44) - Fixed crashes in
setDisplayMediaRequestHandlerwhen 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)
openExternalpermission 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)pointerLockandkeyboardLockpermission requests now report the requesting frame, andexecCommand('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').builtinModulesor loadable throughprocess.getBuiltinModule(). #53624 - Fixed the app becoming unresponsive when a page has a very large number of
app-regiondraggable elements. #53596 (Also in 43, 44) - Improved throughput of responses that
protocol.handlehandlers return straight fromnet.fetch. #53379 (Also in 44)