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) - Re-adds functionality to check whether or not an app was launched as a login service on macOS. #42411 (Also in 29, 30, 31)
BrowserWindow.focus()
now correctly restore focus to inactive apps on macOS. #42180 (Also in 30, 31)originalFs.promises.cp
now works. #42132 (Also in 31)
Other Changes
- Backported fix for 336625018. #42304 (Also in 31)
- Backported fix for 339458194. #42120
- Backported fix for 340221135. #42172
- Backported fix for 341663589. #42253
- Fixed partially broken state of
chrome://accessibility
. #41911 (Also in 31) - Improved error messages when
ses.cookies.set
fails. #42362 (Also in 29, 30, 31) - Updated Chromium to 127.0.6521.0. #42118
- Updated Node.js to v20.14.0. #42329