v42.0.0-beta.1
📦 electronView on GitHub →
✨ 1 features🐛 12 fixes🔧 7 symbols
Summary
This beta release introduces the `allowExtensions` privilege for custom protocols and includes numerous fixes related to window sizing, printing, crashes during shutdown, and platform-specific rendering issues. It also updates Node.js to v24.14.1.
✨ New Features
- Added `allowExtensions` privilege to `protocol.registerSchemesAsPrivileged()` to enable Chrome extensions on custom protocols.
🐛 Bug Fixes
- BrowserWindow now enforces min/max size constraints on window creation, even if they conflict with the requested width and height.
- Fixed a crash when calling `contentTracing.getTraceBufferUsage()` while a trace session is active.
- Fixed an intermittent `Invoke in DisallowJavascriptExecutionScope` crash on application quit when a `WebContents` (or other JS-emitting native object) is garbage-collected during shutdown.
- Fixed an issue on macOS where `show`/`hide` events and `WebContents` visibility state could be reported incorrectly when multiple `WebContentsView`s were attached to a window.
- Fixed an issue where concurrent `getFileHandle` requests on the same path could stall indefinitely.
- Fixed an issue where custom options in `webContents.print()` did not prefill the print dialog on macOS.
- Fixed an issue where margins did not look as expected when printing in silent mode.
- Fixed an issue where the `webContents.print()` callback may not fire correctly in some cases.
- Fixed certain DevTools extension panels not showing without a page reload.
- Fixed native notification clicks not focusing the application window on Wayland.
- Fixed the appearance of maximized windows on GNOME in Wayland, especially when non-default GTK themes like Breeze are set.
- Removed "representedObject is not a WeakPtrToElectronMenuModelAsNSObject" logging when interacting with macOS menus.