chore(deps): update dependency electron to v31 - autoclosed #457
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:
~26.2.0
->~31.4.0
Release Notes
electron/electron (electron)
v31.4.0
: electron v31.4.0Compare Source
Release Notes for v31.4.0
Features
prefersReducedTransparency
tonativeTheme
, which indicates whether the user has chosen to reduce OS-level transparency via system accessibility settings. #43137 (Also in 30, 32)Fixes
navigator.serial.getPorts()
incorrectly returned an empty array in some cases. #43170 (Also in 30, 32)system-context-menu
was not triggered as expected on Windows when using a frameless BrowserWindow. #43274 (Also in 30, 32)window.showInactive
on macOS did not actually show the window. #43102 (Also in 32)desktopCapturer.getSources
never fulfilled its promise in some cases. #43271 (Also in 29, 30, 32)Other Changes
3382485
. #43140v31.3.1
: electron v31.3.1Compare Source
Release Notes for v31.3.1
Fixes
desktopCapturer.getSources
on macOS running 14.4 or later would make non-resizable windows resizable. #43044 (Also in 32)Other Changes
v31.3.0
: electron v31.3.0Compare Source
Release Notes for v31.3.0
Features
DownloadItem.getCurrentBytesPerSecond()
,DownloadItem.getPercentComplete()
,DownloadItem.getEndTime()
. #42915 (Also in 30, 32)Fixes
navigator.mediaDevices.getUserMedia
andnavigator.getUserMedia
should reject with aNotAllowedError
if microphone or camera permissions have been denied at the system level on macOS. #42937 (Also in 30, 32)BrowserWindow.setBackgroundColor
with some level of transparency could cause a crash. #42928 (Also in 32)Other Changes
npm run lint
not working on Windows. #42906 (Also in 32)v31.2.1
: electron v31.2.1Compare Source
Release Notes for v31.2.1
Fixes
webContents.close()
on a BrowserView. #42810 (Also in 32)desktopCapturer
API andscreen.getAllDisplays()
no longer matched on Windows. #42861 (Also in 32)desktopCapturer
API andscreen.getAllDisplays()
no longer matched on Windows. #42890 (Also in 32)session.resolveProxy
api. #42897 (Also in 32)v31.2.0
: electron v31.2.0Compare Source
Release Notes for v31.2.0
Features
Fixes
BrowserWindow.setTopBrowserView
. #42734 (Also in 30, 32)navigator.mediaDevices.enumerateDevices
could return broken results in some cases after callingsession.setPermissionCheckHandler
. #42809 (Also in 30, 32)Other Changes
input
tag could cause a crash. #42825 (Also in 32)v31.1.0
: electron v31.1.0Compare Source
Release Notes for v31.1.0
Features
systemPreferences
toutilityProcess
. #42598 (Also in 30, 32)Fixes
postMessage
. #42580 (Also in 30, 32)fetch
-dependent interfaces could be missing in Web Workers withnodeIntegrationInWorker
enabled. #42597 (Also in 30, 32)Other Changes
v31.0.2
: electron v31.0.2Compare Source
Release Notes for v31.0.2
Fixes
navigator.usb.getDevices()
could crash in some circumstances. #42462 (Also in 29, 30)Other Changes
v31.0.1
: electron v31.0.1Compare Source
Release Notes for v31.0.1
Fixes
fetch
dependent interfaces in Node.js were not defined whennodeIntegration
was enabled in some circumstances. #42453 (Also in 30)--js-flags
could cause a crash. #42441 (Also in 29, 30)v31.0.0
: electron v31.0.0Compare Source
Release Notes for v31.0.0
Stack Upgrades
126.0.6478.36
20.14.0
12.6
Breaking Changes
WebSQL
support) #41868nativeImage.toDataURL
will preserve PNG colorspace) #41610Features
Additions
navigationHistory
on webContents API withnavigationHistory.getEntryAtIndex
method, enabling applications to retrieve the URL and title of any navigation entry within the browsing history. #41577 (Also in 29, 30)Session.clearData
API. #41355navigator.serial
. #41638 (Also in 29, 30)NODE_EXTRA_CA_CERTS
. #41689webContents.setWindowOpenHandler
to support manual creation of BrowserWindow. #41432clearData
method added toSession
. #40983WebContentsView
to accept pre-existingwebContents
object. #42319Improvements
WebContentsView
to accept pre-existingwebContents
object. #42319ses.cookies.set
fails. #42400 (Also in 29, 30)Removed/Deprecated
inputFieldType
property in thecontext-menu
params has been removed. #41239 (Also in 30)Fixes
recursive
option infs.{readdir|readdirSync}
as well asfs.promises.{readdir|readdirSync}
. #41582withFileTypes
when callingfs.{readdir|readdirSync}
with therecursive
in Asar archives. #41627showInactive
were blank. #42227originalFs.promises.cp
now works. #42134Also in earlier versions...
chrome://process-internals
failing to load. #41476 (Also in 28, 29, 30)shell.showItemInFolder
not opening Windows Explorer if the passed path contains forward slashes. #41642 (Also in 28, 29, 30)addChildView
if a view is added as its own child. #42108 (Also in 30)WebContentsView
is added viaaddChildView
multiple times. #42116 (Also in 30)chrome.scripting
on extension unload. #41686 (Also in 29, 30)setAutoResize
on aBrowserView
. #42138 (Also in 30)BrowserView
webContents
were getting destroyed even whenpreventDefault
was being set on the owningBrowserWindow
'sclose
event. #42372 (Also in 30)app.getLoginItemSettings
didn't correctly throw errors. #41647 (Also in 30)app.setLoginItemSettings
incorrectly checked againstloginItemService
. #42404 (Also in 30)document.requestFullscreen
didn't work when calling it from awebContents
insideWebContentsView
. #41995 (Also in 30)recentDOcuments
wasn't populating properly on macOS. #41993 (Also in 29, 30)setTitleBarOverlay
didn't work as expected when called onBaseWindow
. #42150 (Also in 29, 30)user-did-{resign|become}-active
were not emitted properly on macOS. #41506 (Also in 28, 29, 30)webContents.navigationHistory
was not an enumerable property. #42182 (Also in 30)webContents.print(options)
failed ifoptions
was not passed orundefined
is passed. #41467 (Also in 28, 29, 30)window.center()
on Windows and Linux incorrectly centered the window. #42101 (Also in 30)serial-port-added
event improperly respected filters set byserial.requestPort()
. #41621 (Also in 28, 29, 30)BrowserWindow.center()
. #42197 (Also in 30)<__assertion_handler>
header when compiling with libc++. #41830 (Also in 29, 30)WebviewTag.webpreferences
back tostring
. #42279 (Also in 30)Storage.{get|set|clear}Cookies
via the Chrome DevTools Protocol. #41718 (Also in 28, 29, 30)BrowserWindow.focus()
now correctly restore focus to inactive apps on macOS. #42186 (Also in 30)BrowserView
webContents
were getting destroyed even whenpreventDefault
was being set on the owningBrowserWindow
'sclose
event. #42372 (Also in 30)contentWindow.document.fonts.ready
would never resolve in some circumstances. #42385Other Changes
3366250
. #423163392667
. #420953394581
. #421213402211
. #421733416635
. #42254chrome://accessibility
. #41948Documentation
Notices
End of Support for 28.x.y
Electron 28.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.
v30.3.1
: electron v30.3.1Compare Source
Release Notes for v30.3.1
Other Changes
v30.3.0
: electron v30.3.0Compare Source
Release Notes for v30.3.0
Features
DownloadItem.getCurrentBytesPerSecond()
,DownloadItem.getPercentComplete()
,DownloadItem.getEndTime()
. #42914 (Also in 31, 32)Fixes
navigator.mediaDevices.getUserMedia
andnavigator.getUserMedia
should reject with aNotAllowedError
if microphone or camera permissions have been denied at the system level on macOS. #42938 (Also in 31, 32)session.resolveProxy
api. #42896 (Also in 31, 32)Other Changes
input
tag could cause a crash. #42826 (Also in 31, 32)v30.2.0
: electron v30.2.0Compare Source
Release Notes for v30.2.0
Features
systemPreferences
toutilityProcess
. #42600 (Also in 31, 32)Fixes
BrowserWindow.setTopBrowserView
. #42735 (Also in 31, 32)fetch
-dependent interfaces could be missing in Web Workers withnodeIntegrationInWorker
enabled. #42596 (Also in 31, 32)navigator.mediaDevices.enumerateDevices
could return broken results in some cases after callingsession.setPermissionCheckHandler
. #42807 (Also in 31, 32)Other Changes
v30.1.2
: electron v30.1.2Compare Source
Release Notes for v30.1.2
Fixes
postMessage
. #42582 (Also in 32)navigator.usb.getDevices()
could crash in some circumstances. #42461 (Also in 29, 31)Other Changes
v30.1.1
: electron v30.1.1Compare Source
Release Notes for v30.1.1
Fixes
app.setLoginItemSettings
incorrectly checked againstloginItemService
. #42403 (Also in 29, 31)contentWindow.document.fonts.ready
would never resolve in some circumstances. #42384 (Also in 31)fetch
dependent interfaces in Node.js were not defined whennodeIntegration
was enabled in some circumstances. #42454 (Also in 31)--js-flags
could cause a crash. #42440 (Also in 29, 31)Other Changes
ses.cookies.set
fails. #42398 (Also in 29, 31)v30.1.0
: electron v30.1.0Compare Source
Release Notes for v30.1.0
Fixes
BrowserView
webContents
were getting destroyed even whenpreventDefault
was being set on the owningBrowserWindow
'sclose
event. #42371Other Changes
v30.0.9
: electron v30.0.9Compare Source
Release Notes for v30.0.9
Fixes
WebviewTag.webpreferences
back tostring
. #42280 (Also in 31)Other Changes
v30.0.8
: electron v30.0.8Compare Source
Release Notes for v30.0.8
Other Changes
3416635
. #42255v30.0.7
: electron v30.0.7Compare Source
Release Notes for v30.0.7
Fixes
BrowserWindow.center()
. #42196 (Also in 31)Other Changes
v30.0.6
: electron v30.0.6Compare Source
Release Notes for v30.0.6
Fixes
v30.0.5
: electron v30.0.5Compare Source
Release Notes for v30.0.5
Fixes
setTitleBarOverlay
didn't work as expected when called onBaseWindow
. #42151webContents.navigationHistory
was not an enumerable property. #42181BrowserWindow.focus()
now correctly restore focus to inactive apps on macOS. #42187 (Also in 31)Other Changes
3402211
. #42174v30.0.4
: electron v30.0.4Compare Source
Release Notes for v30.0.4
Fixes
addChildView
if a view is added as its own child. #42107 (Also in 31)WebContentsView
is added viaaddChildView
multiple times. #42115 (Also in 31)setAutoResize
on aBrowserView
. #42137 (Also in 31)window.center()
on Windows and Linux incorrectly centered the window. #42100 (Also in 31)Other Changes
3394581
. #42122v30.0.3
: electron v30.0.3Compare Source
Release Notes for v30.0.3
Fixes
document.requestFullscreen
didn't work when calling it from awebContents
insideWebContentsView
. #41996 (Also in 31)fs.createWriteStream
could write out of order. #42046recentDOcuments
wasn't populating properly on macOS. #41992 (Also in 29, 31)Other Changes
3307568
. #420683392667
. #42096v30.0.2
: electron v30.0.2Compare Source
Release Notes for v30.0.2
Fixes
Other Changes
Documentation
v30.0.1
: electron v30.0.1Compare Source
Release Notes for v30.0.1
Other Changes
v30.0.0
: electron v30.0.0Compare Source
Release Notes for v30.0.0
Stack Upgrades
124.0.6367.49
20.11.1
12.4
Breaking Changes
WebContentsView
andBaseWindow
, replacing the now-deprecatedBrowserView
APIs. #35658 (Also in 29)inputFieldType
property in thecontext-menu
params has been removed. #41440Features
Additions
transparent
webpreference to webviews. #40301navigationHistory
on webContents API withnavigationHistory.getEntryAtIndex
method, enabling applications to retrieve the URL and title of any navigation entry within the browsing history.#41662 (Also in 29)BrowserWindow.isOccluded()
to allow apps to check occlusion status. #38982navigator.serial
. #41734 (Also in 29)NODE_EXTRA_CA_CERTS
. #41822Removed/Deprecated
Fixes
WebContents.loadURL()
incorrectly failing if called immediately after a previous call toloadURL()
failed. #40661