Release Notes for v8.0.0-beta.1
Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm i electron@8.0.0-beta.1.
Breaking Changes
- IPC between main and renderer processes now uses the Structured Clone Algorithm. #20214
Features
- Added BrowserWindow.moveAbove(mediaSourceId). #18926
- Added
--enable-api-filtering-logging
command-line switch, which enables caller stack logging fordesktopCapturer
andremote
APIs that can be blocked or filtered. #20335 - Added
nativeTheme.themeSource
to allow apps to override Chromium and the OS's theme choice. #19960 - Added
session.downloadURL()
allowing to trigger downloads without aBrowserWindow
. #19889 - Added
timeoutType
property to allows users to set timeout type for Linux and Windows notifications. #20153 - Added
tray.focus()
, which returns focus to the taskbar notification area. #19548 - Added
tray.removeBalloon()
, which removes an already displayed balloon notification. #19547 - Added
win.accessibleTitle property
to be able to augment the window title for the screen readers. #19698 - Added ability to inspect specific shared workers:
contents.getAllSharedWorkers()
/contents.inspectSharedWorkerById(workerId)
. #20389 - Added about panel customization on Windows. #19420
- Added an
urgency
property to allow customization of Linux-based notifications. #20152 - Added options to enable customization of print page headers and footers. #19688
- Added property customization to save dialogs. #19672
- Added support for HTTP preconnect resource hints. #18671
- Added the ability to prevent documents from being added to recent documents on Windows in open dialogs. #19669
- Added the support of fitToPageEnabled and scaleFactor in
WebContents.printToPDF()
. #20436 - Enable macOS users to fallback to item removal when when
shell.moveItemToTrash
fails. #19700 - Implemented 'will-move' event on BrowserWindow on macOS. #19641
- Improved TouchBarButton and TouchBarLabel a11y with
accessibilityLabel
property. #20454 - New options added to
tray.displayBalloon()
:iconType
,largeIcon
,noSound
andrespectQuietTime
. #19544
Fixes
- Don't destroy active menus created as local objects in javascript. #19427
- Fixed
BrowserWindow.fromWebContents()
to returnnull
when no window is found for consistency with other APIs. #19983 - Fixed
backgroundThrottling: false
not having an effect. #20239 - Fixed
cookies.get
not working whenurl
is not specified in filter. #20471 - Fixed a crash in Node.js initialization in renderer processes. #20684
- Fixed a crash that could occur when calling
crashReporter.getUploadedReports
. #20428 - Fixed an issue in the remote module which could cause the name of the Object constructor to be overwritten globally. #20637
- Fixed an issue that prevented setuid binaries from being launched from the renderer process on Linux. #19953
- Fixed an issue where
menu.closePopup()
would have no effect if called too soon aftermenu.popup()
. #20114 - Fixed an issue where
net
requests with redirection mode 'error' could incorrectly follow a redirect. #20686 - Fixed an issue where microtasks could sometimes be scheduled too eagerly, causing crashes when invoking Electron APIs during promises in certain situations. #20303
- Fixed an issue with open and save dialogs selecting properties. #19781
- Fixed debug symbol files on linux not containing private symbols. #20530
- Fixed some
systemPreferences.getColor()
inconsistencies on macOS. #20611 - Fixed the position of popups being created over embedded content. #20232
- Fixed white flash after restoring an app from the background. #19873
- Localized dialog button text on Linux. #19725
- Prevented 'Reopen windows?' dialog from appearing on macOS after a crash. #19584
- Removed unnecessary chromium patch for browser compositor on mac. #20390
- [deps/uv] fsevents: fix file event reporting (backport: v12.x). #20408
Other Changes
- Fixed a crash that could occur if a WebContents was destroyed during a navigation event. #20099
- Fixed first beta version choosing logic. bf66fe51
- No-notes. #18760, #20003
- Removed .only. f566e562
- Removed undocumented
ipcRenderer.sendToAll()
. #19556 - The
remote
module now properly serializesBoolean
,Number
,String
andRegExp
instances. #20427 - Updated Node.js to v12.10.0. #20129
- Updated Node.js to v12.12.0. #20584
- Updated Node.js to v12.13.0. #20657
- Updated Node.js to v12.9.0. #19863
- Updated Node.js to v12.9.1. #19980
Documentation
- Documentation changes: #19387, #19444, #19975, #20230, #20472, #20621, #20622, #20644