Change8

v42.0.0-beta.7

📦 electronView on GitHub →
4 features🐛 13 fixes🔧 13 symbols

Summary

This beta release introduces new features like JS stack traces in crash reports and macOS Notification history access, alongside numerous bug fixes across networking, window management, and printing.

✨ New Features

  • Added JS stack trace to crash reports on renderer OOM.
  • Added Notification.getHistory() for macOS, allowing developers to restore all delivered notifications still present in Notification Center.
  • Added support for heap profiling via contentTracing.enableHeapProfiling().
  • Added support for importing shared textures using the nv16 pixel format.

🐛 Bug Fixes

  • Ensured cross-origin fetch() and XHR are blocked for custom protocols registered with supportFetchAPI: true unless corsEnabled: true is also set; cross-origin mode: 'no-cors' requests now receive an opaque response.
  • Fixed webContents.printToPDF rejecting on all subsequent calls after a prior call was rejected with an invalid pageRanges value.
  • Fixed a crash when providing invalid HTTP header names or values in the webRequest.onBeforeSendHeaders() callback.
  • Fixed a crash that could occur when an autofill suggestion popup was shown while a window was closing.
  • Fixed a regression on Windows where frameless windows changed their size after calling setResizable.
  • Fixed a regression where frameless fullscreen windows had white borders on Windows.
  • Fixed an issue where app-region: drag inside a hidden WebContentsView would still drag the parent window on Windows.
  • Fixed an issue where calling contentTracing APIs before app.whenReady() would crash the application.
  • Fixed an issue where some toast notification properties didn't work as expected in WinRT.
  • Fixed buggy behavior where Backspace would accept macOS text replacements inside contenteditable elements.
  • Fixed build failure when building with enable_pdf disabled.
  • Fixed frameless transparent windows on Windows losing their transparency after setResizable(false) followed by setResizable(true).
  • Fixed a regression in silent printing where custom DPI values from webContents.print were not honored, causing incorrect output scaling in real-world print flows.

Affected Symbols