npm electron 42.0.0-beta.1
electron v42.0.0-beta.1

14 hours ago

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@42.0.0-beta.1.

Release Notes for v42.0.0-beta.1

Features

  • Added allowExtensions privilege to protocol.registerSchemesAsPrivileged() to enable Chrome extensions on custom protocols. #50530 (Also in 40, 41)

Fixes

  • BrowserWindow now enforces min/max size constraints on window creation, even if they conflict with the requested width and height. #50754 (Also in 41)
  • Fixed a crash when calling contentTracing.getTraceBufferUsage() while a trace session is active. #50592 (Also in 39, 40, 41)
  • Fixed an intermittent Invoke in DisallowJavascriptExecutionScope crash on application quit when a WebContents (or other JS-emitting native object) is garbage-collected during shutdown. #50695 (Also in 40, 41)
  • Fixed an issue on macOS where show/hide events and WebContents visibility state could be reported incorrectly when multiple WebContentsViews were attached to a window. #50712 (Also in 40, 41)
  • Fixed an issue where concurrent getFileHandle requests on the same path could stall indefinitely. #50671 (Also in 40, 41)
  • Fixed an issue where custom options in webContents.print() did not prefill the print dialog on macOS. #50643
  • Fixed an issue where margins did not look as expected when printing in silent mode. #50653 (Also in 41)
  • Fixed an issue where the webContents.print() callback may not fire correctly in some cases. #50603 (Also in 41)
  • Fixed certain DevTools extension panels not showing without a page reload. #50640
  • Fixed native notification clicks not focusing the application window on Wayland. #50669
  • Fixed the appearance of maximized windows on GNOME in Wayland, especially when non-default GTK themes like Breeze are set. #50644 (Also in 41)
  • Removed "representedObject is not a WeakPtrToElectronMenuModelAsNSObject" logging when interacting with macOS menus. #50614 (Also in 41)

Other Changes

  • Enabled profile-guided optimization for V8 builtins in release builds, improving JavaScript builtin performance (Array, String, RegExp, etc.). #50573 (Also in 40, 41)
  • Updated Node.js to v24.14.1. #50479

Don't miss a new electron release

NewReleases is sending notifications on new releases.