Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Aug 21, 2023

Bumps electron from 5.0.8 to 26.0.0.

Release notes

Sourced from electron's releases.

electron v26.0.0

Release Notes for v26.0.0

Stack Upgrades

Breaking Changes

  • The webContents.getPrinters API has been deprecated. #39459
  • The systemPreferences.getAppLevelAppearance and systemPreferences.setAppLevelAppearance APIs have been deprecated, as well as the alternate-selected-control-text value for systemPreferences.getColor. #39492

Features

Additions

  • Added safeStorage.setUsePlainTextEncryption and safeStorage.getSelectedStorageBackend api. #39107 (Also in 25)
  • Added safeStorage.setUsePlainTextEncryption and safeStorage.getSelectedStorageBackend api. #39155 (Also in 25)
  • Added senderIsMainFrame to messages sent via ipcRenderer.sendTo(). #39206 (Also in 24, 25)
  • Added net.resolveHost that resolves hosts using defaultSession object. #37853 (Also in 24, 25)
  • Added new 'did-resign-active' event on app. #37933 (Also in 25)
  • Added partial support for chrome.tabs.query. #39431 (Also in 25)
  • Added setUSBProtectedClassesHandler to allow access to protected USB classes with WebUSB. #38263 (Also in 24, 25)
  • Added several new cursor values to the cursor-changed event. #38210 (Also in 24, 25)
  • Added support for Mica and Acrylic background effects on Windows. #38163 (Also in 24, 25)
  • Added support for flagging a Menu as being keyboard initiated. #38954
  • Added support for several more Node.js cli flags in the main process. #39373 (Also in 24, 25)
  • Added the ability to send HTTP headers with session.downloadURL(). #38871 (Also in 25)
  • Added thermal management information to powerMonitor. #37935 (Also in 24, 25)
  • Expose webContents methods to center text selection, scroll to the page bottom and top, as well as adjust selected text. #37978 (Also in 25)
  • Support Chrome Extensions minimum_chrome_version manifest key. #39357
  • Surface the context-menu event from extensions. #38029 (Also in 25)
  • node: prefixed requires are now supported in sandboxed renderer preloads for events, timers and url. #38728 (Also in 24, 25)

Improvements

  • Improved error message when contentTracing.stopRecording() fails because no trace was in progress. #38488 (Also in 23, 24, 25)

Removed/Deprecated

  • The enable_desktop_capturer build flag has been removed. #38412

Fixes

  • Fixed clipboard.readImage() getting blocked when there is no PNG image in the clipboard. #39487
  • Fixed a crash calling nativeImage.resize() before the app ready event. #38861
  • Fixed a crash in clipboard.readImage() when reading images copied via context menu on macOS. #39101
  • Fixed a crash while screen sharing on Wayland with PipeWire. #39264
  • Fixed a potential crash when calling tray.popUpContextMenu on macOS. #39313

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

Removed: BrowserWindow.setTrafficLightPosition(position)

BrowserWindow.setTrafficLightPosition(position) has been removed, 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 28
win.setTrafficLightPosition({ x: 10, y: 10 })
win.setTrafficLightPosition({ x: 0, y: 0 })
// Replace with
win.setWindowButtonPosition({ x: 10, y: 10 })
win.setWindowButtonPosition(null)

Removed: BrowserWindow.getTrafficLightPosition()

BrowserWindow.getTrafficLightPosition() has been removed, 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 28
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

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [electron](https://github.com/electron/electron) from 5.0.8 to 26.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@v5.0.8...v26.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 21, 2023
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 28, 2023

Superseded by #51.

@dependabot dependabot bot closed this Aug 28, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/aether-core/aether/client/electron-26.0.0 branch August 28, 2023 20:01
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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant