v44.0.0-beta.5Pre-releaseDesktop
electron v44.0.0-beta.5
Changed 2
- <webview> and window.open now inherit nodeIntegrationInWorker from the embedder
- Reduced idle main-process CPU wakeups caused by Node.js timers and immediates
Fixed 14
- registerFileProtocol and registerHttpProtocol now return opaque responses to cross-origin no-cors fetches instead of readable responses
- Fixed WebContentsView staying blank after its window is shown when setBackgroundThrottling(false) was called while the window was hidden
- Fixed crash when resolving a path inside a malformed ASAR archive that contains cyclic link entries
- Fixed crash with app.setLoginItemSettings if a non-UTF8 service name is used
- Fixed memory leak when creating BrowserWindows
- Fixed possible crash during process exit when the process had loaded tls/https shortly before exiting
- Fixed rare crash in the main process when DevTools were opened and garbage collection ran before the DevTools frontend finished loading
- Fixed regression preventing transparent frameless windows from being resized on Linux
- Fixed npm install failure when the OS blocked the native zip extractor from loading
- Fixed app process failing to exit after app.quit() on Windows while a shell.openExternal() or shell.openPath() call was waiting on a system Open with dialog
- Fixed custom V8 snapshots having no effect in the main process on macOS arm64, Linux x64 and Windows x64
- Fixed downloading files that live inside an asar archive, including saving a packed PDF from the built-in PDF viewer
- Fixed built-in PDF viewer not rendering documents in in-memory sessions
- Fixed windows opened by a sandboxed top-level frame not inheriting the opener's sandbox restrictions
From Electron
Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm install electron@44.0.0-beta.5.
Release Notes for v44.0.0-beta.5
Fixes
- Fixed
registerFileProtocolandregisterHttpProtocolreturning readable responses to cross-originno-corsfetches; they now return opaque responses likeprotocol.handle. #52852 (Also in 41, 42, 43) - Fixed a
WebContentsViewstaying blank after its window is shown whensetBackgroundThrottling(false)was called while the window was hidden. #52863 (Also in 42, 43) - Fixed a crash when resolving a path inside a malformed ASAR archive that contains cyclic link entries. #52858 (Also in 42, 43)
- Fixed a crash with
app.setLoginItemSettingsif a non-UTF8 service name is used. #52801 - Fixed a memory leak when creating BrowserWindows. #52894 (Also in 42, 43)
- Fixed a possible crash (SIGABRT) during process exit when the process had loaded
tls/httpsshortly before exiting, affectingapp.exit()beforereadyand short-livedELECTRON_RUN_AS_NODE/child_process.fork()scripts. #52871 (Also in 43) - Fixed a rare crash in the main process when DevTools were opened and a garbage collection ran before the DevTools frontend finished loading. #52904 (Also in 43)
- Fixed a regression preventing from transparent frameless windows from being resized on Linux. #52891
- Fixed an
npm installfailure with no recovery path when the OS blocked the native zip extractor from loading (for example, Windows Smart App Control). #52846 (Also in 43) - Fixed an issue on Windows where the app process could fail to exit after
app.quit()while ashell.openExternal()orshell.openPath()call was still waiting on a system "Open with" dialog. #52898 (Also in 41, 43) - Fixed custom V8 snapshots (
electron-mksnapshot, and theloadBrowserProcessSpecificV8Snapshotfuse) having no effect in the main process on macOS arm64, Linux x64 and Windows x64. #52878 (Also in 42, 43) - Fixed downloading files that live inside an asar archive, including saving a packed PDF from the built-in PDF viewer. #52827 (Also in 42, 43)
- Fixed the built-in PDF viewer not rendering documents in in-memory sessions (partitions without the
persist:prefix). #52834 (Also in 43) - Fixed windows opened by a sandboxed top-level frame not inheriting the opener's sandbox restrictions. #52851 (Also in 41, 42, 43)
<webview>andwindow.opennow inheritnodeIntegrationInWorkerfrom the embedder, consistent with the other Node and sandbox preferences. #52832 (Also in 41, 42, 43)