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@20.0.0-alpha.1
.
Release Notes for v20.0.0-alpha.1
Features
- Added
app.isHidden()
to check if the app is hidden (e.g. with Command-H) on macOS. #32155 - Added
browserData
toapp.setPath/getPath
. #33554 - Added support for HIDDevice.forget(). #34210
- Enabled
systemPreferences.subscribe{Local|Workspace}Notification
to take anull
value for theevent
parameter. #33641 (Also in 18, 19) - Fixed an issue where the PDF Viewer would fail if a user attempted to reload. #33560 (Also in 18, 19)
Fixes
- Apply senderFrame details to ipcMain port event. #33756 (Also in 16, 17, 18, 19)
- Fixed a crash in
safeStorage
on Linux. #33913 (Also in 15, 16, 17, 18, 19) - Fixed a crash on Windows when opening apps in multiple, separate user sessions. #34139 (Also in 18, 19)
- Fixed a crash when calling
loadExtension
on an extension directory that's missing a manifest file. #34168 (Also in 16, 17, 18, 19) - Fixed a potential crash when calling
webContents.print()
. #34271 (Also in 19) - Fixed an OSR crash happening when input select items were rendered. #34069 (Also in 17, 18, 19)
- Fixed an issue where
#ARGB
->#RGBA
and#AARRGGBB
->#RRGGBBAA
were converted improperly when setting background color. #33707 (Also in 19) - Fixed an issue where
BrowserWindow#isFocused()
was returningfalse
whenblur()
was called on macOS. #33734 (Also in 17, 18, 19) - Fixed an issue where
Escape
keyboard events would not be properly propagated to the parent window after entering fullscreen and then exiting it again on Windows. #33757 (Also in 18, 19) - Fixed an issue where bounds changes were incorrectly delayed in the case where a window was moved or resized and
event.preventDefault
was called in eitherwill-resize
orwill-move
on Windows. #34204 (Also in 16, 17, 18, 19) - Fixed an issue where calling
SetLoginItemSettings()
could potentially cause network volumes to be incorrectly mounted. #34068 (Also in 17, 18, 19) - Fixed an issue where calling
setTitlebarOverlay
with an initially invalidtitleBarStyle
on Windows would result in a crash. #34140 (Also in 19) - Fixed an issue where mixed-case extension filters in file dialogs were ignored on Linux. #33918 (Also in 18, 19)
- Fixed an issue where pressing escape would not un-fullscreen on Windows or Linux in some circumstances. #34317
- Fixed an issue where some
BrowserWindow
s opened from new links wouldn't properly load URLs. #34159 (Also in 19) - Fixed an issue where the the window bounds would incorrectly change if
BrowserWindow.unmaximize
was called on a window whose user bounds were maximized. #33480 (Also in 16, 17, 18, 19) - Fixed an issue where tray items wouldn't highlight in some scenarios on macOS. #34173 (Also in 16, 17, 18, 19)
- Fixed an issue with the
app.requestSingleInstanceLock()
API where it would sometimes hang. #33777 (Also in 18, 19) - Fixed behavior of BrowserWindow.maximize on macOS for not shown windows. #32949 (Also in 15, 16, 17, 18)
- Fixed building node modules with Visual Studio 2017. #34109 (Also in 18, 19)
- Fixed building node modules with Visual Studio 2017. #34217 (Also in 19)
- Fixed crash on startup due to missing gtk symbol on older distros. #34141 (Also in 18, 19)
- Fixed crash when calling navigator.serial.getPorts(). #34280 (Also in 17, 18, 19)
- Fixed crash when img without
alt
is shown with accessibility features enabled. #33840 (Also in 19) - Fixed crash when opening gtk file dialogs due to mismatched versions. #33650 (Also in 18, 19)
- Fixed incorrect return value of
app.requestSingleInstanceLock()
when setting non-existent user data folder. #33559 (Also in 16, 17, 18, 19) - Fixed initialization race when registering partition allocator on macOS. #33832
- Fixed issues with frameless window animations and styling. #33599 (Also in 15, 16, 17, 18, 19)
- Fixed potential crash while generating accessibility trees for certain images. #33614 (Also in 18, 19)
- Fixed potential crash with WebFrameMain when navigating between cross-origin websites. #33919 (Also in 18, 19)
- Fixed service worker registration with custom protocols. #34290 (Also in 18, 19)
- Fixed the initialization of First Party Sets. #33971 (Also in 19)
- Fixed the initialization of first party sets in the browser process. #33998 (Also in 19)
- Notes: Fixed an issue where running second instances of the same application would cause a deadlock on Windows. #34297 (Also in 18, 19)
- [Mac] Fixed Partition Alloc related crash in pre-BigSur (macos <= 10.15). #33704 (Also in 18, 19)
shell.openExternal()
now reports more detailed errors on Windows. #33620 (Also in 15, 16, 17, 18, 19)
Other Changes
- Added a TRACE call named
crash_reporter::Start
under theelectron
category forcrash_reporter::Start()
. #34268 (Also in 17, 18, 19) - Added minimum GITHUB_TOKEN permissions. #34298
- Fixed child_process.spawn ENOENT error with cwd option. #33815 (Also in 16, 17, 18, 19)
- Minimum required node version to install the
electron
npm package is now >10. #34166 - Re-enabled symbol generation on 32-bit Windows. #34162 (Also in 19)
- Temporarily disabled symbol generation on 32-bit Windows due to issues with symbol generation on that platform. #33653 (Also in 19)
- Updated Chromium to 103.0.5046.0. #33906
- Updated Node.js to v16.15.0. #33947
Documentation
- Documentation changes: #34278