Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[deps]: Update electron to v34 #713

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

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

v33.3.1: electron v33.3.1

Compare Source

Release Notes for v33.3.1

Fixes

  • Fixed chrome.i18n extension API being unavailable in service workers. #​45037 (Also in 31, 32, 34)
  • Fixed build failure when the PDF viewer is disabled. #​44965 (Also in 34)
  • Fixed custom spell checker getting stuck in infinite loop using 100% CPU. #​45021 (Also in 31, 32, 34)
  • Fixed issue with missing index arg for webContents.canGoToOffset. #​45006 (Also in 32, 34)

Other Changes

  • Updated Chromium to 130.0.6723.170. #​45061

v33.3.0: electron v33.3.0

Compare Source

Release Notes for v33.3.0

Features

  • 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). #​44951 (Also in 34)
  • Added WebFrameMain.collectJavaScriptCallStack() for accessing the JavaScript call stack of unresponsive renderers. #​44937 (Also in 34)

Fixes

  • Fixed an possible crash when using draggable regions and BaseWindows to get the context-menu event. #​44953 (Also in 32, 34)

Other Changes

  • Updated Chromium to 130.0.6723.152. #​44948

Documentation

v33.2.1: electron v33.2.1

Compare Source

Release Notes for v33.2.1

Fixes

  • Fixed a crash that could occur when calling shell.readShortcutLink on Windows. #​44803 (Also in 34)
  • Fixed an issue where WebContentsViews were being improperly removed. #​44671 (Also in 31, 32, 34)
  • Fixed an issue where resize wasn't being emitted for single-pixel resizes on Windows. #​44723 (Also in 32, 34)
  • Fixed an issue where a utilityProcess pid would not be undefined after exit. #​44694 (Also in 32, 34)
  • Fixed an issue where buttons shown under the Window Controls Overlay API were missing tooltips. #​44757 (Also in 32, 34)
  • Fixed an issue where the webContents context-menu event was not emitted when using -webkit-app-region: drag. #​44800 (Also in 32, 34)
  • Fixed an issue where the windows control overlay was unexpectedly visible in fullscreen on Linux. #​44640 (Also in 31, 32, 34)
  • Fixed crash in net api when utility process exits. #​44729 (Also in 32, 34)
  • Fixed segfault when moving WebContentsView between BrowserWindows. #​44613 (Also in 31, 32, 34)
  • Fixed theme does not work in DevTools. #​44635 (Also in 32, 34)
  • Fixed update file extension bug. #​44771 (Also in 34)
  • Return 0 exit code for normal termination of the utility process. #​44732 (Also in 32, 34)

Other Changes

  • Fixed an issue where a deprecation warning was being incorrectly emitted for frameless windows on macOS. #​44767 (Also in 34)
  • Fixed drag-and-drop session being canceled on wayland with empty dragData. #​44753 (Also in 32)
  • Security: backported fix for CVE-2024-11110. #​44647
  • Updated Chromium to 130.0.6723.137. #​44781
  • Updated Node.js to v20.18.1. #​44780

v33.2.0: electron v33.2.0

Compare Source

Release Notes for v33.2.0

Features

  • Added GPU accelerated shared texture offscreen rendering. #​44511

Other Changes

  • Updated Chromium to 130.0.6723.118. #​44591

v33.1.0: electron v33.1.0

Compare Source

Release Notes for v33.1.0

Features

  • 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. #​44209

Fixes

  • Fixed an issue where EventSource was undefined in both renderer and worker processes when Node.js integration was enabled. #​44496 (Also in 32, 34)
  • Fixed crash when network process terminates while a net log is running. #​44420 (Also in 31, 32, 34)
  • Fixed crash when rendering super menu accelerator on linux. #​44520 (Also in 34)
  • Fixed external window focus when using shell.openExternal. #​44468 (Also in 34)
  • Fixed regression with dynamic dependency on libgdk_pixbuf. #​44436 (Also in 32, 34)

Other Changes

  • Performance improvements when processing microtasks. #​44473 (Also in 32, 34)
  • Updated Chromium to 130.0.6723.91. #​44477

v33.0.2: electron v33.0.2

Compare Source

Release Notes for v33.0.2

Fixes

  • Fixed trace-startup not working on macOS. #​44276 (Also in 32, 34)
  • Fixed an issue where closing a window after printing on Linux triggered a crash. #​44285 (Also in 31, 32, 34)
  • Fixed an issue where the exit event could be emitted twice from the utilityProcess. #​44266 (Also in 31, 32, 34)
  • Fixed calling setAlwaysOnTop on a hidden window which is then shown with showInactive on Linux under X11. #​44324 (Also in 31, 32, 34)
  • Fixed race condition in which WebContents appears as white screen on VDI machines without hardware acceleration capabilities. #​44352 (Also in 32, 34)

v33.0.1: electron v33.0.1

Compare Source

Release Notes for v33.0.1

Other Changes

  • Updated Chromium to 130.0.6723.59. #​44271

v33.0.0: electron v33.0.0

Compare Source

Release Notes for 33.0.0

Stack Upgrades

Breaking Changes

  • Deprecated usage of textured BrowserWindow type option on macOS. #​43133
  • Custom protocol URLs that use Windows file paths will no longer work correctly with the deprecated protocol.registerFileProtocol and the baseURLForDataURL property on BrowserWindow.loadURL, WebContents.loadURL, and <webview>.loadURL. #​43977

Features

Additions
  • Added a handler, app.setClientCertRequestPasswordHandler(handler), to help unlock cryptographic devices when a PIN is needed. #​41205
  • Added error event in utility process to support diagnostic reports on V8 fatal errors. #​43997
  • Added View.setBorderRadius(radius) for customizing the border radius of views—with compatibility for WebContentsView. #​42320
  • Added Linux support for the Windows Control Overlay API. #​41769 (Also in 30, 31, 32)
  • Added support for the macOS system picker in desktopCapturer and setDisplayMediaRequestHandler. #​43680 (Also in 32)
  • Added DownloadItem.getCurrentBytesPerSecond(), DownloadItem.getPercentComplete(), DownloadItem.getEndTime(). #​42805 (Also in 30, 31, 32)
  • Added a new property prefersReducedTransparency to nativeTheme, which indicates whether the user has chosen to reduce OS-level transparency via system accessibility settings. #​42862 (Also in 30, 31, 32)
  • Added support for responding to auth requests initiated from utility process via app#login event. #​42631 (Also in 32)
Improvements
  • Extended navigationHistory API with 2 new functions for better history management. #​42014
  • Ensured that the sender-id hint is set when creating desktop notifications on DBus. #​43949 (Also in 31, 32)
  • Aligned failure pathway in File System Access API with upstream when attempting to open a file or directory in a blocked path. #​42561 (Also in 30, 31, 32)
  • Enabled zstd compression in net http requests. #​43150 (Also in 31, 32)
  • Expose systemPreferences to utilityProcess. #​42203 (Also in 30, 31, 32)

Fixes

  • Fixed a build failure when the enable_plugins build flag is false. #​44025
  • Fixed mouse cursor turning into loading spinner when starting utility process on Windows. #​43731
Also in earlier versions...
  • Fixed BrowserView auto resize issue. #​43636 (Also in 31, 32)
  • Fixed MenuItem.click handler not setting focusedWindow parameter when focused window is a BaseWindow. #​43438 (Also in 31, 32)
  • Fixed a crash that could occur in some DevTools extensions containing draggable regions. #​43179 (Also in 31, 32)
  • Fixed a crash when calling focus on a WebView's webContents. #​43932 (Also in 31, 32)
  • Fixed a focus issue when calling BrowserWindow.setTopBrowserView. #​42653 (Also in 30, 31, 32)
  • Fixed a potential crash when using off screen rendering. #​42920 (Also in 30, 31, 32)
  • Fixed a potential error when calling webContents.close() on a BrowserView. #​42633 (Also in 31, 32)
  • Fixed a potential issue accessing a child window document when overriding browserWindow creation via setWindowOpenHandler. #​43816 (Also in 31, 32)
  • Fixed a potential issue with fillable PDF forms saving correctly in some circumstances. #​43686 (Also in 31, 32)
  • Fixed an error where a minimized or hidden window would thrown an unresponsive error in the main process. #​43034 (Also in 32)
  • Fixed an issue when dragging to resize when using Window Controls Overlay on Linux. #​43744 (Also in 31, 32)
  • Fixed an issue where Chromium could crash on a dangling unretained pointer in one of several webRequest functions. #​42647 (Also in 31, 32)
  • Fixed an issue where High Contrast Mode didn't apply to webContents on Windows. #​42853 (Also in 31, 32)
  • Fixed an issue where MessagePorts could close unexpectedly with non-cloneable objects sent via postMessage. #​42535 (Also in 30, 31, 32)
  • Fixed an issue where BaseWindow.setTouchBar didn't work as expected. #​43422 (Also in 30, 31, 32)
  • Fixed an issue where WebContentsViews did not show correctly in some circumstances on macOS after being added as child views. #​43696 (Also in 31, 32)
  • Fixed an issue where defaultPath did not work for all users on Linux when creating an open file dialog. #​43595 (Also in 30, 31, 32)
  • Fixed an issue where fetch-dependent interfaces could be missing in Web Workers with nodeIntegrationInWorker enabled. #​42579 (Also in 30, 31, 32)
  • Fixed an issue where navigator.mediaDevices.enumerateDevices could return broken results in some cases after calling session.setPermissionCheckHandler. #​42775 (Also in 30, 31, 32)
  • Fixed an issue where navigator.mediaDevices.getUserMedia and navigator.getUserMedia should reject with a NotAllowedError if microphone or camera permissions have been denied at the system level on macOS. #​42899 (Also in 30, 31, 32)
  • Fixed an issue where navigator.serial.getPorts() incorrectly returned an empty array in some cases. #​43101 (Also in 30, 31, 32)
  • Fixed an issue where system-context-menu was not triggered as expected on Windows when using a frameless BrowserWindow. #​43243 (Also in 30, 31, 32)
  • Fixed an issue where an exception could be thrown on BrowserView after its owner BrowserWindow was closed. #​44000 (Also in 31, 32)
  • Fixed an issue where calling BrowserWindow.setBackgroundColor with some level of transparency could cause a crash. #​42824 (Also in 31, 32)
  • Fixed an issue where calling desktopCapturer.getSources on macOS running 14.4 or later would make non-resizable windows resizable. #​43013 (Also in 31, 32)
  • Fixed an issue where calling window.print(), webContents.print() or printToPDF from an existing PDF document resulted in a blank page. #​43309 (Also in 31, 32)
  • Fixed an issue where calling window.showInactive on macOS did not actually show the window. #​43079 (Also in 31, 32)
  • Fixed an issue where clicking the eyedropper icon did nothing instead of opening an eyedropper for color selection as expected. #​43700 (Also in 32)
  • Fixed an issue where control could fail to return properly after saving a dialog using showOpenDialogSync on Linux. #​42652 (Also in 29, 30, 31, 32)
  • Fixed an issue where sources returned by the desktopCapturer API and screen.getAllDisplays() no longer matched on Windows. #​42781 (Also in 31, 32)
  • Fixed an issue where sources returned by the desktopCapturer API and screen.getAllDisplays() no longer matched on Windows. #​42883 (Also in 31, 32)
  • Fixed an issue where the File System Access API did not remember the user's last picked directory as expected. #​42850 (Also in 30, 31, 32)
  • Fixed an issue where the user-specified default path did not work in some circumstances when using Linux dialogs. #​42655 (Also in 30, 31, 32)
  • Fixed an issue where users would be incorrectly notified of print failure upon intentional cancellation. #​43337 (Also in 32)
  • Fixed an issue with resize events being emitted on Windows when the window was moved but not resized. #​43457 (Also in 32)
  • Fixed behavior when entering/exiting fullscreen fails on macOS. #​43112 (Also in 29, 30, 31, 32)
  • Fixed bug where camera permissions affected screen sharing. #​43543 (Also in 32)
  • Fixed closing a window with more than one attached sheet on macOS. #​43952 (Also in 31, 32)
  • Fixed crash when resolving proxy with session.resolveProxy api. #​42878 (Also in 30, 31, 32)
  • Fixed devtools to allow restoring saved dock state on Linux when WCO is enabled. #​43499 (Also in 31, 32)
  • Fixed electron app in ozone/wayland not being focused when launched from another app. #​43546 (Also in 31, 32)
  • Fixed issues with the vibrancy view on macOS. #​43078 (Also in [31](https://github.com/electron/el

@renovate renovate bot requested a review from a team as a code owner January 20, 2025 02:47
@renovate renovate bot requested a review from r-tome January 20, 2025 02:47
@bitwarden-bot bitwarden-bot changed the title [deps]: Update electron to v34 [PM-17310] [deps]: Update electron to v34 Jan 20, 2025
@bitwarden-bot
Copy link

Internal tracking:

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

Successfully merging this pull request may close these issues.

1 participant