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]: Update electron to v32 #570

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 2, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
electron 28.2.0 -> 32.0.2 age adoption passing confidence

Release Notes

electron/electron (electron)

v32.0.2: electron v32.0.2

Compare Source

Release Notes for v32.0.2

Fixes

  • Fixed MenuItem.click handler not setting focusedWindow parameter when focused window is a BaseWindow. #​43437 (Also in 31, 33)
  • Fixed an issue where BaseWindow.setTouchBar didn't work as expected. #​43421 (Also in 30, 31, 33)
  • Fixed bug where camera permissions affected screen sharing. #​43544
  • Fixed devtools to allow restoring saved dock state on Linux when WCO is enabled. #​43501 (Also in 31, 33)
  • Fixed electron app in ozone/wayland not being focused when launched from another app. #​43548 (Also in 31, 33)

Other Changes

  • Updated Chromium to 128.0.6613.84. #​43425

Documentation

v32.0.1: electron v32.0.1

Compare Source

Release Notes for v32.0.1

Other Changes

v32.0.0: electron v32.0.0

Compare Source

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)
  • Fixed a potential crash when using off screen rendering. #​42940 (Also in 30, 31)
  • Fixed a potential error when calling webContents.close() on a BrowserView. #​42811 (Also in 31)
  • Fixed an error when calling setAutoResize on a BrowserView. #​42056 (Also in 30, 31)
  • Fixed an inconsistent crash on maximizing window and relayout in Ubuntu. #​42126 (Also in 30, 31)
  • Fixed an issue where Chromium could crash on a dangling unretained pointer in one of several webRequest functions. #​42750 (Also in 31)
  • Fixed an issue where High Contrast Mode didn't apply to webContents on Windows. #​42858 (Also in 31)
  • Fixed an issue where MessagePorts could close unexpectedly with non-cloneable objects sent via postMessage. #​42581 (Also in 30, 31)
  • Fixed an issue where BrowserView webContents were getting destroyed even when preventDefault was being set on the owning BrowserWindow's close event. #​42353 (Also in 30, 31)
  • Fixed an issue where app.setLoginItemSettings incorrectly checked against loginItemService. #​42380 (Also in 29, 30, 31)
  • Fixed an issue where contentWindow.document.fonts.ready would never resolve in some circumstances. #​42366 (Also in 30, 31)
  • Fixed an issue where document.requestFullscreen didn't work when calling it from a webContents inside WebContentsView. #​41966 (Also in 30, 31)
  • Fixed an issue where fetch dependent interfaces in Node.js were not defined when nodeIntegration was enabled in some circumstances. #​42419 (Also in 30, 31)
  • Fixed an issue where fetch-dependent interfaces could be missing in Web Workers with nodeIntegrationInWorker enabled. #​42595 (Also in 30, 31)
  • Fixed an issue where navigator.mediaDevices.enumerateDevices could return broken results in some cases after calling session.setPermissionCheckHandler. #​42808 (Also in 30, 31)
  • 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. #​42936 (Also in 30, 31)
  • Fixed an issue where navigator.serial.getPorts() incorrectly returned an empty array in some cases. #​43169 (Also in 30, 31)
  • Fixed an issue where navigator.usb.getDevices() could crash in some circumstances. #​42443 (Also in 29, 30, 31)
  • Fixed an issue where recentDOcuments wasn't populating properly on macOS. #​41978 (Also in 29, 30, 31)
  • Fixed an issue where setTitleBarOverlay didn't work as expected when called on BaseWindow. #​41960 (Also in 29, 30, 31)
  • Fixed an issue where system-context-menu was not triggered as expected on Windows when using a frameless BrowserWindow. #​43269 (Also in 30, 31)
  • Fixed an issue where webContents.navigationHistory was not an enumerable property. #​42139 (Also in 30, 31)
  • Fixed an issue where bad flags passed via --js-flags could cause a crash. #​42414 (Also in 29, 30, 31)
  • Fixed an issue where calling BrowserWindow.setBackgroundColor with some level of transparency could cause a crash. #​42927 (Also in 31)
  • Fixed an issue where calling desktopCapturer.getSources on macOS running 14.4 or later would make non-resizable windows resizable. #​43045 (Also in 31)
  • Fixed an issue where calling window.center() on Windows and Linux incorrectly centered the window. #​42048 (Also in 30, 31)
  • Fixed an issue where calling window.print(), webContents.print() or printToPDF from an existing PDF document resulted in a blank page. #​43326 (Also in 31)
  • Fixed an issue where calling window.showInactive on macOS did not actually show the window. #​43103 (Also in 31)
  • Fixed an issue where control could fail to return properly after saving a dialog using showOpenDialogSync on Linux. #​42677 (Also in 29, 30, 31)
  • Fixed an issue where dialogs did not work if they were parented to a BaseWindow and not a BrowserWindow. #​42315 (Also in 30, 31)
  • Fixed an issue where opening multiple file pickers on Windows via the input tag could cause a crash. #​42780 (Also in 30, 31)
  • Fixed an issue where some calls to WebUSB methods could crash. #​42347 (Also in 29, 31)
  • Fixed an issue where sources returned by the desktopCapturer API and screen.getAllDisplays() no longer matched on Windows. #​42860 (Also in 31)
  • Fixed an issue where sources returned by the desktopCapturer API and screen.getAllDisplays() no longer matched on Windows. #​42891 (Also in 31)
  • Fixed an issue where the File System Access API did not remember the user's last picked directory as expected. #​42892 (Also in 30, 31)
  • Fixed an issue where the user-specified default path did not work in some circumstances when using Linux dialogs. #​42680 (Also in 30, 31)
  • Fixed an issue where the window could be incorrectly centered in some circumstances when calling BrowserWindow.center(). #​42195 (Also in 30, 31)
  • Fixed behavior when entering/exiting fullscreen fails on macOS. #​43152 (Also in 29, 30, 31)
  • Fixed crash after upgrade on Linux. #​41046 (Also in 29, 30, 31)
  • Fixed crash in gpu process when software compositing is enabled on linux with x11 platform. #​42568 (Also in 29, 30, 31)
  • Fixed crash on window maximize on X11. #​42179 (Also in 30, 31)
  • Fixed crash when resolving proxy with session.resolveProxy api. #​42898 (Also in 30, 31)
  • Fixed data corruption when protocol.handle() processed incoming data asynchronously. #​41894 (Also in 30, 31)
  • Fixed ffmpeg release on x64 macOS. #​43120 (Also in 29, 30, 31)
  • Fixed issue where windows made visible with showInactive were blank. #​42226 (Also in 31)
  • Fixed issues with the vibrancy view on macOS. #​43127 (Also in 31)
  • Fixed nativeImage.createThumbnailFromPath and shell.openExternal not resolving when called in the renderer process. #​41875 (Also in 30, 31)
  • Fixed partially broken state of chrome://accessibility. #​41911 (Also in 31)
  • Fixed potentially incorrect exit code in UtilityProcess. #​42297 (Also in 29, 30, 31)
  • Fixed several view hierarchy issues related to web contents view on MacOS. #​43088 (Also in 31)
  • Fixed support for multiple folder/file selection in //shell_dialogs portal implementation. #​42308 (Also in 29, 30, 31)
  • Fixed the resource leak when using Node.js readable streams as the response body for a custom protocol handler. #​43070 (Also in 30, 31)
  • Fixed the type of WebviewTag.webpreferences back to string. #​42275 (Also in 30, 31)
  • Re-adds functionality to check whether or not an app was launched as a login service on macOS. #​42411 (Also in 29, 30, 31)
  • Resolved an issue where desktopCapturer.getSources never fulfilled its promise in some cases. #​43270 (Also in 29, 30, 31)
  • BrowserWindow.focus() now correctly restore focus to inactive apps on macOS. #​42180 (Also in 30, 31)
  • originalFs.promises.cp now works. #​42132 (Also in 31)

Other Changes

Documentation

Notices

End of Support for 29.x.y

Electron 29.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.

v31.4.0: electron v31.4.0

Compare Source

Release Notes for v31.4.0

Features

  • Added a new property prefersReducedTransparency to nativeTheme, which indicates whether the user has chosen to reduce OS-level transparency via system accessibility settings. #​43137 (Also in 30, 32)

Fixes

  • Fixed a crash that could occur in some DevTools extensions containing draggable regions. #​43200 (Also in 32)
  • Fixed an issue where navigator.serial.getPorts() incorrectly returned an empty array in some cases. #​43170 (Also in 30, 32)
  • Fixed an issue where system-context-menu was not triggered as expected on Windows when using a frameless BrowserWindow. #​43274 (Also in 30, 32)
  • Fixed an issue where calling window.showInactive on macOS did not actually show the window. #​43102 (Also in 32)
  • Fixed behavior when entering/exiting fullscreen fails on macOS. #​43154 (Also in 29, 30, 32)
  • Fixed issues with the vibrancy view on macOS. #​43128 (Also in 32)
  • Fixed several view hierarchy issues related to web contents view on MacOS. #​43096 (Also in 32)
  • Resolved an issue where desktopCapturer.getSources never fulfilled its promise in some cases. #​43271 (Also in 29, 30, 32)

Other Changes

v31.3.1: electron v31.3.1

Compare Source

Release Notes for v31.3.1

Fixes

  • Fixed an issue where calling desktopCapturer.getSources on macOS running 14.4 or later would make non-resizable windows resizable. #​43044 (Also in 32)
  • Fixed the resource leak when using Node.js readable streams as the response body for a custom protocol handler. #​43071 (Also in 30, 32)

Other Changes

  • Fixed a potential crash when removing notifications on Windows. #​43061 (Also in 30, 32)
  • Updated Chromium to 126.0.6478.185. #​43027

v31.3.0: electron v31.3.0

Compare Source

Release Notes for v31.3.0

Features

  • Added DownloadItem.getCurrentBytesPerSecond(), DownloadItem.getPercentComplete(), DownloadItem.getEndTime(). #​42915 (Also in 30, 32)
  • Aligned failure pathway in File System Access API with upstream when attempting to open a file or directory in a blocked path. #​42994 (Also in 32)

Fixes

  • Fixed a potential crash when using off screen rendering. #​42941 (Also in 30, 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. #​42937 (Also in 30, 32)
  • Fixed an issue where calling BrowserWindow.setBackgroundColor with some level of transparency could cause a crash. #​42928 (Also in 32)

Other Changes

  • Fix: fixed the npm run lint not working on Windows. #​42906 (Also in 32)
  • Updated Chromium to 126.0.6478.183. #​42942
  • Updated Node.js to v20.15.1. #​42839

v31.2.1: electron v31.2.1

Compare Source

Release Notes for v31.2.1

Fixes

  • Fixed a potential error when calling webContents.close() on a BrowserView. #​42810 (Also in 32)
  • Fixed an issue where High Contrast Mode didn't apply to webContents on Windows. #​42859 (Also in 32)
  • Fixed an issue where sources returned by the desktopCapturer API and screen.getAllDisplays() no longer matched on Windows. #​42861 (Also in 32)
  • Fixed an issue where sources returned by the desktopCapturer API and screen.getAllDisplays() no longer matched on Windows. #​42890 (Also in 32)
  • Fixed an issue where the File System Access API did not remember the user's last picked directory as expected. #​42893 (Also in 32)
  • Fixed crash when resolving proxy with session.resolveProxy api. #​42897 (Also in 32)

v31.2.0: electron v31.2.0

Compare Source

Release Notes for v31.2.0

Features

  • Enabled the Windows Control Overlay API on Linux. #​42682 (Also in 30, 32)

Fixes

  • Fixed a focus issue when calling BrowserWindow.setTopBrowserView. #​42734 (Also in 30, 32)
  • Fixed an issue where Chromium could crash on a dangling unretained pointer in one of several webRequest functions. #​42751 (Also in 32)
  • Fixed an issue where navigator.mediaDevices.enumerateDevices could return broken results in some cases after calling session.setPermissionCheckHandler. #​42809 (Also in 30, 32)
  • Fixed an issue where control could fail to return properly after saving a dialog using showOpenDialogSync on Linux. #​42678 (Also in 29, 30, 32)
  • Fixed an issue where the user-specified default path did not work in some circumstances when using Linux dialogs. #​42685 (Also in 30, 32)

Other Changes

  • Fixed an issue where opening multiple file pickers on Windows via the input tag could cause a crash. #​42825 (Also in 32)
  • Updated Chromium to 126.0.6478.127. #​42646
  • Updated Node.js to v20.15.0. #​42614

v31.1.0: electron v31.1.0

Compare Source

Release Notes for v31.1.0

Features

  • Expose systemPreferences to utilityProcess. #​42598 (Also in 30, 32)

Fixes

  • Fixed an issue where MessagePorts could close unexpectedly with non-cloneable objects sent via postMessage. #​42580 (Also in 30, 32)
  • Fixed an issue where fetch-dependent interfaces could be missing in Web Workers with nodeIntegrationInWorker enabled. #​42597 (Also in 30, 32)

Other Changes

  • Updated Chromium to 126.0.6478.114. #​42584

v31.0.2: electron v31.0.2

Compare Source

Release Notes for v31.0.2

Fixes

  • Fixed an issue where navigator.usb.getDevices() could crash in some circumstances. #​42462 (Also in 29, 30)

Other Changes

  • Fixed crash in gpu process when software compositing is enabled on linux with x11 platform. #​42570 (Also in 29, 30, 32)
  • Updated Chromium to 126.0.6478.61. #​42503

v31.0.1: electron v31.0.1

Compare Source

Release Notes for v31.0.1

Fixes

  • Fixed an issue where fetch dependent interfaces in Node.js were not defined when nodeIntegration was enabled in some circumstances. #​42453 (Also in 30)
  • Fixed an issue where bad flags passed via --js-flags could cause a crash. #​42441 (Also in 29, 30)

v31.0.0: electron v31.0.0

Compare Source

Release Notes for v31.0.0

Stack Upgrades

Breaking Changes

  • Made window.flashFrame(bool) flash continuously on macOS. #​41391
  • Updated Chromium to 126.0.6445.0. (Removed: WebSQL support) #​41868
  • Updated Chromium to 125.0.6412.0. (Behavior Changed: nativeImage.toDataURL will preserve PNG colorspace) #​41610

Features

Additions
  • Added a new instance property navigationHistory on webContents API with navigationHistory.getEntryAtIndex method, enabling applications to retrieve the URL and title of any navigation entry within the browsing history. #​41577 (Also in 29, 30)
  • Added options parameter to Session.clearData API. #​41355
  • Added proxy configuring support for requests made with net module from utility process. #​41335 (Also in 28, 29, 30)
  • Added support for Bluetooth ports being requested by service class ID in navigator.serial. #​41638 (Also in 29, 30)
  • Added support for NODE_EXTRA_CA_CERTS. #​41689
  • Extended webContents.setWindowOpenHandler to support manual creation of BrowserWindow. #​41432
  • Implemented support for the File System API. #​41419 (Also in 30)
  • clearData method added to Session. #​40983
  • Extended WebContentsView to accept pre-existing webContents object. #​42319
Improvements
  • Extended WebContentsView to accept pre-existing webContents object. #​42319
  • Improved error messages when ses.cookies.set fails. #​42400 (Also in 29, 30)
  • Re-adds functionality to check whether or not an app was launched as a login service on macOS. #​42422
Removed/Deprecated
  • The inputFieldType property in the context-menu params has been removed. #​41239 (Also in 30)

Fixes

  • Added missing support for the recursive option in fs.{readdir|readdirSync} as well as fs.promises.{readdir|readdirSync}. #​41582
  • Added support for withFileTypes when calling fs.{readdir|readdirSync} with the recursive in Asar archives. #​41627
  • Fixed ASAN build on macOS. #​41587
  • Fixed a bug where a window with maximization disabled and WCO enabled would still show its maximization button. #​41793
  • Fixed an issue where child views in a BrowserWindow could sometimes be. #​41256
  • Fixed issue where windows made visible with showInactive were blank. #​42227
  • Fixed potentially incorrect exit code in UtilityProcess. #​42397
  • originalFs.promises.cp now works. #​42134
Also in earlier versions...
  • BrowserWindow.show() now correctly restores focus to inactive apps on macOS. #​42305 (Also in 30)
  • Electron doesn't paint on offscreen-render mode after gpu process crashed. #​41924 (Also in 29, 30)
  • Ensured ScreenCaptureKit is used exclusively on macOS 14.4 and higher to avoid permission prompts. #​41397 (Also in 29, 30)
  • Fixed chrome://process-internals failing to load. #​41476 (Also in 28, 29, 30)
  • Fixed shell.showItemInFolder not opening Windows Explorer if the passed path contains forward slashes. #​41642 (Also in 28, 29, 30)
  • Fixed a crash in addChildView if a view is added as its own child. #​42108 (Also in 30)
  • Fixed a crash when the same WebContentsView is added via addChildView multiple times. #​42116 (Also in 30)
  • Fixed a potential crash in chrome.scripting on extension unload. #​41686 (Also in 29, 30)
  • Fixed an error when calling setAutoResize on a BrowserView. #​42138 (Also in 30)
  • Fixed an inconsistent crash on maximizing window and relayout in Ubuntu. #​42146 (Also in 30)
  • Fixed an issue on Windows where silent printing resulted in comically tiny renderer output. #​41811 (Also in 28, 29, 30)
  • Fixed an issue where BrowserView webContents were getting destroyed even when preventDefault was being set on the owning BrowserWindow's close event. #​42372 (Also in 30)
  • Fixed an issue where app.getLoginItemSettings didn't correctly throw errors. #​41647 (Also in 30)
  • Fixed an issue where app.setLoginItemSettings incorrectly checked against loginItemService. #​42404 (Also in 30)
  • Fixed an issue where document.requestFullscreen didn't work when calling it from a webContents inside WebContentsView. #​41995 (Also in 30)
  • Fixed an issue where recentDOcuments wasn't populating properly on macOS. #​41993 (Also in 29, 30)
  • Fixed an issue where setTitleBarOverlay didn't work as expected when called on BaseWindow. #​42150 (Also in 29, 30)
  • Fixed an issue where user-did-{resign|become}-active were not emitted properly on macOS. #​41506 (Also in 28, 29, 30)
  • Fixed an issue where webContents.navigationHistory was not an enumerable property. #​42182 (Also in 30)
  • Fixed an issue where webContents.print(options) failed if options was not passed or undefined is passed. #​41467 (Also in 28, 29, 30)
  • Fixed an issue where badge text set using the Badging API no longer appeared correctly on Windows. #​41618 (Also in 29, 30)
  • Fixed an issue where calling window.center() on Windows and Linux incorrectly centered the window. #​42101 (Also in 30)
  • Fixed an issue where dialogs did not work if they were parente

@renovate renovate bot requested a review from a team as a code owner September 2, 2024 01:09
@renovate renovate bot requested a review from addisonbeck September 2, 2024 01:09
@bitwarden-bot bitwarden-bot changed the title [deps]: Update electron to v32 [PM-11573] [deps]: Update electron to v32 Sep 2, 2024
@bitwarden-bot
Copy link

Internal tracking:

Copy link

codecov bot commented Sep 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (e2fe5ef) to head (996f592).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #570   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         58      58           
  Lines       2542    2542           
  Branches     462     462           
=====================================
  Misses      2542    2542           

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

@renovate renovate bot changed the title [PM-11573] [deps]: Update electron to v32 [deps]: Update electron to v32 Sep 2, 2024
@renovate renovate bot force-pushed the renovate/electron-32.x branch from a83799a to 5c504ac Compare September 4, 2024 23:07
@renovate renovate bot force-pushed the renovate/electron-32.x branch from 5c504ac to 996f592 Compare September 9, 2024 19:35
Copy link
Contributor

github-actions bot commented Sep 9, 2024

Logo
Checkmarx One – Scan Summary & Details77d15327-7cc7-4442-9d5f-6dc6db21cc1a

No New Or Fixed Issues Found

@addisonbeck
Copy link
Contributor

We're stuck on electron 28 unless we upgrade node versions. Closing this for the time being.

Copy link
Contributor Author

renovate bot commented Sep 10, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 32.x releases. But if you manually upgrade to 32.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/electron-32.x branch September 10, 2024 11:31
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.

2 participants