amorist / platelet

けっしょうばん
GNU General Public License v3.0
218 stars 42 forks source link

build(deps-dev): bump electron from 10.1.3 to 23.1.0 #159

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps electron from 10.1.3 to 23.1.0.

Release notes

Sourced from electron's releases.

electron v23.1.0

Release Notes for v23.1.0

Features

  • Added several standard page size options to webContents.print(). #37264 (Also in 22, 24)

Fixes

  • Changed HTML5 Notifications created with the requireInteraction option to not timeout on Linux and Windows. #36502 (Also in 21, 22)
  • Fixed a crash when BrowserViews are present and a user attempts to prevent beforeunload in the renderer process. #37267 (Also in 22, 24)
  • Fixed a potential crash in some types of Worklets. #37081

Other Changes

  • Updated Chromium to 110.0.5481.100. #37183

Documentation

  • Documentation changes: #37108

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)

... (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[bot] commented 1 year ago

Superseded by #160.