Releases: electron/electron
electron v42.0.0-beta.4
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
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
Release Notes for v41.2.1
Fixes
- Added missing
metadatafields tocontentTracingtraces. #51021 (Also in 42) - Changed the
kResizeThresholdto trigger the resize on corners. #51002 (Also in 42) - Fixed
fs.staton files inside asar archives returningundefinedforblksizeandblocksinstead 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
setSimpleFullScreenon macOS would exit when web content calledrequestFullscreen(). #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
Release Notes for v40.9.1
Features
- Added
allowExtensionsprivilege toprotocol.registerSchemesAsPrivileged()to enable Chrome extensions on custom protocols. #50588 (Also in 41, 42)
Fixes
- Fixed
fs.staton files inside asar archives returningundefinedforblksizeandblocksinstead 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 DisallowJavascriptExecutionScopecrash on application quit when aWebContents(or other JS-emitting native object) is garbage-collected during shutdown. #50693 (Also in 41, 42) - Fixed an issue on macOS where
show/hideevents andWebContentsvisibility state could be reported incorrectly when multipleWebContentsViews 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
setSimpleFullScreenon macOS would exit when web content calledrequestFullscreen(). #50986 (Also in 42) - Fixed an issue where concurrent
getFileHandlerequests 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
electron v40.9.0
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
allowExtensionsprivilege toprotocol.registerSchemesAsPrivileged()to enable Chrome extensions on custom protocols. #50588 (Also in 41, 42)
Fixes
- Fixed
fs.staton files inside asar archives returningundefinedforblksizeandblocksinstead 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 DisallowJavascriptExecutionScopecrash on application quit when aWebContents(or other JS-emitting native object) is garbage-collected during shutdown. #50693 (Also in 41, 42) - Fixed an issue on macOS where
show/hideevents andWebContentsvisibility state could be reported incorrectly when multipleWebContentsViews 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
setSimpleFullScreenon macOS would exit when web content calledrequestFullscreen(). #50986 (Also in 42) - Fixed an issue where concurrent
getFileHandlerequests 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
electron v42.0.0-beta.3
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
metadatafields tocontentTracingtraces. #51007 - Changed the
kResizeThresholdto trigger the resize on corners. #51001 - Fixed an issue where
nodeIntegrationInWorkerdidn't always work in AudioWorklet. #51005 - Fixed an issue where
setSimpleFullScreenon macOS would exit when web content calledrequestFullscreen(). #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
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()andglobalShortcut.isSuspended()methods to temporarily suspend and resume global shortcut handling. #50777
Fixes
- Fixed
fs.staton files inside asar archives returningundefinedforblksizeandblocksinstead 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
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
allowExtensionsprivilege toprotocol.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 DisallowJavascriptExecutionScopecrash on application quit when aWebContents(or other JS-emitting native object) is garbage-collected during shutdown. #50695 (Also in 40, 41) - Fixed an issue on macOS where
show/hideevents andWebContentsvisibility state could be reported incorrectly when multipleWebContentsViews were attached to a window. #50712 (Also in 40, 41) - Fixed an issue where concurrent
getFileHandlerequests 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
electron v41.2.0
Release Notes for v41.2.0
Features
- Added
allowExtensionsprivilege toprotocol.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 DisallowJavascriptExecutionScopecrash on application quit when aWebContents(or other JS-emitting native object) is garbage-collected during shutdown. #50694 (Also in 40, 42) - Fixed an issue on macOS where
show/hideevents andWebContentsvisibility state could be reported incorrectly when multipleWebContentsViews were attached to a window. #50715 (Also in 40, 42) - Fixed an issue where concurrent
getFileHandlerequests 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