chore(deps): update dependency electron to v31 #1221
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:
30.1.0->31.0.0Release Notes
electron/electron (electron)
v31.0.0: electron v31.0.0Compare Source
Release Notes for v31.0.0
Stack Upgrades
126.0.6478.3620.14.012.6Breaking Changes
WebSQLsupport) #41868nativeImage.toDataURLwill preserve PNG colorspace) #41610Features
Additions
navigationHistoryon webContents API withnavigationHistory.getEntryAtIndexmethod, enabling applications to retrieve the URL and title of any navigation entry within the browsing history. #41577 (Also in 29, 30)Session.clearDataAPI. #41355navigator.serial. #41638 (Also in 29, 30)NODE_EXTRA_CA_CERTS. #41689webContents.setWindowOpenHandlerto support manual creation of BrowserWindow. #41432clearDatamethod added toSession. #40983WebContentsViewto accept pre-existingwebContentsobject. #42319Improvements
WebContentsViewto accept pre-existingwebContentsobject. #42319ses.cookies.setfails. #42400 (Also in 29, 30)Removed/Deprecated
inputFieldTypeproperty in thecontext-menuparams has been removed. #41239 (Also in 30)Fixes
recursiveoption infs.{readdir|readdirSync}as well asfs.promises.{readdir|readdirSync}. #41582withFileTypeswhen callingfs.{readdir|readdirSync}with therecursivein Asar archives. #41627showInactivewere blank. #42227originalFs.promises.cpnow works. #42134Also in earlier versions...
chrome://process-internalsfailing to load. #41476 (Also in 28, 29, 30)shell.showItemInFoldernot opening Windows Explorer if the passed path contains forward slashes. #41642 (Also in 28, 29, 30)addChildViewif a view is added as its own child. #42108 (Also in 30)WebContentsViewis added viaaddChildViewmultiple times. #42116 (Also in 30)chrome.scriptingon extension unload. #41686 (Also in 29, 30)setAutoResizeon aBrowserView. #42138 (Also in 30)BrowserViewwebContentswere getting destroyed even whenpreventDefaultwas being set on the owningBrowserWindow'scloseevent. #42372 (Also in 30)app.getLoginItemSettingsdidn't correctly throw errors. #41647 (Also in 30)app.setLoginItemSettingsincorrectly checked againstloginItemService. #42404 (Also in 30)document.requestFullscreendidn't work when calling it from awebContentsinsideWebContentsView. #41995 (Also in 30)recentDOcumentswasn't populating properly on macOS. #41993 (Also in 29, 30)setTitleBarOverlaydidn't work as expected when called onBaseWindow. #42150 (Also in 29, 30)user-did-{resign|become}-activewere not emitted properly on macOS. #41506 (Also in 28, 29, 30)webContents.navigationHistorywas not an enumerable property. #42182 (Also in 30)webContents.print(options)failed ifoptionswas not passed orundefinedis passed. #41467 (Also in 28, 29, 30)window.center()on Windows and Linux incorrectly centered the window. #42101 (Also in 30)serial-port-addedevent 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.webpreferencesback tostring. #42279 (Also in 30)Storage.{get|set|clear}Cookiesvia 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)BrowserViewwebContentswere getting destroyed even whenpreventDefaultwas being set on the owningBrowserWindow'scloseevent. #42372 (Also in 30)contentWindow.document.fonts.readywould 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.
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.