Change8

v44.0.0-beta.5

📦 electronView on GitHub →
🐛 14 fixes🔧 22 symbols

Summary

This beta release addresses numerous bugs, including issues with protocol handling, window display, ASAR archives, crashes during process exit, and memory leaks. It also improves the behavior of custom V8 snapshots and the built-in PDF viewer.

🐛 Bug Fixes

  • Fixed `registerFileProtocol` and `registerHttpProtocol` returning readable responses to cross-origin `no-cors` fetches; they now return opaque responses like `protocol.handle`.
  • Fixed a `WebContentsView` staying blank after its window is shown when `setBackgroundThrottling(false)` was called while the window was hidden.
  • Fixed a crash when resolving a path inside a malformed ASAR archive that contains cyclic link entries.
  • Fixed a crash with `app.setLoginItemSettings` if a non-UTF8 service name is used.
  • Fixed a memory leak when creating BrowserWindows.
  • Fixed a possible crash (SIGABRT) during process exit when the process had loaded `tls`/`https` shortly before exiting, affecting `app.exit()` before `ready` and short-lived `ELECTRON_RUN_AS_NODE` / `child_process.fork()` scripts.
  • Fixed a rare crash in the main process when DevTools were opened and a garbage collection ran before the DevTools frontend finished loading.
  • Fixed a regression preventing transparent frameless windows from being resized on Linux.
  • Fixed an `npm install` failure with no recovery path when the OS blocked the native zip extractor from loading (for example, Windows Smart App Control).
  • Fixed an issue on Windows where the app process could fail to exit after `app.quit()` while a `shell.openExternal()` or `shell.openPath()` call was still waiting on a system "Open with" dialog.
  • Fixed custom V8 snapshots (`electron-mksnapshot`, and the `loadBrowserProcessSpecificV8Snapshot` fuse) 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 the built-in PDF viewer not rendering documents in in-memory sessions (partitions without the `persist:` prefix).
  • Fixed windows opened by a sandboxed top-level frame not inheriting the opener's sandbox restrictions.

Affected Symbols