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.5
Release Notes
electron/electron
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. #18081enable_run_as_node
disabled. #18892loadURL
andloadFile
would be rejected withERR_ABORTED
if you triggered a virtual navigation before the page had finished loading. E.g. Usedhistory.pushState
or setlocation.hash
. #18143win.webContents.destroy()
. #18793display-*
events. #19022--disable-gpu
. #18904libEGL.so
,libGLESv2.so
). #18600nativeImage
pixels, while decoded PNG / JPEG data is a copy. #17843getEffectiveApperance
andgetAppLevelAppearance
would returnunknown
instead of the correct value sometimes. #18690require('timers').setTimeout
would sometimes never fire in the renderer process. #18961shell.openExternal
would not activate opened window on macOS. #18722chrome://*
URLs would not render correctly. #18552node_modules
inside ASAR files. #18192desktopCapturer
module where some requests for sources would never be resolved or unhandled exceptions would be thrown in the main process. #18042remote
module 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. #18341beginFrameSubscription
passingBuffer
instead ofNativeImage
. #17548.
in thepattern
field now treat it as a raw.
instead of a wildcard. #17593<iframe>
in<webview>
are no longer executed whennodeIntegrationInSubFrames
is enabled. #19298gpu-crashed
event on<webview>
. #17317prefers-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. #18714Uint8Array
andUint16Array
can now be sent correctly in Chrome ExtensionMessagePort
instances. #19252Other Changes
powerMonitor
querySystemIdleState
andquerySystemIdleTime
with synchronous APIs. #17144accessibilitySupportEnabled
to a proper JS property onapp
. #17362applicationMenu
to a proper JS property on theapp
module. #17361sandbox
and disabledremote
module in default_app. #17318remote.require
in sandboxed renderer context. Useremote.require
explicitly instead (unless the remote module is disabled). #15957dialog
methods called over theremote
module to return their result synchronously but not block the main process. #17412clipboard
module in renderers no longer depends on theremote
module on Linux. #17200require
fails in sandboxed renderers. #17413Documentation
v5.0.12
Compare Source
Release Notes for v5.0.12
Fixes
menu.popup()
. #20800webContents.printToPDF()
multiple times. #20812remote
module is used in sub-frames (<iframe>
or scriptable popup). #20816.asar
in directory name extensions. #20403v5.0.11
Compare Source
Release Notes for v5.0.11
Fixes
NSMicrophoneUsageDescription
andNSCameraUsageDescription
strings 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.