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

[deps] Platform: Update electron to v34 #12977

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 20, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
electron 33.3.1 -> 34.0.0 age adoption passing confidence

Release Notes

electron/electron (electron)

v34.0.0: electron v34.0.0

Compare Source

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)
  • Fixed a crash that could occur when calling shell.readShortcutLink on Windows. #​44804 (Also in 33)
  • Fixed a crash when calling focus on a WebView's webContents. #​43921 (Also in 31, 32, 33)
  • Fixed a potential issue accessing a child window document when overriding browserWindow creation via setWindowOpenHandler. #​43775 (Also in 31, 32, 33)
  • Fixed a potential issue with fillable PDF forms saving correctly in some circumstances. #​43667 (Also in 31, 32, 33)
  • Fixed an issue when dragging to resize when using Window Controls Overlay on Linux. #​43724 (Also in 31, 32, 33)
  • Fixed an issue where BaseWindow.setTouchBar didn't work as expected. #​43353 (Also in 30, 31, 32, 33)
  • Fixed an issue where EventSource was undefined in both renderer and worker processes when Node.js integration was enabled. #​44495 (Also in 32, 33)
  • Fixed an issue where WebContentsViews did not show correctly in some circumstances on macOS after being added as child views. #​43638 (Also in 31, 32, 33)
  • Fixed an issue where WebContentsViews were being improperly removed. #​44670 (Also in 31, 32, 33)
  • Fixed an issue where defaultPath did not work for all users on Linux when creating an open file dialog. #​43570 (Also in 30, 31, 32, 33)
  • Fixed an issue where resize wasn't being emitted for single-pixel resizes on Windows. #​44722 (Also in 32, 33)
  • Fixed an issue where a utilityProcess pid would not be undefined after exit. #​44695 (Also in 32, 33)
  • Fixed an issue where an exception could be thrown on BrowserView after its owner BrowserWindow was closed. #​43972 (Also in 31, 32, 33)
  • Fixed an issue where buttons shown under the Window Controls Overlay API were missing tooltips. #​44759 (Also in 32, 33)
  • Fixed an issue where clicking the eyedropper icon did nothing instead of opening an eyedropper for color selection as expected. #​43685 (Also in 32, 33)
  • Fixed an issue where closing a window after printing on Linux triggered a crash. #​44284 (Also in 31, 32, 33)
  • Fixed an issue where the exit event could be emitted twice from the utilityProcess. #​44265 (Also in 31, 32, 33)
  • Fixed an issue where the webContents context-menu event was not emitted when using -webkit-app-region: drag. #​44799 (Also in 32, 33)
  • Fixed an issue where the windows control overlay was unexpectedly visible in fullscreen on Linux. #​44641 (Also in 31, 32, 33)
  • Fixed an issue with resize events being emitted on Windows when the window was moved but not resized. #​43431 (Also in 32, 33)
  • Fixed an possible crash when using draggable regions and BaseWindows to get the context-menu event. #​44952 (Also in 32, 33)
  • Fixed bug where camera permissions affected screen sharing. #​43517 (Also in 32, 33)
  • Fixed build failure when the PDF viewer is disabled. #​44964 (Also in 33)
  • Fixed calling setAlwaysOnTop on a hidden window which is then shown with showInactive on Linux under X11. #​44322 (Also in 31, 32, 33)
  • Fixed closing a window with more than one attached sheet on macOS. #​43706 (Also in 31, 32, 33)
  • Fixed crash in net api when utility process exits. #​44731 (Also in 32, 33)
  • Fixed crash when network process terminates while a net log is running. #​44418 (Also in 31, 32, 33)
  • Fixed crash when rendering super menu accelerator on linux. #​44346 (Also in 32, 33)
  • Fixed crash when running getDisplayMedia from multiple iframes. #​43905 (Also in 33)
  • Fixed custom spell checker getting stuck in infinite loop using 100% CPU. #​45020 (Also in 31, 32, 33)
  • Fixed devtools to allow restoring saved dock state on Linux when WCO is enabled. #​43490 (Also in 31, 32, 33)
  • Fixed electron app in ozone/wayland not being focused when launched from another app. #​43481 (Also in 31, 32, 33)
  • Fixed external window focus when using shell.openExternal. #​44469 (Also in 33)
  • Fixed issue with missing index arg for webContents.canGoToOffset. #​45008 (Also in 32, 33)
  • Fixed mouse cursor turning into loading spinner when starting utility process on Windows. #​43657 (Also in 33)
  • Fixed native addon compilation errors on macOS. #​44189 (Also in 31, 32, 33)
  • Fixed other apps not being focused when launched from electron ozone/wayland. #​43480 (Also in 31, 32, 33)
  • Fixed potential use-after-free during view removal on macOS. #​43627 (Also in 31, 32, 33)
  • Fixed race condition in which WebContents appears as white screen on VDI machines without hardware acceleration capabilities. #​44350 (Also in 32, 33)
  • Fixed regression with dynamic dependency on libgdk_pixbuf. #​44438 (Also in 32, 33)
  • Fixed segfault when moving WebContentsView between BrowserWindows. #​44612 (Also in 31, 32, 33)
  • Fixed theme does not work in DevTools. #​44636 (Also in 32, 33)
  • Fixed update file extension bug. #​44770 (Also in 33)
  • Restored Chromium default Content-Disposition header parsing. #​43611 (Also in 30, 31, 32, 33)
  • Return 0 exit code for normal termination of the utility process. #​44733 (Also in 32, 33)
  • Third time isn't always a charm. Fixed the native macOS Screen Share picker invocation triggering a test Chromium green screen. #​43767 (Also in 32, 33)

Other Changes

  • Backported fix for 3823947. #​45023
  • Ensured that the sender-id hint is set when creating desktop notifications on DBus. #​43928 (Also in 31, 32, 33)
  • Fixed an issue where a deprecation warning was being incorrectly emitted for frameless windows on macOS. #​44768 (Also in 33)
  • Fixed yellow background of composition text with wayland text-input-v3. #​45127 (Also in 33)

Documentation

Notices

End of Support for 31.x.y

Electron 31.x.y has reached end-of-support as per the project's support policy. Developers and applications are encouraged to upgrade to a newer version of Electron.


Configuration

📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested review from a team and dani-garcia January 20, 2025 02:50
@bitwarden-bot bitwarden-bot changed the title [deps] Platform: Update electron to v34 [PM-17316] [deps] Platform: Update electron to v34 Jan 20, 2025
@bitwarden-bot
Copy link

Internal tracking:

Copy link

codecov bot commented Jan 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 34.30%. Comparing base (43a6a93) to head (c7702ef).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12977   +/-   ##
=======================================
  Coverage   34.30%   34.30%           
=======================================
  Files        2975     2975           
  Lines       90594    90594           
  Branches    16983    16983           
=======================================
  Hits        31081    31081           
  Misses      57053    57053           
  Partials     2460     2460           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title [PM-17316] [deps] Platform: Update electron to v34 [deps] Platform: Update electron to v34 Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant