electron-trpc
electron-trpc copied to clipboard
Update dependency electron to v32
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| electron | 29.3.2 -> 32.1.1 |
Release Notes
electron/electron (electron)
v32.1.1: electron v32.1.1
Release Notes for v32.1.1
Fixes
- Fixed an issue when dragging to resize when using Window Controls Overlay on Linux. #43743 (Also in 33)
- Fixed an issue where
WebContentsViews did not show correctly in some circumstances on macOS after being added as child views. #43698 (Also in 31, 33)
Other Changes
- Updated Chromium to 128.0.6613.137. #43683
v32.1.0: electron v32.1.0
Release Notes for v32.1.0
Features
- Added support for the macOS system picker in
desktopCapturerandsetDisplayMediaRequestHandler. #43679 (Also in 33)
Fixes
- Fixed BrowserView auto resize issue. #43637 (Also in 31, 33)
- Fixed a potential issue with fillable PDF forms saving correctly in some circumstances. #43687 (Also in 33)
- Fixed an issue where
defaultPathdid not work for all users on Linux when creating an open file dialog. #43629 (Also in 30, 31, 33) - Fixed an issue where users would be incorrectly notified of print failure upon intentional cancellation. #43643
- Fixed an issue with
resizeevents being emitted on Windows when the window was moved but not resized. #43644 (Also in 33) - Fixed other apps not being focused when launched from electron ozone/wayland. #43577 (Also in 31, 33)
- Restored Chromium default
Content-Dispositionheader parsing. #43668 (Also in 30, 31, 33)
Other Changes
v32.0.2: electron v32.0.2
Release Notes for v32.0.2
Fixes
- Fixed
MenuItem.clickhandler not settingfocusedWindowparameter when focused window is aBaseWindow. #43437 (Also in 31, 33) - Fixed an issue where
BaseWindow.setTouchBardidn'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
- Documentation changes: #43459
v32.0.1: electron v32.0.1
Release Notes for v32.0.1
Other Changes
v32.0.0: electron v32.0.0
Release Notes for v32.0.0
Stack Upgrades
- Chromium
128.0.6613.36 - Node
20.16.0 - V8
12.8
Breaking Changes
- Removed nonstandard
File.pathextension from the WebFileAPI. #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
cumulativeCPUUsageto AppMetrics and CPUUsage. #41819 - Added a new property
prefersReducedTransparencytonativeTheme, 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
systemPreferencestoutilityProcess. #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
WebContentsViewto accept pre-existingwebContentsobject. #42086 (Also in 31) - Improved error messages when
ses.cookies.setfails. #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 lintnot working on Windows. #42905 (Also in 31) - Fixed a crash in
addChildViewif 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
WebContentsViewis added viaaddChildViewmultiple 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
setAutoResizeon aBrowserView. #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
BrowserViewwebContentswere getting destroyed even whenpreventDefaultwas being set on the owningBrowserWindow'scloseevent. #42353 (Also in 30, 31) - Fixed an issue where
app.setLoginItemSettingsincorrectly checked againstloginItemService. #42380 (Also in 29, 30, 31) - Fixed an issue where
contentWindow.document.fonts.readywould never resolve in some circumstances. #42366 (Also in 30, 31) - Fixed an issue where
document.requestFullscreendidn't work when calling it from awebContentsinsideWebContentsView. #41966 (Also in 30, 31) - Fixed an issue where
fetchdependent interfaces in Node.js were not defined whennodeIntegrationwas enabled in some circumstances. #42419 (Also in 30, 31) - Fixed an issue where
fetch-dependent interfaces could be missing in Web Workers withnodeIntegrationInWorkerenabled. #42595 (Also in 30, 31) - Fixed an issue where
navigator.mediaDevices.enumerateDevicescould return broken results in some cases after callingsession.setPermissionCheckHandler. #42808 (Also in 30, 31) - Fixed an issue where
navigator.mediaDevices.getUserMediaandnavigator.getUserMediashould reject with aNotAllowedErrorif 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
recentDOcumentswasn't populating properly on macOS. #41978 (Also in 29, 30, 31) - Fixed an issue where
setTitleBarOverlaydidn't work as expected when called onBaseWindow. #41960 (Also in 29, 30, 31) - Fixed an issue where
system-context-menuwas not triggered as expected on Windows when using a frameless BrowserWindow. #43269 (Also in 30, 31) - Fixed an issue where
webContents.navigationHistorywas not an enumerable property. #42139 (Also in 30, 31) - Fixed an issue where bad flags passed via
--js-flagscould cause a crash. #42414 (Also in 29, 30, 31) - Fixed an issue where calling
BrowserWindow.setBackgroundColorwith some level of transparency could cause a crash. #42927 (Also in 31) - Fixed an issue where calling
desktopCapturer.getSourceson 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()orprintToPDFfrom an existing PDF document resulted in a blank page. #43326 (Also in 31) - Fixed an issue where calling
window.showInactiveon 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
inputtag 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
desktopCapturerAPI andscreen.getAllDisplays()no longer matched on Windows. #42860 (Also in 31) - Fixed an issue where sources returned by the
desktopCapturerAPI andscreen.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.resolveProxyapi. #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
showInactivewere 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.webpreferencesback tostring. #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.getSourcesnever 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.cpnow works. #42132 (Also in 31)
Other Changes
- Backported fix for
3366250. #42304 (Also in 31) - Backported fix for
3394581. #42120 - Backported fix for
3402211. #42172 - Backported fix for
3416635. #42253
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.6.0: electron v31.6.0
Release Notes for v31.6.0
Fixes
- Fixed BrowserView auto resize issue. #43635 (Also in 32, 33)
- Fixed an issue where
defaultPathdid not work for all users on Linux when creating an open file dialog. #43630 (Also in 30, 32, 33) - Fixed an issue with
resizeevents being emitted on Windows when the window was moved but not resized. #43658 (Also in 32, 33) - Restored Chromium default
Content-Dispositionheader parsing. #43669 (Also in 30, 32, 33)
Other Changes
- Updated Node.js to v20.17.0. #43423
v31.5.0: electron v31.5.0
Release Notes for v31.5.0
Features
Fixes
- Fixed
MenuItem.clickhandler not settingfocusedWindowparameter when focused window is aBaseWindow. #43439 (Also in 32, 33) - Fixed an issue where
BaseWindow.setTouchBardidn't work as expected. #43420 (Also in 30, 32, 33) - Fixed an issue where calling
window.print(),webContents.print()orprintToPDFfrom an existing PDF document resulted in a blank page. #43327 (Also in 32) - Fixed devtools to allow restoring saved dock state on Linux when WCO is enabled. #43500 (Also in 32, 33)
- Fixed electron app in ozone/wayland not being focused when launched from another app. #43547 (Also in 32, 33)
- Fixed other apps not being focused when launched from electron ozone/wayland. #43578 (Also in 33)
Documentation
- Documentation changes: #43458
v31.4.0: electron v31.4.0
Release Notes for v31.4.0
Features
- Added a new property
prefersReducedTransparencytonativeTheme, 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-menuwas not triggered as expected on Windows when using a frameless BrowserWindow. #43274 (Also in 30, 32) - Fixed an issue where calling
window.showInactiveon 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.getSourcesnever fulfilled its promise in some cases. #43271 (Also in 29, 30, 32)
Other Changes
- Fixed ffmpeg release on x64 macOS. #43121 (Also in 29, 30, 32)
- Security: backported fix for
3382485. #43140 - Security: backported fix for CVE-2024-6989.
- Security: backported fix for CVE-2024-6991. #43158
- Updated Chromium to 126.0.6478.234. #43252
- Updated Node.js to v20.16.0. #43026
v31.3.1: electron v31.3.1
Release Notes for v31.3.1
Fixes
- Fixed an issue where calling
desktopCapturer.getSourceson 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
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.getUserMediaandnavigator.getUserMediashould reject with aNotAllowedErrorif microphone or camera permissions have been denied at the system level on macOS. #42937 (Also in 30, 32) - Fixed an issue where calling
BrowserWindow.setBackgroundColorwith some level of transparency could cause a crash. #42928 (Also in 32)
Other Changes
- Fix: fixed the
npm run lintnot 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
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
desktopCapturerAPI andscreen.getAllDisplays()no longer matched on Windows. #42861 (Also in 32) - Fixed an issue where sources returned by the
desktopCapturerAPI andscreen.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.resolveProxyapi. #42897 (Also in 32)
v31.2.0: electron v31.2.0
Release Notes for v31.2.0
Features
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.enumerateDevicescould return broken results in some cases after callingsession.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
inputtag 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
Release Notes for v31.1.0
Features
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 withnodeIntegrationInWorkerenabled. #42597 (Also in 30, 32)
Other Changes
- Updated Chromium to 126.0.6478.114. #42584
v31.0.2: electron v31.0.2
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
Release Notes for v31.0.1
Fixes
- Fixed an issue where
fetchdependent interfaces in Node.js were not defined whennodeIntegrationwas enabled in some circumstances. #42453 (Also in 30) - Fixed an issue where bad flags passed via
--js-flagscould cause a crash. #42441 (Also in 29, 30)
v31.0.0: electron v31.0.0
Release Notes for v31.0.0
Stack Upgrades
- Chromium
126.0.6478.36 - Node
20.14.0 - V8
12.6
Breaking Changes
- Made window.flashFrame(bool) flash continuously on macOS. #41391
- Updated Chromium to 126.0.6445.0. (Removed:
WebSQLsupport) #41868 - Updated Chromium to 125.0.6412.0. (Behavior Changed:
nativeImage.toDataURLwill preserve PNG colorspace) #41610
Features
Additions
- Added a new instance property
navigationHistoryon webContents API withnavigationHistory.getEntryAtIndexmethod, 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.clearDataAPI. #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.setWindowOpenHandlerto support manual creation of BrowserWindow. #41432 - Implemented support for the File System API. #41419 (Also in 30)
clearDatamethod added toSession. #40983- Extended
WebContentsViewto accept pre-existingwebContentsobject. #42319
Improvements
- Extended
WebContentsViewto accept pre-existingwebContentsobject. #42319 - Improved error messages when
ses.cookies.setfails. #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
Fixes
- Added missing support for the
recursiveoption in `fs.{readd
Deploy Preview for electron-trpc ready!
| Name | Link |
|---|---|
| Latest commit | f32f7cd861ca363254ff09ed1f44be480e535f8a |
| Latest deploy log | https://app.netlify.com/sites/electron-trpc/deploys/65d442be557a55000893dc06 |
| Deploy Preview | https://deploy-preview-173--electron-trpc.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
784bbb0) 56.69% compared to head (f32f7cd) 56.69%.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@ Coverage Diff @@
## main #173 +/- ##
=======================================
Coverage 56.69% 56.69%
=======================================
Files 11 11
Lines 448 448
Branches 51 51
=======================================
Hits 254 254
Misses 194 194
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.