webtorrent / webtorrent-desktop

❤️ Streaming torrent app for Mac, Windows, and Linux
https://webtorrent.io/desktop
MIT License
9.63k stars 999 forks source link

chore(deps): update dependency electron to v23 #2325

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
electron 15.5.7 -> 23.1.4 age adoption passing confidence

Release Notes

electron/electron ### [`v23.1.4`](https://togithub.com/electron/electron/releases/tag/v23.1.4): electron v23.1.4 [Compare Source](https://togithub.com/electron/electron/compare/v23.1.3...v23.1.4) ### Release Notes for v23.1.4 #### Fixes - Fixed an issue where unhandled rejections could cause duplicate logs in some cases. [#​37501](https://togithub.com/electron/electron/pull/37501) (Also in [22](https://togithub.com/electron/electron/pull/37502), [24](https://togithub.com/electron/electron/pull/37500)) #### Other Changes - Updated Chromium to 110.0.5481.192. [#​37533](https://togithub.com/electron/electron/pull/37533) ### [`v23.1.3`](https://togithub.com/electron/electron/releases/tag/v23.1.3): electron v23.1.3 [Compare Source](https://togithub.com/electron/electron/compare/v23.1.2...v23.1.3) ### Release Notes for v23.1.3 #### Fixes - Fixed WebUSB on ARM64 macs. [#​37521](https://togithub.com/electron/electron/pull/37521) (Also in [24](https://togithub.com/electron/electron/pull/37522)) - Fixed a crash on capturing sources when using desktopCapturer API on Wayland. [#​37526](https://togithub.com/electron/electron/pull/37526) #### Other Changes - Updated Chromium to 110.0.5481.179. [#​37471](https://togithub.com/electron/electron/pull/37471) ### [`v23.1.2`](https://togithub.com/electron/electron/releases/tag/v23.1.2): electron v23.1.2 [Compare Source](https://togithub.com/electron/electron/compare/v23.1.1...v23.1.2) ### Release Notes for v23.1.2 #### Fixes - Fixed `destroyed` event not emitted on `close` for `BrowserView.webContents`. [#​37451](https://togithub.com/electron/electron/pull/37451) (Also in [24](https://togithub.com/electron/electron/pull/37450)) - Fixed an incorrect result returned when using secure as a cookies filter. [#​37248](https://togithub.com/electron/electron/pull/37248) (Also in [22](https://togithub.com/electron/electron/pull/37247), [24](https://togithub.com/electron/electron/pull/37246)) - Fixed an issue where `minWidth`/`minHeight` and `maxWidth`/`maxHeight` would not be enforced if the user set an `aspectRatio` on macOS. [#​37457](https://togithub.com/electron/electron/pull/37457) (Also in [22](https://togithub.com/electron/electron/pull/37458), [24](https://togithub.com/electron/electron/pull/37456)) - Fixed an issue where passing both `hasReply` and `actions` to a main process Notification on macOS resulted in the first action being obscured and unavailable. [#​37448](https://togithub.com/electron/electron/pull/37448) (Also in [22](https://togithub.com/electron/electron/pull/37447), [24](https://togithub.com/electron/electron/pull/37449)) - Fixed draggable regions not working in Mac App Store builds. [#​37473](https://togithub.com/electron/electron/pull/37473) (Also in [24](https://togithub.com/electron/electron/pull/37474)) - Fixed right-click events not being delivered in frameless window draggable regions. [#​37394](https://togithub.com/electron/electron/pull/37394) (Also in [24](https://togithub.com/electron/electron/pull/37395)) #### Other Changes - Improved error messages for `contents.takeHeapSnapshot`. [#​37460](https://togithub.com/electron/electron/pull/37460) (Also in [22](https://togithub.com/electron/electron/pull/37459), [24](https://togithub.com/electron/electron/pull/37461)) - Updated Chromium to 110.0.5481.177. [#​37389](https://togithub.com/electron/electron/pull/37389) ### [`v23.1.1`](https://togithub.com/electron/electron/releases/tag/v23.1.1): electron v23.1.1 [Compare Source](https://togithub.com/electron/electron/compare/v23.1.0...v23.1.1) ### Release Notes for v23.1.1 #### Fixes - Corrects an issue with HTML fullscreen when `BrowserWindow` fullscreening is disabled. [#​37367](https://togithub.com/electron/electron/pull/37367) (Also in [24](https://togithub.com/electron/electron/pull/37368)) - Fixed potential private API usage for MAS builds on macOS. [#​37363](https://togithub.com/electron/electron/pull/37363) (Also in [24](https://togithub.com/electron/electron/pull/37364)) - Fixed window could not go back to maximized state when restored on Linux. [#​37359](https://togithub.com/electron/electron/pull/37359) (Also in [24](https://togithub.com/electron/electron/pull/37358)) #### Other Changes - Security: backported fix for chromium:1408392. [#​37297](https://togithub.com/electron/electron/pull/37297) - Updated Chromium to 110.0.5481.104. [#​37333](https://togithub.com/electron/electron/pull/37333) #### Documentation - Documentation changes: [#​37290](https://togithub.com/electron/electron/pull/37290) ### [`v23.1.0`](https://togithub.com/electron/electron/releases/tag/v23.1.0): electron v23.1.0 [Compare Source](https://togithub.com/electron/electron/compare/v23.0.0...v23.1.0) ### Release Notes for v23.1.0 #### Features - Added several standard page size options to `webContents.print()`. [#​37264](https://togithub.com/electron/electron/pull/37264) (Also in [22](https://togithub.com/electron/electron/pull/37263), [24](https://togithub.com/electron/electron/pull/37265)) #### Fixes - Changed HTML5 Notifications created with the `requireInteraction` option to not timeout on Linux and Windows. [#​36502](https://togithub.com/electron/electron/pull/36502) (Also in [21](https://togithub.com/electron/electron/pull/36503), [22](https://togithub.com/electron/electron/pull/36501)) - Fixed a crash when `BrowserView`s are present and a user attempts to prevent `beforeunload` in the renderer process. [#​37267](https://togithub.com/electron/electron/pull/37267) (Also in [22](https://togithub.com/electron/electron/pull/37266), [24](https://togithub.com/electron/electron/pull/37268)) - Fixed a potential crash in some types of Worklets. [#​37081](https://togithub.com/electron/electron/pull/37081) #### Other Changes - Updated Chromium to 110.0.5481.100. [#​37183](https://togithub.com/electron/electron/pull/37183) #### Documentation - Documentation changes: [#​37108](https://togithub.com/electron/electron/pull/37108) ### [`v23.0.0`](https://togithub.com/electron/electron/releases/tag/v23.0.0): electron v23.0.0 [Compare Source](https://togithub.com/electron/electron/compare/v22.3.3...v23.0.0) ### Release Notes for v23.0.0 #### Stack Upgrades - Chromium 110.0.5481.77. - [New in 110](https://developer.chrome.com/blog/new-in-chrome-110/) - [New in 109](https://developer.chrome.com/blog/new-in-chrome-109/) - Node v18.12.1. - [v16.17.1 release notes](https://nodejs.org/en/blog/release/v18.12.1/) - V8 v11.0 #### Breaking Changes - Windows 7, Windows 8, and Windows 8.1 are not supported anymore, as Chromium 110 dropped support. [#​36513](https://togithub.com/electron/electron/pull/36513) #### Features - Added `label` property to `Display` objects. [#​36933](https://togithub.com/electron/electron/pull/36933) (Also in [21](https://togithub.com/electron/electron/pull/36931), [22](https://togithub.com/electron/electron/pull/36932)) - Added an `app.getPreferredSystemLanguages()` API to return the user's system languages. [#​36035](https://togithub.com/electron/electron/pull/36035) (Also in [21](https://togithub.com/electron/electron/pull/36290), [22](https://togithub.com/electron/electron/pull/36291)) - Added new UtilityProcess API to launch chromium child process with node integration. [#​34980](https://togithub.com/electron/electron/pull/34980) (Also in [22](https://togithub.com/electron/electron/pull/36089)) - Added support for WebUSB. [#​36289](https://togithub.com/electron/electron/pull/36289) - Added support for `serialPort.forget()` as well as a new event `serial-port-revoked` emitted when a given origin is revoked. [#​35310](https://togithub.com/electron/electron/pull/35310) (Also in [22](https://togithub.com/electron/electron/pull/36062)) - Adds new `setHiddenInMissionControl` API to allow developers to opt out of mission control on macOS. [#​36092](https://togithub.com/electron/electron/pull/36092) (Also in [22](https://togithub.com/electron/electron/pull/36390)) #### Fixes - Basic accessibility support is now enabled when macOS Voice Control is activated to allow for full voice control of Electron applications. [#​37145](https://togithub.com/electron/electron/pull/37145) - Fixed a printing crash caused by an uninitialized pref. [#​37149](https://togithub.com/electron/electron/pull/37149) - Default margin has been added in the code. [#​36060](https://togithub.com/electron/electron/pull/36060) (Also in [21](https://togithub.com/electron/electron/pull/36072), [22](https://togithub.com/electron/electron/pull/36073)) - Doing `require('electron/*')` where `*` is not one of `main`, `common` or `renderer` no longer resolves with the built-in `electron` module. [#​35915](https://togithub.com/electron/electron/pull/35915) - Enable crashpad for ELECTRON_RUN_AS_NODE processes. [#​36460](https://togithub.com/electron/electron/pull/36460) (Also in [22](https://togithub.com/electron/electron/pull/36483)) - Fixed `click` event and tooltip of `Tray` not working on Linux. [#​36333](https://togithub.com/electron/electron/pull/36333) (Also in [22](https://togithub.com/electron/electron/pull/36472)) - Fixed a crash that could occur when running eval in inline scripts in unsandboxed renderer processes. [#​36667](https://togithub.com/electron/electron/pull/36667) (Also in [22](https://togithub.com/electron/electron/pull/36668)) - Fixed a drag-and-drop issue on macOS where items would be incorrectly moved instead of copied in some contexts. [#​35963](https://togithub.com/electron/electron/pull/35963) (Also in [20](https://togithub.com/electron/electron/pull/35978), [21](https://togithub.com/electron/electron/pull/35977), [22](https://togithub.com/electron/electron/pull/35976)) - Fixed a potential issue when calling `webContents.printToPDF()`. [#​36046](https://togithub.com/electron/electron/pull/36046) (Also in [21](https://togithub.com/electron/electron/pull/36064), [22](https://togithub.com/electron/electron/pull/36065)) - Fixed a potential memory leak. [#​35932](https://togithub.com/electron/electron/pull/35932) (Also in [21](https://togithub.com/electron/electron/pull/35965), [22](https://togithub.com/electron/electron/pull/35964)) - Fixed an RTL issue that could happen in some locales when calling `BrowserWindow.setTrafficLightPosition()` on macOS. [#​36850](https://togithub.com/electron/electron/pull/36850) (Also in [21](https://togithub.com/electron/electron/pull/36852), [22](https://togithub.com/electron/electron/pull/36851)) - Fixed an error when fs.readdir gets null for options. [#​36848](https://togithub.com/electron/electron/pull/36848) (Also in [21](https://togithub.com/electron/electron/pull/36846), [22](https://togithub.com/electron/electron/pull/36849)) - Fixed an issue on macOS when trying to switch processes with `Cmd+Tab` after exiting Kiosk Mode. [#​36917](https://togithub.com/electron/electron/pull/36917) (Also in [21](https://togithub.com/electron/electron/pull/36919), [22](https://togithub.com/electron/electron/pull/36918)) - Fixed an issue where `` elements were improperly positioned within the page. [#​36959](https://togithub.com/electron/electron/pull/36959) - Fixed an issue where `webView`s could have an incorrect initial background color following reloads. [#​36938](https://togithub.com/electron/electron/pull/36938) (Also in [21](https://togithub.com/electron/electron/pull/36939), [22](https://togithub.com/electron/electron/pull/36940)) - Fixed an issue where calling `app.dock.setIcon(/path/t/icon)` would crash when called before the `ready` event on `app`. [#​36279](https://togithub.com/electron/electron/pull/36279) (Also in [20](https://togithub.com/electron/electron/pull/36292), [21](https://togithub.com/electron/electron/pull/36294), [22](https://togithub.com/electron/electron/pull/36293)) - Fixed an issue where frameless non-resizable windows showed a Windows 7 frame during startup. [#​35365](https://togithub.com/electron/electron/pull/35365) (Also in [22](https://togithub.com/electron/electron/pull/36024)) - Fixed an issue where some options were incorrectly ignored when using `webContents.printToPDF()`. [#​35975](https://togithub.com/electron/electron/pull/35975) (Also in [21](https://togithub.com/electron/electron/pull/35992), [22](https://togithub.com/electron/electron/pull/35993)) - Fixed an issue where the `setPermissionRequestHandler` callback would be invoked twice when using `navigator.getUserMedia(...)`. [#​36874](https://togithub.com/electron/electron/pull/36874) (Also in [22](https://togithub.com/electron/electron/pull/36873)) - Fixed an issue with incorrect focus ring highlighting when using `dialog.showMessageBox()`. [#​36803](https://togithub.com/electron/electron/pull/36803) (Also in [21](https://togithub.com/electron/electron/pull/36801), [22](https://togithub.com/electron/electron/pull/36802)) - Fixed binary stripping for branded release builds on Linux. [#​36656](https://togithub.com/electron/electron/pull/36656) (Also in [21](https://togithub.com/electron/electron/pull/36655), [22](https://togithub.com/electron/electron/pull/36654)) - Fixed missing headers in libcxx_headers bundle. [#​36864](https://togithub.com/electron/electron/pull/36864) - Fixed on-screen-keyboard not hiding on input rendered in webview is blurred. [#​35921](https://togithub.com/electron/electron/pull/35921) (Also in [20](https://togithub.com/electron/electron/pull/35981), [21](https://togithub.com/electron/electron/pull/35982), [22](https://togithub.com/electron/electron/pull/35983)) - Fixed race condition during update on macOS that could result in TCC and Keychain errors. [#​36130](https://togithub.com/electron/electron/pull/36130) (Also in [22](https://togithub.com/electron/electron/pull/36362)) - Fixed spurious promise rejection in `webContents.loadURL` when navigating to a hash. [#​36129](https://togithub.com/electron/electron/pull/36129) (Also in [20](https://togithub.com/electron/electron/pull/36149), [21](https://togithub.com/electron/electron/pull/36150), [22](https://togithub.com/electron/electron/pull/36151)) - Fixed v8 flags and desktop name in package.json does not hornored when running local app using electron cli. [#​35997](https://togithub.com/electron/electron/pull/35997) (Also in [20](https://togithub.com/electron/electron/pull/36048), [21](https://togithub.com/electron/electron/pull/36050), [22](https://togithub.com/electron/electron/pull/36049)) - Fixed warning about duplicate `WebSwapCGLLayer` symbols when Electron starts on macOS. [#​36799](https://togithub.com/electron/electron/pull/36799) (Also in [21](https://togithub.com/electron/electron/pull/36798), [22](https://togithub.com/electron/electron/pull/36800)) - Removed plugin helper checks on macOS gated behind enable_plugins buildflag. [#​36977](https://togithub.com/electron/electron/pull/36977) (Also in [22](https://togithub.com/electron/electron/pull/36978)) - Removed support for `nodeIntegrationInWorker` in Service Workers and Shared Workers owing to sandboxing policies. [#​35919](https://togithub.com/electron/electron/pull/35919) (Also in [21](https://togithub.com/electron/electron/pull/36009), [22](https://togithub.com/electron/electron/pull/36010)) - Removed unneeded ` --turbo-profiling-input ` argument from mksnapshot_args. [#​36378](https://togithub.com/electron/electron/pull/36378) (Also in [22](https://togithub.com/electron/electron/pull/36467)) - The keychain account name for MAS and Darwin builds of the same Electron application now differ. [#​35864](https://togithub.com/electron/electron/pull/35864) - Use the process cache to reduce the memory for asar file. [#​36665](https://togithub.com/electron/electron/pull/36665) (Also in [21](https://togithub.com/electron/electron/pull/36663), [22](https://togithub.com/electron/electron/pull/36664)) - You can now import the built-in electron module via ESModule loaders, i.e. `import('electron')` and `import 'electron'` now work natively. [#​35930](https://togithub.com/electron/electron/pull/35930) (Also in [20](https://togithub.com/electron/electron/pull/35956), [21](https://togithub.com/electron/electron/pull/35958), [22](https://togithub.com/electron/electron/pull/35957)) #### Other Changes - The deprecated `incrementCapturerCount()` / `decrementCapturerCount()` methods have been removed. [#​37148](https://togithub.com/electron/electron/pull/37148) - Updated Chromium to 110.0.5481.77. [#​37120](https://togithub.com/electron/electron/pull/37120) - Added node-api: handle no support for external buffers. [#​36623](https://togithub.com/electron/electron/pull/36623) - Enabled out-of-process iframe printing to PDF with `webContents.printToPDF().`. [#​36051](https://togithub.com/electron/electron/pull/36051) (Also in [22](https://togithub.com/electron/electron/pull/36095)) - Removed unneeded --turbo-profiling-input argument from mksnapshot_args for Linux mksnapshot zips. [#​36534](https://togithub.com/electron/electron/pull/36534) (Also in [22](https://togithub.com/electron/electron/pull/36782)) - Updated Chromium to 110.0.5481.38. [#​36955](https://togithub.com/electron/electron/pull/36955) - Updated Node.js to v18.12.1. [#​36356](https://togithub.com/electron/electron/pull/36356) - Upgraded Node.js to v18.10.0. [#​35999](https://togithub.com/electron/electron/pull/35999) #### Documentation - Documentation changes: [#​35894](https://togithub.com/electron/electron/pull/35894) #### Notices ##### Sunsetting Windows 7/8/8.1 Electron has ended support for Windows 7/8/8.1 in version 23.x.y [following Chromium's plan to end support](https://support.google.com/chrome/thread/185534985/sunsetting-support-for-windows-7-8-8-1-in-early-2023?hl=en). Older versions of Electron will continue to work, but no further updates will be made for these operating systems. ##### End of Support for 20.x.y Electron 20.x.y has reached end-of-support as per the project's [support policy](https://www.electronjs.org/docs/latest/tutorial/electron-timelines#version-support-policy). Developers and applications are encouraged to upgrade to a newer version of Electron. ### [`v22.3.3`](https://togithub.com/electron/electron/releases/tag/v22.3.3): electron v22.3.3 [Compare Source](https://togithub.com/electron/electron/compare/v22.3.2...v22.3.3) ### Release Notes for v22.3.3 #### Fixes - Fixed an issue where unhandled rejections could cause duplicate logs in some cases. [#​37502](https://togithub.com/electron/electron/pull/37502) (Also in [23](https://togithub.com/electron/electron/pull/37501), [24](https://togithub.com/electron/electron/pull/37500)) #### Other Changes - Security: backported fix for [`1414224`](https://togithub.com/electron/electron/commit/1414224). [#​37483](https://togithub.com/electron/electron/pull/37483) - Security: backported fix for CVE-2023-0928. [#​37481](https://togithub.com/electron/electron/pull/37481) - Security: backported fix for CVE-2023-0929. [#​37479](https://togithub.com/electron/electron/pull/37479) - Security: backported fix for CVE-2023-0931. [#​37477](https://togithub.com/electron/electron/pull/37477) - Security: backported fix for CVE-2023-0932. [#​37485](https://togithub.com/electron/electron/pull/37485) ### [`v22.3.2`](https://togithub.com/electron/electron/releases/tag/v22.3.2): electron v22.3.2 [Compare Source](https://togithub.com/electron/electron/compare/v22.3.1...v22.3.2) ### Release Notes for v22.3.2 #### Fixes - Fixed an issue where `minWidth`/`minHeight` and `maxWidth`/`maxHeight` would not be enforced if the user set an `aspectRatio` on macOS. [#​37458](https://togithub.com/electron/electron/pull/37458) (Also in [23](https://togithub.com/electron/electron/pull/37457), [24](https://togithub.com/electron/electron/pull/37456)) - Fixed an issue where passing both `hasReply` and `actions` to a main process Notification on macOS resulted in the first action being obscured and unavailable. [#​37447](https://togithub.com/electron/electron/pull/37447) (Also in [23](https://togithub.com/electron/electron/pull/37448), [24](https://togithub.com/electron/electron/pull/37449)) - Fixed window could not go back to maximized state when restored on Linux. [#​37360](https://togithub.com/electron/electron/pull/37360) (Also in [23](https://togithub.com/electron/electron/pull/37359), [24](https://togithub.com/electron/electron/pull/37358)) #### Other Changes - Improved error messages for `contents.takeHeapSnapshot`. [#​37459](https://togithub.com/electron/electron/pull/37459) (Also in [23](https://togithub.com/electron/electron/pull/37460), [24](https://togithub.com/electron/electron/pull/37461)) ### [`v22.3.1`](https://togithub.com/electron/electron/releases/tag/v22.3.1): electron v22.3.1 [Compare Source](https://togithub.com/electron/electron/compare/v22.3.0...v22.3.1) ### Release Notes for v22.3.1 #### Other Changes - Security: backported fix for chromium:1408392. [#​37298](https://togithub.com/electron/electron/pull/37298) #### Documentation - Documentation changes: [#​37289](https://togithub.com/electron/electron/pull/37289) ### [`v22.3.0`](https://togithub.com/electron/electron/releases/tag/v22.3.0): electron v22.3.0 [Compare Source](https://togithub.com/electron/electron/compare/v22.2.1...v22.3.0) ### Release Notes for v22.3.0 #### Features - Added several standard page size options to `webContents.print()`. [#​37263](https://togithub.com/electron/electron/pull/37263) (Also in [23](https://togithub.com/electron/electron/pull/37264), [24](https://togithub.com/electron/electron/pull/37265)) #### Fixes - Fixed a crash when `BrowserView`s are present and a user attempts to prevent `beforeunload` in the renderer process. [#​37266](https://togithub.com/electron/electron/pull/37266) (Also in [23](https://togithub.com/electron/electron/pull/37267), [24](https://togithub.com/electron/electron/pull/37268)) - Fixed an incorrect result returned when using secure as a cookies filter. [#​37247](https://togithub.com/electron/electron/pull/37247) (Also in [24](https://togithub.com/electron/electron/pull/37246)) #### Other Changes - Security: backported fix for CVE-2023-0696. [#​37192](https://togithub.com/electron/electron/pull/37192) ### [`v22.2.1`](https://togithub.com/electron/electron/releases/tag/v22.2.1): electron v22.2.1 [Compare Source](https://togithub.com/electron/electron/compare/v22.2.0...v22.2.1) ### Release Notes for v22.2.1 #### Features - Whole-program optimization is enabled by default in electron node headers config file. [#​37047](https://togithub.com/electron/electron/pull/37047) (Also in [21](https://togithub.com/electron/electron/pull/37048), [23](https://togithub.com/electron/electron/pull/37046)) #### Fixes - Basic accessibility support is now enabled when macOS Voice Control is activated to allow for full voice control of Electron applications. [#​37146](https://togithub.com/electron/electron/pull/37146) (Also in [21](https://togithub.com/electron/electron/pull/37144), [23](https://togithub.com/electron/electron/pull/37145)) - Fixed audio worklet scripts failing to run when `nodeIntegrationInWorker: true`. [#​37102](https://togithub.com/electron/electron/pull/37102) (Also in [23](https://togithub.com/electron/electron/pull/37104)) #### Documentation - Documentation changes: [#​37107](https://togithub.com/electron/electron/pull/37107) ### [`v22.2.0`](https://togithub.com/electron/electron/releases/tag/v22.2.0): electron v22.2.0 [Compare Source](https://togithub.com/electron/electron/compare/v22.1.0...v22.2.0) ### Release Notes for v22.0.0 #### Stack Upgrades - Chromium 108.0.5359.62. - [New in 108](https://developer.chrome.com/blog/new-in-chrome-108/) - [New in 107](https://developer.chrome.com/blog/new-in-chrome-107/) - Node v16.17.1. - [v16.17.1 release notes](https://nodejs.org/en/blog/release/v16.17.1/) - [v16.17.0 release notes](https://nodejs.org/en/blog/release/v16.17.0/) - V8 v10.8 #### Breaking Changes - Added WebContents `input-event` event. - Deprecated BrowserWindow `scroll-touch-*` events. [#​35531](https://togithub.com/electron/electron/pull/35531) - The deprecated `new-window` event has been removed. [#​34526](https://togithub.com/electron/electron/pull/34526) #### Features - Added `LoadBrowserProcessSpecificV8Snapshot` as a new fuse that will let the main/browser process load its v8 snapshot from a file at `browser_v8_context_snapshot.bin`. Any other process will use the same path as is used today. [#​35266](https://togithub.com/electron/electron/pull/35266) (Also in [20](https://togithub.com/electron/electron/pull/35694), [21](https://togithub.com/electron/electron/pull/35695)) - Added `WebContents.opener` to access window opener. - Added `webContents.fromFrame(frame)` to get the WebContents corresponding to a WebFrameMain instance. [#​35140](https://togithub.com/electron/electron/pull/35140) (Also in [21](https://togithub.com/electron/electron/pull/35819)) - Added `app.getSystemLocale()` method. [#​35697](https://togithub.com/electron/electron/pull/35697) (Also in [21](https://togithub.com/electron/electron/pull/35794)) - Added `contextBridge.exposeInIsolatedWorld(worldId, key, api)` to expose an API to an `isolatedWorld` within a renderer from a preload script. [#​34974](https://togithub.com/electron/electron/pull/34974) - Added `webContents.close()` method. [#​35509](https://togithub.com/electron/electron/pull/35509) - Added `webFrameMain.origin`. [#​35438](https://togithub.com/electron/electron/pull/35438) (Also in [19](https://togithub.com/electron/electron/pull/35624), [20](https://togithub.com/electron/electron/pull/35535), [21](https://togithub.com/electron/electron/pull/35534)) - Added an `app.getPreferredSystemLanguages()` API to return the user's system languages. [#​36291](https://togithub.com/electron/electron/pull/36291) (Also in [21](https://togithub.com/electron/electron/pull/36290)) - Added new UtilityProcess API to launch chromium child process with node integration. [#​36089](https://togithub.com/electron/electron/pull/36089) - Added new WebContents event `content-bounds-updated`. [#​35533](https://togithub.com/electron/electron/pull/35533) - Added new `WebContents.ipc` and `WebFrameMain.ipc` APIs. [#​34959](https://togithub.com/electron/electron/pull/34959) (Also in [21](https://togithub.com/electron/electron/pull/35231)) - Added support for Web Bluetooth pin pairing on Linux and Windows. [#​35416](https://togithub.com/electron/electron/pull/35416) (Also in [21](https://togithub.com/electron/electron/pull/35818)) - Added support for `navigator.mediaDevices.getDisplayMedia` via a new session handler, `ses.setDisplayMediaRequestHandler`. [#​30702](https://togithub.com/electron/electron/pull/30702) - Added support for `serialPort.forget()` as well as a new event `serial-port-revoked` emitted when a given origin is revoked. [#​36062](https://togithub.com/electron/electron/pull/36062) #### Fixes - Added support for Webauthn discoverable keys (aka resident keys), allowing users to authenticate without first having to select or type a username. [#​35374](https://togithub.com/electron/electron/pull/35374) - Enable crashpad for ELECTRON_RUN_AS_NODE processes on linux. [#​36483](https://togithub.com/electron/electron/pull/36483) - Fixed `click` event and tooltip of `Tray` not working on Linux. [#​36472](https://togithub.com/electron/electron/pull/36472) - Fixed an issue where frameless non-resizable windows showed a Windows 7 frame during startup. [#​36024](https://togithub.com/electron/electron/pull/36024) - Fixed an issue with incomplete EventEmitter object in sandboxed renderer preload script. [#​35522](https://togithub.com/electron/electron/pull/35522) - Fixed race condition during update on macOS that could result in TCC and Keychain errors. [#​36362](https://togithub.com/electron/electron/pull/36362) - Removed unneeded --turbo-profiling-input argument from mksnapshot_args. [#​36463](https://togithub.com/electron/electron/pull/36463) ##### Also in earlier versions... - Added a background to the WCO container to avoid rendering glitches. [#​35569](https://togithub.com/electron/electron/pull/35569) (Also in [19](https://togithub.com/electron/electron/pull/35610), [20](https://togithub.com/electron/electron/pull/35611), [21](https://togithub.com/electron/electron/pull/35612)) - Added support for Windows drop-down dialog extensions. [#​35618](https://togithub.com/electron/electron/pull/35618) (Also in [18](https://togithub.com/electron/electron/pull/35661), [19](https://togithub.com/electron/electron/pull/35660), [20](https://togithub.com/electron/electron/pull/35659), [21](https://togithub.com/electron/electron/pull/36027)) - Default margin has been added in the code. [#​36073](https://togithub.com/electron/electron/pull/36073) (Also in [21](https://togithub.com/electron/electron/pull/36072)) - Enable WCO maximize button when window enters tablet mode and is not already maximized. [#​35617](https://togithub.com/electron/electron/pull/35617) (Also in [19](https://togithub.com/electron/electron/pull/35677), [20](https://togithub.com/electron/electron/pull/35663), [21](https://togithub.com/electron/electron/pull/35664)) - Fixed `uv_os_gethostname` failing on Windows 7. [#​35702](https://togithub.com/electron/electron/pull/35702) (Also in [19](https://togithub.com/electron/electron/pull/35703), [20](https://togithub.com/electron/electron/pull/35705), [21](https://togithub.com/electron/electron/pull/35704)) - Fixed a bug where calling `atob` in the renderer process could fail under some circumstances. [#​35415](https://togithub.com/electron/electron/pull/35415) (Also in [19](https://togithub.com/electron/electron/pull/35444), [20](https://togithub.com/electron/electron/pull/35445), [21](https://togithub.com/electron/electron/pull/35443)) - Fixed a crash that occured when loading non-standard schemes from iframes. [#​35485](https://togithub.com/electron/electron/pull/35485) (Also in [21](https://togithub.com/electron/electron/pull/35517)) - Fixed a crash when switching origins with emulation settings set. [#​35466](https://togithub.com/electron/electron/pull/35466) (Also in [21](https://togithub.com/electron/electron/pull/35488)) - Fixed a drag-and-drop issue on macOS where items would be incorrectly moved instead of copied in some contexts. [#​35976](https://togithub.com/electron/electron/pull/35976) (Also in [20](https://togithub.com/electron/electron/pull/35978), [21](https://togithub.com/electron/electron/pull/35977)) - Fixed a potential crash on WebWorker destruction. [#​35422](https://togithub.com/electron/electron/pull/35422) (Also in [19](https://togithub.com/electron/electron/pull/35490), [20](https://togithub.com/electron/electron/pull/35491), [21](https://togithub.com/electron/electron/pull/35492)) - Fixed a potential issue when calling `webContents.printToPDF()`. [#​36065](https://togithub.com/electron/electron/pull/36065) (Also in [21](https://togithub.com/electron/electron/pull/36064)) - Fixed a potential memory leak. [#​35964](https://togithub.com/electron/electron/pull/35964) (Also in [21](https://togithub.com/electron/electron/pull/35965)) - Fixed an edge case in `app.isInApplicationsFolder()` which would return false incorrectly in some cases. [#​35636](https://togithub.com/electron/electron/pull/35636) (Also in [19](https://togithub.com/electron/electron/pull/35729), [20](https://togithub.com/electron/electron/pull/35731), [21](https://togithub.com/electron/electron/pull/35730)) - Fixed an issue where DevTools could not be docked with Windows Control Overlay enabled. [#​35754](https://togithub.com/electron/electron/pull/35754) (Also in [19](https://togithub.com/electron/electron/pull/35763), [20](https://togithub.com/electron/electron/pull/35764), [21](https://togithub.com/electron/electron/pull/35765)) - Fixed an issue where WCO could occlude DevTools opened in any non-detached mode. [#​35209](https://togithub.com/electron/electron/pull/35209) (Also in [18](https://togithub.com/electron/electron/pull/35307), [19](https://togithub.com/electron/electron/pull/35308), [20](https://togithub.com/electron/electron/pull/35309), [21](https://togithub.com/electron/electron/pull/35688)) - Fixed an issue where `screen.getCursorScreenPoint()` crashed on Wayland when it was called before a `BrowserWindow` had been created. [#​35503](https://togithub.com/electron/electron/pull/35503) (Also in [21](https://togithub.com/electron/electron/pull/35575)) - Fixed an issue where `serialPort.open()` failed with `NetworkError: Failed to open serial port.`. [#​35306](https://togithub.com/electron/electron/pull/35306) (Also in [21](https://togithub.com/electron/electron/pull/35339)) - Fixed an issue where app.relaunch loses args when execPath is specified. [#​35108](https://togithub.com/electron/electron/pull/35108) (Also in [19](https://togithub.com/electron/electron/pull/35252), [20](https://togithub.com/electron/electron/pull/35253), [21](https://togithub.com/electron/electron/pull/35254)) - Fixed an issue where calling `app.dock.setIcon(/path/t/icon)` would crash when called before the `ready` event on `app`. [#​36293](https://togithub.com/electron/electron/pull/36293) (Also in [20](https://togithub.com/electron/electron/pull/36292), [21](https://togithub.com/electron/electron/pull/36294)) - Fixed an issue where frameless resizable windows showed Window 7 style frames while opening. [#​35189](https://togithub.com/electron/electron/pull/35189) (Also in [18](https://togithub.com/electron/electron/pull/35477), [19](https://togithub.com/electron/electron/pull/35351), [20](https://togithub.com/electron/electron/pull/35352), [21](https://togithub.com/electron/electron/pull/35353)) - Fixed an issue where frameless windows with `roundedCorners: false` couldn't enter fullscreen without crashing. [#​35421](https://togithub.com/electron/electron/pull/35421) (Also in [19](https://togithub.com/electron/electron/pull/35456), [20](https://togithub.com/electron/electron/pull/35455), [21](https://togithub.com/electron/electron/pull/35454)) - Fixed an issue where part of the BrowserView could be cut off when calling `setBounds` on some windows. [#​34713](https://togithub.com/electron/electron/pull/34713) (Also in [19](https://togithub.com/electron/electron/pull/35495), [20](https://togithub.com/electron/electron/pull/35494), [21](https://togithub.com/electron/electron/pull/35502)) - Fixed an issue where some options were incorrectly ignored when using `webContents.printToPDF()`. [#​35993](https://togithub.com/electron/electron/pull/35993) (Also in [21](https://togithub.com/electron/electron/pull/35992)) - Fixed crash in renderer when resuming system from sleep. [#​35322](https://togithub.com/electron/electron/pull/35322) (Also in [18](https://togithub.com/electron/electron/pull/35340), [19](https://togithub.com/electron/electron/pull/35337), [20](https://togithub.com/electron/electron/pull/35338), [21](https://togithub.com/electron/electron/pull/35336)) - Fixed enable promise support with webFrameMain.executeJavaScript. [#​35292](https://togithub.com/electron/electron/pull/35292) (Also in [20](https://togithub.com/electron/electron/pull/35358), [21](https://togithub.com/electron/electron/pull/35359)) - Fixed issue with history.back() in sandboxed iframes affecting parent browsing context. [#​35420](https://togithub.com/electron/electron/pull/35420) (Also in [19](https://togithub.com/electron/electron/pull/35621), [20](https://togithub.com/electron/electron/pull/35622), [21](https://togithub.com/electron/electron/pull/35623)) - Fixed on-screen-keyboard not hiding on input rendered in webview is blurred. [#​35983](https://togithub.com/electron/electron/pull/35983) (Also in [20](https://togithub.com/electron/electron/pull/35981), [21](https://togithub.com/electron/electron/pull/35982)) - Fixed session.getBlobData never resolves with blob sizes > 65536. [#​35277](https://togithub.com/electron/electron/pull/35277) (Also in [19](https://togithub.com/electron/electron/pull/35600), [20](https://togithub.com/electron/electron/pull/35601), [21](https://togithub.com/electron/electron/pull/35602)) - Fixed spurious promise rejection in `webContents.loadURL` when navigating to a hash. [#​36151](https://togithub.com/electron/electron/pull/36151) (Also in [20](https://togithub.com/electron/electron/pull/36149), [21](https://togithub.com/electron/electron/pull/36150)) - Fixed undefined details.requestingUrl from session.setPermissionCheckHandler. [#​35281](https://togithub.com/electron/electron/pull/35281) (Also in [20](https://togithub.com/electron/electron/pull/35408), [21](https://togithub.com/electron/electron/pull/35409)) - Fixed v8 flags and desktop name in package.json does not hornored when running local app using electron cli. [#​36049](https://togithub.com/electron/electron/pull/36049) (Also in [20](https://togithub.com/electron/electron/pull/36048), [21](https://togithub.com/electron/electron/pull/36050)) - Fixed: If a custom Electron build contains an electron.d.ts file, it is now being used. [#​33979](https://togithub.com/electron/electron/pull/33979) (Also in [20](https://togithub.com/electron/electron/pull/35823), [21](https://togithub.com/electron/electron/pull/35822)) - Picture-In-Picture mode no longer becomes a red rectangle on hover. [#​35034](https://togithub.com/electron/electron/pull/35034) (Also in [19](https://togithub.com/electron/electron/pull/35400), [20](https://togithub.com/electron/electron/pull/35402), [21](https://togithub.com/electron/electron/pull/35401)) - Provided display_id for desktopCapturer on Linux. [#​33861](https://togithub.com/electron/electron/pull/33861) (Also in [19](https://togithub.com/electron/electron/pull/35835), [20](https://togithub.com/electron/electron/pull/35834), [21](https://togithub.com/electron/electron/pull/35836)) - Removed support for `nodeIntegrationInWorker` in Service Workers and Shared Workers owing to sandboxing policies. [#​36010](https://togithub.com/electron/electron/pull/36010) (Also in [21](https://togithub.com/electron/electron/pull/36009)) - Usage of `safeStorage` now consistently uses the correct service name on macOS regardless of timing with browser window construction. [#​34683](https://togithub.com/electron/electron/pull/34683) (Also in [19](https://togithub.com/electron/electron/pull/35795), [20](https://togithub.com/electron/electron/pull/35796)) - You can now import the built-in electron module via ESModule loaders, i.e. `import('electron')` and `import 'electron'` now work natively. [#​35957](https://togithub.com/electron/electron/pull/35957) (Also in [20](https://togithub.com/electron/electron/pull/35956), [21](https://togithub.com/electron/electron/pull/35958)) - Fixed a typo in the section on debugging with VSCode. [#​35256](https://togithub.com/electron/electron/pull/35256) (Also in [19](https://togithub.com/electron/electron/pull/35284), [20](https://togithub.com/electron/electron/pull/35286), [21](https://togithub.com/electron/electron/pull/35285)) #### Other Changes - Backported fix for chromium:1352405. [#​36458](https://togithub.com/electron/electron/pull/36458) - Bumps the minimum required version of Node.js needed to install Electron to 12.20.55. [#​35301](https://togithub.com/electron/electron/pull/35301) - Enabled out-of-process iframe printing to PDF with `webContents.printToPDF().`. [#​36095](https://togithub.com/electron/electron/pull/36095) - Fixed `win.getBrowserViews()` not being updated when a BrowserView was moved to a different window. [#​35511](https://togithub.com/electron/electron/pull/35511) - Fixed an issue where some spellcheck functionality would incorrectly throw errors on macOS. [#​35514](https://togithub.com/electron/electron/pull/35514) (Also in [21](https://togithub.com/electron/electron/pull/35679)) - Modified the WCO maximized button style to match Windows 11 more closely. [#​35370](https://togithub.com/electron/electron/pull/35370) (Also in [20](https://togithub.com/electron/electron/pull/35968), [21](https://togithub.com/electron/electron/pull/35970)) - Updated `common.gypi` for native modules to support C++17 features in V8. [#​36369](https://togithub.com/electron/electron/pull/36369) (Also in [20](https://togithub.com/electron/electron/pull/36382), [21](https://togithub.com/electron/electron/pull/36383)) #### Documentation - Documentation changes: - [#​35283](https://togithub.com/electron/electron/pull/35283) - [#​35324](https://togithub.com/electron/electron/pull/35324) - [#​35413](https://togithub.com/electron/electron/pull/35413) - [#​35525](https://togithub.com/electron/electron/pull/35525) - [#​35563](https://togithub.com/electron/electron/pull/35563) - [#​35908](https://togithub.com/electron/electron/pull/35908) #### 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](https://support.google.com/chrome/thread/185534985/sunsetting-support-for-windows-7-8-8-1-in-early-2023?hl=en). 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](https://www.electronjs.org/docs/latest/tutorial/electron-timelines#version-support-policy). Developers and applications are encouraged to upgrade to a newer version of Electron. ### [`v22.1.0`](https://togithub.com/electron/electron/releases/tag/v22.1.0): electron v22.1.0 [Compare Source](https://togithub.com/electron/electron/compare/v22.0.3...v22.1.0) ### Release Notes for v22.1.0 #### Features - Added `label` property to `Display` objects. [#​36932](https://togithub.com/electron/electron/pull/36932) (Also in [21](https://togithub.com/electron/electron/pull/36931), [23](https://togithub.com/electron/electron/pull/36933)) #### Fixes - Fixed an issue where `webView`s could have an incorrect initial background color following reloads. [#​36940](https://togithub.com/electron/electron/pull/36940) (Also in [21](https://togithub.com/electron/electron/pull/36939), [23](https://togithub.com/electron/electron/pull/36938)) - Removed plugin helper checks on macOS gated behind enable_plugins buildflag. [#​36978](https://togithub.com/electron/electron/pull/36978) (Also in [23](https://togithub.com/electron/electron/pull/36977)) #### Other Changes - Fixed voiceover repeating selected text when expanding selection in a textarea. [#​36991](https://togithub.com/electron/electron/pull/36991) ### [`v22.0.3`](https://togithub.com/electron/electron/releases/tag/v22.0.3): electron v22.0.3 [Compare Source](https://togithub.com/electron/electron/compare/v22.0.2...v22.0.3) ### Release Notes for v22.0.3 #### Fixes - Fixed an issue on macOS when trying to switch processes with `Cmd+Tab` after exiting Kiosk Mode. [#​36918](https://togithub.com/electron/electron/pull/36918) (Also in [21](https://togithub.com/electron/electron/pull/36919), [23](https://togithub.com/electron/electron/pull/36917)) - Fixed an issue where the `setPermissionRequestHandler` callback would be invoked twice when using `navigator.getUserMedia(...)`. [#​36873](https://togithub.com/electron/electron/pull/36873) (Also in [23](https://togithub.com/electron/electron/pull/36874)) - Use the process cache to reduce the memory for asar file. [#​36664](https://togithub.com/electron/electron/pull/36664) (Also in [21](https://togithub.com/electron/electron/pull/36663), [23](https://togithub.com/electron/electron/pull/36665)) ### [`v22.0.2`](https://togithub.com/electron/electron/releases/tag/v22.0.2): electron v22.0.2 [Compare Source](https://togithub.com/electron/electron/compare/v22.0.1...v22.0.2) ### Release Notes for v22.0.2 #### Fixes - Fixed an RTL issue that could happen in some locales when calling `BrowserWindow.setTrafficLightPosition()` on macOS. [#​36851](https://togithub.com/electron/electron/pull/36851) (Also in [21](https://togithub.com/electron/electron/pull/36852), [23](https://togithub.com/electron/electron/pull/36850)) - Fixed an error when fs.readdir gets null for options. [#​36849](https://togithub.com/electron/electron/pull/36849) (Also in [23](https://togithub.com/electron/electron/pull/36848)) - Fixed missing headers in libcxx_headers bundle. [#​36865](https://togithub.com/electron/electron/pull/36865) #### Other Changes - Security: backported fix for CVE-2023-0129. [#​36884](https://togithub.com/electron/electron/pull/36884) - Updated Chromium to 108.0.5359.179. [#​36877](https://togithub.com/electron/electron/pull/36877) ### [`v22.0.1`](https://togithub.com/electron/electron/releases/tag/v22.0.1): electron v22.0.1 [Compare Source](https://togithub.com/electron/electron/compare/v22.0.0...v22.0.1) ### Release Notes for v22.0.1 #### Fixes - Changed HTML5 Notifications created with the `requireInteraction` option to not timeout on Linux and Windows. [#​36501](https://togithub.com/electron/electron/pull/36501) (Also in [21](https://togithub.com/electron/electron/pull/36503)) - Fixed a crash that could occur when running eval in inline scripts in unsandboxed renderer processes. [#​36668](https://togithub.com/electron/electron/pull/36668) (Also in [23](https://togithub.com/electron/electron/pull/36667)) - Fixed an issue with incorrect focus ring highlighting when using `dialog.showMessageBox()`. [#​36802](https://togithub.com/electron/electron/pull/36802) (Also in [21](https://togithub.com/electron/electron/pull/36801), [23](https://togithub.com/electron/electron/pull/36803)) - Fixed binary stripping for branded release builds on Linux. [#​36654](https://togithub.com/electron/electron/pull/36654) (Also in [21](https://togithub.com/electron/electron/pull/36655), [23](https://togithub.com/electron/electron/pull/36656)) - Fixed warning about duplicate `WebSwapCGLLayer` symbols when Electron starts on macOS. [#​36800](https://togithub.com/electron/electron/pull/36800) (Also in [21](https://togithub.com/electron/electron/pull/36798), [23](https://togithub.com/electron/electron/pull/36799)) #### Other Changes - Added node-api: handle no support for external buffers. [#​36624](https://togithub.com/electron/electron/pull/36624) - Backported fix for chromium:1352405. [#​36517](https://togithub.com/electron/electron/pull/36517) - Backported fix for chromium:1352405. [#​36518](https://togithub.com/electron/electron/pull/36518) - Removed unneeded --turbo-profiling-input argument from mksnapshot_args for Linux mksnapshot zips. [#​36782](https://togithub.com/electron/electron/pull/36782) (Also in [23](https://togithub.com/electron/electron/pull/36534)) - Updated Chromium to 108.0.5359.99. [#​36613](https://togithub.com/electron/electron/pull/36613) ### [`v22.0.0`](https://togithub.com/electron/electron/releases/tag/v22.0.0): electron v22.0.0 [Compare Source](https://togithub.com/electron/electron/compare/v21.4.3...v22.0.0) ### Release Notes for v22.0.0 #### Stack Upgrades - Chromium 108.0.5359.62. - [New in 108](https://developer.chrome.com/blog/new-in-chrome-108/) - [New in 107](https://developer.chrome.com/blog/new-in-chrome-107/) - Node v16.17.1. - [v16.17.1 release notes](https://nodejs.org/en/blog/release/v16.17.1/) - [v16.17.0 release notes](https://nodejs.org/en/blog/release/v16.17.0/) - V8 v10.8 #### Breaking Changes - Added WebContents `input-event` event. - Deprecated BrowserWindow `scroll-touch-*` events. [#​35531](https://togithub.com/electron/electron/pull/35531) - The deprecated `new-window` event has been removed. [#​34526](https://togithub.com/electron/electron/pull/34526) #### Features - Added `LoadBrowserProcessSpecificV8Snapshot` as a new fuse that will let the main/browser process load its v8 snapshot from a file at `browser_v8_context_snapshot.bin`. Any other process will use the same path as is used today. [#​35266](https://togithub.com/electron/electron/pull/35266) (Also in [20](https://togithub.com/electron/electron/pull/35694), [21](https://togithub.com/electron/electron/pull/35695)) - Added `WebContents.opener` to access window opener. - Added `webContents.fromFrame(frame)` to get the WebContents corresponding to a WebFrameMain instance. [#​35140](https://togithub.com/electron/electron/pull/35140) (Also in [21](https://togithub.com/electron/electron/pull/35819)) - Added `app.getSystemLocale()` method. [#​35697](https://togithub.com/electron/electron/pull/35697) (Also in [21](https://togithub.com/electron/electron/pull/35794)) - Added `contextBridge.exposeInIsolatedWorld(worldId, key, api)` to expose an API to an `isolatedWorld` within a renderer from a preload script. [#​34974](https://togithub.com/electron/electron/pull/34974) - Added `webContents.close()` method. [#​35509](https://togithub.com/electron/electron/pull/35509) - Added `webFrameMain.origin`. [#​35438](https://togithub.com/electron/electron/pull/35438) (Also in [19](https://togithub.com/electron/electron/pull/35624), [20](https://togithub.com/electron/electron/pull/35535), [21](https://togithub.com/electron/electron/pull/35534)) - Added an `app.getPreferredSystemLanguages()` API to return the user's system languages. [#​36291](https://togithub.com/electron/electron/pull/36291) (Also in [21](https://togithub.com/electron/electron/pull/36290)) - Added new UtilityProcess API to launch chromium child process with node integration. [#​36089](https://togithub.com/electron/electron/pull/36089) - Added new WebContents event `content-bounds-updated`. [#​35533](https://togithub.com/electron/electron/pull/35533) - Added new `WebContents.ipc` and `WebFrameMain.ipc` APIs. [#​34959](https://togithub.com/electron/electron/pull/34959) (Also in [21](https://togithub.com/electron/electron/pull/35231)) - Added support for Web Bluetooth pin pairing on Linux and Windows. [#​35416](https://togithub.com/electron/electron/pull/35416) (Also in [21](https://togithub.com/electron/electron/pull/35818)) - Added support for `navigator.mediaDevices.getDisplayMedia` via a new session handler, `ses.setDisplayMediaRequestHandler`. [#​30702](https://togithub.com/electron/electron/pull/30702) - Added support for `serialPort.forget()` as well as a new event `serial-port-revoked` emitted when a given origin is revoked. [#​36062](https://togithub.com/electron/electron/pull/36062) #### Fixes - Added support for Webauthn discoverable keys (aka resident keys), allowing users to authenticate without first having to select or type a username. [#​35374](https://togithub.com/electron/electron/pull/35374) - Enable crashpad for ELECTRON_RUN_AS_NODE processes on linux. [#​36483](https://togithub.com/electron/electron/pull/36483) - Fixed `click` event and tooltip of `Tray` not working on Linux. [#​36472](https://togithub.com/electron/electron/pull/36472) - Fixed an issue where frameless non-resizable windows showed a Windows 7 frame during startup. [#​36024](https://togithub.com/electron/electron/pull/36024) - Fixed an issue with incomplete EventEmitter object in sandboxed renderer preload script. [#​35522](https://togithub.com/electron/electron/pull/35522) - Fixed race condition during update on macOS that could result in TCC and Keychain errors. [#​36362](https://togithub.com/electron/electron/pull/36362) - Removed unneeded --turbo-profiling-input argument from mksnapshot_args. [#​36463](https://togithub.com/electron/electron/pull/36463) ##### Also in earlier versions... - Added a background to the WCO container to avoid rendering glitches. [#​35569](https://togithub.com/electron/electron/pull/35569) (Also in [19](https://togithub.com/electron/electron/pull/35610), [20](https://togithub.com/electron/electron/pull/35611), [21](https://togithub.com/electron/electron/pull/35612)) - Added support for Windows drop-down dialog extensions. [#​35618](https://togithub.com/electron/electron/pull/35618) (Also in [18](https://togithub.com/electron/electron/pull/35661), [19](https://togithub.com/electron/electron/pull/35660), [20](https://togithub.com/electron/electron/pull/35659), [21](https://togithub.com/electron/electron/pull/36027)) - Default margin has been added in
socket-security[bot] commented 1 year ago

Socket Security Pull Request Report

Dependency issues detected: If you merge this pull request, you will not be alerted to the instances of these issues again.

📜 Install scripts

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Package Script field Source
electron@23.1.4 (upgraded) postinstall package-lock.json, package.json via @electron/remote@2.0.9, spectron@19.0.0
Pull request report summary
Issue Status
Install scripts ⚠️ 1 issue
Native code ✅ 0 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ✅ 0 issues
Protestware/Troll package ✅ 0 issues
Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore electron@23.1.4

Powered by socket.dev