Releases: electron/electron
electron v32.0.0-alpha.1
Note: This is an alpha release. Please file new issues for any bugs you find in it.
This release is published to npm under the alpha tag and can be installed via npm install electron@alpha
, or npm install electron@32.0.0-alpha.1
.
Release Notes for v32.0.0-alpha.1
Features
- Added
cumulativeCPUUsage
to AppMetrics and CPUUsage. #41819 - Added the following existing navigation related APIs to
webcontents.navigationHistory
:canGoBack
,goBack
,canGoForward
,goForward
,canGoToOffset
,goToOffset
,clear
. #41752 - Extended
WebContentsView
to accept pre-existingwebContents
object. #42086 (Also in 31) - Removed nonstandard
File.path
extension from the WebFile
API. #42053
Fixes
- BrowserWindow.show() now correctly restores focus to inactive apps on macOS. #42300 (Also in 30, 31)
- Don't check for Desktop Environment in setProgressBar and setBadgeCount. #41211
- Electron doesn't paint on offscreen-render mode after gpu process crashed. #41904 (Also in 29, 30, 31)
- Fixed a crash in
addChildView
if a view is added as its own child. #42067 (Also in 30, 31) - Fixed a crash when the same
WebContentsView
is added viaaddChildView
multiple times. #42085 (Also in 30, 31) - Fixed an error when calling
setAutoResize
on aBrowserView
. #42056 (Also in 30, 31) - Fixed an inconsistent crash on maximizing window and relayout in Ubuntu. #42126 (Also in 30, 31)
- Fixed an issue where
BrowserView
webContents
were getting destroyed even whenpreventDefault
was being set on the owningBrowserWindow
'sclose
event. #42353 (Also in 30, 31) - Fixed an issue where
app.setLoginItemSettings
incorrectly checked againstloginItemService
. #42380 (Also in 29, 30, 31) - Fixed an issue where
contentWindow.document.fonts.ready
would never resolve in some circumstances. #42366 (Also in 30, 31) - Fixed an issue where
document.requestFullscreen
didn't work when calling it from awebContents
insideWebContentsView
. #41966 (Also in 30, 31) - Fixed an issue where
fetch
dependent interfaces in Node.js were not defined whennodeIntegration
was enabled in some circumstances. #42419 (Also in 30, 31) - Fixed an issue where
navigator.usb.getDevices()
could crash in some circumstances. #42443 (Also in 29, 30, 31) - Fixed an issue where
recentDOcuments
wasn't populating properly on macOS. #41978 (Also in 29, 30, 31) - Fixed an issue where
setTitleBarOverlay
didn't work as expected when called onBaseWindow
. #41960 (Also in 29, 30, 31) - Fixed an issue where
webContents.navigationHistory
was not an enumerable property. #42139 (Also in 30, 31) - Fixed an issue where bad flags passed via
--js-flags
could cause a crash. #42414 (Also in 29, 30, 31) - Fixed an issue where calling
window.center()
on Windows and Linux incorrectly centered the window. #42048 (Also in 30, 31) - Fixed an issue where dialogs did not work if they were parented to a BaseWindow and not a BrowserWindow. #42315 (Also in 30, 31)
- Fixed an issue where some calls to WebUSB methods could crash. #42347 (Also in 29, 31)
- Fixed an issue where the window could be incorrectly centered in some circumstances when calling
BrowserWindow.center()
. #42195 (Also in 30, 31) - Fixed crash after upgrade on Linux. #41046 (Also in 29, 30, 31)
- Fixed crash on window maximize on X11. #42179 (Also in 30, 31)
- Fixed data corruption when protocol.handle() processed incoming data asynchronously. #41894 (Also in 30, 31)
- Fixed issue where windows made visible with
showInactive
were blank. #42226 (Also in 31) - Fixed nativeImage.createThumbnailFromPath and shell.openExternal not resolving when called in the renderer process. #41875 (Also in 30, 31)
- Fixed potentially incorrect exit code in UtilityProcess. #42297 (Also in 31)
- Fixed support for multiple folder/file selection in //shell_dialogs portal implementation. #42308 (Also in 29, 30, 31)
- Fixed the type of
WebviewTag.webpreferences
back tostring
. #42275 (Also in 30, 31)
*...
electron v31.0.1
electron v30.1.1
Release Notes for v30.1.1
Fixes
- Fixed an issue where
app.setLoginItemSettings
incorrectly checked againstloginItemService
. #42403 (Also in 29, 31) - Fixed an issue where
contentWindow.document.fonts.ready
would never resolve in some circumstances. #42384 (Also in 31) - Fixed an issue where
fetch
dependent interfaces in Node.js were not defined whennodeIntegration
was enabled in some circumstances. #42454 (Also in 31) - Fixed an issue where bad flags passed via
--js-flags
could cause a crash. #42440 (Also in 29, 31) - Fixed support for multiple folder/file selection in //shell_dialogs portal implementation. #42426 (Also in 29, 31)
- Re-adds functionality to check whether or not an app was launched as a login service on macOS. #42423 (Also in 29, 31)
Other Changes
electron v31.0.0
Release Notes for v31.0.0
Stack Upgrades
- Chromium
126.0.6478.36
- Node
20.14.0
- V8
12.6
Breaking Changes
- Made window.flashFrame(bool) flash continuously on macOS. #41391
- Updated Chromium to 126.0.6445.0. (Removed:
WebSQL
support) #41868 - Updated Chromium to 125.0.6412.0. (Behavior Changed:
nativeImage.toDataURL
will preserve PNG colorspace) #41610
Features
Additions
- Added a new instance property
navigationHistory
on webContents API withnavigationHistory.getEntryAtIndex
method, enabling applications to retrieve the URL and title of any navigation entry within the browsing history. #41577 (Also in 29, 30) - Added options parameter to
Session.clearData
API. #41355 - Added proxy configuring support for requests made with net module from utility process. #41335 (Also in 28, 29, 30)
- Added support for Bluetooth ports being requested by service class ID in
navigator.serial
. #41638 (Also in 29, 30) - Added support for
NODE_EXTRA_CA_CERTS
. #41689 - Extended
webContents.setWindowOpenHandler
to support manual creation of BrowserWindow. #41432 - Implemented support for the File System API. #41419 (Also in 30)
clearData
method added toSession
. #40983- Extended
WebContentsView
to accept pre-existingwebContents
object. #42319
Improvements
- Extended
WebContentsView
to accept pre-existingwebContents
object. #42319 - Improved error messages when
ses.cookies.set
fails. #42400 (Also in 29, 30) - Re-adds functionality to check whether or not an app was launched as a login service on macOS. #42422
Removed/Deprecated
Fixes
- Added missing support for the
recursive
option infs.{readdir|readdirSync}
as well asfs.promises.{readdir|readdirSync}
. #41582 - Added support for
withFileTypes
when callingfs.{readdir|readdirSync}
with therecursive
in Asar archives. #41627 - Fixed ASAN build on macOS. #41587
- Fixed a bug where a window with maximization disabled and WCO enabled would still show its maximization button. #41793
- Fixed an issue where child views in a BrowserWindow could sometimes be. #41256
- Fixed issue where windows made visible with
showInactive
were blank. #42227 - Fixed potentially incorrect exit code in UtilityProcess. #42397
originalFs.promises.cp
now works. #42134
Also in earlier versions...
- BrowserWindow.show() now correctly restores focus to inactive apps on macOS. #42305 (Also in 30)
- Electron doesn't paint on offscreen-render mode after gpu process crashed. #41924 (Also in 29, 30)
- Ensured ScreenCaptureKit is used exclusively on macOS 14.4 and higher to avoid permission prompts. #41397 (Also in 29, 30)
- Fixed
chrome://process-internals
failing to load. #41476 (Also in 28, 29, 30) - Fixed
shell.showItemInFolder
not opening Windows Explorer if the passed path contains forward slashes. #41642 (Also in 28, 29, 30) - Fixed a crash in
addChildView
if a view is added as its own child. #42108 (Also in 30) - Fixed a crash when the same
WebContentsView
is added viaaddChildView
multiple times. #42116 (Also in 30) - Fixed a potential crash in
chrome.scripting
on extension unload. #41686 (Also in 29, 30) - Fixed an error when calling
setAutoResize
on aBrowserView
. #42138 (Also in 30) - Fixed an inconsistent crash on maximizing window and relayout in Ubuntu. #42146 (Also in 30)
- Fixed an issue on Windows where silent printing resulted in comically tiny renderer output. #41811 (Also in 28, 29, 30)
- Fixed an issue where
BrowserView
webContents
were getting destroyed even whenpreventDefault
was being set on the owningBrowserWindow
'sclose
event. #42372 (Also in 30) - Fixed an issue where
app.getLoginItemSettings
didn't correctly throw errors. #41647 (Also in 30) - Fixed an issue where
app.setLoginItemSettings
incorrectly checked againstloginItemService
. #42404 (Also in 30) - Fixed an issue where
document.requestFullscreen
didn't work when calling it from awebContents
insideWebContentsView
. #41995 (Also in 30) - Fixed an issue where
recentDOcuments
wasn't populating properly on macOS. #41993 (Also in 29, 30) - Fixed an issue where
setTitleBarOverlay
didn't work as expected when called onBaseWindow
. #42150 (Also in 29, 30) - Fixed an issue where
user-did-{resign|become}-active
were not emitted properly on macOS. #41506 (Also in 28, 29, 30) - Fixed an issue where `webCont...
electron v31.0.0-beta.10
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@31.0.0-beta.10
.
Release Notes for v31.0.0-beta.10
Fixes
- Fixed an issue where
app.setLoginItemSettings
incorrectly checked againstloginItemService
. #42404 (Also in 30) - Fixed potentially incorrect exit code in UtilityProcess. #42397
Other Changes
electron v31.0.0-beta.9
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@31.0.0-beta.9
.
Release Notes for v31.0.0-beta.9
Fixes
electron v30.1.0
Release Notes for v30.1.0
Fixes
- BrowserWindow.show() now correctly restores focus to inactive apps on macOS. #42306 (Also in 31)
- Fixed BrowserWindow vibrancy on macOS. #42263
- Fixed an issue where
BrowserView
webContents
were getting destroyed even whenpreventDefault
was being set on the owningBrowserWindow
'sclose
event. #42371 - Fixed an issue where dialogs did not work if they were parented to a BaseWindow and not a BrowserWindow. #42327 (Also in 31)
- Fixed an issue where some calls to WebUSB methods could crash. #42364 (Also in 29, 31)
Other Changes
electron v31.0.0-beta.8
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@31.0.0-beta.8
.
Release Notes for v31.0.0-beta.8
Fixes
- Fixed an issue where dialogs did not work if they were parented to a BaseWindow and not a BrowserWindow. #42326 (Also in 30)
Other Changes
Documentation
- Documentation changes: #42309
electron v31.0.0-beta.7
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@31.0.0-beta.7
.
Release Notes for v31.0.0-beta.7
Fixes
- BrowserWindow.show() now correctly restores focus to inactive apps on macOS. #42305 (Also in 30)
- Fixed the type of
WebviewTag.webpreferences
back tostring
. #42279 (Also in 30)
Other Changes
- Backported fix for 341663589. #42254