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:
4.2.8
->6.0.11
Release Notes
electron/electron
v6.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.11
Compare Source
Release Notes for v5.0.11
Fixes
NSMicrophoneUsageDescription
andNSCameraUsageDescription
strings to info.plist. #19950v5.0.10
Compare Source
Release Notes for v5.0.10
Fixes
will-resize
event returning wrong bounds on macOS. #19705window.print()
. #19678setOpacity()
API inBrowserWindow
. #19724Documentation
v5.0.9
Compare Source
Release Notes for v5.0.9
Fixes
process.uptime()
returning the wrong time. #19566tray.displayBalloon()
not working with custom icon on Windows. #19530webRequest
url pattern filtering inonBeforeRequest
. #19580alwaysOnTop
status returned whenalways-on-top-changed
was emitted. #19506backgroundColor
property onTouchBarButton
to default by assigningnull
after the item is constructed. #19473clearRecentDocuments
MenuItem role on Windows. #19640beginFrameSubscription
passingBuffer
instead ofNativeImage
. #19647v5.0.8
Compare Source
Release Notes for v5.0.8
Fixes
<iframe>
in<webview>
are not longer executed whennodeIntegrationInSubFrames
is enabled. #19299v5.0.7
Compare Source
Release Notes for v5.0.7
Features
requestingUrl
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. #18773Fixes
<webview>
not working in scriptable popups whennativeWindowOpen
is enabled. #19206focus
event when it was disabled behind a modal. #19063display-*
events. #19023Other Changes
v5.0.6
Compare Source
Release Notes for v5.0.6
Fixes
<webview>
:app.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. #18894require('timers').setTimeout
would sometimes never fire in the renderer process. #18965systemPreferences.isDarkMode()
now correctly detects dark mode on macOS Catalina. #18960Other Changes
session.getCacheSize
would never call its callback. #18898v5.0.5
Compare Source
Release Notes for v5.0.5
Fixes
Uncaught TypeError: Cannot set property 'innerText' of null
in default-app when opening a website. #18819webContents.print()
callback not returning boolean correctly in all cases. #18804win.webContents.destroy()
. #18794v5.0.4
Compare Source
Release Notes for v5.0.4
Fixes
window.opener
null after cross-origin navigation. #18614getEffectiveApperance
andgetAppLevelAppearance
would returnunknown
instead of the correct value sometimes. #18689shell.openExternal
would not activate opened window on macOS. #18721v5.0.3
Compare Source
Release Notes for v5.0.3
Fixes
minimizable
andclosable
weren't respected incustomButtonsOnHover
mode. #18485webContents.sendInputEvent
to send aWebMouseWheelEvent
now has the expected effect. #18495Other Changes
libEGL.so
,libGLESv2.so
). #18601v5.0.2
Compare Source
Release Notes for v5.0.2
Fixes
'page-title-updated'
event onwebContents
to documentation. Also fixed forwarding of theexplicitSet
argument when emitted onBrowserWindow
. #18318systemPreferences.getAccentColor()
. #18194enable_negotiate_port
option was inadvertently changed from false to true; this restores the former behavior and aligns with Chromium. #18284loadURL
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
. #18142v5.0.1
Compare Source
Release Notes for v5.0.1
Fixes
fs.promises
APIs not working with ASAR paths. #18115.show()
on a BrowserWindow did not focus the window. #18080gpu-crashed
event on<webview>
. #18004Other Changes
v5.0.0
Compare Source
Release Notes for v5.0.0
Breaking Changes
73.0.3683.119
, Node.js12.0.0
, and V87.3.492.27
.nodeIntegration
andwebviewTag
are nowfalse
to improve security. #16235enableMixedSandbox
and the--enable-mixed-sandbox
command-line switch still exist for compatibility, but are deprecated and have no effect. #15894Features
activate
option towebContents.openDevTools
. #13852app.commandLine.hasSwitch()
/app.commandLine.getSwitchValue()
. #16282fileMenu
/viewMenu
/appMenu
roles. #16328ipc-message
andipc-message-sync
events towebContents
. #16468preload-error
event towebContents
emitted when preload script fails (parse error, unhandled exception, etc.). #16411win.removeMenu()
to remove application menus instead of usingwin.setMenu(null)
. #16657systemPreferences.getSystemColor()
. #16248systemPreferences.getAccentColor()
. #16251systemPreferences.getColor()
. #16249DownloadItem
that enable customization of the save dialog options duringwill-download
events. #15497protocol.registerFileProtocol
to matchprotocol.registerStreamProtocol
. #16098BrowserWindow
. #16148remote.getBuiltin()
,remote.getCurrentWindow()
,remote.getCurrentWebContents
and<webview>.getWebContents()
. #16293contentTracing.getCategories()
to return a promise instead taking a callback. #16624contentTracing.startRecording()
andcontentTracing.stopRecording()
to return a promise instead taking a callback. #16642debugger.sendCommand()
to return a Promise instead of taking a callback. #16931zoomLevel()
andzoomFactor()
forwebContents
and<webview>
to return a promise instead taking a callback. #16410NodeIntegrationInSubFrames
option usage forwebview
tags. #17398app.getLocaleCountryCode()
. #15035app.getFileIcon
. #15742shell.openExternal()
by splitting it into a sync and async method. #16176browser-backward
andbrowser-forward
app-command
events available in BrowserWindow on Linux. #15441window-all-closed
handling). #16310Menu.buildFromTemplate()
to allow it to acceptMenuItem
s in addition to plain objects. #16783Fixes
resourcesPath
property is no longer available onprocess
in sandboxed renderers. #15701--disable-color-correct-rendering
. #15898nativeImage.createFromBuffer
/nativeImage.addRepresentation
. Data URLs only parsed according to the MIME type as PNG or JPEG. #17568desktopCapturer.getSources()
calls by handling thedesktop-capturer-get-sources
event. #15964app
for dev-tools and extensions. #16613process
read-only. #15628Renovate 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.
This PR has been generated by Renovate Bot. View repository job log here.