fix(deps): update dependency electron to v22 #1285
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:
^21.3.1->^22.0.0Release Notes
electron/electron
v22.0.0: electron v22.0.0Compare Source
Release Notes for v22.0.0
Stack Upgrades
Breaking Changes
input-eventevent.scroll-touch-*events. #35531new-windowevent has been removed. #34526Features
LoadBrowserProcessSpecificV8Snapshotas a new fuse that will let the main/browser process load its v8 snapshot from a file atbrowser_v8_context_snapshot.bin. Any other process will use the same path as is used today. #35266 (Also in 20, 21)WebContents.openerto access window opener.webContents.fromFrame(frame)to get the WebContents corresponding to a WebFrameMain instance. #35140 (Also in 21)app.getSystemLocale()method. #35697 (Also in 21)contextBridge.exposeInIsolatedWorld(worldId, key, api)to expose an API to anisolatedWorldwithin a renderer from a preload script. #34974webContents.close()method. #35509webFrameMain.origin. #35438 (Also in 19, 20, 21)app.getPreferredSystemLanguages()API to return the user's system languages. #36291 (Also in 21)content-bounds-updated. #35533WebContents.ipcandWebFrameMain.ipcAPIs. #34959 (Also in 21)navigator.mediaDevices.getDisplayMediavia a new session handler,ses.setDisplayMediaRequestHandler. #30702serialPort.forget()as well as a new eventserial-port-revokedemitted when a given origin is revoked. #36062Fixes
clickevent and tooltip ofTraynot working on Linux. #36472Also in earlier versions...
uv_os_gethostnamefailing on Windows 7. #35702 (Also in 19, 20, 21)atobin the renderer process could fail under some circumstances. #35415 (Also in 19, 20, 21)webContents.printToPDF(). #36065 (Also in 21)app.isInApplicationsFolder()which would return false incorrectly in some cases. #35636 (Also in 19, 20, 21)screen.getCursorScreenPoint()crashed on Wayland when it was called before aBrowserWindowhad been created. #35503 (Also in 21)serialPort.open()failed withNetworkError: Failed to open serial port.. #35306 (Also in 21)app.dock.setIcon(/path/t/icon)would crash when called before thereadyevent onapp. #36293 (Also in 20, 21)roundedCorners: falsecouldn't enter fullscreen without crashing. #35421 (Also in 19, 20, 21)setBoundson some windows. #34713 (Also in 19, 20, 21)webContents.printToPDF(). #35993 (Also in 21)webContents.loadURLwhen navigating to a hash. #36151 (Also in 20, 21)nodeIntegrationInWorkerin Service Workers and Shared Workers owing to sandboxing policies. #36010 (Also in 21)safeStoragenow consistently uses the correct service name on macOS regardless of timing with browser window construction. #34683 (Also in 19, 20)import('electron')andimport 'electron'now work natively. #35957 (Also in 20, 21)Other Changes
webContents.printToPDF().. #36095win.getBrowserViews()not being updated when a BrowserView was moved to a different window. #35511common.gypifor native modules to support C++17 features in V8. #36369 (Also in 20, 21)Documentation
Notices
Sunsetting Windows 7/8/8.1
Electron will be ending support for Windows 7/8/8.1 after version 22.x.y following Chromium's plan to end support. Older versions of Electron will continue to work, but no further updates will be made for these operating systems.
End of Support for 19.x.y
Electron 19.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.
v21.3.3: electron v21.3.3Compare Source
Release Notes for v21.3.3
Fixes
Other Changes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.