Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency electron to v6 #1470

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 30, 2019

This PR contains the following updates:

Package Type Update Change
electron devDependencies major 4.2.8 -> 6.0.11

Release Notes

electron/electron

v6.0.11

Compare Source

Release Notes for v6.0.11

Fixes

  • Fixed a crash when exiting simple fullscreen on macOS. #​20282
  • Fixed disabling color correct rendering with --disable-color-correct-rendering. #​20358
  • Fixed process taking 100% CPU when crashed with no crashReporter set up on Windows x64. #​20396

v6.0.10

Compare Source

Release Notes for v6.0.10

Other Changes

  • Added Windows on Arm node header files to checksum file. #​20260

v6.0.9

Compare Source

Release Notes for v6.0.9

Other Changes

v6.0.8

Compare Source

Release Notes for v6.0.8

Fixes

  • Fixed an issue where cursor blink rate was not honored. #​20046
  • Fixed crash with --inspect-brk under ELECTRON_RUN_AS_NODE flag. #​20098
  • Fixed issue where using the menu on Linux would un-focus the webContents. #​20035
  • Reduced the size of the chrome-sandbox binary on Linux from ~5MB to ~0.2MB by stripping debug symbols that were inadvertently being included. #​20081

Other Changes

  • Added Windows on Arm (64 bit) release. #​20113
  • Updated Chromium to 76.0.3809.146. #​20149

v6.0.7

Compare Source

Release Notes for v6.0.7

Fixes

  • Fixed issue where maximizing a window on Windows in vertically stacked multi-monitor setups could result in the window rendering a white screen. #​20052

Other Changes

  • Updated Chromium to 76.0.3809.139. #​20042

v6.0.6

Compare Source

Release Notes for v6.0.6

Fixes

  • Fixed a bug where windows would sometimes shrink to 0 size after being restored on Windows. #​20001
  • Fixed i18n of GTK messageboxes' stock buttons. #​20007

Other Changes

  • Updated Chromium to 76.0.3809.138. #​20024

v6.0.5

Compare Source

Release Notes for v6.0.5

Fixes

  • Added default NSMicrophoneUsageDescription and NSCameraUsageDescription strings to info.plist. #​19949
  • Fixed a bug where an unresizable window would shrink when restored after being minimized on Windows. #​19956
  • Fixed a bug where sometimes a ~10px white border would be added to fullscreen windows on Windows. #​19944
  • Fixed command-line scheme arguments from spilling over into each other. #​19940
  • Fixed issue where reloading the window after calling setBackgroundColor would result in using an older background color setting. #​19973
  • No-notes. #​19391

Other Changes

  • Updated Chromium to 76.0.3809.136. #​19981

v6.0.4

Compare Source

Release Notes for v6.0.4

Fixes

  • Fixed an issue where a call to child_process.fork() would set ELECTRON_RUN_AS_NODE in the main process. #​19845
  • Fixed web page displayed with offset when using native tab on macOS. #​19888
  • Fixed white flash after restoring an app from the background. #​19900

Other Changes

  • Updated Chromium to 76.0.3809.131. #​19909

Documentation

v6.0.3

Compare Source

Release Notes for v6.0.3

Fixes

  • Correctly internationalize i18n in GTK-based Linux dialogs. #​19760
  • Fixed a bug where you couldn't navigate the menu bar with the keyboard if you used the mouse to focus it. #​19764
  • Fixed bug where inputs would lose focus when opening the menu bar, preventing many menu items (Edit/Copy/Paste/etc.) to be unusable on Windows and Linux. #​19708
  • Fixed occasional crashes while selecting text. #​19808
  • Normalized out-of-bound value behavior for the setOpacity() API in BrowserWindow. #​19723
  • Removed the possibility of a preload script being executed twice for the same process in quickly succeeding navigations in the same frame. #​19826

Other Changes

Documentation

v6.0.2

Compare Source

Release Notes for v6.0.2

Fixes

  • Fixed BrowserWindow's will-resize event returning wrong bounds on macOS. #​19704
  • Fixed a crash in window.print(). #​19677
  • Fixed async Node APIs not working after received IPC message. #​19719

Other Changes

  • Updated Chromium to 76.0.3809.110. #​19684

v6.0.1

Compare Source

Release Notes for v6.0.1

Fixes

  • Fixed 'swipe' event emission on macOS. #​19354
  • Fixed process.uptime() returning the wrong time. #​19567
  • Fixed tray.displayBalloon() not working with custom icon on Windows. #​19528
  • Fixed case where sending IPC to a child window (opened with window.open) could cause a crash. #​19633
  • Fixed crashes when using the application menu on Linux. #​19560
  • Fixed default dock bounce type on macOS. #​19546
  • Fixed handling of invalid webRequest url pattern filtering in onBeforeRequest. #​19570
  • Ensured that the alwaysOnTop status returned when always-on-top-changed was emitted was correct. #​19534
  • Fixed setting the backgroundColor property on TouchBarButton to default by assigning null after the item is constructed. #​19471
  • Fixed the clearRecentDocuments MenuItem role on Windows. #​19637
  • Standardized the about panel icon size on Linux. #​19572
  • getPath('logs') now throws better error when it fails to find the logs path. #​19545

Other Changes

  • Updated Chromium to 76.0.3809.102. #​19649

v6.0.0

Compare Source

Release Notes for 6.0.0

Breaking Changes

  • Upgraded to Chromium 76.0.3809.88, Node.js 12.4.0, and V8 7.6.303.22
  • Fixed disparity between net module headers and Node.js' http.IncomingMessage headers. #​17517
  • Made ShowItemInFolder asynchronous with no return value. #​17121
  • Made app log directory creation opt-in with a new function app.setAppLogsPath. #​17841
  • Removed hasServiceWorker and unregisterServiceWorker APIs from the WebContents modules. #​16717

Promises

Electron 6.0 continues a project started in 5.0 to improve Promise support. See the project notes for more information.

These functions now return Promises and still support older callback-based invocation:

These functions now have two forms, synchronous and Promise-based asynchronous:

These functions now return Promises:

Features

  • Added chrome.runtime.getManifest API for Chrome extensions. #​16891
  • Added <webview>.getWebContentsId(), which does not depend of the remote module. #​17407
  • Added all_frames support for Chrome extension content scripts. #​17258
  • Added disableHtmlFullscreenWindowResize option to webPreferences to allow preventing window from resizing when entering HTML5 fullscreen. #​17203
  • Added excludedFromShownWindowsMenu property to allow for windows to be excluded from the windows menu. #​17404
  • Added process.getSystemVersion(), which is available in sandboxed renderers and returns the actual operating system version instead of kernel version on macOS. #​16599
  • Added process.versions.electron to get the electron version in the forked process. #​16450
  • Added renderer-process-crashed event to app, which is emitted when any renderer process crashes. #​17315
  • Added requestingUrl and isMainFrame properties to the permission request and permission check handlers details objects so that apps can check the origin of the requesting frame rather than the root frame. #​18772
  • Added systemPreferences.getAnimationSettings() returning system animation settings provided by Chromium. #​17382
  • Added tray.getTitle() to allow users to see the title set next to the status bar icon on macOS. #​17385
  • Added a new Event property triggeredByAccelerator, which is called back in custom click events on MenuItems. #​16954
  • Added ability disable fetching thumbnails for in desktopCapturer.getSources(). #​14906
  • Added additional error information to errors thrown when using the remote module. #​17851
  • Added an option to enable MenuItems on macOS to work optionally when visible: false. #​16853
  • Added file preview for file picker in Linux. #​16447
  • Added flexible autoresize option for BrowserViews in BrowserWindow. #​16184
  • Added native Touch ID authentication support for macOS. #​16707
  • Added new app.allowRendererProcessReuse property that allows apps to disable the site instance overrides Electron has patched into Chromium. This can be used to prevent the automatic renderer process restarting that Electron currently does. #​18554
  • Added new app.userAgentFallback property to allow setting the app's useragent globally. #​18473
  • Added new monochrome, internal, acceleratorEnabled, colorDepth and depthPerComponent properties to the Display API Structure. #​16870
  • Added new inspectSharedWorker() API to enable opening devtools for a shared worker. #​16615
  • Added safer nativeImage.createFromBitmap(), which does not decode PNG/JPEG. #​17337
  • Added support for Scroll Lock accelerator. #​16873
  • Added world isolation to Chrome extension content scripts. #​17032
  • Allowed setting working directory in app.setUserTasks() / app.setJumpList(). #​18291
  • Enabled NodeIntegrationInSubFrames option usage for webview tags. #​17226
  • Exposed colorSpace to the Display object. #​17405
  • Feat: add native emoji and color picker methods for Windows and macOS. #​17359
  • Implemented BrowserWindow.moveTop() on Linux/X11. #​16629
  • Moved webFrame custom scheme APIs to browser process under protocol. #​16416
  • Process now emits 'loaded' event in sandboxed renderers. #​17680

Fixes

  • systemPreferences.isDarkMode() now correctly detects dark mode on macOS Catalina. #​18958
  • Added missing 'page-title-updated' event on webContents to documentation. Also fixed forwarding of the explicitSet argument when emitted on BrowserWindow. #​18319
  • Backported a Node.js patch that fixes an http/2 memory leak:. #​18882
  • Corrected a reversal of cancellation values in showSaveDialog on the Windows platform. #​18383
  • Corrected the boolean cancellation value for showOpenDialog on Windows. #​18509
  • DevTools Extensions now load correctly. #​17614
  • Enabled autofill popups on macOS. #​16308
  • Ensured that webContents.hasServiceWorker() rejects with an error for invalid URLs. #​16571
  • Ensured using the --inspect-brk argument does not cause a crash. #​19332
  • Fixed Chrome extension content scripts not loading in sandboxed renderer. #​16218
  • Fixed <webview> not working in scriptable popups when nativeWindowOpen is enabled. #​19218
  • Fixed app.getAppPath() returning default-app path when running electron app with no package.json or electron app/index.js. Now the directory containing the executed file is returned. #​18888
  • Fixed beginFrameSubscription returning blurred images on HiDPI displays. #​17444
  • Fixed fs.promises APIs not working with ASAR paths. #​18114
  • Fixed new-window event not being emitted from a link with target="_blank" in a sandboxed <webview> #​18556
  • Fixed webContents.print() callback not returning boolean correctly in all cases. #​18803
  • Fixed webFrame.setSpellCheckProvider memory leak. #​16448
  • Fixed window.open() not returning null when allowpopups was not set in a sandboxed webview #​18556
  • Fixed window.opener null after cross-origin navigation. #​18624
  • Fixed a crash in systemPreferences.getAccentColor(). #​18195
  • Fixed a crash when failed to get devices in desktopCapturer on Windows. #​17973
  • Fixed a dialog crash when no BrowserWindow was passed. #​18381
  • Fixed a possible crash on exit. #​17879
  • Fixed a regression in Kerberos SPN generation. In the M69 upgrade, the default for the enable_negotiate_port option was inadvertently changed from false to true; this restores the former behavior and aligns with Chromium. #​18285
  • Fixed accidental breaking API change in the deprecated dialog.* methods. #​18724
  • Fixed an issue on Windows where calling .show() on a BrowserWindow did not focus the window. #​18081
  • Fixed an issue preventing the Flash plugin from loading on Linux. #​17823
  • Fixed an issue where tray.destroy was not working properly on some linux distros. #​18218
  • Fixed autohide taskbar not showing when frameless window is maximized. #​18373
  • Fixed bug where notifications with same tag wouldn't show more than once when first notification was auto dismissed in Windows 7. #​18740
  • Fixed building with enable_run_as_node disabled. #​18892
  • Fixed case where the Promise returned by loadURL and loadFile would be rejected with ERR_ABORTED if you triggered a virtual navigation before the page had finished loading. E.g. Used history.pushState or set location.hash. #​18143
  • Fixed crash in BrowserWindow destructor after win.webContents.destroy(). #​18793
  • Fixed crash that could occur while certain chrome devtools extensions were loaded. #​19105
  • Fixed crash when Electron run from SMB network share. #​17909
  • Fixed crash when creating certain types of windows in the display-* events. #​19022
  • Fixed crash when quitting Electron with an inspector attached. #​18077
  • Fixed crash when starting with --disable-gpu. #​18904
  • Fixed electron.zip size increase regression on Linux (compared to Electron 3) by stripping swiftshader libraries (libEGL.so, libGLESv2.so). #​18600
  • Fixed exiting html fullscreen mode for embedded contents. #​18775
  • Fixed inconsistent behavior where modifying the buffer would change nativeImage pixels, while decoded PNG / JPEG data is a copy. #​17843
  • Fixed issue where getEffectiveApperance and getAppLevelAppearance would return unknown instead of the correct value sometimes. #​18690
  • Fixed issue where require('timers').setTimeout would sometimes never fire in the renderer process. #​18961
  • Fixed issue where shell.openExternal would not activate opened window on macOS. #​18722
  • Fixed issue where sandboxed renderers could sometimes leak globals outside of the preload script. #​17712
  • Fixed issues where some chrome://* URLs would not render correctly. #​18552
  • Fixed loading of node_modules inside ASAR files. #​18192
  • Fixed macOS breakpad symbol files to include non-public symbols. #​19155
  • Fixed offscreen rendering not working with viz compositor. #​17538
  • Fixed race condition in the desktopCapturer module where some requests for sources would never be resolved or unhandled exceptions would be thrown in the main process. #​18042
  • Fixed race condition where the remote module would sometimes fail to fetch properties of a remote object. #​17464
  • Fixed random flicker that occurred on macOS when performing fullscreen or workspace transitions. #​18885
  • Fixed setting src on <webview> being too slow. #​19190
  • Fixed silent printing across platforms. #​19037
  • Fixed some chrome extension communication (MessagePort.postMessage) not working. #​19106
  • Fixed the input[type=file] element not showing a file dialog. #​18341
  • Fixed the callback of beginFrameSubscription passing Buffer instead of NativeImage. #​17548
  • Focus methods no longer steal focus when users are active on other apps. #​16400
  • Improved the way frameless windows are handled on Windows. #​16596
  • Injected chrome extensions that have content scripts with a . in the pattern field now treat it as a raw . instead of a wildcard. #​17593
  • Migrated crashReporter to use crashpad on Windows. #​18766
  • Preloaded scripts for internal <iframe> in <webview> are no longer executed when nodeIntegrationInSubFrames is enabled. #​19298
  • Removed inadvertently-included mojom.js files from distribution bundle. #​18486
  • Removed incorrectly published internal V8 symbols and CRT methods from node.lib, causing heap corruptions with Node.js modules using the dynamic CRT on Windows. #​18619
  • Removed non-existent gpu-crashed event on <webview>. #​17317
  • Spellcheck providers are now (again) called with contractions and their parts. #​18538
  • The prefers-color-scheme CSS media query now works correctly. #​19250
  • .executeJavaScript will never leave a Promise dangling now, scripts that fail to execute will correctly be rejected. #​18714
  • Uint8Array and Uint16Array can now be sent correctly in Chrome Extension MessagePort instances. #​19252
  • Fixed popup.location.* setters when nativeWindowOpen is disabled. #​19494
  • Fixed an issue where windows symbol files were changed in a way that was incompatible with some symbolication tools. #​19504
  • Fixed issue where sometimes asynchronous node.js methods such as http, setImmediate and fs wouldn't call their callbacks for an incredibly long amount of time. #​19467
  • Fixed window menu background color when in dark mode on Windows 10. #​19505

Other Changes

  • Replaced powerMonitor querySystemIdleState and querySystemIdleTime with synchronous APIs. #​17144
  • Added experimental support for building for Windows on Arm. #​18625
  • Converted accessibilitySupportEnabled to a proper JS property on app. #​17362
  • Converted applicationMenu to a proper JS property on the app module. #​17361
  • Deprecated the options argument to session.clearAuthCache. #​18131
  • Enabled sandbox and disabled remote module in default_app. #​17318
  • Enabled sandboxing of devtools and chrome extension background script host renderers. #​16864
  • Removed Vulkan mock ICD from electron.zip, which is only meant to be used for Chromium development. #​18596
  • Removed Vulkan validation layers DLLs from electron.zip, which are only meant to be used for Chromium development. #​18062
  • Removed deprecated modules internally using remote.require in sandboxed renderer context. Use remote.require explicitly instead (unless the remote module is disabled). #​15957
  • Removed native mksnapshot binaries for arm/arm64 as they no longer work. #​17561
  • Removed special handling that forced dialog methods called over the remote module to return their result synchronously but not block the main process. #​17412
  • The clipboard module in renderers no longer depends on the remote module on Linux. #​17200
  • Improved the exception message thrown when require fails in sandboxed renderers. #​17413

Documentation

v5.0.11

Compare Source

Release Notes for v5.0.11

Fixes

  • Added default NSMicrophoneUsageDescription and NSCameraUsageDescription strings to info.plist. #​19950
  • Fixed a crash when exiting simple fullscreen on macOS. #​20291
  • Fixed an issue where cursor blink rate was not honored. #​20045
  • Fixed command-line scheme arguments from spilling over into each other. #​19939
  • Fixed i18n of GTK messageboxes' stock buttons. #​20010
  • Fixed issue where using the menu on Linux would un-focus the webContents. #​20034
  • Fixed web page displayed with offset when using native tab on macOS. #​19882
  • Reduced the size of the chrome-sandbox binary on Linux from ~5MB to ~0.2MB by stripping debug symbols that were inadvertently being included. #​20082

v5.0.10

Compare Source

Release Notes for v5.0.10

Fixes

  • Correctly internationalize i18n in GTK-based Linux dialogs. #​19801
  • Fixed BrowserWindow's will-resize event returning wrong bounds on macOS. #​19705
  • Fixed a bug where you couldn't navigate the menu bar with the keyboard if you used the mouse to focus it. #​19763
  • Fixed a crash in window.print(). #​19678
  • Fixed bug where inputs would lose focus when opening the menu bar, preventing many menu items (Edit/Copy/Paste/etc.) to be unusable on Windows and Linux. #​19707
  • Normalized out-of-bound value behavior for the setOpacity() API in BrowserWindow. #​19724
  • Removed the possibility of a preload script being executed twice for the same process in quickly succeeding navigations in the same frame. #​19828
  • Uint8Array and Uint16Array can now be sent correctly in Chrome Extension MessagePort instances. #​19654

Documentation

v5.0.9

Compare Source

Release Notes for v5.0.9

Fixes

  • Fixed process.uptime() returning the wrong time. #​19566
  • Fixed tray.displayBalloon() not working with custom icon on Windows. #​19530
  • Fixed an issue where tray.destroy was not working properly on some linux distros. #​19619
  • Fixed an issue where windows symbol files were changed in a way that was incompatible with some symbolication tools. #​19503
  • Fixed crashes when using the application menu on Linux. #​19561
  • Fixed error throwing on invalid webRequest url pattern filtering in onBeforeRequest. #​19580
  • Fixed inverted alwaysOnTop status returned when always-on-top-changed was emitted. #​19506
  • Fixed setting the backgroundColor property on TouchBarButton to default by assigning null after the item is constructed. #​19473
  • Fixed the clearRecentDocuments MenuItem role on Windows. #​19640
  • Fixed the callback of beginFrameSubscription passing Buffer instead of NativeImage. #​19647
  • Standardized the about panel icon size on Linux. #​19581

v5.0.8

Compare Source

Release Notes for v5.0.8

Fixes

  • Fixed 'swipe' event emission on macOS. #​19353
  • Fixed random flicker that occurred on macOS when performing fullscreen or workspace transitions. #​19315
  • Preload scripts for internal <iframe> in <webview> are not longer executed when nodeIntegrationInSubFrames is enabled. #​19299

v5.0.7

Compare Source

Release Notes for v5.0.7

Features

  • Added requestingUrl and isMainFrame properties to the permission request and permission check handlers details objects so that apps can check the origin of the requesting frame rather than the root frame. #​18773

Fixes

  • Fixed <webview> not working in scriptable popups when nativeWindowOpen is enabled. #​19206
  • Fixed an issue where the Tray icon context menu on macOS blocked the main process while open. #​19036
  • Fixed an issue where the Tray icon would never believe itself to be in dark mode. #​19082
  • Fixed bug on macOS where the main window could be targeted for a focus event when it was disabled behind a modal. #​19063
  • Fixed crash when creating certain types of windows in the display-* events. #​19023
  • Fixed macOS breakpad symbol files to include non-public symbols. #​19157
  • Fixed silent printing across platforms. #​19038
  • Fixed webview crash on iframe removal. #​18976
  • Removed inadvertently included mojom.js files from distribution bundle. #​19192
  • Removed inadvertently included resources/inspector from electron.zip on Windows and Linux. #​19193

Other Changes

  • Reverted change to focus behavior that broke Character Viewer support on macOS. #​19238

v5.0.6

Compare Source

Release Notes for v5.0.6

Fixes

    • Fixed issues with popups created from sandboxed <webview>:
      • Clicking link with target="_blank" not emitting 'new-window' event.
      • window.open() not returning null when allowpopups is not set. #​18798
  • Backported a patch from node that fixes an http/2 memory leak:. #​18883
  • Fixed app.getAppPath() returning default-app path when running electron app with no package.json or electron app/index.js. Now the directory containing the executed file is returned. #​18894
  • Fixed issue where require('timers').setTimeout would sometimes never fire in the renderer process. #​18965
  • systemPreferences.isDarkMode() now correctly detects dark mode on macOS Catalina. #​18960

Other Changes

  • Fixed an issue where session.getCacheSize would never call its callback. #​18898

v5.0.5

Compare Source

Release Notes for v5.0.5

Fixes

v5.0.4

Compare Source

Release Notes for v5.0.4

Fixes

  • Added check for invalid URLs upon setting cookies. #​18756
  • Fixed window.opener null after cross-origin navigation. #​18614
  • Fixed bug where notifications with same tag wouldn't show more than once when first notification was auto dismissed in Windows 7. #​18741
  • Fixed exiting html fullscreen mode for embedded contents. #​18781
  • Fixed issue where getEffectiveApperance and getAppLevelAppearance would return unknown instead of the correct value sometimes. #​18689
  • Fixed issue where shell.openExternal would not activate opened window on macOS. #​18721
  • Spellcheck providers are now (again) called with contractions and their parts. #​18548

v5.0.3

Compare Source

Release Notes for v5.0.3

Fixes

  • Fixed an issue whereby minimizable and closable weren't respected in customButtonsOnHover mode. #​18485
  • Removed incorrectly published internal V8 symbols and CRT methods from node.lib, causing heap corruptions with node modules using the dynamic CRT on Windows. #​18620
  • Using webContents.sendInputEvent to send a WebMouseWheelEvent now has the expected effect. #​18495

Other Changes

  • Fixed electron.zip size increase regression on Linux (compared to Electron 3) by stripping swiftshader libraries (libEGL.so, libGLESv2.so). #​18601
  • Removed Vulkan mock ICD from electron.zip, which is only meant to be used for Chromium development. #​18595

v5.0.2

Compare Source

Release Notes for v5.0.2

Fixes

  • Added missing 'page-title-updated' event on webContents to documentation. Also fixed forwarding of the explicitSet argument when emitted on BrowserWindow. #​18318
  • Fixed a crash in systemPreferences.getAccentColor(). #​18194
  • Fixed a regression in Kerberos SPN generation. In the M69 upgrade, the default for the enable_negotiate_port option was inadvertently changed from false to true; this restores the former behavior and aligns with Chromium. #​18284
  • Fixed case where the promise returned by loadURL and loadFile would be rejected with ERR_ABORTED if you triggered a virtual navigation before the page had finished loading. E.g. Used history.pushState or set location.hash. #​18142

v5.0.1

Compare Source

Release Notes for v5.0.1

Fixes

  • Fixed fs.promises APIs not working with ASAR paths. #​18115
  • Fixed an issue on Windows where calling .show() on a BrowserWindow did not focus the window. #​18080
  • Fixed crash when Electron run from SMB network share. #​17908
  • Fixed crash when quitting Electron with an inspector attached. #​18076
  • Removed non-existent gpu-crashed event on <webview>. #​18004

Other Changes

  • Removed Vulkan validation layers DLLs from electron.zip, which are only meant to be used for Chromium development. #​18061
  • Updated Chromium to 73.0.3683.121. #​18001

v5.0.0

Compare Source

Release Notes for v5.0.0

Breaking Changes

  • Upgraded to Chromium 73.0.3683.119, Node.js 12.0.0, and V8 7.3.492.27.
  • The default values of nodeIntegration and webviewTag are now false to improve security. #​16235
  • Removed support for deprecated construction of a TouchBar with an array of items, use an options object instead. #​15650
  • Enabled mixed-sandbox mode by default. enableMixedSandbox and the --enable-mixed-sandbox command-line switch still exist for compatibility, but are deprecated and have no effect. #​15894

Features

  • Added `ELECTRON_DISABLE_SANDBOX environment variable to make it easier to disable sandboxing in Docker-based Linux CI environments. #​16662
  • Added Promise support for the Cookies API. #​16702
  • Added activate option to webContents.openDevTools. #​13852
  • Added app.commandLine.hasSwitch() / app.commandLine.getSwitchValue(). #​16282
  • Added fileMenu / viewMenu / appMenu roles. #​16328
  • Added ipc-message and ipc-message-sync events to webContents. #​16468
  • Added preload-error event to webContents emitted when preload script fails (parse error, unhandled exception, etc.). #​16411
  • Added win.removeMenu() to remove application menus instead of using win.setMenu(null). #​16657
  • Added a way to query for system colors on MacOS via systemPreferences.getSystemColor(). #​16248
  • Added about panel customization on linux. #​15658
  • Added caps lock and numlock as keyboard accelerator modifiers. #​16725
  • Added event and method to detect high contrast color schemes . #​15493
  • Added getMemoryFootprint API. #​14847
  • Added macOS support for systemPreferences.getAccentColor(). #​16251
  • Added macOS support to systemPreferences.getColor(). #​16249
  • Added methods to DownloadItem that enable customization of the save dialog options during will-download events. #​15497
  • Added response header support to protocol.registerFileProtocol to match protocol.registerStreamProtocol. #​16098
  • Added support for DesktopCapturerSource.appIcon. 1f55f163
  • Added support for multiple browser views per BrowserWindow. #​16148
  • Added support for running preload scripts and nodeIntegration in iframes. #​16425
  • Allow for MacOS notifications to be immediately delivered. #​16060
  • Allow numpad keys to be used as accelerators. #​15689
  • Allow partial setting of window bounds with win.setBounds(). #​15677
  • Allow registering of multiple globalShortcuts. #​15542
  • Allowed filtering of remote.getBuiltin(), remote.getCurrentWindow(), remote.getCurrentWebContents and <webview>.getWebContents(). #​16293
  • Converted contentTracing.getCategories() to return a promise instead taking a callback. #​16624
  • Converted contentTracing.startRecording() and contentTracing.stopRecording() to return a promise instead taking a callback. #​16642
  • Converted debugger.sendCommand() to return a Promise instead of taking a callback. #​16931
  • Converted zoomLevel() and zoomFactor() for webContents and <webview> to return a promise instead taking a callback. #​16410
  • Enabled NodeIntegrationInSubFrames option usage for webview tags. #​17398
  • Enabled the setuid sandbox on Linux, allowing Electron to launch sandboxed processes in environments that disable CLONE_NEWUSER for unprivileged users. #​17343
  • Exposed an API to allow apps to determine their status as a trusted accessibility client. #​16119
  • Provided user system's region with app.getLocaleCountryCode(). #​15035
  • Mixed-sandbox mode works on Linux. #​15870
  • Promisified app.getFileIcon. #​15742
  • Promisified shell.openExternal() by splitting it into a sync and async method. #​16176
  • Promisified win.capturePage(). #​15743
  • Implemented the browser-backward and browser-forward app-command events available in BrowserWindow on Linux. #​15441
  • Unified behavior between the default app and packaged apps (application menu / window-all-closed handling). #​16310
  • Updated SpellCheck API to support asynchronous results. #​14032
  • Updated Menu.buildFromTemplate() to allow it to accept MenuItems in addition to plain objects. #​16783
  • Updated WebContents.loadURL and loadFile to return a promise. #​15855

Fixes

  • 'win.setParentWindow(parent)' is now supported on Windows. #​15775
  • Fixed a crash on Linux when starting a sandboxed renderer: the resourcesPath property is no longer available on process in sandboxed renderers. #​15701
  • Added new switch: --disable-color-correct-rendering. #​15898
  • Added a check for invalid menu index to prevent out-of-range crashes on insertion. #​17435
  • Added a patch to fix incorrect enumeration and instantiation of Node.js ciphers in the Crypto module. #​16909
  • Added missing buffer size check in nativeImage.createFromBuffer / nativeImage.addRepresentation. Data URLs only parsed according to the MIME type as PNG or JPEG. #​17568
  • Allowed blocking of desktopCapturer.getSources() calls by handling the desktop-capturer-get-sources event. #​15964
  • Fixed a MacOS color picker dialog. #​17254
  • Be more lenient about whitespace in webview's "webpreferences" feature string. #​15602
  • Corrected windowMenu MenuItem role on MacOS. #​15930
  • Disabled CORB checks when web security preference is disabled. #​15737
  • Electron no longer forwards IPC filtering events to app for dev-tools and extensions. #​16613
  • Fixed hiddenInset titleBar console spam. #​15576
  • Fixed make certain values on process read-only. #​15628

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot force-pushed the renovate/electron-6.x branch 2 times, most recently from 4999a93 to d821945 Compare August 7, 2019 00:32
@renovate renovate bot force-pushed the renovate/electron-6.x branch 2 times, most recently from 09567c3 to 92fce75 Compare August 12, 2019 23:59
@renovate renovate bot force-pushed the renovate/electron-6.x branch 2 times, most recently from 2184993 to 8a746eb Compare August 24, 2019 00:03
@renovate renovate bot force-pushed the renovate/electron-6.x branch 3 times, most recently from b0d359d to 82b91da Compare August 31, 2019 05:47
@renovate renovate bot force-pushed the renovate/electron-6.x branch 2 times, most recently from 266abfb to bda2f12 Compare September 12, 2019 13:34
@renovate renovate bot force-pushed the renovate/electron-6.x branch from bda2f12 to 93d97eb Compare September 19, 2019 05:44
@renovate renovate bot force-pushed the renovate/electron-6.x branch from 93d97eb to 1fbb77f Compare October 2, 2019 00:08
@belcherj
Copy link
Contributor

belcherj commented Oct 7, 2019

Closing in favor of #1633

@belcherj belcherj closed this Oct 7, 2019
@belcherj belcherj deleted the renovate/electron-6.x branch October 7, 2019 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants