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.