Skip to content

Releases: electron/electron

electron v42.0.0-beta.4

17 Apr 05:02
b38c886

Choose a tag to compare

Pre-release

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 [email protected].

Release Notes for v42.0.0-beta.4

Features

  • Added id, groupId, and groupTitle support for Windows notifications. #50895

Fixes

  • Fixed absent 'Electron Isolated Context' in the execution context dropdown in Dev Tools. #51079 (Also in 41)
  • Fixed an issue where an Electron auto-update job would occasionally fail if a macOS system update is pending. #51111
  • Fixed an issue where closing devtools immediately after focus caused a crash. #51036 (Also in 41)
  • Fixed an issue where saving edited PDF files would fail with a cross-origin SecurityError. #51072

electron v39.8.8

16 Apr 03:55
c0435f7

Choose a tag to compare

Release Notes for v39.8.8

Fixes

  • Fixed an issue where DevTools would re-attach to the window when opened after previously being detached. #50818 (Also in 40, 41, 42)

Other Changes

  • Backported fix for chromium:74266014. #50175
  • Backported upstream v8 fixes for several maglev, inspector, and arm64 code-generation edge cases. #50993

electron v41.2.1

16 Apr 02:03
8ee008a

Choose a tag to compare

Release Notes for v41.2.1

Fixes

  • Added missing metadata fields to contentTracing traces. #51021 (Also in 42)
  • Changed the kResizeThreshold to trigger the resize on corners. #51002 (Also in 42)
  • Fixed fs.stat on files inside asar archives returning undefined for blksize and blocks instead of numeric values. #50876 (Also in 40, 42)
  • Fixed a crash when rendering PDFs when Site Isolation is disabled. #50845 (Also in 42)
  • Fixed a memory leak where Menu items were not cleaned up after Menu.setApplicationMenu was called repeatedly. #50830 (Also in 40, 42)
  • Fixed an issue where DevTools would re-attach to the window when opened after previously being detached. #50816 (Also in 39, 40, 42)
  • Fixed an issue where setSimpleFullScreen on macOS would exit when web content called requestFullscreen(). #50985 (Also in 40, 42)
  • Fixed an issue where closing devtools immediately after focus caused a crash. #51037 (Also in 42)
  • Fixed an issue where webContents.print() would ignore pageSize / mediaSize when silent was true. #50856 (Also in 42)
  • Fixed aspect ratio min/max size clamping to correctly account for extraSize on macOS. #50835 (Also in 40, 42)
  • Fixed crash when app.setPath('sessionData') was called with a non-existent directory. #50958 (Also in 42)
  • Fixed resize hit targets for frameless windows on Windows. Resize targets now start at the side and bottom edges of the window and extend outward when frame: false, matching the behavior for windows with frames. #50863 (Also in 42)
  • Fixed the crash keys being lost and the crash reporter hanging on macOS when many dynamic crash keys were registered. #50837 (Also in 40, 42)
  • Moved Electron-specific help menu links to the default app only; unpackaged apps will no longer see these items in their default menu. #50859 (Also in 40, 42)

Other Changes

  • Backported fix for none. #50880
  • Backported upstream fixes for two edge cases in the WebNN TFLite graph builder. #50983
  • Backported upstream v8 fixes for a maglev use-count accounting issue and an inspector InspectedContext lifetime issue. #50991
  • Updated Chromium to 146.0.7680.188. #50787
  • Updated Node.js to v24.14.1. #50478

electron v40.9.1

15 Apr 20:31
a8b0856

Choose a tag to compare

Release Notes for v40.9.1

Features

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

Fixes

  • Fixed fs.stat on files inside asar archives returning undefined for blksize and blocks instead of numeric values. #50875 (Also in 41, 42)
  • Fixed a memory leak where Menu items were not cleaned up after Menu.setApplicationMenu was called repeatedly. #50831 (Also in 41, 42)
  • Fixed an intermittent Invoke in DisallowJavascriptExecutionScope crash on application quit when a WebContents (or other JS-emitting native object) is garbage-collected during shutdown. #50693 (Also in 41, 42)
  • 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. #50713 (Also in 41, 42)
  • Fixed an issue where DevTools would re-attach to the window when opened after previously being detached. #50817 (Also in 39, 41, 42)
  • Fixed an issue where setSimpleFullScreen on macOS would exit when web content called requestFullscreen(). #50986 (Also in 42)
  • Fixed an issue where concurrent getFileHandle requests on the same path could stall indefinitely. #50672 (Also in 41, 42)
  • Fixed aspect ratio min/max size clamping to correctly account for extraSize on macOS. #50834 (Also in 41, 42)
  • Fixed the crash keys being lost and the crash reporter hanging on macOS when many dynamic crash keys were registered. #50838 (Also in 41, 42)
  • Moved Electron-specific help menu links to the default app only; unpackaged apps will no longer see these items in their default menu. #50860 (Also in 41, 42)

Other Changes

  • Backported fix for 489711638. #50623
  • Backported fix for 493952652. #50619
  • Backported fix for none. #50881
  • Backported upstream v8 fixes for several maglev, inspector, and arm64 code-generation edge cases. #50992

electron v40.9.0

15 Apr 15:13
ea4a478

Choose a tag to compare

Release Notes for v40.9.0

Important

Release assets are valid, but automation failed to post to npm. Please use 40.9.1 instead.

Features

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

Fixes

  • Fixed fs.stat on files inside asar archives returning undefined for blksize and blocks instead of numeric values. #50875 (Also in 41, 42)
  • Fixed a memory leak where Menu items were not cleaned up after Menu.setApplicationMenu was called repeatedly. #50831 (Also in 41, 42)
  • Fixed an intermittent Invoke in DisallowJavascriptExecutionScope crash on application quit when a WebContents (or other JS-emitting native object) is garbage-collected during shutdown. #50693 (Also in 41, 42)
  • 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. #50713 (Also in 41, 42)
  • Fixed an issue where DevTools would re-attach to the window when opened after previously being detached. #50817 (Also in 39, 41, 42)
  • Fixed an issue where setSimpleFullScreen on macOS would exit when web content called requestFullscreen(). #50986 (Also in 42)
  • Fixed an issue where concurrent getFileHandle requests on the same path could stall indefinitely. #50672 (Also in 41, 42)
  • Fixed aspect ratio min/max size clamping to correctly account for extraSize on macOS. #50834 (Also in 41, 42)
  • Fixed the crash keys being lost and the crash reporter hanging on macOS when many dynamic crash keys were registered. #50838 (Also in 41, 42)
  • Moved Electron-specific help menu links to the default app only; unpackaged apps will no longer see these items in their default menu. #50860 (Also in 41, 42)

Other Changes

  • Backported fix for 489711638. #50623
  • Backported fix for 493952652. #50619
  • Backported fix for none. #50881
  • Backported upstream v8 fixes for several maglev, inspector, and arm64 code-generation edge cases. #50992

electron v42.0.0-beta.3

13 Apr 20:48
ef66471

Choose a tag to compare

Pre-release

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 [email protected].

Release Notes for v42.0.0-beta.3

Fixes

  • Added missing metadata fields to contentTracing traces. #51007
  • Changed the kResizeThreshold to trigger the resize on corners. #51001
  • Fixed an issue where nodeIntegrationInWorker didn't always work in AudioWorklet. #51005
  • Fixed an issue where setSimpleFullScreen on macOS would exit when web content called requestFullscreen(). #50987 (Also in 40)
  • Fixed aspect ratio min/max size clamping to correctly account for extraSize on macOS. #50836 (Also in 40, 41)
  • Fixed crash when app.setPath('sessionData') was called with a non-existent directory. #50908 (Also in 41)
  • Fixed resize hit targets for frameless windows on Windows. Resize targets now start at the side and bottom edges of the window and extend outward when frame: false, matching the behavior for windows with frames. #50864 (Also in 41)
  • Fixed shutdown crash on windows when power monitor notifications were subscribed. #50893

Other Changes

  • Updated Chromium to 148.0.7778.5. #50841

electron v42.0.0-beta.2

10 Apr 20:38
b0b7a70

Choose a tag to compare

Pre-release

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 [email protected].

Release Notes for v42.0.0-beta.2

Features

  • Added globalShortcut.setSuspended() and globalShortcut.isSuspended() methods to temporarily suspend and resume global shortcut handling. #50777

Fixes

  • Fixed fs.stat on files inside asar archives returning undefined for blksize and blocks instead of numeric values. #50877 (Also in 40, 41)
  • Fixed a crash when rendering PDFs when Site Isolation is disabled. #50846 (Also in 41)
  • Fixed a memory leak where Menu items were not cleaned up after Menu.setApplicationMenu was called repeatedly. #50832 (Also in 40, 41)
  • Fixed a potential crash when using webContents.print(). #50853
  • Fixed an issue where DevTools would re-attach to the window when opened after previously being detached. #50815 (Also in 39, 40, 41)
  • Fixed an issue where the Squirrel.Mac installer could resolve the target bundle path to different locations at different stages of an install. #50765
  • Fixed an issue where webContents.print() would ignore pageSize / mediaSize when silent was true. #50855 (Also in 41)
  • Fixed the crash keys being lost and the crash reporter hanging on macOS when many dynamic crash keys were registered. #50839 (Also in 40, 41)
  • Moved Electron-specific help menu links to the default app only; unpackaged apps will no longer see these items in their default menu. #50861 (Also in 40, 41)

Other Changes

  • Updated Chromium to 148.0.7778.0. #50813

electron v42.0.0-beta.1

07 Apr 02:59
7e84164

Choose a tag to compare

Pre-release

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 [email protected].

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

electron v41.2.0

08 Apr 06:35
7394591

Choose a tag to compare

Release Notes for v41.2.0

Features

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

Fixes

  • BrowserWindow now enforces min/max size constraints on window creation, even if they conflict with the requested width and height. #50753 (Also in 42)
  • Fixed a regression on Linux where transparent frameless windows would have visible borders. Also fixed a longstanding issue where transparent windows on Linux could show smeared and glitched content as windows moved around. #50605
  • Fixed an intermittent Invoke in DisallowJavascriptExecutionScope crash on application quit when a WebContents (or other JS-emitting native object) is garbage-collected during shutdown. #50694 (Also in 40, 42)
  • 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. #50715 (Also in 40, 42)
  • Fixed an issue where concurrent getFileHandle requests on the same path could stall indefinitely. #50670 (Also in 40, 42)
  • Fixed an issue where margins did not look as expected when printing in silent mode. #50652 (Also in 42)
  • Fixed an issue where the webContents.print() callback may not fire correctly in some cases. #50604 (Also in 42)
  • Fixed the appearance of maximized windows on GNOME in Wayland, especially when non-default GTK themes like Breeze are set. #50645 (Also in 42)
  • Removed "representedObject is not a WeakPtrToElectronMenuModelAsNSObject" logging when interacting with macOS menus. #50613 (Also in 42)

Other Changes

  • Updated Chromium to 146.0.7680.179. #50616

electron v39.8.7

08 Apr 04:25
2d7e11a

Choose a tag to compare

Release Notes for v39.8.7

Other Changes

  • Backported fix for 489711638. #50624
  • Backported fix for 493952652. #50620