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

chore: update dependency electron to v25 #3736

Merged
merged 1 commit into from
Jul 20, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 17, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
electron ^22.0.0 -> ^25.0.0 age adoption passing confidence

Release Notes

electron/electron (electron)

v25.3.1: electron v25.3.1

Compare Source

Release Notes for v25.3.1

Fixes

  • Fixed an issue where BrowserWindow.moveAbove() and BrowserWindow.moveTop() did not work for child windows on macOS. #​39071 (Also in 24, 26)
  • Fixed an issue where files could in some circumstances be selection when openFile was not passed as a dialog property. #​39096 (Also in 24, 26)
  • Fixed an issue with webContents.print({ silent: true }) not working correctly. #​39095 (Also in 26)
  • Fixed an issue with the application menu overlapping menu items on Windows 11. #​39099 (Also in 26)

Other Changes

  • Updated Chromium to 114.0.5735.243. #​39146

v25.3.0: electron v25.3.0

Compare Source

Release Notes for v25.3.0

Features

  • Added the ability to send HTTP headers with session.downloadURL(). #​38870 (Also in 26)

Fixes

  • Fixed a crash when listing desktop capture sources on Wayland with PipeWire. #​39051 (Also in 24, 26)
  • Fixed an issue where protocol.handle() never called its callback with the 'file' scheme. #​39064
  • Fixed an issue where certain Electron classes had incorrect prototype class names. #​39035 (Also in 26)
  • Fixed an issue where notifications created on macOS which have no actions will erroneously have a Show button visible. #​39014 (Also in 24, 26)
  • Fixed an issue where removing a webview in a close callback could cause crashes. #​39008 (Also in 24, 26)
  • Fixed display of title bar buttons on Wayland. #​39044 (Also in 26)

Unknown

  • Fixed an issue where setting bounds on BrowserViews can behave inconsistently across platforms. #​39005 (Also in 26)

v25.2.0: electron v25.2.0

Compare Source

Release Notes for v25.2.0

Features

  • node: prefixed requires are now supported in sandboxed renderer preloads for events, timers and url. #​38729 (Also in 24, 26)

Fixes

  • Fixed webContents.printToPDF preferCSSPageSize type error. #​38791 (Also in 24, 26)
  • Fixed a crash seen when trying to change nativeTheme source during mara context menu close. #​38839 (Also in 26)
  • Fixed an issue where webContents.print() stopped triggering its callback when the user cancelled the print dialog. #​38814 (Also in 26)

Other Changes

  • Updated Chromium to 114.0.5735.134. #​38782

v25.1.1: electron v25.1.1

Compare Source

Release Notes for v25.1.1

Fixes

  • Added transparent color support for WCO on Windows. #​38715 (Also in 26)
  • Fixed an error with webContents.print parameter validation by adding missing options required to set printer printable area. #​38720 (Also in 26)
  • Fixed an issue where passing webContents.print(null) could incorrectly trigger an error. #​38642 (Also in 24, 26)
  • Fixed an issue with potential use-after-free of child windows on close and reparent. #​38678 (Also in 24, 26)
  • Fixed potential invalid protocol error handling. #​38634 (Also in 26)
  • Fixed visibility of menu bar when exiting full screen. #​38682 (Also in 23, 24, 26)

v25.1.0: electron v25.1.0

Compare Source

Release Notes for v25.1.0

Features

  • Added setUSBProtectedClassesHandler to allow access to protected USB classes with WebUSB. #​38493 (Also in 24)
  • Added setUSBProtectedClassesHandler to allow access to protected USB classes with WebUSB. #​38493 (Also in 24)

Fixes

  • Fixed an issue where <datalist> popups are positions incorrectly in BrowserViews. #​38609 (Also in 23, 24, 26)

Other Changes

  • Improved error message when contentTracing.stopRecording() fails because no trace was in progress. #​38519 (Also in 23, 24)
  • Updated Chromium to 114.0.5735.91. #​38516

v25.0.1: electron v25.0.1

Compare Source

Release Notes for v25.0.1

Fixes

  • Fixed potential issues when minimizing parent windows with non-modal children on macOS. #​38509 (Also in 24)

Other Changes

  • Fixed an issue where mksnapshot would crash with a sigbus error. #​38510

v25.0.0: electron v25.0.0

Compare Source

Release Notes for v25.0.0

Stack Upgrades

Features

  • Added net.resolveHost that resolves hosts using defaultSession object. #​38152 (Also in 24)
  • Added several new cursor values to the cursor-changed event. #​38363 (Also in 24)
  • Added support for Mica and Acrylic background effects on Windows. #​38357 (Also in 24)
  • Expose webContents methods to center text selection, scroll to the page bottom and top, as well as adjust selected text. #​38362
  • Surface the context-menu event from extensions. #​38356
  • Added BrowserWindow.set/getWindowButtonPosition APIs. #​37094
  • Added httpOnly to the cookie filter. #​37255 (Also in 24)
  • Added logUsage to shell.openExternal() options, which allows passing the SEE_MASK_FLAG_LOG_USAGE flag to ShellExecuteEx on Windows. #​37139 (Also in 24)
  • Added net.fetch(). #​36733
  • Added protocol.handle, replacing and deprecating protocol.{register,intercept}{String,Buffer,Stream,Http,File}Protocol. #​36674
  • Added types to webRequest filter. #​30914 (Also in 24)
  • Added a will-frame-navigate event to webContents and the <webview> tag, which fires whenever any frame within the frame hierarchy attempts to navigate. #​34418
  • Added initiator information to navigator events. #​37085
  • Added net.resolveHost that resolves hosts using defaultSession object. #​38152 (Also in 24)
  • Added new 'did-resign-active' event on app. #​38018
  • Added several standard page size options to webContents.print(). #​37159 (Also in 22, 23, 24)
  • Added the enableLocalEcho flag to the session handler ses.setDisplayMediaRequestHandler() callback for allowing remote audio input to be echoed in the local output stream when audio is a WebFrameMain. #​37315 (Also in 23, 24)
  • Added thermal management information to powerMonitor. #​38028 (Also in 24)
  • Allows an absolute path to be passed to the session.fromPath() API. #​37604
  • Changed net.fetch to support requests to file: URLs and custom protocols registered with protocol.register*Protocol. #​36606
  • Exposes the audio-state-changed event on webContents. #​37366

Fixes

  • Ensured that Electron's custom AXManualAccessibility attribute works as expected in all relevant protocol methods. #​38223 (Also in 23, 24)
  • Fixed a potential crash when calling webContents.print with invalid settings. #​38230
  • Fixed an issue where Windows FrameViews always appeared inactive regardless of focus status. #​38473
  • Fixed an issue where BrowserWindow.isMaximized() could incorrectly return true for minimized or fullscreened windows on macOS. #​38307 (Also in 23, 24)
  • Fixed an issue where BrowserWindow.isVisible() would incorrectly return true for minimized windows on Windows. #​38314 (Also in 23, 24)
  • Fixed an issue where MediaStreamTrack.getCaptureHandle() always returned null. #​38433 (Also in 24)
  • Fixed an issue where getNormalBounds() returns incorrect bounds for transparent maximized windows on Windows. #​38348 (Also in 23, 24)
  • Fixed an issue where accessing BrowserWindow.id threw an error after the window was destroyed. #​38311 (Also in 23, 24)
  • Fixed an issue where calling win.minimize() directly after calling win.maximize(), and then calling win.isMaximized() incorrectly returns true. #​38345 (Also in 23, 24)
  • Fixed an issue where default background color for windows might be incorrect. #​38157 (Also in 23, 24)
  • Fixed an perceived failure when when using Accessibility attribute AXManualAccessibility to enable a11y features in Electron. #​38146 (Also in 23, 24)
  • Fixed an issue where Windows FrameViews always appeared inactive regardless of focus status. #​38473
  • Fixed an issue where MediaStreamTrack.getCaptureHandle() always returned null. #​38433 (Also in 24)
  • Added about panel for menu role about on Linux as well. #​37873 (Also in 23, 24)
  • Corrects an issue with HTML fullscreen when BrowserWindow fullscreening is disabled. #​37348 (Also in 23, 24)
  • Ensured that Electron's custom AXManualAccessibility attribute works as expected in all relevant protocol methods. #​38223 (Also in 23, 24)
  • Fixed WebUSB on ARM64 macs. #​37441 (Also in 23, 24)
  • Fixed destroyed event not emitted on close for BrowserView.webContents. #​37420 (Also in 23, 24)
  • Fixed a crash on capturing sources when using desktopCapturer API on Wayland. #​37511 (Also in 23, 24)
  • Fixed a crash when BrowserViews are present and a user attempts to prevent beforeunload in the renderer process. #​37205 (Also in 22, 23, 24)
  • Fixed a potential crash when calling webContents.print with invalid settings. #​38230
  • Fixed a potential crash when right-clicking on macOS windows with draggable regions. #​38115 (Also in 24)
  • Fixed an incorrect result returned when using secure as a cookies filter. #​37203 (Also in 22, 23, 24)
  • Fixed an issue on Linux where menus would not open after resizing/maximizing/unmaximizing a window. #​37905 (Also in 23, 24)
  • Fixed an issue on macOS where entering fullscreen with the Fn+F system shortcut would fail or create strange window side effects. #​37803 (Also in 23, 24)
  • Fixed an issue where BroadcastChannel did not work correctly when contextIsolation: false. #​37421 (Also in 24)
  • Fixed an issue where minWidth/minHeight and maxWidth/maxHeight would not be enforced if the user set an aspectRatio on macOS. #​37306 (Also in 22, 23, 24)
  • Fixed an issue where calling port.postMessage in MessagePortMain with some invalid parameters could cause a crash. #​37585 (Also in 22, 23, 24)
  • Fixed an issue where certain buttons in the PDF viewer didn't work. #​37920 (Also in 23, 24)
  • Fixed an issue where default background color for windows might be incorrect. #​38157 (Also in 23, 24)
  • Fixed an issue where draggable regions incorrectly captured clicks in framed windows. #​37594 (Also in 23, 24)
  • Fixed an issue where passing both hasReply and actions to a main process Notification on macOS resulted in the first action being obscured and unavailable. #​37381 (Also in 22, 23, 24)
  • Fixed an issue where successfully loaded media documents emitted did-fail-load. #​37824
  • Fixed an issue where the 'swipe' event wasn't being emitted properly on macOS. #​37966 (Also in 24)
  • Fixed an issue where unhandled rejections could cause duplicate logs in some cases. #​37464 (Also in 22, 24)
  • Fixed an issue which made defaultFontFamily in webPreferences have no effect. #​37967 (Also in 22, 23, 24)
  • Fixed an issue with potential dock icon duplication on macOS. #​37599 (Also in 22, 23, 24)
  • Fixed an perceived failure when when using Accessibility attribute AXManualAccessibility to enable a11y features in Electron. #​38146 (Also in 23, 24)
  • Fixed broken defaults in shell.openExternal() options. #​38071 (Also in 22, 23, 24)
  • Fixed canceling of bluetooth requests when no devices are returned. #​37601 (Also in 23, 24)
  • Fixed crash when executing eval in the utility process. #​38039 (Also in 22, 23, 24)
  • Fixed draggable regions not working in Mac App Store builds. #​37466 (Also in 23, 24)
  • Fixed issue with BrowserWindow not updating after call to previewFile. #​37530 (Also in 22, 23, 24)
  • Fixed potential private API usage for MAS builds on macOS. #​37309 (Also in 23, 24)
  • Fixed recommended node-gyp version in node.h error. #​37926 (Also in 22, 23, 24)
  • Fixed right-click events not being delivered in frameless window draggable regions. #​37386 (Also in 23, 24)
  • Fixed the active background color for top-level menu items on Windows. #​37766 (Also in 22, 23, 24)
  • Fixed window could not go back to maximized state when restored on Linux. #​37346 (Also in 22, 23, 24)
  • Improved error messages on session.cookies.set failure. #​37586 (Also in 22, 23, 24)
  • Security: Fixed an issue with Content-Security-Policy not being correctly enforced when sandbox: false and contextIsolation: false. (CVE-2023-23623). #​37756 (Also in 24)
  • Setting the about panel's options no longer crashes. #​37373 (Also in 24)
  • app.showAboutPanel() no longer blocks the main thread on Windows or Linux, thus matching macOS. #​37440 (Also in 24)

Other Changes

  • Backported fix for 1404797. #​38333
  • Fixed a console error seen when loading PDFs. #​38148
  • Fixed an error seen in the Top Level Windows section of chrome://accessibility. #​38211
  • Security: backported fix for 1437346.
  • Fixed a console error seen when loading PDFs. #​38148
  • Fixed an error seen in the Top Level Windows section of chrome://accessibility. #​38211
  • Improved error messages for contents.takeHeapSnapshot. #​37434 (Also in 22, 23, 24)
  • nativeImage.createThumbnailFromPath() now takes size instead of maxSize. #​37362 (Also in 24)

Documentation

v24.6.4: electron v24.6.4

Compare Source

Release Notes for v24.6.4

Fixes

  • Fixed an issue where BrowserWindow.moveAbove() and BrowserWindow.moveTop() did not work for child windows on macOS. #​39072 (Also in 25, 26)
  • Fixed an issue where navigator.connection returned incorrect data. #​39100 (Also in 25)
  • Fixed an issue where files could in some circumstances be selection when openFile was not passed as a dialog property. #​39097 (Also in 25, 26)

v24.6.3: electron v24.6.3

Compare Source

Release Notes for v24.6.3

Fixes

  • Fixed a crash when listing desktop capture sources on Wayland with PipeWire. #​39050 (Also in 25, 26)
  • Fixed an issue where notifications created on macOS which have no actions will erroneously have a Show button visible. #​39012 (Also in 25, 26)
  • Fixed an issue where removing a webview in a close callback could cause crashes. #​39009 (Also in 25, 26)

v24.6.2: electron v24.6.2

Compare Source

Release Notes for v24.6.2

Other Changes

v24.6.1: electron v24.6.1

Compare Source

Release Notes for v24.6.1

Fixes

  • Fixed preload script may not run in some child windows opened by window.open. #​38932 (Also in 23, 25, 26)
  • Fixed a potential crash calling BrowserWindow.removeBrowserView() with a destroyed webContents. #​38884 (Also in 25, 26)
  • Fixed minimize button to be visible when all buttons reenabled. #​38881 (Also in 23, 25)

v24.6.0: electron v24.6.0

Compare Source

Release Notes for v24.6.0

Features

  • node: prefixed requires are now supported in sandboxed renderer preloads for events, timers and url. #​38727 (Also in 25, 26)

Fixes

  • Fixed webContents.printToPDF preferCSSPageSize type error. #​38792 (Also in 25, 26)

Other Changes

v24.5.1: electron v24.5.1

Compare Source

Release Notes for v24.5.1
Fixes
  • Fixed an issue where passing webContents.print(null) could incorrectly trigger an error. #​38640 (Also in 25, 26)
  • Fixed an issue with potential use-after-free of child windows on close and reparent. #​38677 (Also in 25, 26)
  • Fixed visibility of menu bar when exiting full screen. #​38681 (Also in 23, 25, 26)
Other Changes

v24.5.0: electron v24.5.0

Compare Source

Release Notes for v24.5.0

Features

  • Added setUSBProtectedClassesHandler to allow access to protected USB classes with WebUSB. #​38498 (Also in 25)

Fixes

  • Fixed an issue where <datalist> popups are positions incorrectly in BrowserViews. #​38608 (Also in 23, 25, 26)

v24.4.1: electron v24.4.1

Compare Source

Release Notes for v24.4.1

Fixes

  • Fixed an issue where MediaStreamTrack.getCaptureHandle() always returned null. #​38434 (Also in 25)
  • Fixed potential issues when minimizing parent windows with non-modal children on macOS. #​38508 (Also in 25)

Other Changes

  • Improved error message when contentTracing.stopRecording() fails because no trace was in progress. #​38520

v24.4.0: electron v24.4.0

Compare Source

Release Notes for v24.4.0

Features

  • Added several new cursor values to the cursor-changed event. #​38364 (Also in 25)
  • Added support for Mica and Acrylic background effects on Windows. #​38361 (Also in 25)

Fixes

  • Fixed an issue where getNormalBounds() returns incorrect bounds for transparent maximized windows on Windows. #​38349 (Also in 23, 25)

Other Changes

  • Updated Chromium to 112.0.5615.204. #​38350

v24.3.1: electron v24.3.1

Compare Source

Release Notes for v24.3.1

Fixes

  • Fixed an issue where BrowserWindow.isMaximized() could incorrectly return true for minimized or fullscreened windows on macOS. #​38308 (Also in 23, 25)
  • Fixed an issue where BrowserWindow.isVisible() would incorrectly return true for minimized windows on Windows. #​38313 (Also in 23, 25)
  • Fixed an issue where accessing BrowserWindow.id threw an error after the window was destroyed. #​38310 (Also in 23, 25)
  • Fixed an issue where calling win.minimize() directly after calling win.maximize(), and then calling win.isMaximized() incorrectly returns true. #​38343 (Also in 23, 25)

Other Changes

v24.3.0: electron v24.3.0

Compare Source

Release Notes for v24.3.0

Features

  • Added net.resolveHost that resolves hosts using defaultSession object. #​38153 (Also in 25)

Fixes

  • Ensured that Electron's custom AXManualAccessibility attribute works as expected in all relevant protocol methods. #​38224 (Also in 23, 25)

v24.2.0: electron v24.2.0

Compare Source

Release Notes for v24.2.0

Features

  • Added thermal management information to powerMonitor. #​38027 (Also in 25)

Fixes

  • Fixed a potential crash when right-clicking on macOS windows with draggable regions. #​38136 (Also in 25)
  • Fixed an issue where default background color for windows might be incorrect. #​38158 (Also in 25)
  • Fixed an perceived failure when when using Accessibility attribute AXManualAccessibility to enable a11y features in Electron. #​38147 (Also in 23)

v24.1.3: electron v24.1.3

Compare Source

Release Notes for v24.1.3

Fixes

  • Fixed broken defaults in shell.openExternal() options. #​38072 (Also in 22, 23, 25)
  • Fixed crash when executing eval in the utility process. #​38041 (Also in 23, 25)

Other Changes

v24.1.2: electron v24.1.2

Compare Source

Release Notes for v24.1.2

Fixes

  • Fixed an issue on Linux where menus would not open after resizing/maximizing/unmaximizing a window. #​37906 (Also in 23, 25)
  • Fixed an issue where the 'swipe' event wasn't being emitted properly on macOS. #​37965 (Also in 25)
  • Fixed an issue which made defaultFontFamily in webPreferences have no effect. #​37968 (Also in 22, 23, 25)

Other Changes

  • Updated Chromium to 112.0.5615.87. #​37974

v24.1.1: electron v24.1.1

Compare Source

Release Notes for v24.1.1

Fixes

  • Fixed recommended node-gyp version in node.h error. #​37927 (Also in 22, 23, 25)

v24.1.0: electron v24.1.0

Compare Source

Release Notes for v24.1.0

Features

  • Introduced session.resolveHost for resolving hostnames with Chromium's DNS resolver. #​37847

Fixes

  • Added about panel for menu role about on Linux as well. #​37872 (Also in 23, 25)
  • Fixed an issue on macOS where entering fullscreen with the Fn+F system shortcut would fail or create strange window side effects. #​37823 (Also in 23)
  • Fixed an issue where certain buttons in the PDF viewer didn't work. #​37918 (Also in 25)
  • Security: Fixed an issue with Content-Security-Policy not being correctly enforced when sandbox: false and contextIsolation: false. (CVE-2023-23623). #​37839

Other Changes

  • Updated Chromium to 112.0.5615.50. #​37833

v24.0.0: electron v24.0.0

Compare Source

Release Notes for v24.0.0

Stack Upgrades

Breaking Changes

  • nativeImage.createThumbnailFromPath() now takes size instead of maxSize. #​37796

Features

  • Added httpOnly to the cookie filter. #​37365
  • Added logUsage to shell.openExternal() options, which allows passing the SEE_MASK_FLAG_LOG_USAGE flag to ShellExecuteEx on Windows. #​37291
  • Added types to webRequest filter. #​37427
  • Added several standard page size options to webContents.print(). #​37265 (Also in 22, 23)
  • Added the enableLocalEcho flag to the session handler ses.setDisplayMediaRequestHandler() callback for allowing remote audio input to be echoed in the local output stream when audio is a WebFrameMain. #​37528 (Also in 23)

Fixes

  • Corrects an issue with HTML fullscreen when BrowserWindow fullscreening is disabled. #​37368 (Also in 23)
  • Fixed WebUSB on ARM64 macs. #​37522 (Also in 23)
  • Fixed destroyed event not emitted on close for BrowserView.webContents. #​37450 (Also in 23)
  • Fixed a crash on capturing sources when using desktopCapturer API on Wayland. #​37527 (Also in 23)
  • Fixed a crash when BrowserViews are present and a user attempts to prevent beforeunload in the renderer process. #​37268 (Also in 22, 23)
  • Fixed an incorrect result returned when using secure as a cookies filter. #​37246 (Also in 22, 23)
  • Fixed an issue where BroadcastChannel did not work correctly when contextIsolation: false. #​37443 (Also in 23)
  • Fixed an issue where minWidth/minHeight and maxWidth/maxHeight would not be enforced if the user set an aspectRatio on macOS. #​37456 (Also in 22, 23)
  • Fixed an issue where calling port.postMessage in MessagePortMain with some invalid parameters could cause a crash. #​37726 (Also in 22, 23)
  • Fixed an issue where draggable regions incorrectly captured clicks in framed windows. #​37741 (Also in 23)
  • Fixed an issue where passing both hasReply and actions to a main process Notification on macOS resulted in the first action being obscured and unavailable. #​37449 (Also in 22, 23)
  • Fixed an issue where unhandled rejections could cause duplicate logs in some cases. #​37500 (Also in 22, 23)
  • Fixed an issue with potential dock icon duplication on macOS. #​37625 (Also in 22, 23)
  • Fixed canceling of bluetooth requests when no devices are returned. #​37717 (Also in 23)
  • Fixed draggable regions not working in Mac App Store builds. #​37474 (Also in 23)
  • Fixed issue with BrowserWindow not updating after call to previewFile. #​37578 (Also in 22, 23)
  • Fixed potential private API usage for MAS builds on macOS. #​37364 (Also in [23](https://tog

@renovate renovate bot added the dependencies Updates a dependency label Jul 17, 2023
@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Jul 17, 2023
@nikku nikku changed the title chore: update dependency electron to v25 deps: update to electron@25 Jul 20, 2023
Copy link
Member

@nikku nikku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works for me on Linux, testing most platform related concerns (cf. integration tests).

@camunda/modeling-dev can I get two smoke tests from your for Windows and MacOS?

@renovate renovate bot changed the title deps: update to electron@25 chore: update dependency electron to v25 Jul 20, 2023
@philippfromme
Copy link
Contributor

I'll check it out on Windows.

@philippfromme
Copy link
Contributor

Builds and runs on Windows. ✅

@smbea
Copy link
Contributor

smbea commented Jul 20, 2023

Builds, runs on MacOS and basic file opening and saving also work

@nikku
Copy link
Member

nikku commented Jul 20, 2023

Thanks! :)

@renovate
Copy link
Contributor Author

renovate bot commented Jul 20, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@nikku nikku modified the milestones: 8.3, M67 Jul 20, 2023
@nikku nikku merged commit 436f460 into develop Jul 20, 2023
9 checks passed
@nikku nikku deleted the renovate/electron-25.x branch July 20, 2023 09:17
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Updates a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants