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 26.3.0 to 27.0.0 #92

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps electron from 26.3.0 to 27.0.0.

Release notes

Sourced from electron's releases.

electron v27.0.0

Release Notes for v27.0.0

Features

  • Added a tabbingIdentifier property to BrowserWindow. #40082
  • Exposed an API to allow apps to determine whether to avoid using semitransparent backgrounds. #40074 (Also in 26)

Fixes

  • Fixed an issue where calling show() on a child BrowserWindow would show all other children attached to the same parent on macOS. #40105 (Also in 24, 25, 26)
  • Fixed an issue where closing and opening a minimized DevTools window would not work as expected. #40116 (Also in 25, 26)
  • Fixed an issue where using webcrypto.subtle.importKey() could error and fail if SharedArrayBuffers are not defined. #40100
  • Fixed an issue with applying vibrancy on non-transparent windows on MacOS. #40130
  • Fixed deprecated gpu-process-crashed / renderer-process-crashed events being emitted twice and with incorrect arguments. #40111 (Also in 22, 24, 25, 26)
  • Fixed failing build when enable_electron_extensions=false. #40087

Other Changes

  • Fixed launch failure with child_process.spawn on windows affected by launching store applications. #40126 (Also in 25, 26)
  • Updated Chromium to 118.0.5993.54. #40103

electron v27.0.0-beta.9

Note: This is a beta release. Please file new issues for any bugs you find in it.

This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm install [email protected].

Release Notes for v27.0.0-beta.9

Fixes

  • Fixed BrowserView.setBounds calls not painting view in new bounds in some cases. #40037 (Also in 25, 26)
  • Fixed an issue where webContents.print could fail when options is a frozen object. #40030 (Also in 25, 26)
  • Fixed how screen readers are detected on Windows to reduce false positives. #40065

electron v27.0.0-beta.8

Note: This is a beta release. Please file new issues for any bugs you find in it.

This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm install [email protected].

Release Notes for v27.0.0-beta.8

Features

  • Detect system dark theme preference via xdg settings portal on Linux. #40010 (Also in 25, 26)

Fixes

  • Fixed an issue where vibrant windows incorrectly have square corners when they're modals on macOS. #39996
  • Fixed window size constraints not working on macOS. #39992
  • Prevent DWM from redrawing video frames rendered on opaque windows. #40003

Other Changes

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

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 26.3.0 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@v26.3.0...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 added the dependencies Pull requests that update a dependency file label Oct 10, 2023
@CrazyMarvin CrazyMarvin merged commit f1eebc5 into development Oct 10, 2023
7 of 10 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/electron-27.0.0 branch October 10, 2023 21:19
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant