npm install electron@v31.0.0-alpha.2
yarn add electron@v31.0.0-alpha.2
Note: This is an alpha release, this means it may be shipping with an unreleased version of Chromium.
Please file new issues for any bugs you find in it.
Release Notes
Features
- Added a new instance property
navigationHistory
on webContents API with navigationHistory.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 to Session
. #40983
Fixes
- Added missing support for the
recursive
option in fs.{readdir|readdirSync}
as well as fs.promises.{readdir|readdirSync}
. #41582
- Added support for
withFileTypes
when calling fs.{readdir|readdirSync}
with the recursive
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 if options
was not passed or undefined
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 by serial.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 the context-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
Documentation
Unknown
- Added support for Bluetooth ports being requested by service class ID in
navigator.serial
. #41638 (Also in 29, 30)