Update dependency electron to v31 #4962
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:
28
->31
Release Notes
electron/electron (electron)
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.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. #40661app.getLoginItemSettings
didn't correctly throw errors. #41667Also in earlier versions...
ThumbnailCapturerMac
andScreenCaptureKitStreamPickerSonoma
chromium feature flags to bypass deprecated API warning on macOS 14.4. #41328 (Also in 29)-webkit-app-region: drag;
has no effect in full screen mode. #41307 (Also in 27, 28, 29)chrome://process-internals
failing to load. #41540 (Also in 28, 29)session.fromPartition()
key lookup bug. #41055 (Also in 28, 29)shell.showItemInFolder
not opening Windows Explorer if the passed path contains forward slashes. #41671 (Also in 28, 29)ready
event was emitted on Linux. #40888 (Also in 26, 27, 28, 29)async_hooks
crash when listening for therestore
event on Windows after minimizing a maximized BrowserWindow. #40576 (Also in 27, 28, 29)chrome.scripting
on extension unload. #41702 (Also in 29)dialog.showMessageBoxSync
. #40996 (Also in 27, 28, 29)import.meta.url
did not work in the renderer process withcontextIsolation
enabled. #40993 (Also in 29)inAppPurchase.getProducts
andinAppPurchase.purchasedProduct
did not resolve as expected. #40938 (Also in 27, 28, 29)original-fs
methods were not properly corrected for patched imports. #41209 (Also in 29)select-usb-device
did not respect thefilter
option innavigator.usb.requestDevice()
. #41166 (Also in 27, 28, 29)user-did-{resign|become}-active
were not emitted properly on macOS. #41528 (Also in 28, 29)webContents.print(options)
failed ifoptions
was not passed orundefined
is passed. #41480 (Also in 28, 29)webContents.printToPDF
could fail when certain combinations ofmargins
andpageSize
values are passed. #41157 (Also in 28, 29)node::Environment
destruction potentially wouldn't be propagated to theNodeService
exit handler. #41277 (Also in 27, 28, 29)-webkit-app-region: drag
property was not respected on some windows. #41377 (Also in 29)printBackground
option inwebContents.printToPDF
did not work as expected. #41161 (Also in 28, 29)serial-port-added
event improperly respected filters set byserial.requestPort()
. #41635 (Also in 28, 29)--inspect
port. #40665 (Also in 27, 28)<__assertion_handler>
header when compiling with libc++. #41846 (Also in 29)GrantFileProtocolExtraPrivileges
not correctly preventingfetch()
calls tofile://
URLs. #40801 (Also in 29)Storage.{get|set|clear}Cookies
via the Chrome DevTools Protocol. #41740 (Also in 28, 29)Documentation
Notices
End of Support for 27.x.y
Electron 27.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.
v29.4.2
: electron v29.4.2Compare Source
Release Notes for v29.4.2
Other Changes
3416635
. #42256v29.4.1
: electron v29.4.1Compare Source
Release Notes for v29.4.1
Fixes
setTitleBarOverlay
didn't work as expected when called onBaseWindow
. #42152 (Also in 30)Other Changes
3296996
.3385743
. #42220v29.4.0
: electron v29.4.0Compare Source
Release Notes for v29.4.0
Fixes
Other Changes
3394581
. #421233402211
. #42175v29.3.3
: electron v29.3.3Compare Source
Release Notes for v29.3.3
Fixes
fs.createWriteStream
could write out of order. #42047Other Changes
3307568
. #420693392667
. #420973350038
.3335087
. #42007v29.3.2
: electron v29.3.2Compare Source
Release Notes for v29.3.2
Fixes
console.log()
in AudioWorkletGlobalScope produced incorrect output. #41889 (Also in 28)recentDOcuments
wasn't populating properly on macOS. #41994 (Also in 31)Other Changes
v29.3.1
: electron v29.3.1Compare Source
Release Notes for v29.3.1
Fixes
<__assertion_handler>
header when compiling with libc++. #41845 (Also in 30)Other Changes
v29.3.0
: electron v29.3.0Compare Source
Release Notes for v29.3.0
Fixes
Other Changes
v29.2.0
: electron v29.2.0Compare Source
Release Notes for v29.2.0
Fixes
Storage.{get|set|clear}Cookies
via the Chrome DevTools Protocol. #41739 (Also in 28, 30)Other Changes
3296748
.3271834
.3263494
. #41746Documentation
Unknown
navigator.serial
. #41735 (Also in 30)v29.1.6
: electron v29.1.6Compare Source
Release Notes for v29.1.6
Fixes
shell.showItemInFolder
not opening Windows Explorer if the passed path contains forward slashes. #41672 (Also in 28, 30)chrome.scripting
on extension unload. #41701 (Also in 30)serial-port-added
event improperly