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@25.0.0-alpha.1
.
Release Notes for v25.0.0-alpha.1
Features
- Added BrowserWindow.set/getWindowButtonPosition APIs. #37094
- Added
httpOnly
to the cookie filter. #37255 (Also in 24) - Added
logUsage
toshell.openExternal()
options, which allows passing theSEE_MASK_FLAG_LOG_USAGE
flag toShellExecuteEx
on Windows. #37139 (Also in 24) - Added
net.fetch()
. #36733 - Added
protocol.handle
, replacing and deprecatingprotocol.{register,intercept}{String,Buffer,Stream,Http,File}Protocol
. #36674 - Added
types
towebRequest
filter. #30914 (Also in 24) - Added a
will-frame-navigate
event towebContents
and the<webview>
tag, which fires whenever any frame within the frame hierarchy attempts to navigate. #34418 - Added initiator information to navigator events. #37085
- Added several standard page size options to
webContents.print()
. #37159 (Also in 22, 23, 24) - Added the
enableLocalEcho
flag to the session handlerses.setDisplayMediaRequestHandler()
callback for allowing remote audio input to be echoed in the local output stream whenaudio
is aWebFrameMain
. #37315 (Also in 23, 24) - Allows an absolute path to be passed to the session.fromPath() API. #37604
- Changed
net.fetch
to support requests tofile:
URLs and custom protocols registered withprotocol.register*Protocol
. #36606 - Exposes the
audio-state-changed
event onwebContents
. #37366 - Feat: introduce session.resolveHost for resolving hostnames with Chromium's DNS resolver. #37690 (Also in 24)
Fixes
- Corrects an issue with HTML fullscreen when
BrowserWindow
fullscreening is disabled. #37348 (Also in 23, 24) - Fixed WebUSB on ARM64 macs. #37441 (Also in 23, 24)
- Fixed
destroyed
event not emitted onclose
forBrowserView.webContents
. #37420 (Also in 23, 24) - Fixed a crash on capturing sources when using desktopCapturer API on Wayland. #37511 (Also in 23, 24)
- Fixed a crash when
BrowserView
s are present and a user attempts to preventbeforeunload
in the renderer process. #37205 (Also in 22, 23, 24) - Fixed an incorrect result returned when using secure as a cookies filter. #37203 (Also in 22, 23, 24)
- Fixed an issue on macOS where entering fullscreen with the
Fn+F
system shortcut would fail or create strange window side effects. #37803 (Also in 23, 24) - Fixed an issue where
BroadcastChannel
did not work correctly whencontextIsolation: false
. #37421 (Also in 23, 24) - Fixed an issue where
minWidth
/minHeight
andmaxWidth
/maxHeight
would not be enforced if the user set anaspectRatio
on macOS. #37306 (Also in 22, 23, 24) - Fixed an issue where calling
port.postMessage
inMessagePortMain
with some invalid parameters could cause a crash. #37585 (Also in 22, 23, 24) - Fixed an issue where draggable regions incorrectly captured clicks in framed windows. #37594 (Also in 23, 24)
- Fixed an issue where passing both
hasReply
andactions
to a main process Notification on macOS resulted in the first action being obscured and unavailable. #37381 (Also in 22, 23, 24) - Fixed an issue where successfully loaded media documents emitted
did-fail-load
. #37824 - Fixed an issue where unhandled rejections could cause duplicate logs in some cases. #37464 (Also in 22, 23, 24)
- Fixed an issue with potential dock icon duplication on macOS. #37599 (Also in 22, 23, 24)
- Fixed canceling of bluetooth requests when no devices are returned. #37601 (Also in 23, 24)
- Fixed draggable regions not working in Mac App Store builds. #37466 (Also in 23, 24)
- Fixed issue with BrowserWindow not updating after call to previewFile. #37530 (Also in 22, 23, 24)
- Fixed potential private API usage for MAS builds on macOS. #37309 (Also in 23, 24)
- Fixed right-click events not being delivered in frameless window draggable regions. #37386 (Also in 23, 24)
- Fixed the active background color for top-level menu items on Windows. #37766 (Also in 23, 24)
- Fixed window could not go back to maximized state when restored on Linux. #37346 (Also in 22, 23, 24)
- Improved error messages on
session.cookies.set
failure. #37586 (Also in 22, 23, 24) - Security: Fixed an issue with Content-Security-Policy not being correctly enforced when sandbox: false and contextIsolation: false. (CVE-2023-23623). #37756 (Also in 24)
- Setting the about panel's options no longer crashes. #37373 (Also in 24)
app.showAboutPanel()
no longer blocks the main thread on Windows or Linux, thus matching macOS. #37440 (Also in 24)