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

PR 25: build(deps-dev): bump electron from 31.2.1 to 32.0.1 #25

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

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

Bumps electron from 31.2.1 to 32.0.1.

Release notes

Sourced from electron's releases.

electron v32.0.1

Release Notes for v32.0.1

Other Changes

  • Security: cherry-pick 9797576 from v8 #43384

electron v32.0.0

Release Notes for v32.0.0

Stack Upgrades

Breaking Changes

  • Removed nonstandard File.path extension from the Web File API. #42053
  • Added the following existing navigation related APIs to webcontents.navigationHistory: canGoBack, goBack, canGoForward, goForward, canGoToOffset, goToOffset, clear. #41752

Features

Additions

  • Added DownloadItem.getCurrentBytesPerSecond(), DownloadItem.getPercentComplete(), DownloadItem.getEndTime(). #42913 (Also in 30, 31)
  • Added cumulativeCPUUsage to AppMetrics and CPUUsage. #41819
  • Added a new property prefersReducedTransparency to nativeTheme, which indicates whether the user has chosen to reduce OS-level transparency via system accessibility settings. #43024 (Also in 30, 31)
  • Enabled the Windows Control Overlay API on Linux. #42681 (Also in 30, 31)
  • Expose systemPreferences to utilityProcess. #42599 (Also in 30, 31)

Improvements

  • Aligned failure pathway in File System Access API with upstream when attempting to open a file or directory in a blocked path. #42993 (Also in 30, 31)
  • Extended WebContentsView to accept pre-existing webContents object. #42086 (Also in 31)
  • Improved error messages when ses.cookies.set fails. #42362 (Also in 29, 30, 31)

Fixes

  • Don't check for Desktop Environment in setProgressBar and setBadgeCount. #41211
  • Fixed an error where a minimized or hidden window would thrown an unresponsive error in the main process. #43053

Also in earlier versions...

  • BrowserWindow.show() now correctly restores focus to inactive apps on macOS. #42300 (Also in 30, 31)
  • Electron doesn't paint on offscreen-render mode after gpu process crashed. #41904 (Also in 29, 30, 31)
  • Fix: fixed the npm run lint not working on Windows. #42905 (Also in 31)
  • Fixed a crash in addChildView if a view is added as its own child. #42067 (Also in 30, 31)
  • Fixed a crash that could occur in some DevTools extensions containing draggable regions. #43199 (Also in 31)
  • Fixed a crash when the same WebContentsView is added via addChildView multiple times. #42085 (Also in 30, 31)
  • Fixed a focus issue when calling BrowserWindow.setTopBrowserView. #42733 (Also in 30, 31)
  • Fixed a potential crash when removing notifications on Windows. #43060 (Also in 30, 31)

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

Behavior Changed: webContents property on login on app

The webContents property in the login event from app will be null when the event is triggered for requests from the utility process created with respondToAuthRequestsFromMainProcess option.

Deprecated: textured option in BrowserWindowConstructorOption.type

The textured option of type in BrowserWindowConstructorOptions has been deprecated with no replacement. This option relied on the NSWindowStyleMaskTexturedBackground style mask on macOS, which has been deprecated with no alternative.

Removed: macOS 10.15 support

macOS 10.15 (Catalina) is no longer supported by Chromium.

Older versions of Electron will continue to run on Catalina, but macOS 11 (Big Sur) or later will be required to run Electron v33.0.0 and higher.

Deprecated: systemPreferences.accessibilityDisplayShouldReduceTransparency

The systemPreferences.accessibilityDisplayShouldReduceTransparency property is now deprecated in favor of the new nativeTheme.prefersReducedTransparency, which provides identical information and works cross-platform.

// Deprecated
const shouldReduceTransparency = systemPreferences.accessibilityDisplayShouldReduceTransparency
// Replace with:
const prefersReducedTransparency = nativeTheme.prefersReducedTransparency

Planned Breaking API Changes (32.0)

Removed: File.path

The nonstandard path property of the Web File object was added in an early version of Electron as a convenience method for working with native files when doing everything in the renderer was more common. However, it represents a deviation from the standard and poses a minor security risk as well, so beginning in Electron 32.0 it has been removed in favor of the webUtils.getPathForFile method.

... (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 31.2.1 to 32.0.1.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v31.2.1...v32.0.1)

---
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 added the Type ◦ Dependency Item is associated to dependency label Aug 21, 2024
@EuropaServ EuropaServ changed the title build(deps-dev): bump electron from 31.2.1 to 32.0.1 PR 25: build(deps-dev): bump electron from 31.2.1 to 32.0.1 Aug 21, 2024
@EuropaServ EuropaServ added Type ◦ Pull Request Normal pull request AC ✦ Passed Ready to be reviewed labels Aug 21, 2024
@EuropaServ
Copy link
Collaborator


Automatic Self-Check - #25

The details of our automated scan for your pull request are listed below. If our scan detected errors, they must be corrected before this pull request will be advanced to the review stage:




About

This pull request includes the following information:

Category Value
Title build(deps-dev): bump electron from 31.2.1 to 32.0.1
Created 08.21.2024 5:00 PM UTC
ID #25
Author dependabot[bot]
Repo ntfy-desktop
Branch dependabot/npm_and_yarn/electron-32.0.1 main
Added Files 0
Modified Files 2
Renamed Files 0
Copied Files 0
Deleted Files 0



❌ Skipped Files

Tip

The following file(s) have been skipped:


  • package-lock.json
  • package.json



This check was done automatically. Do NOT open a new PR for re-validation. Instead, to trigger this check again, make a change to your PR and wait a few minutes, or close and re-open it.

Copy link
Author

dependabot bot commented on behalf of github Sep 5, 2024

Superseded by #33.

@dependabot dependabot bot closed this Sep 5, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/electron-32.0.1 branch September 5, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AC ✦ Passed Ready to be reviewed Type ◦ Dependency Item is associated to dependency Type ◦ Pull Request Normal pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant