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

Bump electron from 22.3.26 to 27.0.0 #4167

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 16, 2023

Bumps electron from 22.3.26 to 27.0.0.

Release notes

Sourced from electron's releases.

electron v27.0.0

Release Notes for v27.0.0

Stack Upgrades

Breaking Changes

  • macOS 10.13 and 10.14 support has been removed 38891
  • The ipcRenderer.sendTo() API has been deprecated in favor of sharing a MessageChannel between two renderers. #39091
  • The senderId and senderIsMainFrame properties of IpcRendererEvent have been deprecated. #39381
  • The systemPreferences.getAppLevelAppearance and systemPreferences.setAppLevelAppearance APIs have been deprecated, as well as the alternate-selected-control-text value for systemPreferences.getColor. #39343 (Also in 26)
  • The systemPreferences.getAppLevelAppearance, systemPreferences.setAppLevelAppearance and systemPreferences.appLevelAppearance APIs have been removed, as well as the alternate-selected-control-text value for systemPreferences.getColor. #39804
  • The webContents.getPrinters API has been deprecated. #39356 (Also in 26)
  • The deprecated webContents.getPrinters() API has been removed. #39735
  • The deprecated color scheme changed events in systemPreferences have been removed. #39341

Features

Additions

  • Added safeStorage.setUsePlainTextEncryption and safeStorage.getSelectedStorageBackend api. #38873 (Also in 25, 26)
  • Added senderIsMainFrame to messages sent via ipcRenderer.sendTo(). #38868 (Also in 24, 25, 26)
  • Added a tabbingIdentifier property to BrowserWindow. #40082
  • Added a title parameter to webContents.openDevTools()to specify the DevTools window title. #39047
  • Added partial support for chrome.tabs.query. #39330 (Also in 25, 26)
  • Added support for --dns-result-order Node.js cli flag. #39376 (Also in 25, 26)
  • Added support for chrome.scripting extension APIs. #39675 (Also in 25, 26)
  • Added support for customization of the default math font along with other fonts. #38514
  • Added support for flagging a Menu as being keyboard initiated. #38903 (Also in 26)
  • Added support for several more Node.js cli flags in the main process. #39344 (Also in 24, 25, 26)
  • Added support for several more extensions manifest keys including host_permissions, author, and short_name. #39672 (Also in 26)
  • Added the ability to send HTTP headers with session.downloadURL(). #38785 (Also in 25, 26)
  • Added the ability to send HTTP headers with webContents.downloadURL(). #39560 (Also in 25, 26)
  • Added transparent color support for WCO on Windows. #38693 (Also in 25, 26)
  • BrowserWindow.getBrowserView() started to guarantee returning z-index sorted array. #38943
  • BrowserWindow.showAllTabs api added. #38965
  • Detect system dark theme preference via xdg settings portal on Linux. #40010 (Also in 25, 26)
  • Exposed an API to allow apps to determine whether to avoid using semitransparent backgrounds. #40074 (Also in 26)
  • Support Chrome Extensions minimum_chrome_version manifest key. #39256 (Also in 26)
  • node: prefixed requires are now supported in sandboxed renderer preloads for events, timers and url. #38567 (Also in 24, 25, 26)

Removed/Deprecated

  • The app.runningUnderRosettaTranslation property has been deprecated. #39984 (Also in 25, 26)
  • The enable_osr build flag has been removed. #38703

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

Behavior Changed: WebContents.backgroundThrottling set to false affects all WebContents in the host BrowserWindow

WebContents.backgroundThrottling set to false will disable frames throttling in the BrowserWindow for all WebContents displayed by it.

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.
</tr></table> 

... (truncated)

Commits
  • 6de96fb ci: fixup diagnose_goma_log.py call (#40149)
  • cf0e974 fix: failing build with enable_electron_extensions=false (#40087)
  • 7e20732 fix: crashed events deprecation (#40111)
  • 8f370cd fix: fix vibrancy applying without transparency on MacOS (#40130)
  • 82d4e94 test: fix "crashed event does not crash main process when destroying WebConte...
  • f0b742f test: add back smoke test for removed API (#40139)
  • 2bc07b0 chore: cherry-pick c03569f from libuv (#40126)
  • d95f28c fix: toggling DevTools while minimized on Windows (#40116)
  • 22ea111 fix: error using webcrypto.subtle.importKey() (#40100)
  • 5b44e82 fix: all children showing when showing child window (#40105)
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
electron [>= 24.a, < 25]
electron [>= 23.a, < 24]
electron [>= 26.a, < 27]
electron [>= 25.a, < 26]

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added PR: dependencies Pull requests that update a dependency file PR: waiting for review For PRs that are complete, tested, and ready for review labels Oct 16, 2023
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) October 16, 2023 08:15
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added PR: merge conflicts / rebase needed and removed PR: waiting for review For PRs that are complete, tested, and ready for review labels Oct 16, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/electron-27.0.0 branch 2 times, most recently from be7e9c5 to b515dd3 Compare October 16, 2023 12:05
@github-actions
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

Bumps [electron](https://github.com/electron/electron) from 22.3.26 to 27.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@v22.3.26...v27.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 dependabot bot force-pushed the dependabot/npm_and_yarn/electron-27.0.0 branch from b515dd3 to d5503a1 Compare October 16, 2023 20:21
auto-merge was automatically disabled October 17, 2023 21:21

Pull request was closed

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 17, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

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

Successfully merging this pull request may close these issues.

1 participant