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@26.0.0-alpha.1
.
Release Notes for v26.0.0-alpha.1
Features
- Added net.resolveHost that resolves hosts using defaultSession object. #37853 (Also in 24, 25)
- Added new 'did-resign-active' event on
app
. #37933 (Also in 25) - Added setUSBProtectedClassesHandler to allow access to protected USB classes with WebUSB. #38263
- Added several new cursor values to the
cursor-changed
event. #38210 (Also in 24, 25) - Added support for Mica and Acrylic background effects on Windows. #38163 (Also in 24, 25)
- Added thermal management information to
powerMonitor
. #37935 (Also in 24, 25) - Expose
webContents
methods to center text selection, scroll to the page bottom and top, as well as adjust selected text. #37978 (Also in 25) - Surface the
context-menu
event from extensions. #38029 (Also in 25)
Fixes
- Added about panel for menu role
about
on Linux as well. #37828 (Also in 23, 24, 25) - Ensured that Electron's custom
AXManualAccessibility
attribute works as expected in all relevant protocol methods. #38142 (Also in 23, 24, 25) - Fixed a potential crash when calling
webContents.print
with invalid settings. #38165 (Also in 25) - Fixed a potential crash when right-clicking on macOS windows with draggable regions. #38100 (Also in 24, 25)
- Fixed an issue on Linux where menus would not open after resizing/maximizing/unmaximizing a window. #37798 (Also in 23, 24, 25)
- Fixed an issue where Windows
FrameView
s always appeared inactive regardless of focus status. #38468 (Also in 25) - Fixed an issue where
BrowserWindow.isMaximized()
could incorrectly return true for minimized or fullscreened windows on macOS. #38291 (Also in 23, 24, 25) - Fixed an issue where
BrowserWindow.isVisible()
would incorrectly returntrue
for minimized windows on Windows. #38242 (Also in 23, 24, 25) - Fixed an issue where
MediaStreamTrack.getCaptureHandle()
always returnednull
. #38390 (Also in 24, 25) - Fixed an issue where
getNormalBounds()
returns incorrect bounds for transparent maximized windows on Windows. #38218 (Also in 23, 24, 25) - Fixed an issue where
navigator.connection
returned incorrect data. #38491 - Fixed an issue where accessing
BrowserWindow.id
threw an error after the window was destroyed. #38241 (Also in 23, 24, 25) - Fixed an issue where calling
win.minimize()
directly after callingwin.maximize()
, and then callingwin.isMaximized()
incorrectly returnstrue
. #38234 (Also in 23, 24, 25) - Fixed an issue where calls to
window.setKiosk(false)
would exit fullscreen regardless of the fullscreen state prior to kiosk mode. #38219 - Fixed an issue where certain buttons in the PDF viewer didn't work. #37856 (Also in 23, 24, 25)
- Fixed an issue where default background color for windows might be incorrect. #36914 (Also in 23, 24, 25)
- Fixed an issue where the 'swipe' event wasn't being emitted properly on macOS. #37946 (Also in 24, 25)
- Fixed an issue which made defaultFontFamily in webPreferences have no effect. #37863 (Also in 22, 23, 24, 25)
- Fixed an perceived failure when when using Accessibility attribute
AXManualAccessibility
to enable a11y features in Electron. #38102 (Also in 23, 24, 25) - Fixed broken defaults in
shell.openExternal()
options. #38038 (Also in 22, 23, 24, 25) - Fixed crash when executing eval in the utility process. #38014 (Also in 22, 23, 24, 25)
- Fixed potential issues when minimizing parent windows with non-modal children on macOS. #38460 (Also in 24, 25)
- Fixed recommended
node-gyp
version innode.h
error. #37829 (Also in 22, 23, 24, 25)
Other Changes
- Backported fix for 1404797. #38323 (Also in 25)
- Fixed a console error seen when loading PDFs. #38127 (Also in 25)
- Fixed an error seen in the Top Level Windows section of
chrome://accessibility
. #38179 (Also in 25) - Fixed an issue where mksnapshot would crash with a sigbus error. #38490 (Also in 25)
- Improved error message when
contentTracing.stopRecording()
fails because no trace was in progress. #38488 - The
enable_desktop_capturer
build flag has been removed. #38412 - Updated Chromium to 116.0.5791.0. #38448
- Updated Node.js to v18.16.0. #37973