chore(deps): Update dependency electron to version .x 🌟 #5258
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.0.10->6.1.5Release Notes
electron/electron
v6.1.5Compare Source
Release Notes for v6.1.5
Fixes
<webview>.capturePage()resolving with an empty object instead ofNativeImageinstance. #21105backgroundThrottling: falsenot having an effect. #21014globalShortcut.registerAll()on Windows and Linux. #20982v6.1.4Compare Source
Release Notes for v6.1.4
Fixes
v6.1.3Compare Source
Release Notes for v6.1.3
Fixes
menu.popup(). #20786webContents.printToPDF()multiple times. #20811BrowserViews. #20834remotemodule. #20716remotemodule is used in sub-frames (<iframe>or scriptable popup). #20815v6.1.2Compare Source
Release Notes for v6.1.2
Fixes
v6.1.1Compare Source
Release Notes for v6.1.1
Fixes
nativeWindowOpenchild window. #20547remotecould sometimes not be correctly freed. #20694v6.1.0Compare Source
Release Notes for v6.1.0
This release is a minor bump as it contains exactly one new feature.
contextBridgemodule, this feature is outlined below along with the other fixes and changes that went into this release. The6.1.xseries is now only release line in the6.x.ymajor release line that will receive bug fixes and security fixes. It is recommended you upgrade to6.1.x.Features
contextBridgemodule to make it easier to communicate between an isolated context and the main world. #20639Fixes
Other Changes
3ca62d9v6.0.12Compare Source
Release Notes for v6.0.12
Features
Fixes
worker_threadsinELECTRON_RUN_AS_NODE. #20457recentDocumentsMenuItem role on macOS. #20409.asarin directory name extensions. #20402v6.0.11Compare Source
Release Notes for v6.0.11
Fixes
--disable-color-correct-rendering. #20358v6.0.10Compare Source
Release Notes for v6.0.10
Other Changes
v6.0.9Compare Source
Release Notes for v6.0.9
Other Changes
v6.0.8Compare Source
Release Notes for v6.0.8
Fixes
--inspect-brkunder ELECTRON_RUN_AS_NODE flag. #20098Other Changes
v6.0.7Compare Source
Release Notes for v6.0.7
Fixes
Other Changes
v6.0.6Compare Source
Release Notes for v6.0.6
Fixes
Other Changes
v6.0.5Compare Source
Release Notes for v6.0.5
Fixes
NSMicrophoneUsageDescriptionandNSCameraUsageDescriptionstrings to info.plist. #19949setBackgroundColorwould result in using an older background color setting. #19973Other Changes
v6.0.4Compare Source
Release Notes for v6.0.4
Fixes
child_process.fork()would setELECTRON_RUN_AS_NODEin the main process. #19845Other Changes
Documentation
v6.0.3Compare Source
Release Notes for v6.0.3
Fixes
setOpacity()API inBrowserWindow. #19723Other Changes
Documentation
v6.0.2Compare Source
Release Notes for v6.0.2
Fixes
will-resizeevent returning wrong bounds on macOS. #19704window.print(). #19677Other Changes
v6.0.1Compare Source
Release Notes for v6.0.1
Fixes
process.uptime()returning the wrong time. #19567tray.displayBalloon()not working with custom icon on Windows. #19528window.open) could cause a crash. #19633webRequesturl pattern filtering inonBeforeRequest. #19570alwaysOnTopstatus returned whenalways-on-top-changedwas emitted was correct. #19534backgroundColorproperty onTouchBarButtonto default by assigningnullafter the item is constructed. #19471clearRecentDocumentsMenuItem role on Windows. #19637getPath('logs')now throws better error when it fails to find the logs path. #19545Other Changes
v6.0.0Compare Source
Release Notes for 6.0.0
Breaking Changes
76.0.3809.88, Node.js12.4.0, and V87.6.303.22netmodule headers and Node.js'http.IncomingMessageheaders. #17517ShowItemInFolderasynchronous with no return value. #17121app.setAppLogsPath. #17841hasServiceWorkerandunregisterServiceWorkerAPIs from the WebContents modules. #16717Promises
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:
contentTracing.getCategories()#16583contentTracing.getCategories()#16583contentTracing.getTraceBufferUsage()#16600contents.executeJavaScript()#17312cookies.flushStore()#16464cookies.get()#16464cookies.remove()#16464cookies.set()#16464dialog.showCertificateTrustDialog()#17181inAppPurchase.getProducts()#17355inAppPurchase.purchaseProduct()#17355netLog.stopLogging()#16862session.clearAuthCache()#17259session.clearCache()#17185session.clearHostResolverCache()#17229session.clearStorageData()#17249session.getBlobData()#17303session.getCacheSize()#17185session.resolveProxy()#17222session.setProxy()#17222webContents.hasServiceWorker()#16535webContents.printToPDF()#16795webContents.savePage()#16742webFrame.executeJavaScript()#17312webFrame.executeJavaScriptInIsolatedWorld()#17312webviewTag.executeJavaScript()#17312These functions now have two forms, synchronous and Promise-based asynchronous:
dialog.showMessageBox()#17298dialog.showOpenDialog()#16973dialog.showSaveDialog()#17054These functions now return Promises:
app.dock.show()#16904Features
chrome.runtime.getManifestAPI for Chrome extensions. #16891<webview>.getWebContentsId(), which does not depend of theremotemodule. #17407all_framessupport for Chrome extension content scripts. #17258disableHtmlFullscreenWindowResizeoption towebPreferencesto allow preventing window from resizing when entering HTML5 fullscreen. #17203excludedFromShownWindowsMenuproperty to allow for windows to be excluded from the windows menu. #17404process.getSystemVersion(), which is available in sandboxed renderers and returns the actual operating system version instead of kernel version on macOS. #16599process.versions.electronto get the electron version in the forked process. #16450renderer-process-crashedevent toapp, which is emitted when any renderer process crashes. #17315requestingUrlandisMainFrameproperties 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. #18772systemPreferences.getAnimationSettings()returning system animation settings provided by Chromium. #17382tray.getTitle()to allow users to see the title set next to the status bar icon on macOS. #17385triggeredByAccelerator, which is called back in customclickevents onMenuItems. #16954desktopCapturer.getSources(). #14906remotemodule. #17851MenuItemson macOS to work optionally whenvisible: false. #16853BrowserViews inBrowserWindow. #16184app.allowRendererProcessReuseproperty 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. #18554app.userAgentFallbackproperty to allow setting the app's useragent globally. #18473monochrome,internal,acceleratorEnabled,colorDepthanddepthPerComponentproperties to the Display API Structure. #16870nativeImage.createFromBitmap(), which does not decode PNG/JPEG. #17337app.setUserTasks()/app.setJumpList(). #18291NodeIntegrationInSubFramesoption usage forwebviewtags. #17226colorSpaceto theDisplayobject. #17405BrowserWindow.moveTop()on Linux/X11. #16629webFramecustom scheme APIs to browser process underprotocol. #16416Fixes
systemPreferences.isDarkMode()now correctly detects dark mode on macOS Catalina. #18958'page-title-updated'event onwebContentsto documentation. Also fixed forwarding of theexplicitSetargument when emitted onBrowserWindow. #18319showSaveDialogon the Windows platform. #18383showOpenDialogon Windows. #18509webContents.hasServiceWorker()rejects with an error for invalid URLs. #16571--inspect-brkargument does not cause a crash. #19332<webview>not working in scriptable popups whennativeWindowOpenis enabled. #19218app.getAppPath()returning default-app path when runningelectron appwith no package.json orelectron app/index.js. Now the directory containing the executed file is returned. #18888beginFrameSubscriptionreturning blurred images on HiDPI displays. #17444fs.promisesAPIs not working with ASAR paths. #18114new-windowevent not being emitted from a link withtarget="_blank"in a sandboxed<webview>#18556webContents.print()callback not returning boolean correctly in all cases. #18803webFrame.setSpellCheckProvidermemory leak. #16448window.open()not returningnullwhenallowpopupswas not set in a sandboxedwebview#18556window.openernull after cross-origin navigation. #18624systemPreferences.getAccentColor(). #18195enable_negotiate_portoption was inadvertently changed from false to true; this restores the former behavior and aligns with Chromium. #18285dialog.*methods. #18724.show()on a BrowserWindow did not focus the window. #18081enable_run_as_nodedisabled. #18892loadURLandloadFilewould be rejected withERR_ABORTEDif you triggered a virtual navigation before the page had finished loading. E.g. Usedhistory.pushStateor setlocation.hash. #18143win.webContents.destroy(). #18793display-*events. #19022--disable-gpu. #18904libEGL.so,libGLESv2.so). #18600nativeImagepixels, while decoded PNG / JPEG data is a copy. #17843getEffectiveApperanceandgetAppLevelAppearancewould returnunknowninstead of the correct value sometimes. #18690require('timers').setTimeoutwould sometimes never fire in the renderer process. #18961shell.openExternalwould not activate opened window on macOS. #18722chrome://*URLs would not render correctly. #18552node_modulesinside ASAR files. #18192desktopCapturermodule where some requests for sources would never be resolved or unhandled exceptions would be thrown in the main process. #18042remotemodule would sometimes fail to fetch properties of a remote object. #17464<webview>being too slow. #19190MessagePort.postMessage) not working. #19106input[type=file]element not showing a file dialog. #18341beginFrameSubscriptionpassingBufferinstead ofNativeImage. #17548.in thepatternfield now treat it as a raw.instead of a wildcard. #17593<iframe>in<webview>are no longer executed whennodeIntegrationInSubFramesis enabled. #19298gpu-crashedevent on<webview>. #17317prefers-color-schemeCSS media query now works correctly. #19250.executeJavaScriptwill never leave a Promise dangling now, scripts that fail to execute will correctly be rejected. #18714Uint8ArrayandUint16Arraycan now be sent correctly in Chrome ExtensionMessagePortinstances. #19252Other Changes
powerMonitorquerySystemIdleStateandquerySystemIdleTimewith synchronous APIs. #17144accessibilitySupportEnabledto a proper JS property onapp. #17362applicationMenuto a proper JS property on theappmodule. #17361sandboxand disabledremotemodule in default_app. #17318remote.requirein sandboxed renderer context. Useremote.requireexplicitly instead (unless the remote module is disabled). #15957dialogmethods called over theremotemodule to return their result synchronously but not block the main process. #17412clipboardmodule in renderers no longer depends on theremotemodule on Linux. #17200requirefails in sandboxed renderers. #17413Documentation
v5.0.12Compare Source
Release Notes for v5.0.12
Fixes
menu.popup(). #20800webContents.printToPDF()multiple times. #20812remotemodule is used in sub-frames (<iframe>or scriptable popup). #20816.asarin directory name extensions. #20403v5.0.11Compare Source
Release Notes for v5.0.11
Fixes
NSMicrophoneUsageDescriptionandNSCameraUsageDescriptionstrings to info.plist. #19950Renovate configuration
📅 Schedule: "before 3am on the first day of the month" in timezone America/New_York.
🚦 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.
Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.