Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump electron from 11.5.0 to 23.0.0 #5732

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 13, 2023

Bumps electron from 11.5.0 to 23.0.0.

Release notes

Sourced from electron's releases.

electron v23.0.0

Release Notes for v23.0.0

Stack Upgrades

Breaking Changes

  • Windows 7, Windows 8, and Windows 8.1 are not supported anymore, as Chromium 110 dropped support. #36513

Features

  • Added label property to Display objects. #36933 (Also in 21, 22)
  • Added an app.getPreferredSystemLanguages() API to return the user's system languages. #36035 (Also in 21, 22)
  • Added new UtilityProcess API to launch chromium child process with node integration. #34980 (Also in 22)
  • Added support for WebUSB. #36289
  • Added support for serialPort.forget() as well as a new event serial-port-revoked emitted when a given origin is revoked. #35310 (Also in 22)
  • Adds new setHiddenInMissionControl API to allow developers to opt out of mission control on macOS. #36092 (Also in 22)

Fixes

  • Basic accessibility support is now enabled when macOS Voice Control is activated to allow for full voice control of Electron applications. #37145
  • Fixed a printing crash caused by an uninitialized pref. #37149
  • Default margin has been added in the code. #36060 (Also in 21, 22)
  • Doing require('electron/*') where * is not one of main, common or renderer no longer resolves with the built-in electron module. #35915
  • Enable crashpad for ELECTRON_RUN_AS_NODE processes. #36460 (Also in 22)
  • Fixed click event and tooltip of Tray not working on Linux. #36333 (Also in 22)
  • Fixed a crash that could occur when running eval in inline scripts in unsandboxed renderer processes. #36667 (Also in 22)
  • Fixed a drag-and-drop issue on macOS where items would be incorrectly moved instead of copied in some contexts. #35963 (Also in 20, 21, 22)
  • Fixed a potential issue when calling webContents.printToPDF(). #36046 (Also in 21, 22)
  • Fixed a potential memory leak. #35932 (Also in 21, 22)
  • Fixed an RTL issue that could happen in some locales when calling BrowserWindow.setTrafficLightPosition() on macOS. #36850 (Also in 21, 22)
  • Fixed an error when fs.readdir gets null for options. #36848 (Also in 21, 22)
  • Fixed an issue on macOS when trying to switch processes with Cmd+Tab after exiting Kiosk Mode. #36917 (Also in 21, 22)
  • Fixed an issue where <datalist> elements were improperly positioned within the page. #36959
  • Fixed an issue where webViews could have an incorrect initial background color following reloads. #36938 (Also in 21, 22)
  • Fixed an issue where calling app.dock.setIcon(/path/t/icon) would crash when called before the ready event on app. #36279 (Also in 20, 21, 22)
  • Fixed an issue where frameless non-resizable windows showed a Windows 7 frame during startup. #35365 (Also in 22)
  • Fixed an issue where some options were incorrectly ignored when using webContents.printToPDF(). #35975 (Also in 21, 22)
  • Fixed an issue where the setPermissionRequestHandler callback would be invoked twice when using navigator.getUserMedia(...). #36874 (Also in 22)
  • Fixed an issue with incorrect focus ring highlighting when using dialog.showMessageBox(). #36803 (Also in 21, 22)
  • Fixed binary stripping for branded release builds on Linux. #36656 (Also in 21, 22)
  • Fixed missing headers in libcxx_headers bundle. #36864
  • Fixed on-screen-keyboard not hiding on input rendered in webview is blurred. #35921 (Also in 20, 21, 22)
  • Fixed race condition during update on macOS that could result in TCC and Keychain errors. #36130 (Also in 22)

... (truncated)

Changelog

Sourced from electron's changelog.

Breaking Changes

Breaking changes will be documented here, and deprecation warnings added to JS code where possible, at least one major version before the change is made.

Types of Breaking Changes

This document uses the following convention to categorize breaking changes:

  • API Changed: An API was changed in such a way that code that has not been updated is guaranteed to throw an exception.
  • Behavior Changed: The behavior of Electron has changed, but not in such a way that an exception will necessarily be thrown.
  • Default Changed: Code depending on the old default may break, not necessarily throwing an exception. The old behavior can be restored by explicitly specifying the value.
  • Deprecated: An API was marked as deprecated. The API will continue to function, but will emit a deprecation warning, and will be removed in a future release.
  • Removed: An API or feature was removed, and is no longer supported by Electron.

Planned Breaking API Changes (23.0)

Removed: Windows 7 / 8 / 8.1 support

Windows 7, Windows 8, and Windows 8.1 are no longer supported. Electron follows the planned Chromium deprecation policy, which will deprecate Windows 7 support beginning in Chromium 109.

Older versions of Electron will continue to run on these operating systems, but Windows 10 or later will be required to run Electron v23.0.0 and higher.

Removed: BrowserWindow scroll-touch-* events

The deprecated scroll-touch-begin, scroll-touch-end and scroll-touch-edge events on BrowserWindow have been removed. Instead, use the newly available input-event event on WebContents.

// Removed in Electron 23.0
win.on('scroll-touch-begin', scrollTouchBegin)
win.on('scroll-touch-edge', scrollTouchEdge)
win.on('scroll-touch-end', scrollTouchEnd)
// Replace with
win.webContents.on('input-event', (_, event) => {
if (event.type === 'gestureScrollBegin') {
scrollTouchBegin()
} else if (event.type === 'gestureScrollUpdate') {
scrollTouchEdge()
} else if (event.type === 'gestureScrollEnd') {
scrollTouchEnd()
}
})

Removed: webContents.incrementCapturerCount(stayHidden, stayAwake)

The webContents.incrementCapturerCount(stayHidden, stayAwake) function has been removed. It is now automatically handled by webContents.capturePage when a page capture completes.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 13, 2023
@vercel
Copy link

vercel bot commented Feb 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
site ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 15, 2023 at 6:21AM (UTC)

Bumps [electron](https://github.com/electron/electron) from 11.5.0 to 23.0.0.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v11.5.0...v23.0.0)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 20, 2023

Superseded by #5734.

@dependabot dependabot bot closed this Feb 20, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/electron-23.0.0 branch February 20, 2023 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants