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.2 #161

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps electron from 10.1.3 to 23.1.2.

Release notes

Sourced from electron's releases.

electron v23.1.2

Release Notes for v23.1.2

Fixes

  • Fixed destroyed event not emitted on close for BrowserView.webContents. #37451 (Also in 24)
  • Fixed an incorrect result returned when using secure as a cookies filter. #37248 (Also in 22, 24)
  • Fixed an issue where minWidth/minHeight and maxWidth/maxHeight would not be enforced if the user set an aspectRatio on macOS. #37457 (Also in 22, 24)
  • 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 (Also in 22, 24)
  • Fixed draggable regions not working in Mac App Store builds. #37473 (Also in 24)
  • Fixed right-click events not being delivered in frameless window draggable regions. #37394 (Also in 24)

Other Changes

  • Improved error messages for contents.takeHeapSnapshot. #37460 (Also in 22, 24)
  • Updated Chromium to 110.0.5481.177. #37389

electron v23.1.1

Release Notes for v23.1.1

Fixes

  • Corrects an issue with HTML fullscreen when BrowserWindow fullscreening is disabled. #37367 (Also in 24)
  • Fixed potential private API usage for MAS builds on macOS. #37363 (Also in 24)
  • Fixed window could not go back to maximized state when restored on Linux. #37359 (Also in 24)

Other Changes

  • Security: backported fix for chromium:1408392. #37297
  • Updated Chromium to 110.0.5481.104. #37333

Documentation

  • Documentation changes: #37290

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

... (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 (24.0)

Deprecated: BrowserWindow.setTrafficLightPosition(position)

BrowserWindow.setTrafficLightPosition(position) has been deprecated, the BrowserWindow.setWindowButtonPosition(position) API should be used instead which accepts null instead of { x: 0, y: 0 } to reset the position to system default.

// Removed in Electron 24
win.setTrafficLightPosition({ x: 10, y: 10 })
win.setTrafficLightPosition({ x: 0, y: 0 })

// Replace with win.setWindowButtonPosition({ x: 10, y: 10 }) win.setWindowButtonPosition(null)

Deprecated: BrowserWindow.getTrafficLightPosition()

BrowserWindow.getTrafficLightPosition() has been deprecated, the BrowserWindow.getWindowButtonPosition() API should be used instead which returns null instead of { x: 0, y: 0 } when there is no custom position.

// Removed in Electron 24
const pos = win.getTrafficLightPosition()
if (pos.x === 0 && pos.y === 0) {
  // No custom position.
}

// Replace with const ret = win.getWindowButtonPosition() if (ret === null) { </tr></table>

... (truncated)

Commits
  • f5385bc fix: draggable regions on MAS (#37473)
  • c3dfd55 fix: handle closing webContents in BrowserViews (#37451)
  • 99f6ff4 fix: min/max width/height enforcement when aspectRatio is set (#37457)
  • 587594e chore: improve contents.takeHeapSnapshot error messages (#37460)
  • d6a6ef2 fix: Notification with reply obscuring first action on macOS (#37448)
  • ceb76a5 fix: cookies filter secure invalid (#37248)
  • 38f4017 fix: allow contextmenu event in draggable regions (#37394)
  • 74baea7 build: set base rev 23-x-y (#37410)
  • 0c47264 docs: document change in draggable region behavior on macOS (#37408)
  • 43deaa4 ci: rename Electron build step to include type of build being built (#37398)
  • Additional commits viewable in compare view


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 #162.