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@23.0.0-alpha.1
.
Release Notes for v23.0.0-alpha.1
Features
- Added an
app.getPreferredSystemLanguages()
API to return the user's system languages. #36035 (Also in 21, 22) - Added new UtilityProcess API to launch chromium child process with node integration. #34980 (Also in 22)
- Added support for WebUSB. #36289
- Added support for
serialPort.forget()
as well as a new eventserial-port-revoked
emitted when a given origin is revoked. #35310 (Also in 22) - Adds new
setHiddenInMissionControl
API to allow developers to opt out of mission control on macOS. #36092
Fixes
- Default margin has been added in the code. #36060 (Also in 21, 22)
- Doing
require('electron/*')
where*
is not one ofmain
,common
orrenderer
no longer resolves with the built-inelectron
module. #35915 - Enable crashpad for ELECTRON_RUN_AS_NODE processes. #36460 (Also in 22)
- Fixed
click
event and tooltip ofTray
not working on Linux. #36333 (Also in 22) - Fixed a drag-and-drop issue on macOS where items would be incorrectly moved instead of copied in some contexts. #35963 (Also in 20, 21, 22)
- Fixed a potential issue when calling
webContents.printToPDF()
. #36046 (Also in 21, 22) - Fixed a potential memory leak. #35932 (Also in 21, 22)
- Fixed an issue where calling
app.dock.setIcon(/path/t/icon)
would crash when called before theready
event onapp
. #36279 (Also in 20, 21, 22) - Fixed an issue where frameless non-resizable windows showed a Windows 7 frame during startup. #35365 (Also in 22)
- Fixed an issue where some options were incorrectly ignored when using
webContents.printToPDF()
. #35975 (Also in 21, 22) - Fixed on-screen-keyboard not hiding on input rendered in webview is blurred. #35921 (Also in 20, 21, 22)
- Fixed race condition during update on macOS that could result in TCC and Keychain errors. #36130 (Also in 22)
- Fixed spurious promise rejection in
webContents.loadURL
when navigating to a hash. #36129 (Also in 20, 21, 22) - Fixed v8 flags and desktop name in package.json does not hornored when running local app using electron cli. #35997 (Also in 20, 21, 22)
- Removed support for
nodeIntegrationInWorker
in Service Workers and Shared Workers owing to sandboxing policies. #35919 (Also in 21, 22) - Removed unneeded
--turbo-profiling-input
argument from mksnapshot_args. #36378 (Also in 22) - The keychain account name for MAS and Darwin builds of the same Electron application now differ. #35864
- You can now import the built-in electron module via ESModule loaders, i.e.
import('electron')
andimport 'electron'
now work natively. #35930 (Also in 20, 21, 22)
Other Changes
- Enabled out-of-process iframe printing to PDF with
webContents.printToPDF().
. #36051 (Also in 22) - Removed unneeded --turbo-profiling-input argument from mksnapshot_args for Linux mksnapshot zips. #36534
- Updated Chromium to 110.0.5415.0. #36186
- Updated Node.js to v18.12.1. #36356
- Upgraded Node.js to v18.10.0. #35999
- Windows 7, Windows 8, and Windows 8.1 are not supported anymore as Chromium 110 dropped support. #36513
Documentation
- Documentation changes: #35894