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@17.0.0-alpha.1
.
Release Notes for v17.0.0-alpha.1
Features
- Added WebHID support. #30213 (Also in 15, 16)
- Added
commandLine.removeSwitch
to allow apps to remove command line switches from Chromiums internal command line representation. #30933 (Also in 15, 16) - Added
textWidth
option todialog.showMessageBox()
/dialog.showMessageBoxSync()
. #30474 (Also in 15, 16) - Added
webContents.getMediaSourceId()
, can be used withgetUserMedia
to get a stream for aWebContents
. #31204 - Added new data parameter to
app.requestSingleInstanceLock()
. #30891 (Also in 16) - Added warning when
ipcRenderer.sendSync()
is called with no listeners for channel onipcMain
. #31344 (Also in 13, 14, 15, 16) - Began passing securityOrigin in details for permission request handlers for media requests in addition to permission check handlers. #31357 (Also in 13, 14, 15, 16)
- Deprecates
webContents.getPrinters()
and introduceswebContents.getPrintersAsync()
. #31023 desktopCapturer.getSources
is now only available in the main process. #30720
Fixes
- Changed WebHID to use
disable-hid-blocklist
flag to enable FIDO devices. #31626 (Also in 15, 16) - Enables support for
navigator.keyboard.lock()
. #31572 (Also in 16) - Fixed "Failed to serialize arguments" error when emitting 'context-menu' event for webview. #31259 (Also in 15, 16)
- Fixed Let's Encrypt DST Root CA X3 certificate expiration. #31213 (Also in 12, 13, 14, 15, 16)
- Fixed
<webview>
background transparency regression. #31722 (Also in 16) - Fixed
BrowserView.setBackgroundColor()
not working correctly. #31746 (Also in 14, 15, 16) - Fixed
clipboard.writeBuffer()
,clipboard.readBuffer()
andclipboard.read()
's ability to manipulate platform-specific clipboard formats. #31116 (Also in 15, 16) - Fixed a JavaScript exception from webContents if render frame was disposed in WebFrameMain, resets the value of
render_frame_disposed_
after updating render frame host. #31401 (Also in 14, 15, 16) - Fixed a crash when a
BrowserWindow
is closed subsequent to itswebContents
being destroyed. #31620 (Also in 14, 15, 16) - Fixed a potential crash when setting
nativeTheme.themeSource
on macOS. #31329 (Also in 14, 15, 16) - Fixed a tracing agent-related crash when initializing Node.js in service workers. #31459 (Also in 14, 15, 16)
- Fixed an issue where BrowserView dragging behavior was inconsistent with MacOS window dragging. #31114 (Also in 13, 14, 15, 16)
- Fixed an issue where BrowserView may sometimes crash on
browserView.webContents.destroy()
. #31796 (Also in 14, 15, 16) - Fixed an issue where
BrowserView
s crashed ifview.webContents.destroy()
is called after loading a URL. #31794 (Also in 14, 15, 16) - Fixed an issue where
Content-Disposition
filenames would be incorrectly truncated at the first comma for a filename attachment which contained one. #31669 (Also in 13, 14, 15, 16) - Fixed an issue where
MediaMetadata
did not work properly. #31492 (Also in 13, 14, 15, 16) - Fixed an issue where
app.getPath('crashDumps')
returned an incorrect path for Linux. #31668 (Also in 15, 16) - Fixed an issue where
clipboard.read()
could cause crashes with custom clipboard formats. #31566 (Also in 15, 16) - Fixed an issue where button labels in file choosers were improperly localized on Linux. #30888 (Also in 14, 15, 16)
- Fixed an issue where changes to draggable regions in a
BrowserWindow
incorrectly affected those in an attachedBrowserView
. #31085 (Also in 13, 14, 15, 16) - Fixed an issue where out-of-focus BrowserViews could not be immediately dragged. #31062 (Also in 13, 14, 15, 16)
- Fixed an issue where playing media would open Accessibility permissions dialog on macOS. #31805 (Also in 15, 16)
- Fixed an issue where some calls to
crypto.createPrivateKey
made with algorithms unsupported by BoringSSL cause a crash when invoking methods on their return values. #31087 (Also in 15, 16) - Fixed an issue where transparency was not always set correctly on webContents. #31685 (Also in 16)
- Fixed an issue where windows with vibrancy types set on them would incorrectly have a white instead of transparent background. #31493 (Also in 16)
- Fixed an issue which caused print settings to not work properly when printing silently. #31489 (Also in 13, 14, 15, 16)
- Fixed an potential crash in
WebContents::MessageTo
when a render frame has been destroyed. #31289 (Also in 13, 14, 15, 16) - Fixed behaviour on posix when passing lists into
app.requestSingleInstanceLock(additionalData)
API. #31661 (Also in 16) - Fixed black border around the page after resizing is disabled. #31021 (Also in 13, 14, 15, 16)
- Fixed black window when screen capturing a content-protected BrowserWindow on Windows 10. #31340 (Also in 13, 14, 15, 16)
- Fixed clipboard.read to once again work like clipboard.readBuffer. #31623 (Also in 15, 16)
- Fixed crash caused by
GetHostNameW
on Windows 7. #31804 (Also in 16) - Fixed crash caused by double free when destroying WebContents. #31104 (Also in 14, 15, 16)
- Fixed crash in GTK open dialog when trying to preview huge image files. #31799 (Also in 14, 15, 16)
- Fixed crash in v8 due to
(Check failed: !regexp_stack_->is_in_use())
. #31102 (Also in 13, 14, 15, 16) - Fixed crash when changing zoom level for webview. #31350 (Also in 14, 15, 16)
- Fixed crash when using singleton api with packaged apps on macOS. #31608 (Also in 16)
- Fixed crash when using sync dialog APIs immediately after async dialog APIs. #31606 (Also in 15, 16)
- Fixed default label text in GTK dialogs. #31798 (Also in 14, 15, 16)
- Fixed default setting used when setting an insecure cookie on a secure site. #31800 (Also in 16)
- Fixed event with invalid timestamp in trace log. #31349 (Also in 14, 15, 16)
- Fixed issue where non-resizable frameless windows aren't draggable. #30925 (Also in 13, 14, 15, 16)
- Fixed possible 'Object has been destroyed' error when calling
window.open
with a frame name and usingsetWindowOpenHandler
. #31208 (Also in 14, 15, 16) - Fixed window frame glitch when calling
setContentProtection
. #31768 (Also in 13, 14, 15, 16) - Generate valid config.gypi file in Node.js headers. #31404 (Also in 14, 15, 16)
- Having a secure CSP will no longer cause a CSP violation warning to appear in console. #30991 (Also in 16)
- None. #31470 (Also in 15, 16)
- None. #31757
- Removes several Chromium private enterprise APIs from Mac Apple Store builds. #31482 (Also in 12, 13, 14, 15, 16)
~/.config/{App Name}
will no longer be incorrectly deleted if it is a symlink on unix systems. #31777 (Also in 16)