This repository has been archived by the owner on Jul 21, 2019. It is now read-only.
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.0.0
->^5.0.0
Release Notes
electron/electron
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. #15628<webview>
not working withcontextIsolation
+sandbox
. #16469<webview>
tag not working when usingcontextIsolation
. #16067defaultId
not taking affect when set to0
and no "cancel" button was present on macOS. #17150webContents.print()
not working correctly. #17117windowmenu
role not showing the window list on macOS. #16387ShowOpenDialog
andShowSaveDialog
. #17177window.opener
of a window created with window.open from a sandboxed renderer was null. #15821ECDH.getPrivateKey()
,diffieHellman.generateKeys()
ordiffieHellman.get*()
. #17255Notification
objects constructed in the main process would randomly not be shown to the user. #17484--enable-mixed-sandbox
. #15722win.isVisible()
on macOS. #17491<a>
downloads. #16640BrowserView
. #15541nativeImage.createFromBuffer()
is called with invalidbuffer
. #17374undefined
to some APIs. #17481MenuItems
. #16848localStorage
quota not being bypassed. #15596Shift
appended to them twice . #15400visible: false
MenuItem
property. #16846enable
property having no effect for top-level submenuMenuItems
. #16858window.confirm
. The "Cancel" button is now triggered by the escape key, and the "OK" button is now triggered by the return key. #17578.
in thepattern
field now treat it as a raw.
instead of a wildcard. #17594--inspect
now listens on the correct port when one is provided. #17439webFrame
custom scheme APIs to browser process underprotocol
. #16625safeDialogs
webPreferences option now actually works onfile://
URLs. #17579segments
array and removelabel
orimage
dynamically. #17334Other Changes
webFrame.setIsolatedWorldInfo
API and deprecated related APIs. #16932ServiceWorker
APIs onWebContents
in preparation for their removal. #16732brightray
intoatom
. #15240process.getCreationTime()
in sandboxed renderers. #15824api::WebContents::CreateFrom
. #15241Documentation
Renovate 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.