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@31.0.0-alpha.2
.
Release Notes for v31.0.0-alpha.2
Features
- 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
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
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 - Ensured ScreenCaptureKit is used exclusively on macOS 14.4 and higher to avoid permission prompts. #41397 (Also in 29, 30)
- Fixed ASAN build on macOS. #41587
- 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 bug where a window with maximization disabled and WCO enabled would still show its maximization button. #41793
- Fixed a potential crash in
chrome.scripting
on extension unload. #41686 (Also in 29, 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
app.getLoginItemSettings
didn't correctly throw errors. #41647 (Also in 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
webContents.print(options)
failed ifoptions
was not passed orundefined
is passed. #41467 (Also in 28, 29, 30) - Fixed an issue where badge text set using the Badging API no longer appeared correctly on Windows. #41618 (Also in 29, 30)
- Fixed an issue where child views in a BrowserWindow could sometimes be. #41256
- Fixed an issue where emojis weren't properly handled on Windows. #41673 (Also in 29, 30)
- Fixed an issue where showing or focusing a panel window would activate the app on Mac. #41750 (Also in 30)
- Fixed an issue where the
serial-port-added
event improperly respected filters set byserial.requestPort()
. #41621 (Also in 28, 29, 30) - Fixed crash in Notification::Close() under libnotify 0.8.x with portal environment. #41691 (Also in 28, 29, 30)
- Fixed missing
<__assertion_handler>
header when compiling with libc++. #41830 (Also in 29, 30) - Fixed usage of
Storage.{get|set|clear}Cookies
via the Chrome DevTools Protocol. #41718 (Also in 28, 29, 30) - Improved appearance of caption buttons on Windows 11 when using Windows Control Overlay. #41561 (Also in 30)
- Made window.flashFrame(bool) flash continuously on macOS. #41391
Other Changes
- The
inputFieldType
property in thecontext-menu
params has been removed. #41239 (Also in 30) - Updated Chromium to 125.0.6412.0. #41610
- Updated Node.js to v20.12.2. #41710