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.7
Release Notes
electron/electron
v7.1.7
Compare Source
Release Notes for v7.1.7
Fixes
v7.1.6
Compare Source
Release Notes for v7.1.6
Fixes
<select>
tag inside<webview>
and OOPIF on windows. #21526v7.1.5
Compare Source
Release Notes for v7.1.5
Fixes
cookies.set
not working correctly whenname
orexpirationDate
is omitted. #21481v7.1.4
Compare Source
Release Notes for v7.1.4
Fixes
webContents.setBackgroundThrottling
. #21357Other Changes
v7.1.3
Compare Source
Release Notes for v7.1.3
Fixes
--ignore-connections-limit
, ironically, being ignored. #21299net.request
. #21135disabled-by-default-cpu_profiler
tracing 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.root
andwindow.GLOBAL
are both now undefined whennodeIntegration
is disabled as expected. #21354Other Changes
net
module. #21304v7.1.2
Compare Source
Release Notes for v7.1.2
Fixes
<webview>.capturePage()
resolving with an empty object instead ofNativeImage
instance. #21104webRequest
module unable to modify CORS headers. #21123registerStreamProtocol
would sometimes fail to complete the response when the stream ended. #21179Other Changes
v7.1.1
Compare Source
Release Notes for v7.1.1
Fixes
backgroundThrottling: false
not having an effect. #21013globalShortcut.registerAll()
on Windows and Linux. #20983recentDocuments
MenuItem. #20957app.setAppLogsPath
did not work when you provided a valid path. #21008Other Changes
v7.1.0
Compare Source
Release Notes for v7.1.0
This release is a minor bump as it contains exactly one new feature.
contextBridge
module, this feature is outlined below along with the other fixes and changes that went into this release. The7.1.x
series is now only release line in the7.x.y
major release line that will receive bug fixes and security fixes. It is recommended you upgrade to7.1.x
.Features
contextBridge
module to make it easier to communicate between an isolated context and the main world. #20789Fixes
nativeTheme
not accessible via theremote
module. #20961Bluebird
was installed in the renderer. #20947Other Changes
18176b4
,ef548b6
v7.0.1
Compare Source
Release Notes for v7.0.1
Fixes
shell.openExternal()
optionworkingDirectory
not working with Unicode characters. #20905menu.popup()
. #20808recentDocuments
role on macOS. #20670remote
could sometimes not be correctly freed. #20693webContents.printToPDF()
multiple times. #20810BrowserView
s. #20846remote
module. #20715remote
module is used in sub-frames (<iframe>
or scriptable popup). #20814Other Changes
Documentation
v7.0.0
Compare Source
Release Notes for v7.0.0
Notable Changes
ipcRenderer.invoke()
andipcMain.handle()
for asynchronous request/response-style IPC. These are strongly recommended over theremote
module. See this "Electron’s ‘remote’ module considered harmful" blog post for more information. #18449nativeTheme
API 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. #17970electron
module to use@electron/get
. The minimum supported node version is now Node 8. #18413electron.asar
file 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-changed
event emission for macOS. #19462app.resignCurrentActivity()
to allows marking inactive the current Handoff user activity without invalidating it. #18659captureMode
andmaxFileSize
options to the netLog API. #19215creationTime
/sandboxed
/integrityLevel
toapp.getAppMetrics()
output. #18718failureReason
parameter to thewebContents.print()
callback function to distinguish between success, failure, and cancellation. #19000getBounds()
method for BrowserView. #19370gpu-info-update
event toapp
, which is emitted whenever there is a GPU info update. #18250memory
toapp.getAppMetrics()
. #18831process.getBlinkMemoryInfo()
. #17762removeInsertedCSS()
towebFrame
/webContents
/<webview>
. #16579zoom-changed
event towebContents
, which is emitted when the user zooms using the mouse wheel on Windows, even if the focus is inside an (x-origin) iframe. #17747Tray
from custom to native view to be compatible with Catalina (macOS). #18981MenuItem.toolTip
property macOS. #19099app.moveToApplicationsFolder
. #18916ELECTRON_DEFAULT_ERROR_MODE
in the GPU process. #17728origin
inwebFrame.insertCSS()
. #19268mouse-move
event of Tray API on Windows. #19265systemPreferences.isDarkMode()
API on Windows. #19217systemPreferences.isHighContrastColorScheme()
API on macOS. #19331BrowserWindow
for macOS. #19294BrowserWindow
enablesnodeIntegrationInSubFrames
. #18650ELECTRON_SKIP_BINARY_DOWNLOAD=1
environment variable to skip electron binary download. #17627netLog.currentlyLoggingPath
. #18289Properties
webContents
primitive getters and setters to actual properties. #18998badgeCount
to an actual property on theapp
module. #17363app.name
is now a property. #17701nativeImage.templateImage
is now a property on thenativeImage
prototype. #18124appLevelAppearance
to be a property onsystemPreferences
. #18477autoHideMenuBar
to a property onBrowserWindow
instances. #18555savePath
accessor to a property on DownloadItem instances. #18677closable
,fullscreenable
,maximizable
,minimizable
,movable
, andresizable
to be properties on theBrowserWindow
prototype. #18618Fixes
ELECTRON_RUN_AS_NODE
now correctly parses both node options and v8 flags. E.g.--expose_gc
#19403triggeredByAccelerator
Event property behavior forMenuItems
. #18865window.print()
. #19728deviceName
not working. #19668close
event would not emit upon closing modal window on macOS. #19014addExtraParameter
/removeExtraParameter
methodsundefined
in macOS node child processes. #15790src
on<webview>
being too slow. #18990document.visibilityState
would be incorrect. Thewin.show()
andwin.hide()
methods now correctly update visibility state. #20134webkitdirectory
attribute oninput[type=file]
elements. #18343process
,Buffer
, etc.) are no longer removed from the global scope if you havecontextIsolation
enabled 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-created
andbrowser-window-created
no 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.7
Compare Source
Release Notes for v6.1.7
Fixes
v6.1.6
Compare Source
Release Notes for v6.1.6
Fixes
webContents.setBackgroundThrottling
. #21359Other Changes
v6.1.5
Compare Source
Release Notes for v6.1.5
Fixes
<webview>.capturePage()
resolving with an empty object instead ofNativeImage
instance. #21105backgroundThrottling: false
not having an effect. #21014globalShortcut.registerAll()
on Windows and Linux. #20982v6.1.4
Compare Source
Release Notes for v6.1.4
Fixes
v6.1.3
Compare Source
Release Notes for v6.1.3
Fixes
menu.popup()
. #20786webContents.printToPDF()
multiple times. #20811BrowserView
s. #20834remote
module. #20716remote
module is used in sub-frames (<iframe>
or scriptable popup). #20815v6.1.2
Compare Source
Release Notes for v6.1.2
Fixes
v6.1.1
Compare Source
Release Notes for v6.1.1
Fixes
nativeWindowOpen
child window. #20547remote
could sometimes not be correctly freed. #20694v6.1.0
Compare Source
Release Notes for v6.1.0
This release is a minor bump as it contains exactly one new feature.
contextBridge
module, this feature is outlined below along with the other fixes and changes that went into this release. The6.1.x
series is now only release line in the6.x.y
major release line that will receive bug fixes and security fixes. It is recommended you upgrade to6.1.x
.Features
contextBridge
module to make it easier to communicate between an isolated context and the main world. #20639Fixes
Other Changes
3ca62d9
v6.0.12
Compare Source
Release Notes for v6.0.12
Features
Fixes
worker_threads
inELECTRON_RUN_AS_NODE
. #20457recentDocuments
MenuItem role on macOS. #20409.asar
in directory name extensions. #20402v6.0.11
Compare Source
Release Notes for v6.0.11
Fixes
--disable-color-correct-rendering
. #20358v6.0.10
Compare Source
Release Notes for v6.0.10
Other Changes
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
--inspect-brk
under ELECTRON_RUN_AS_NODE flag. #20098Other Changes
v6.0.7
Compare Source
Release Notes for v6.0.7
Fixes
Other Changes
v6.0.6
Compare Source
Release Notes for v6.0.6
Fixes
Other Changes
v6.0.5
Compare Source
Release Notes for v6.0.5
Fixes
NSMicrophoneUsageDescription
andNSCameraUsageDescription
strings to info.plist. #19949setBackgroundColor
would result in using an older background color setting. #19973Other Changes
v6.0.4
Compare Source
Release Notes for v6.0.4
Fixes
child_process.fork()
would setELECTRON_RUN_AS_NODE
in the main process. #19845Other Changes
Documentation
v6.0.3
Compare Source
Release Notes for v6.0.3
Fixes
setOpacity()
API inBrowserWindow
. #19723Other Changes
Documentation
v6.0.2
Compare Source
Release Notes for v6.0.2
Fixes
will-resize
event returning wrong bounds on macOS. #19704window.print()
. #19677Other Changes
v6.0.1
Compare 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. #19633webRequest
url pattern filtering inonBeforeRequest
. #19570alwaysOnTop
status returned whenalways-on-top-changed
was emitted was correct. #19534backgroundColor
property onTouchBarButton
to default by assigningnull
after the item is constructed. #19471clearRecentDocuments
MenuItem role on Windows. #19637getPath('logs')
now throws better error when it fails to find the logs path. #19545Other Changes
v6.0.0
Compare Source
Release Notes for 6.0.0
Breaking Changes
76.0.3809.88
, Node.js12.4.0
, and V87.6.303.22
net
module headers and Node.js'http.IncomingMessage
headers. #17517ShowItemInFolder
asynchronous with no return value. #17121app.setAppLogsPath
. #17841hasServiceWorker
andunregisterServiceWorker
APIs 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.getManifest
API for Chrome extensions. #16891<webview>.getWebContentsId()
, which does not depend of theremote
module. #17407all_frames
support for Chrome extension content scripts. #17258disableHtmlFullscreenWindowResize
option towebPreferences
to allow preventing window from resizing when entering HTML5 fullscreen. #17203excludedFromShownWindowsMenu
property 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.electron
to get the electron version in the forked process. #16450renderer-process-crashed
event toapp
, which is emitted when any renderer process crashes. #17315requestingUrl
andisMainFrame
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. #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 customclick
events onMenuItems
. #16954desktopCapturer.getSources()
. #14906remote
module. #17851MenuItems
on macOS to work optionally whenvisible: false
. #16853BrowserView
s inBrowserWindow
. #16184app.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. #18554app.userAgentFallback
property to allow setting the app's useragent globally. #18473monochrome
,internal
,acceleratorEnabled
,colorDepth
anddepthPerComponent
properties to the Display API Structure. #16870nativeImage.createFromBitmap()
, which does not decode PNG/JPEG. #17337app.setUserTasks()
/app.setJumpList()
. #18291NodeIntegrationInSubFrames
option usage forwebview
tags. #17226colorSpace
to theDisplay
object. #17405BrowserWindow.moveTop()
on Linux/X11. #16629webFrame
custom scheme APIs to browser process underprotocol
. #16416Fixes
systemPreferences.isDarkMode()
now correctly detects dark mode on macOS Catalina. #18958'page-title-updated'
event onwebContents
to documentation. Also fixed forwarding of theexplicitSet
argument when emitted onBrowserWindow
. #18319showSaveDialog
on the Windows platform. #18383showOpenDialog
on Windows. #18509webContents.hasServiceWorker()
rejects with an error for invalid URLs. #16571--inspect-brk
argument does not cause a crash. #19332<webview>
not working in scriptable popups whennativeWindowOpen
is enabled. #19218app.getAppPath()
returning default-app path when runningelectron app
with no package.json orelectron app/index.js
. Now the directory containing the executed file is returned. #18888beginFrameSubscription
returning blurred images on HiDPI displays. #17444fs.promises
APIs not working with ASAR paths. #18114new-window
event not being emitted from a link withtarget="_blank"
in a sandboxed<webview>
#18556webContents.print()
callback not returning boolean correctly in all cases. #18803webFrame.setSpellCheckProvider
memory leak. #16448window.open()
not returningnull
whenallowpopups
was not set in a sandboxedwebview
#18556window.opener
null after cross-origin navigation. #18624systemPreferences.getAccentColor()
. #18195enable_negotiate_port
option 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.