Electron: v11.0.0 Release

Release date:
November 16, 2020
Previous version:
v11.0.0-nightly.20200826 (released August 26, 2020)
Magnitude:
2,468 Diff Delta
Contributors:
14 total committers
Data confidence:
Commits:

123 Features Released with v11.0.0

Top Contributors in v11.0.0

trop[bot]
electron-bot
codebytere
jkleinsc
MarshallOfSound
miniak
deepak1556
ckerr
RobertBorg
nornagon

Directory Browser for v11.0.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Release Notes for v11.0.0

Stack Upgrades

Breaking Changes

  • Removed experimental APIs: BrowserView.{destroy, fromId, fromWebContents, getAllViews} and the id property of BrowserView. #23578

Features

Additions

  • Added new experimental apple silicon (darwin arm64) builds. #24545
  • Added new app.runningUnderRosettaTranslation property to detect when running under rosetta on Apple silicon. #26492
  • Added V8 crash message and location information to crashReport parameters. #24771 <span style="font-size:small;">(Also in 10)</span>
  • Added a small console hint to console to help debug renderer crashes. #25474 <span style="font-size:small;">(Also in 9, 10)</span>
  • Added new system-context-menu event to allow preventing and overriding the system context menu. #25835
  • Added webContents.forcefullyCrashRenderer() to forcefully terminate a renderer process to assist with recovering a hung renderer. #25756
  • Added app.getApplicationInfoForProtocol() API that returns detailed information about the app that handles a certain protocol. #24112
  • Added name to app.getAppMetrics() output. #24359
  • Added utility-process-gone event to app. #24367
  • Added visualEffectState option to BrowserWindows to allow customization of vibrancy effect state on macOS. #25083
  • Added app.createThumbnailFromPath() API that returns a preview image of a file given its file path and a maximum thumbnail size. #24802
  • Added back a previously broken visibleOnFullScreen option for setVisibleOnAllWorkspaces. #24956
  • Added desktopCapturer.getMediaSourceIdForWebContents(), can be used with getUserMedia to get a stream for a WebContent. #22701
  • Added did-become-active event on Mac for observing any application activation. #23872
  • Added new worldSafeExecuteJavaScript webPreference to ensure that the return values from webFrame.executeJavaScript are world safe when context isolation is enabled. #24114 <span style="font-size:small;">(Also in 9, 10)</span>
  • Added optional parameter to specify monospaced font types for macOS tray titles. #25059
  • Added support for suspend and resume events to Windows. #24251 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Added support for suspend and resume events to macOS. #24254 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Added the currencyCode field that Apple's StoreKit in-app-purchasing library provides but has not been added to the Product object that inAppPurchase.getProducts returns. #25058
  • Added 'resized' (Windows/macOS) and 'moved' (Windows) events to BrowserWindow. #26454

Improvements

  • Improved the performance of sending JS primitives over the context bridge. #24531 <span style="font-size:small;">(Also in 9, 10)</span>
  • Improved the performance of sending wide objects over the context bridge. #24671
  • Improved the default REPL experience when running Electron with the --interactive flag. #24204
  • Improved performance of takeHeapSnapshot(). #26230
  • Changed app.getLoginItemSettings() and app.setLoginItemSettings() API to factor in startup approval keys when determining whether an application is able to launch on login. #24494
  • Expose sessionId associated with a target from debugger module. #24170 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Implemented systemPreferences.getMediaAccessStatus() on Windows. #24275 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • V8CacheOptions is a new webpreference option to enforce code caching policy. #23842 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • When the disabled-by-default-v8.cpu_profiler tracing category is enabled, cpu samples will now be collected from the main process as well as the renderer. #24819

Removed/Deprecated

  • Removed experimental APIs: BrowserView.{destroy, fromId, fromWebContents, getAllViews} and the id property of BrowserView. #23578

Fixes

  • Fixed an issue where pageRanges was not properly honored when printing. #25600 <span style="font-size:small;">(Also in 10)</span>
  • Fixed an issue whereby a corrupted async_hooks stack would crash the renderer when throwing some errors in the renderer process. #26424
  • Fixed draggable regions stops working when devtools is opened on macOS. #26395
  • Fixed window.open not accepting size values with "px" at the end. #26334 <span style="font-size:small;">(Also in 10)</span>
  • Fixed an issue where draggable regions were not properly updated on BrowserViews when a containing BrowserWindow was resized. #26320 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed an issue where Hover Text on macOS Catalina did not work without VoiceOver also being enabled. #26246 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed an issue where draggable regions did not work exclusively on BrowserViews. #26259 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed debug.log files being created under working directory on windows. #26250
  • Fixed a rare crash on Windows that could occur when emitting certain powerMonitor events. #26181 <span style="font-size:small;">(Also in 10)</span>
  • Fixed an issue where packages could not be selected with <input file="type"> on macOS. #26217
  • Fixed calling app.commandLine.appendSwitch('lang') not changing app's locale. #26226 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed a crash in printing on Windows. #26062 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed an issue where WASM code generation erroneously showed as being disallowed by embedder when contextIsolation was enabled. #25829 <span style="font-size:small;">(Also in 10)</span>
  • Fixed an issue where frameless windows showed window controls after being in simple fullscreen mode on macOS. #26127 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed issue where setting the spellchecker languages to an empty array would permanently disable the spellchecker till the end of time. #26129
  • Fixed memory leak on macOS when using dialog.showMessageBox API. #26099 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Backported fix for https://crbug.com/1115267. #26036
  • Fixed issue where clicking notifications would no longer dismiss them as expected. #26131 <span style="font-size:small;">(Also in 8, 9)</span>
  • Fixed NativeImage.getScaleFactors() always returning the same value. #25903 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed an issue where Windows notifications with timeoutType of 'never' did not work properly. #25902 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed an issue where some Node.js module API calls hung in the renderer process after reloads when render process reuse was enabled. #25922 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed bug that meant require.resolve paths option was ignored. #25945 <span style="font-size:small;">(Also in 10)</span>
  • Fixed NativeImage.crop().toBitmap() returning incorrect data. #25774 <span style="font-size:small;">(Also in 10)</span>
  • Fixed window.open called from child window. #25816
  • Suppressed a spurious warning about executeJavaScript being called without worldSafeExecuteJavaScript being enabled in apps that do not call executeJavaScript. #25828 <span style="font-size:small;">(Also in 10)</span>
  • Fix: gdi printing in silent printing mode. #25744 <span style="font-size:small;">(Also in 10)</span>
  • Fixed crash when application launched from UNUserNotificationCenter notification (via a native node module). #25738 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed resource leak in worker threads. #25661 <span style="font-size:small;">(Also in 9, 10)</span>
  • Added missing module delay loads on windows to reduce per process reference set impact. #25436 <span style="font-size:small;">(Also in 9, 10)</span>
  • Excess menu item separators are now only removed after item re-ordering is done to avoid accidental removal of needed separators. #25599
  • Fixed CORS not being disabled by webSecurity: false. #25504 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed ready-to-show event not emitted on some machines. #25471 <span style="font-size:small;">(Also in 10)</span>
  • Fixed a crash in app.importCertificate() on Linux. #25537 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed a crash that could happen when a window was closed while a webview was in the process of being attached. #25598
  • Fixed a crash when closing window in an event listener after exiting fullscreen on macOS. #25524 <span style="font-size:small;">(Also in 10)</span>
  • Fixed an issue that could cause a normally-exiting process to fail with an "illegal access" message and exit code 7. #25459 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue where an error would be displayed when using webContents.print() if no default was set and no device name provided. #25562 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed crashes caused by attempting to modify destroyed views. #25509
  • Fixed the remote-debugging-port discovery page showing garbled text. #25602 <span style="font-size:small;">(Also in 10)</span>
  • Fixed unsubscribe from observers when window is closing. #25585 <span style="font-size:small;">(Also in 9, 10)</span>
  • Updated Node root certs to use NSS 3.56. #25362 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed crashes using nativeImage on Windows on ARM. #25410
  • Fixed a crash in the renderer process when invoking the Badging API. #25370 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed an issue where document.hasFocus and document.activeElement would be inconsistent upon showing a window that was initially created with show: false. #25323
  • Fixed client_id file being generated in the working directory for node child process. #25310 <span style="font-size:small;">(Also in 9)</span>
  • Fixed multiple dock icons being left in system when calling dock.show/hide on macOS. #25300 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixes the following issues for frameless when maximized on Windows:
    • Fix unreachable task bar when auto hidden with position top
    • Fix 1px extending to secondary monitor
    • Fix 1px overflowing into taskbar at certain resolutions
    • Fix white line on top of window under 4k resolutions. #25217 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed Electron not working on Windows 7 after https://github.com/electron/electron/pull/25076. #25168 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue where filters set in dialogs on macOS would have nondeterministic ordering. #25193 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed network permission error when there are multiple WebContents sharing same session are created with web security disabled. #25180 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed shell.moveItemToTrash on Windows so that it returns false when move was unsuccessful. #25171 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fix loading shared worker scripts over custom protocol * fix crash when loading worker scripts with nodeIntegration enabled. #20625 <span style="font-size:small;">(Also in 9, 10)</span>
  • Added missing support for isComposing KeyboardEvent property. #23971 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Added {stream:} option to registerSchemeAsPrivileged to enable custom protocols to stream video and audio. #22955
  • Enable NTLM v2 for POSIX platforms and added --disable-ntlm-v2 switch to disable it. #23846 <span style="font-size:small;">(Also in 7.3, 8, 9, 10)</span>
  • Fix: Allow windows behind macOS elements if "frame" is false. #23976 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fix: remove unnecessary corner mask overriding to increase window resize performance. #24642 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed "Paste and Match Style" shortcut on macOS to match OS's "Option-Shift-Command-V". #24153 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed "null path-to-app" in test-app when Electron's path contains spaces or special characters. #24214 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed GTK dark theme setting not respected in Electron on Linux. #23678 <span style="font-size:small;">(Also in 7.3, 8, 9, 10)</span>
  • Fixed chrome://accessibility access in Electron. #24437
  • Fixed chrome://media-internals and chrome://webrtc-internals pages not loading. #24010 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed powerMonitor not emitting suspend/resume events on some Windows machines. #25076 <span style="font-size:small;">(Also in 10)</span>
  • Fixed process.windowsStore returning undefined in AppX packages. #23785 <span style="font-size:small;">(Also in 7.3, 8, 9, 10)</span>
  • Fixed a 10.0.0-beta.1 issue that broke dark mode window titlebars on Linux. #25055 <span style="font-size:small;">(Also in 10)</span>
  • Fixed a bezeling issue on vibrant non-frameless BrowserWindows. #23779 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed a crash in TouchBar for certain methods. #23936 <span style="font-size:small;">(Also in 10)</span>
  • Fixed a crash that could happen when using hookWindowMessage on Windows. #24716 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed a crash that could occur when using in-memory sessions. #24964 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed a crash that could occur when using the ipcRenderer module after blink had released the context. Instead, a JS exception will be thrown. #23917 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed a termination crash on Web Workers with Node.js integration enabled. #24436 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an error when calling dialog.showCertificateTrustDialog with no BrowserWindow. #24091 <span style="font-size:small;">(Also in 7.3, 8, 9, 10)</span>
  • Fixed an intermittent high-CPU usage problem caused a system clock issue during sleep. #24394 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue where VoiceOver was unable to navigate from the top-level window back into the web contents. #24655 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed an issue where rmdir and rmdirSync work with original-fs in an asar context. #23890 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue where shutdown would be emitted both on app and system shutdown on macOS. #24111 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue where webContents.print() would sometimes hang with invalid settings. #24476 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed an issue where window.location properties would throw an error for windows opened with window.open. #23776 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue where withFileTypes was not supported as an option to fs.readdir or fs.readdirSync under asar. #24062 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue where cpu and heap profiling in Node.js did not work properly with --cpu-prof, --heap-prof, and related CLI flags. #24528 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue where errors were seen for nonexistent asar files. #24890
  • Fixed an issue where frameless modal windows with a vibrancy setting had bezeled corners. #24250 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed an issue where macOS window vibrancy active state did not always match the active state of the window. #24471 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue where many uses of the Node.js assert module would throw in both the browser and renderer processes. #24579
  • Fixed an issue where notifications with a reply button could potentially be destroyed too early when a user clicked on the notification body before replying. #25086 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue where some Node.js methods would not work with URL instances constructed in the renderer process. #24831 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue where some apps might be rejected from the Mac App Store owing to a private font-related API added in Chromium. #25117 <span style="font-size:small;">(Also in 10)</span>
  • Fixed an issue where some old notifications were not properly removed from the Notification Center on macOS. #24302 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue where suspend/resume were emitted twice on macOS. #24818 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue where the 'about' role had on effect on Windows menus. #23687 <span style="font-size:small;">(Also in 7.3, 8, 9, 10)</span>
  • Fixed an issue where the Save button did not function in PDF previews. #24946 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed an issue which would cause streaming protocol responses to stall in some cases. #24022 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue with click events not being emitted on macOS for Trays with context menus set. #24200 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an issue with volume-related globalShortcut registration. #23782 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed an occasional menu crash on macOS Catalina when menu is closing. #23778 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed broken --trace-sync-io flag in Node.js. #24529 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed broken toolbar text in the PDF viewer. #24913 <span style="font-size:small;">(Also in 10)</span>
  • Fixed bug on macOS where the main window could be targeted for a focus event when it was disabled behind a modal. #24286 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed clipboard.readBuffer returning incorrect value. #24454 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed crash that could occur when passing a non-absolute path to session.loadExtension. #25068 <span style="font-size:small;">(Also in 10)</span>
  • Fixed crash when navigating between origins in a child window with nativeWindowOpen and contextIsolation enabled. #23684 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed crash when navigating from a page with webview that has inherited zoom level. #24757 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed crash when opening offscreen transparent windows with gpu acceleration off. #24390
  • Fixed crash when using client certificate. #24868 <span style="font-size:small;">(Also in 10)</span>
  • Fixed delayed execution of some Node.js callbacks in the main process. #24131 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed disabling color correct rendering with --disable-color-correct-rendering. #23787 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed executeJavaScriptInIsolatedWorld not respecting hasUserGesture argument. #24396
  • Fixed frameless window's size being changed when restored from minimized state. #25014 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed inactive windows having active titlebar on Windows. #24847 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed intercepted protocols not raising Redirect information back to Chromium. #23742 <span style="font-size:small;">(Also in 7.3)</span>
  • Fixed issued where voice over would not read words as you typed them. #24801 <span style="font-size:small;">(Also in 10)</span>
  • Fixed media keys working unilaterally when registered with globalShortcut. #24145
  • Fixed missing guid parameter in Linux crash reports. #24881 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed no session in webContents of type remote. #23989 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed node's TLS stack not allowing renegotiation. #25022 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed potentially invalid duplex mode settings on Linux. #24489 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed serialization of nativeImages over remote when moving from the main process to the renderer process. #23759 <span style="font-size:small;">(Also in 7.3, 8, 9, 10)</span>
  • Fixed the acceptLanguages argument being ignored in session.setUserAgent(). #23944 <span style="font-size:small;">(Also in 7.3, 8, 9, 10)</span>
  • Fixed tray menu on Windows not keyboard navigable. #23843 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed tray menu showing in taskbar on Windows. #24097 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Fixed undefined symbol error when loading native modules that uses uv_dlopen. #24659
  • Fixed window size being changed after unmaximizing. #25051 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed window titlebar not responding to pen on Windows 10. #24042 <span style="font-size:small;">(Also in 7.3, 8, 9, 10)</span>
  • Fixed: On some Windows machines, especially Windows Insider builds, Electron would crash silently during startup. #24030 <span style="font-size:small;">(Also in 9, 10)</span>
  • Increased maximum length for crash keys from 127B to 20KB. #24782 <span style="font-size:small;">(Also in 9, 10)</span>
  • Protocol response streams are now destroyed if the request is aborted. #24014 <span style="font-size:small;">(Also in 9, 10)</span>
  • Resolve app-scoped bookmarks without mounting network drives. #24708
  • Restored old implementation of Linux Tray icons to fix a collection of issues where the tray icon wouldn't appear, would be the wrong size or would randomly disappear. #23674 <span style="font-size:small;">(Also in 8, 9, 10)</span>
  • Save crash reports locally when uploadToServer: false on linux. #24778 <span style="font-size:small;">(Also in 9, 10)</span>
  • The element highlighter in devtools works again. #24921 <span style="font-size:small;">(Also in 10)</span>
  • shell.showItemInFolder uses the FileManager DBUS API on Linux, only falling back to xdg-open if that fails. #25087
  • Fixed issues with CORS when making requests from extensions. #24483 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed not working WebSQLDatabase in extension background pages. #24798 <span style="font-size:small;">(Also in 9, 10)</span>
  • Fixed an issue with a consistent unwanted exception appearing during a debugging session with the VSCode debugger. #24191
  • Fixed mac app store rejection notice for invalid symbolic link in bundle. #23831
  • Fixed mac app store rejection notice for invalid symbolic link in bundle. #24158 <span style="font-size:small;">(Also in 9, 10)</span>

End of Support for 8.x.y

Electron 8.x.y has reached end-of-support as per the project's support policy. Developers and applications are encouraged to upgrade to a newer version of Electron.