chore(deps): update dependency electron to v7 #86
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:
2.0.13->7.1.7Release Notes
electron/electron
v7.1.7Compare Source
Release Notes for v7.1.7
Fixes
v7.1.6Compare Source
Release Notes for v7.1.6
Fixes
<select>tag inside<webview>and OOPIF on windows. #21526v7.1.5Compare Source
Release Notes for v7.1.5
Fixes
cookies.setnot working correctly whennameorexpirationDateis omitted. #21481v7.1.4Compare Source
Release Notes for v7.1.4
Fixes
webContents.setBackgroundThrottling. #21357Other Changes
v7.1.3Compare Source
Release Notes for v7.1.3
Fixes
--ignore-connections-limit, ironically, being ignored. #21299net.request. #21135disabled-by-default-cpu_profilertracing category now correctly records stack samples from the main process and utility processes. #21277webContents.reloadIgnoringCache()will now forcefully ignore all caches, including service workers. #21284window.rootandwindow.GLOBALare both now undefined whennodeIntegrationis disabled as expected. #21354Other Changes
netmodule. #21304v7.1.2Compare Source
Release Notes for v7.1.2
Fixes
<webview>.capturePage()resolving with an empty object instead ofNativeImageinstance. #21104webRequestmodule unable to modify CORS headers. #21123registerStreamProtocolwould sometimes fail to complete the response when the stream ended. #21179Other Changes
v7.1.1Compare Source
Release Notes for v7.1.1
Fixes
backgroundThrottling: falsenot having an effect. #21013globalShortcut.registerAll()on Windows and Linux. #20983recentDocumentsMenuItem. #20957app.setAppLogsPathdid not work when you provided a valid path. #21008Other Changes
v7.1.0Compare Source
Release Notes for v7.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. The7.1.xseries is now only release line in the7.x.ymajor release line that will receive bug fixes and security fixes. It is recommended you upgrade to7.1.x.Features
contextBridgemodule to make it easier to communicate between an isolated context and the main world. #20789Fixes
nativeThemenot accessible via theremotemodule. #20961Bluebirdwas installed in the renderer. #20947Other Changes
18176b4,ef548b6v7.0.1Compare Source
Release Notes for v7.0.1
Fixes
shell.openExternal()optionworkingDirectorynot working with Unicode characters. #20905menu.popup(). #20808recentDocumentsrole on macOS. #20670remotecould sometimes not be correctly freed. #20693webContents.printToPDF()multiple times. #20810BrowserViews. #20846remotemodule. #20715remotemodule is used in sub-frames (<iframe>or scriptable popup). #20814Other Changes
Documentation
v7.0.0Compare Source
Release Notes for v7.0.0
Notable Changes
ipcRenderer.invoke()andipcMain.handle()for asynchronous request/response-style IPC. These are strongly recommended over theremotemodule. See this "Electron’s ‘remote’ module considered harmful" blog post for more information. #18449nativeThemeAPI to read and respond to changes in the OS's theme and color scheme. #19758, #20486Breaking Changes
More information about these and future changes can be found on project's Planned Breaking Changes page.
Tray.setHighlightMode()(macOS). #18981app.enableMixedSandbox()#17894app.getApplicationMenu(),app.setApplicationMenu(),powerMonitor.querySystemIdleState(),powerMonitor.querySystemIdleTime(),webFrame.setIsolatedWorldContentSecurityPolicy(),webFrame.setIsolatedWorldHumanReadableName(),webFrame.setIsolatedWorldSecurityOrigin()#18159Session.clearAuthCache()no longer allows filtering the cleared cache entries. #17970electronmodule to use@electron/get. The minimum supported node version is now Node 8. #18413electron.asarfile no longer exists. Any packaging scripts that depend on its existence should be updated. #18577New Features
netLog.startLogging()now returns a promise which resolves when the net log has started recording.webContents/<webview>methods now return aPromise. #18792always-on-top-changedevent emission for macOS. #19462app.resignCurrentActivity()to allows marking inactive the current Handoff user activity without invalidating it. #18659captureModeandmaxFileSizeoptions to the netLog API. #19215creationTime/sandboxed/integrityLeveltoapp.getAppMetrics()output. #18718failureReasonparameter to thewebContents.print()callback function to distinguish between success, failure, and cancellation. #19000getBounds()method for BrowserView. #19370gpu-info-updateevent toapp, which is emitted whenever there is a GPU info update. #18250memorytoapp.getAppMetrics(). #18831process.getBlinkMemoryInfo(). #17762removeInsertedCSS()towebFrame/webContents/<webview>. #16579zoom-changedevent towebContents, which is emitted when the user zooms using the mouse wheel on Windows, even if the focus is inside an (x-origin) iframe. #17747Trayfrom custom to native view to be compatible with Catalina (macOS). #18981MenuItem.toolTipproperty macOS. #19099app.moveToApplicationsFolder. #18916ELECTRON_DEFAULT_ERROR_MODEin the GPU process. #17728origininwebFrame.insertCSS(). #19268mouse-moveevent of Tray API on Windows. #19265systemPreferences.isDarkMode()API on Windows. #19217systemPreferences.isHighContrastColorScheme()API on macOS. #19331BrowserWindowfor macOS. #19294BrowserWindowenablesnodeIntegrationInSubFrames. #18650ELECTRON_SKIP_BINARY_DOWNLOAD=1environment variable to skip electron binary download. #17627netLog.currentlyLoggingPath. #18289Properties
webContentsprimitive getters and setters to actual properties. #18998badgeCountto an actual property on theappmodule. #17363app.nameis now a property. #17701nativeImage.templateImageis now a property on thenativeImageprototype. #18124appLevelAppearanceto be a property onsystemPreferences. #18477autoHideMenuBarto a property onBrowserWindowinstances. #18555savePathaccessor to a property on DownloadItem instances. #18677closable,fullscreenable,maximizable,minimizable,movable, andresizableto be properties on theBrowserWindowprototype. #18618Fixes
ELECTRON_RUN_AS_NODEnow correctly parses both node options and v8 flags. E.g.--expose_gc#19403triggeredByAcceleratorEvent property behavior forMenuItems. #18865window.print(). #19728deviceNamenot working. #19668closeevent would not emit upon closing modal window on macOS. #19014addExtraParameter/removeExtraParametermethodsundefinedin macOS node child processes. #15790srcon<webview>being too slow. #18990document.visibilityStatewould be incorrect. Thewin.show()andwin.hide()methods now correctly update visibility state. #20134webkitdirectoryattribute oninput[type=file]elements. #18343process,Buffer, etc.) are no longer removed from the global scope if you havecontextIsolationenabled as it is safe for those variables to still exist in their isolated world. #18967getPath('logs')now throws a more descriptive error if it fails to find the logs path. #19514web-contents-createdandbrowser-window-createdno longer emit an empty object in place of Event. #19465netLog.startLogging()would silently fail when called immediately duringapp.on('ready').Documentation
End of Support for 4.x.y
Electron 4.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.
v6.1.7Compare Source
Release Notes for v6.1.7
Fixes
v6.1.6Compare Source
Release Notes for v6.1.6
Fixes
webContents.setBackgroundThrottling. #21359Other Changes
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. #18081Renovate 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.
Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.