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

build(deps-dev): bump electron from 31.4.0 to 34.0.1 in /web #2807

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2025

Bumps electron from 31.4.0 to 34.0.1.

Release notes

Sourced from electron's releases.

electron v34.0.1

Release Notes for v34.0.1

Fixes

  • Addressed two possible crashes in the File System Access API. #45260 (Also in 35)
  • Fixed an issue where drag-dropping two directories would cause getAsFileSystemHandle to never resolve. #45258 (Also in 33, 35)
  • The avoidClosingConnections option for session.clearData now properly defaults to false when the dataTypes option is not set. #45208 (Also in 33)

electron v34.0.0

Release Notes for v34.0.0

Stack Upgrades

Breaking Changes

  • Made menu bar hidden on fullscreen in Windows. #43402

Features

Additions

  • Added APIs to manage shared dictionaries for compression efficiency using Brotli or ZStandard. The new APIs are session.getSharedDictionaryUsageInfo(), session.getSharedDictionaryInfo(options), session.clearSharedDictionaryCache(), and session.clearSharedDictionaryCacheForIsolationKey(options). #44950 (Also in 33)
  • Added WebFrameMain.collectJavaScriptCallStack() for accessing the JavaScript call stack of unresponsive renderers. #44938 (Also in 33)
  • Added WebFrameMain.detached for frames in an unloading state.
    • Added WebFrameMain.isDestroyed() to determine if a frame has been destroyed.
    • Fixed webFrameMain.fromId(processId, frameId) returning a WebFrameMain instance which doesn't match the given parameters when the frame is unloading. #43473 (Also in 33)
  • Added error event in utility process to support diagnostic reports on V8 fatal errors. #43774 (Also in 33)
  • Added support for the macOS system picker in desktopCapturer and setDisplayMediaRequestHandler. #43581 (Also in 32, 33)
  • Feat: GPU accelerated shared texture offscreen rendering. #42953 (Also in 33)

Improvements

  • Performance improvements when processing microtasks. #44471 (Also in 32, 33)

Fixes

  • Fixed file chooser dialogs for flaptak applications. #44681
  • Fixed issue where 'contextmenu' event is emitted twice on macOS. #44997

Also in earlier versions...

  • Fixed BrowserView auto resize issue. #43463 (Also in 31, 32, 33)
  • Fixed MenuItem.click handler not setting focusedWindow parameter when focused window is a BaseWindow. #43404 (Also in 31, 32, 33)
  • Fixed chrome.i18n extension API being unavailable in service workers. #45036 (Also in 31, 32, 33)
  • Fixed trace-startup not working on macOS. #44275 (Also in 32, 33)
  • Fixed a build failure when the enable_plugins build flag is false. #44003 (Also in 33)

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

Deprecated: level, message, line, and sourceId arguments in console-message event on WebContents

The console-message event on WebContents has been updated to provide details on the Event argument.

// Deprecated
webContents.on('console-message', (event, level, message, line, sourceId) => {})
// Replace with:
webContents.on('console-message', ({ level, message, lineNumber, sourceId, frame }) => {})

Additionally, level is now a string with possible values of info, warning, error, and debug.

Planned Breaking API Changes (34.0)

Behavior Changed: menu bar will be hidden during fullscreen on Windows

This brings the behavior to parity with Linux. Prior behavior: Menu bar is still visible during fullscreen on Windows. New behavior: Menu bar is hidden during fullscreen on Windows.

Correction: This was previously listed as a breaking change in Electron 33, but was first released in Electron 34.

Planned Breaking API Changes (33.0)

Behavior Changed: frame properties may retrieve detached WebFrameMain instances or none at all

APIs which provide access to a WebFrameMain instance may return an instance with frame.detached set to true, or possibly return null.

When a frame performs a cross-origin navigation, it enters into a detached state in which it's no longer attached to the page. In this state, it may be running unload handlers prior to being deleted. In the event of an IPC sent during this state,

... (truncated)

Commits
  • 4a1c029 refactor: in StopTracing(), use string literals instead of `optional<strin...
  • a1816f3 docs: add DocCardList component for index doc (#45295)
  • db84f39 refactor: simplify ParseUserScript() (#45289)
  • 7ecb8ad chore: align clipboard blink::web_pref::WebPreferences with upstream (#45279)
  • 973c344 fix: getAsFileSystemHandle failure when drag-dropping two directories (#45258)
  • 01c5db0 build: fix clang-format duplicate message (#45264)
  • 2c22507 fix: two possible FSA crashes (#45260)
  • 41c1161 fix: session.clearData avoidClosingConnections default to false (#45208)
  • b36aaf3 docs: remove quickstart (#45227)
  • 5728e6d docs: Why Electron? (#45211)
  • 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 31.4.0 to 34.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.4.0...v34.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 dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 22, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 30, 2025

Superseded by #2812.

@dependabot dependabot bot closed this Jan 30, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/web/electron-34.0.1 branch January 30, 2025 20:49
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.

0 participants