This repository has been archived by the owner on Mar 23, 2023. It is now read-only.
chore(deps): update dependency electron to v8 #1648
Merged
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:
^6.0.0
->^8.0.0
Release Notes
electron/electron
v8.0.1
Compare Source
Release Notes for v8.0.1
Fixes
webRequest
API not working with WebSockets. #22134webContents.print()
with custom print margins. #22186undefined
was printed fromconsole.log
on Window when no arguments were passed. #22172contextBridge
module. #22114Other Changes
v8.0.0
Compare Source
Generating release notes between origin/7-1-x and origin/8-x-y for version v8.0.0
Release Notes for v8.0.0
Breaking Changes
80.0.3987.86
(New since Electron 7: Chromium 79, 80)12.13.0
(New since Electron 7: Node 12.9, 12.10, 12.11, 12.12, 12.13)8.0
(New since Electron 7: V8 7.9, 8.0)Features
--enable-api-filtering-logging
command-line switch, which enables caller stack logging fordesktopCapturer
andremote
APIs that can be blocked or filtered. #20335app.getApplicationNameForProtocol()
. #21117app.setAboutPanelOptions()
support forcredits
andiconPath
on Windows. #19420BrowserWindow.moveAbove(mediaSourceId)
. #18926contents.getAllSharedWorkers()
andcontents.inspectSharedWorkerById(workerId)
to allow inspection of specific shared workers. #20389Notification()
options'timeoutType
property to allows users to set timeout type for Linux and Windows notifications. #20153Notification()
options'urgency
property to allow customization of Linux-based notifications. #20152session.addWordToSpellCheckerDictionary
API to support custom words in the. #21297session.downloadURL()
to allow downloads to trigger without aBrowserWindow
. #19889systemPreferences.getMediaAccessStatus().screen
for detecting the new macOS Catalina permissions. #21116trafficLightPosition
option inBrowserWindow
API to allow custom positioning of traffic lights. #21990tray.displayBalloon()
options:iconType
,largeIcon
,noSound
andrespectQuietTime
. #19544tray.focus()
, which returns focus to the taskbar notification area. #19548tray.removeBalloon()
, which removes an already displayed balloon notification. #19547WebContents.printToPDF()
support for fitToPageEnabled and scaleFactor. #20436win.accessibleTitle
property to augment the window title for screen readers. #19698shell.moveItemToTrash
fails. #19700webContents.executeJavaScriptInIsolatedWorld
. #21267BrowserWindow.will-move
event support on macOS. #19641TouchBarButton
andTouchBarLabel
a11y with the newaccessibilityLabel
property. #20454Fixes
BrowserWindow.fromWebContents()
to returnnull
when no window is found for consistency with other APIs. #19983crashReporter.getUploadedReports
. #20428deviceName
s inwebContents.print()
. #21982menu.closePopup()
would have no effect if called too soon aftermenu.popup()
. #20114net
requests with redirection mode 'error' could incorrectly follow a redirect. #20686ShadowDOMV0
,CustomElementsV0
, orHTMLImports
would not load properly. #21866--disable-color-correct-rendering
. #20356content-type
header with charset breakingprotocol
APIs. #20538systemPreferences.getColor()
inconsistencies on macOS. #20611setLayoutZoomLevelLimits
no longer works in Electron 8, so emit a warning message when using it. The function will be removed in Electron 9. #21360Other Changes
app.allowRendererProcessReuse
(See #18397). #21287<webview>.getWebContents()
due to its dependency on theremote
module. #21039ipcRenderer.sendToAll()
. #19556Documentation
v7.1.12
Compare Source
Release Notes for v7.1.12
Fixes
contextBridge
module. #22112v7.1.11
Compare Source
Release Notes for v7.1.11
Fixes
window.print()
only worked once on a singleBrowserWindow
. #21911Documentation
v7.1.10
Compare Source
Release Notes for v7.1.10
Fixes
BrowserWindow.setFocusable(true)
not working on Windows. #21855set-cookie
header not passed in net module. #21770Other Changes
v7.1.9
Compare Source
Release Notes for v7.1.9
Fixes
nativeWindowOpen: false
and an unsandboxed parent window. Also fixeddocument.visibilityState
not working in sandboxed<webview>
. #21696shell.showItemInFolder
on Windows. #21749Documentation
v7.1.8
Compare Source
Release Notes for v7.1.8
Fixes
net
module where aborting a request during a redirect could cause an error to be thrown. #21645defaultId
is passed for dialog message boxes. #21652Other Changes
crashReporter
to throw an error forgetLastCrashReport
ifcrashReporter
not started. #21683v7.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.
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 tick the rebase/retry checkbox below.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.