kktjs / kkt

Create React apps with no build configuration, Cli tool for creating react apps.
https://kktjs.github.io/kkt
MIT License
49 stars 11 forks source link

chore(deps): update dependency electron to v26 [security] #428

Closed renovate[bot] closed 11 months ago

renovate[bot] commented 11 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
electron ~19.1.0 -> ~26.2.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2023-39956

Impact

Apps that are launched as command line executables are impacted. E.g. if your app exposes itself in the path as myapp --help

Specifically this issue can only be exploited if the following conditions are met:

This makes the risk quite low, in fact normally issues of this kind are considered outside of our threat model as similar to Chromium we exclude Physically Local Attacks but given the ability for this issue to bypass certain protections like ASAR Integrity it is being treated with higher importance. Please bear this in mind when reporting similar issues in the future.

Workarounds

There are no app side workarounds, you must update to a patched version of Electron.

Fixed Versions

For more information

If you have any questions or comments about this advisory, email us at security@electronjs.org


Release Notes

electron/electron (electron) ### [`v26.2.2`](https://togithub.com/electron/electron/releases/tag/v26.2.2): electron v26.2.2 [Compare Source](https://togithub.com/electron/electron/compare/v26.2.1...v26.2.2) ### Release Notes for v26.2.2 #### Fixes - Fixed an issue where `BrowserViews` that had their bounds set prior to being added to a `BrowserWindow` could have unexpected incorrect offsets. [#​39850](https://togithub.com/electron/electron/pull/39850) (Also in [25](https://togithub.com/electron/electron/pull/39851), [27](https://togithub.com/electron/electron/pull/39627)) #### Other Changes - Security: backported fix for [`1477588`](https://togithub.com/electron/electron/commit/1477588). [#​39918](https://togithub.com/electron/electron/pull/39918) - Updated Chromium to 116.0.5845.190. [#​39887](https://togithub.com/electron/electron/pull/39887) ### [`v26.2.1`](https://togithub.com/electron/electron/releases/tag/v26.2.1): electron v26.2.1 [Compare Source](https://togithub.com/electron/electron/compare/v26.2.0...v26.2.1) ### Release Notes for v26.2.1 #### Fixes - Fixed an error where listening to certain `chrome.tabs` events would throw incorrectly. [#​39772](https://togithub.com/electron/electron/pull/39772) (Also in [25](https://togithub.com/electron/electron/pull/39770), [27](https://togithub.com/electron/electron/pull/39771)) - Fixed an issue where BrowserWindows could crash on macOS with `frame: false` and `roundedCorners: false` when going fullscreen. [#​39795](https://togithub.com/electron/electron/pull/39795) (Also in [25](https://togithub.com/electron/electron/pull/39794), [27](https://togithub.com/electron/electron/pull/39796)) - Fixed an issue where accelerators representing DOM keys were not correctly converted in `webContents.sendInputEvent()`. [#​39821](https://togithub.com/electron/electron/pull/39821) (Also in [27](https://togithub.com/electron/electron/pull/39822)) - Fixed devtools to allow restoring saved dock state on Windows. [#​39768](https://togithub.com/electron/electron/pull/39768) (Also in [25](https://togithub.com/electron/electron/pull/39766), [27](https://togithub.com/electron/electron/pull/39767)) - Fixed issue where titlebar would be transparent for transparent windows that are fullscreen. [#​39780](https://togithub.com/electron/electron/pull/39780) (Also in [25](https://togithub.com/electron/electron/pull/39779), [27](https://togithub.com/electron/electron/pull/39781)) #### Other Changes - Fixed missing type for `Electron.TitleBarOverlay`. [#​39805](https://togithub.com/electron/electron/pull/39805) (Also in [27](https://togithub.com/electron/electron/pull/39806)) - Updated Chromium to 116.0.5845.188. [#​39828](https://togithub.com/electron/electron/pull/39828) ### [`v26.2.0`](https://togithub.com/electron/electron/releases/tag/v26.2.0): electron v26.2.0 ### Release Notes for v26.2.0 #### Features - Added support for several more extensions manifest keys including `host_permissions`, `author`, and `short_name`. [#​39673](https://togithub.com/electron/electron/pull/39673) (Also in [27](https://togithub.com/electron/electron/pull/39672)) - Added the ability to send HTTP headers with `webContents.downloadURL()`. [#​39562](https://togithub.com/electron/electron/pull/39562) (Also in [25](https://togithub.com/electron/electron/pull/39561), [27](https://togithub.com/electron/electron/pull/39560)) #### Fixes - Fixed an issue where child windows opened when the parent window is *already fullscreen* did not respect the child windows' fullscreenability and resizability settings. [#​39641](https://togithub.com/electron/electron/pull/39641) (Also in [24](https://togithub.com/electron/electron/pull/39643), [25](https://togithub.com/electron/electron/pull/39642), [27](https://togithub.com/electron/electron/pull/39640)) - Fixed an issue where pressing the escape key did not properly trigger PDF presentation mode exit. [#​39705](https://togithub.com/electron/electron/pull/39705) (Also in [27](https://togithub.com/electron/electron/pull/39660)) - Fixed an issue where the Node.js `assert` module did not work in the renderer process. [#​39624](https://togithub.com/electron/electron/pull/39624) (Also in [24](https://togithub.com/electron/electron/pull/39621), [25](https://togithub.com/electron/electron/pull/39622), [27](https://togithub.com/electron/electron/pull/39623)) - Fixed problem with promise resolved to early when browser initiated in-page navigation. [#​39679](https://togithub.com/electron/electron/pull/39679) (Also in [25](https://togithub.com/electron/electron/pull/39678), [27](https://togithub.com/electron/electron/pull/39680)) #### Other Changes - Updated Chromium to 116.0.5845.141. [#​39692](https://togithub.com/electron/electron/pull/39692) ### [`v26.1.0`](https://togithub.com/electron/electron/releases/tag/v26.1.0): electron v26.1.0 ### Release Notes for v26.1.0 #### Features - Added support for --dns-result-order Node.js cli flag. [#​39501](https://togithub.com/electron/electron/pull/39501) (Also in [25](https://togithub.com/electron/electron/pull/39500)) #### Fixes - Fixed a potential crash when calling `BrowserWindow.moveTop()` on modal child windows. [#​39527](https://togithub.com/electron/electron/pull/39527) (Also in [24](https://togithub.com/electron/electron/pull/39526), [25](https://togithub.com/electron/electron/pull/39528)) - Fixed an issue where `chrome://gpu` failed to load. [#​39584](https://togithub.com/electron/electron/pull/39584) (Also in [27](https://togithub.com/electron/electron/pull/39583)) - Fixed an issue where certain properties of `chrome.tabs` Tab objects were not properly considered privileged. [#​39607](https://togithub.com/electron/electron/pull/39607) (Also in [25](https://togithub.com/electron/electron/pull/39609), [27](https://togithub.com/electron/electron/pull/39608)) - Fixed decorations for tiled windows on Wayland. [#​39571](https://togithub.com/electron/electron/pull/39571) (Also in [22](https://togithub.com/electron/electron/pull/39568), [24](https://togithub.com/electron/electron/pull/39567), [25](https://togithub.com/electron/electron/pull/39569), [27](https://togithub.com/electron/electron/pull/39570)) - Fixed to regenerate thumbnail toolbar buttons when explorer is restarted. [#​39587](https://togithub.com/electron/electron/pull/39587) (Also in [24](https://togithub.com/electron/electron/pull/39585), [25](https://togithub.com/electron/electron/pull/39586)) - Support Region Capture API with tab MediaStream. [#​39618](https://togithub.com/electron/electron/pull/39618) #### Other Changes - Security: backported fix for CVE-2023-4071. - Security: backported fix for CVE-2023-4070. - Security: backported fix for CVE-2023-4075. - Security: backported fix for CVE-2023-4076. - Security: backported fix for CVE-2023-4069. - Security: backported fix for CVE-2023-4074. - Security: backported fix for CVE-2023-4072. - Security: backported fix for CVE-2023-4068. - Security: backported fix for [`1464682`](https://togithub.com/electron/electron/commit/1464682). - Security: backported fix for [`1464680`](https://togithub.com/electron/electron/commit/1464680). - Security: backported fix for CVE-2023-4073. [#​39516](https://togithub.com/electron/electron/pull/39516) - Updated Chromium to 116.0.5845.97. [#​39530](https://togithub.com/electron/electron/pull/39530) ### [`v26.0.0`](https://togithub.com/electron/electron/releases/tag/v26.0.0): electron v26.0.0 [Compare Source](https://togithub.com/electron/electron/compare/v25.8.2...v26.0.0) ### Release Notes for v26.0.0 #### Stack Upgrades - Chromium `116.0.5845.62` - [New in 116](https://developer.chrome.com/blog/new-in-chrome-116) - [New in 115](https://developer.chrome.com/blog/new-in-chrome-115) - Node `18.6.1` - [Node 18.16.1 blog post](https://nodejs.org/en/blog/release/v18.16.1/) - V8 `11.2` #### Breaking Changes - The `webContents.getPrinters` API has been deprecated. [#​39459](https://togithub.com/electron/electron/pull/39459) - The `systemPreferences.getAppLevelAppearance` and `systemPreferences.setAppLevelAppearance` APIs have been deprecated, as well as the `alternate-selected-control-text` value for `systemPreferences.getColor`. [#​39492](https://togithub.com/electron/electron/pull/39492) #### Features ##### Additions - Added `safeStorage.setUsePlainTextEncryption` and `safeStorage.getSelectedStorageBackend` api. [#​39107](https://togithub.com/electron/electron/pull/39107) (Also in [25](https://togithub.com/electron/electron/pull/39325)) - Added `safeStorage.setUsePlainTextEncryption` and `safeStorage.getSelectedStorageBackend` api. [#​39155](https://togithub.com/electron/electron/pull/39155) (Also in [25](https://togithub.com/electron/electron/pull/39325)) - Added `senderIsMainFrame` to messages sent via `ipcRenderer.sendTo()`. [#​39206](https://togithub.com/electron/electron/pull/39206) (Also in [24](https://togithub.com/electron/electron/pull/39207), [25](https://togithub.com/electron/electron/pull/39208)) - Added net.resolveHost that resolves hosts using defaultSession object. [#​37853](https://togithub.com/electron/electron/pull/37853) (Also in [24](https://togithub.com/electron/electron/pull/38153), [25](https://togithub.com/electron/electron/pull/38152)) - Added new 'did-resign-active' event on `app`. [#​37933](https://togithub.com/electron/electron/pull/37933) (Also in [25](https://togithub.com/electron/electron/pull/38018)) - Added partial support for `chrome.tabs.query`. [#​39431](https://togithub.com/electron/electron/pull/39431) (Also in [25](https://togithub.com/electron/electron/pull/39430)) - Added setUSBProtectedClassesHandler to allow access to protected USB classes with WebUSB. [#​38263](https://togithub.com/electron/electron/pull/38263) (Also in [24](https://togithub.com/electron/electron/pull/38498), [25](https://togithub.com/electron/electron/pull/38493)) - Added several new cursor values to the `cursor-changed` event. [#​38210](https://togithub.com/electron/electron/pull/38210) (Also in [24](https://togithub.com/electron/electron/pull/38364), [25](https://togithub.com/electron/electron/pull/38363)) - Added support for Mica and Acrylic background effects on Windows. [#​38163](https://togithub.com/electron/electron/pull/38163) (Also in [24](https://togithub.com/electron/electron/pull/38361), [25](https://togithub.com/electron/electron/pull/38357)) - Added support for flagging a Menu as being keyboard initiated. [#​38954](https://togithub.com/electron/electron/pull/38954) - Added support for several more Node.js cli flags in the main process. [#​39373](https://togithub.com/electron/electron/pull/39373) (Also in [24](https://togithub.com/electron/electron/pull/39372), [25](https://togithub.com/electron/electron/pull/39374)) - Added the ability to send HTTP headers with `session.downloadURL()`. [#​38871](https://togithub.com/electron/electron/pull/38871) (Also in [25](https://togithub.com/electron/electron/pull/38870)) - Added thermal management information to `powerMonitor`. [#​37935](https://togithub.com/electron/electron/pull/37935) (Also in [24](https://togithub.com/electron/electron/pull/38027), [25](https://togithub.com/electron/electron/pull/38028)) - Expose `webContents` methods to center text selection, scroll to the page bottom and top, as well as adjust selected text. [#​37978](https://togithub.com/electron/electron/pull/37978) (Also in [25](https://togithub.com/electron/electron/pull/38362)) - Support Chrome Extensions `minimum_chrome_version` manifest key. [#​39357](https://togithub.com/electron/electron/pull/39357) - Surface the `context-menu` event from extensions. [#​38029](https://togithub.com/electron/electron/pull/38029) (Also in [25](https://togithub.com/electron/electron/pull/38356)) - `node:` prefixed requires are now supported in sandboxed renderer preloads for `events`, `timers` and `url`. [#​38728](https://togithub.com/electron/electron/pull/38728) (Also in [24](https://togithub.com/electron/electron/pull/38727), [25](https://togithub.com/electron/electron/pull/38729)) ##### Improvements - Improved error message when `contentTracing.stopRecording()` fails because no trace was in progress. [#​38488](https://togithub.com/electron/electron/pull/38488) (Also in [23](https://togithub.com/electron/electron/pull/38518), [24](https://togithub.com/electron/electron/pull/38520), [25](https://togithub.com/electron/electron/pull/38519)) ##### Removed/Deprecated - The `enable_desktop_capturer` build flag has been removed. [#​38412](https://togithub.com/electron/electron/pull/38412) #### Fixes - Fixed `clipboard.readImage()` getting blocked when there is no PNG image in the clipboard. [#​39487](https://togithub.com/electron/electron/pull/39487) - Fixed a crash calling `nativeImage.resize()` before the app `ready` event. [#​38861](https://togithub.com/electron/electron/pull/38861) - Fixed a crash in `clipboard.readImage()` when reading images copied via context menu on macOS. [#​39101](https://togithub.com/electron/electron/pull/39101) - Fixed a crash while screen sharing on Wayland with PipeWire. [#​39264](https://togithub.com/electron/electron/pull/39264) - Fixed a potential crash when calling `tray.popUpContextMenu` on macOS. [#​39313](https://togithub.com/electron/electron/pull/39313) - Fixed a potential crash when re-parenting a BrowserWindow whose first parent has been destroyed. [#​39297](https://togithub.com/electron/electron/pull/39297) - Fixed a redundant permission popup while fetching screens and windows using `desktopCapturer.getSources()` on Wayland. [#​39189](https://togithub.com/electron/electron/pull/39189) - Fixed an accessibility issue where `VoiceOver` couldn't trigger the tray action when selected to emit the click event. [#​39439](https://togithub.com/electron/electron/pull/39439) - Fixed an issue where calls to `window.setKiosk(false)` would exit fullscreen regardless of the fullscreen state prior to kiosk mode. [#​38219](https://togithub.com/electron/electron/pull/38219) ##### Also in earlier versions... - Added about panel for menu role `about` on Linux as well. [#​37828](https://togithub.com/electron/electron/pull/37828) (Also in [23](https://togithub.com/electron/electron/pull/37874), [24](https://togithub.com/electron/electron/pull/37872), [25](https://togithub.com/electron/electron/pull/37873)) - Added transparent color support for WCO on Windows. [#​38716](https://togithub.com/electron/electron/pull/38716) (Also in [25](https://togithub.com/electron/electron/pull/38715)) - Ensured that Electron's custom `AXManualAccessibility` attribute works as expected in all relevant protocol methods. [#​38142](https://togithub.com/electron/electron/pull/38142) (Also in [23](https://togithub.com/electron/electron/pull/38225), [24](https://togithub.com/electron/electron/pull/38224), [25](https://togithub.com/electron/electron/pull/38223)) - Fixed `desktopCapturer` thumbnail generation after screen sharing is cancelled on Wayland. [#​39246](https://togithub.com/electron/electron/pull/39246) (Also in [25](https://togithub.com/electron/electron/pull/39245)) - Fixed `preload` script may not run in some child windows opened by `window.open`. [#​38930](https://togithub.com/electron/electron/pull/38930) (Also in [23](https://togithub.com/electron/electron/pull/38933), [24](https://togithub.com/electron/electron/pull/38932), [25](https://togithub.com/electron/electron/pull/38931)) - Fixed `webContents.printToPDF` `preferCSSPageSize` type error. [#​38793](https://togithub.com/electron/electron/pull/38793) (Also in [24](https://togithub.com/electron/electron/pull/38792), [25](https://togithub.com/electron/electron/pull/38791)) - Fixed a console error seen when loading PDFs. [#​38127](https://togithub.com/electron/electron/pull/38127) (Also in [25](https://togithub.com/electron/electron/pull/38148)) - Fixed a crash seen when trying to change `nativeTheme` source during mara context menu close. [#​38840](https://togithub.com/electron/electron/pull/38840) (Also in [25](https://togithub.com/electron/electron/pull/38839)) - Fixed a crash when listing desktop capture sources on Wayland with PipeWire. [#​39049](https://togithub.com/electron/electron/pull/39049) (Also in [23](https://togithub.com/electron/electron/pull/39116), [24](https://togithub.com/electron/electron/pull/39050), [25](https://togithub.com/electron/electron/pull/39051)) - Fixed a potential crash calling `BrowserWindow.removeBrowserView()` with a destroyed `webContents`. [#​38885](https://togithub.com/electron/electron/pull/38885) (Also in [24](https://togithub.com/electron/electron/pull/38884), [25](https://togithub.com/electron/electron/pull/38883)) - Fixed a potential crash when calling `webContents.print` with invalid settings. [#​38165](https://togithub.com/electron/electron/pull/38165) (Also in [25](https://togithub.com/electron/electron/pull/38230)) - Fixed a potential crash when right-clicking on macOS windows with draggable regions. [#​38100](https://togithub.com/electron/electron/pull/38100) (Also in [24](https://togithub.com/electron/electron/pull/38136), [25](https://togithub.com/electron/electron/pull/38115)) - Fixed a rare crash when closing active native tab on macOS. [#​39410](https://togithub.com/electron/electron/pull/39410) (Also in [25](https://togithub.com/electron/electron/pull/39409)) - Fixed an error with `webContents.print` parameter validation by adding missing options required to set printer printable area. [#​38721](https://togithub.com/electron/electron/pull/38721) (Also in [25](https://togithub.com/electron/electron/pull/38720)) - Fixed an error seen in the Top Level Windows section of `chrome://accessibility`. [#​38179](https://togithub.com/electron/electron/pull/38179) (Also in [25](https://togithub.com/electron/electron/pull/38211)) - Fixed an issue on Linux where menus would not open after resizing/maximizing/unmaximizing a window. [#​37798](https://togithub.com/electron/electron/pull/37798) (Also in [23](https://togithub.com/electron/electron/pull/37908), [24](https://togithub.com/electron/electron/pull/37906), [25](https://togithub.com/electron/electron/pull/37905)) - Fixed an issue on Windows 10 where the title bar was not correct after changing native theme. [#​39309](https://togithub.com/electron/electron/pull/39309) (Also in [25](https://togithub.com/electron/electron/pull/39314)) - Fixed an issue where Windows `FrameView`s always appeared inactive regardless of focus status. [#​38468](https://togithub.com/electron/electron/pull/38468) (Also in [25](https://togithub.com/electron/electron/pull/38473)) - Fixed an issue where `` popups are positions incorrectly in `BrowserView`s. [#​38610](https://togithub.com/electron/electron/pull/38610) (Also in [23](https://togithub.com/electron/electron/pull/38607), [24](https://togithub.com/electron/electron/pull/38608), [25](https://togithub.com/electron/electron/pull/38609)) - Fixed an issue where `BrowserWindow.isMaximized()` could incorrectly return true for minimized or fullscreened windows on macOS. [#​38291](https://togithub.com/electron/electron/pull/38291) (Also in [23](https://togithub.com/electron/electron/pull/38306), [24](https://togithub.com/electron/electron/pull/38308), [25](https://togithub.com/electron/electron/pull/38307)) - Fixed an issue where `BrowserWindow.isVisible()` would incorrectly return `true` for minimized windows on Windows. [#​38242](https://togithub.com/electron/electron/pull/38242) (Also in [23](https://togithub.com/electron/electron/pull/38315), [24](https://togithub.com/electron/electron/pull/38313), [25](https://togithub.com/electron/electron/pull/38314)) - Fixed an issue where `BrowserWindow.moveAbove()` and `BrowserWindow.moveTop()` did not work for child windows on macOS. [#​39070](https://togithub.com/electron/electron/pull/39070) (Also in [24](https://togithub.com/electron/electron/pull/39072), [25](https://togithub.com/electron/electron/pull/39071)) - Fixed an issue where `MediaStreamTrack.getCaptureHandle()` always returned `null`. [#​38390](https://togithub.com/electron/electron/pull/38390) (Also in [24](https://togithub.com/electron/electron/pull/38434), [25](https://togithub.com/electron/electron/pull/38433)) - Fixed an issue where `browserView.removeBrowserView` could cause a crash in some cases. [#​39406](https://togithub.com/electron/electron/pull/39406) (Also in [24](https://togithub.com/electron/electron/pull/39407), [25](https://togithub.com/electron/electron/pull/39408)) - Fixed an issue where `chrome.i18n` did not work properly with Chrome Extensions Manifest V3. [#​39328](https://togithub.com/electron/electron/pull/39328) (Also in [24](https://togithub.com/electron/electron/pull/39442), [25](https://togithub.com/electron/electron/pull/39329)) - Fixed an issue where `chrome.tabs` did not work properly with Chrome Extensions Manifest V3. [#​39360](https://togithub.com/electron/electron/pull/39360) (Also in [25](https://togithub.com/electron/electron/pull/39359)) - Fixed an issue where `chrome.tabs.update` did not return a `tab` object that properly reflected potential properties that were changed. [#​39389](https://togithub.com/electron/electron/pull/39389) (Also in [25](https://togithub.com/electron/electron/pull/39388)) - Fixed an issue where `getNormalBounds()` returns incorrect bounds for transparent maximized windows on Windows. [#​38218](https://togithub.com/electron/electron/pull/38218) (Also in [23](https://togithub.com/electron/electron/pull/38347), [24](https://togithub.com/electron/electron/pull/38349), [25](https://togithub.com/electron/electron/pull/38348)) - Fixed an issue where `navigator.connection` returned incorrect data. [#​38491](https://togithub.com/electron/electron/pull/38491) (Also in [24](https://togithub.com/electron/electron/pull/39100), [25](https://togithub.com/electron/electron/pull/38907)) - Fixed an issue where `protocol.handle()` never called its callback with the `'file'` scheme. [#​39065](https://togithub.com/electron/electron/pull/39065) (Also in [25](https://togithub.com/electron/electron/pull/39064)) - Fixed an issue where `webContents.print()` stopped triggering its callback when the user cancelled the print dialog. [#​38735](https://togithub.com/electron/electron/pull/38735) (Also in [25](https://togithub.com/electron/electron/pull/38814)) - Fixed an issue where accessing `BrowserWindow.id` threw an error after the window was destroyed. [#​38241](https://togithub.com/electron/electron/pull/38241) (Also in [23](https://togithub.com/electron/electron/pull/38309), [24](https://togithub.com/electron/electron/pull/38310), [25](https://togithub.com/electron/electron/pull/38311)) - Fixed an issue where calling `win.minimize()` directly after calling `win.maximize()`, and then calling `win.isMaximized()` incorrectly returns `true`. [#​38234](https://togithub.com/electron/electron/pull/38234) (Also in [23](https://togithub.com/electron/electron/pull/38344), [24](https://togithub.com/electron/electron/pull/38343), [25](https://togithub.com/electron/electron/pull/38345)) - Fixed an issue where certain Electron classes had incorrect prototype class names. [#​39036](https://togithub.com/electron/electron/pull/39036) (Also in [25](https://togithub.com/electron/electron/pull/39035)) - Fixed an issue where certain buttons in the PDF viewer didn't work. [#​37856](https://togithub.com/electron/electron/pull/37856) (Also in [23](https://togithub.com/electron/electron/pull/37919), [24](https://togithub.com/electron/electron/pull/37918), [25](https://togithub.com/electron/electron/pull/37920)) - Fixed an issue where default background color for windows might be incorrect. [#​36914](https://togithub.com/electron/electron/pull/36914) (Also in [23](https://togithub.com/electron/electron/pull/38159), [24](https://togithub.com/electron/electron/pull/38158), [25](https://togithub.com/electron/electron/pull/38157)) - Fixed an issue where files could in some circumstances be selection when `openFile` was not passed as a dialog property. [#​38590](https://togithub.com/electron/electron/pull/38590) (Also in [24](https://togithub.com/electron/electron/pull/39097), [25](https://togithub.com/electron/electron/pull/39096)) - Fixed an issue where macOS traffic lights could malfunction on child windows in some circumstances. [#​39242](https://togithub.com/electron/electron/pull/39242) (Also in [24](https://togithub.com/electron/electron/pull/39243), [25](https://togithub.com/electron/electron/pull/39244)) - Fixed an issue where mksnapshot would crash with a sigbus error. [#​38490](https://togithub.com/electron/electron/pull/38490) (Also in [25](https://togithub.com/electron/electron/pull/38510)) - Fixed an issue where non-resizable windows incorrectly enabled the fullscreen/maximize button on initial window creation on macOS. [#​39229](https://togithub.com/electron/electron/pull/39229) (Also in [24](https://togithub.com/electron/electron/pull/39230), [25](https://togithub.com/electron/electron/pull/39228)) - Fixed an issue where notifications created on macOS which have no actions will erroneously have a `Show` button visible. [#​39013](https://togithub.com/electron/electron/pull/39013) (Also in [24](https://togithub.com/electron/electron/pull/39012), [25](https://togithub.com/electron/electron/pull/39014)) - Fixed an issue where passing `webContents.print(null)` could incorrectly trigger an error. [#​38641](https://togithub.com/electron/electron/pull/38641) (Also in [24](https://togithub.com/electron/electron/pull/38640), [25](https://togithub.com/electron/electron/pull/38642)) - Fixed an issue where printing on Windows could trigger a crash. [#​39039](https://togithub.com/electron/electron/pull/39039) (Also in [25](https://togithub.com/electron/electron/pull/39095)) - Fixed an issue where removing a webview in a close callback could cause crashes. [#​39007](https://togithub.com/electron/electron/pull/39007) (Also in [24](https://togithub.com/electron/electron/pull/39009), [25](https://togithub.com/electron/electron/pull/39008)) - Fixed an issue where service workers could not run Chrome APIs in Chrome Extensions Manifest V3. [#​39310](https://togithub.com/electron/electron/pull/39310) (Also in [25](https://togithub.com/electron/electron/pull/39312)) - Fixed an issue where setting bounds on `BrowserViews` can behave inconsistently across platforms. [#​39004](https://togithub.com/electron/electron/pull/39004) (Also in [25](https://togithub.com/electron/electron/pull/39005)) - Fixed an issue where the 'swipe' event wasn't being emitted properly on macOS. [#​37946](https://togithub.com/electron/electron/pull/37946) (Also in [24](https://togithub.com/electron/electron/pull/37965), [25](https://togithub.com/electron/electron/pull/37966)) - Fixed an issue where the pageVisibility API returned incorrect values in some situations when `backgroundThrottling` was disabled. [#​39298](https://togithub.com/electron/electron/pull/39298) (Also in [25](https://togithub.com/electron/electron/pull/39299)) - Fixed an issue which made defaultFontFamily in webPreferences have no effect. [#​37863](https://togithub.com/electron/electron/pull/37863) (Also in [22](https://togithub.com/electron/electron/pull/37970), [23](https://togithub.com/electron/electron/pull/37969), [24](https://togithub.com/electron/electron/pull/37968), [25](https://togithub.com/electron/electron/pull/37967)) - Fixed an issue with `webContents.print({ silent: true })` not working correctly. [#​38812](https://togithub.com/electron/electron/pull/38812) (Also in [25](https://togithub.com/electron/electron/pull/39095)) - Fixed an issue with potential use-after-free of child windows on close and reparent. [#​38679](https://togithub.com/electron/electron/pull/38679) (Also in [24](https://togithub.com/electron/electron/pull/38677), [25](https://togithub.com/electron/electron/pull/38678)) - Fixed an issue with the application menu overlapping menu items on Windows 11. [#​39010](https://togithub.com/electron/electron/pull/39010) (Also in [25](https://togithub.com/electron/electron/pull/39099)) - Fixed an perceived failure when when using Accessibility attribute `AXManualAccessibility` to enable a11y features in Electron. [#​38102](https://togithub.com/electron/electron/pull/38102) (Also in [23](https://togithub.com/electron/electron/pull/38151), [24](https://togithub.com/electron/electron/pull/38147), [25](https://togithub.com/electron/electron/pull/38146)) - Fixed asar integration for `node:child_process` imports. [#​39234](https://togithub.com/electron/electron/pull/39234) (Also in [24](https://togithub.com/electron/electron/pull/39236), [25](https://togithub.com/electron/electron/pull/39235)) - Fixed broken defaults in `shell.openExternal()` options. [#​38038](https://togithub.com/electron/electron/pull/38038) (Also in [22](https://togithub.com/electron/electron/pull/38092), [23](https://togithub.com/electron/electron/pull/38091), [24](https://togithub.com/electron/electron/pull/38072), [25](https://togithub.com/electron/electron/pull/38071)) - Fixed crash in message ports when utility process exits. [#​39346](https://togithub.com/electron/electron/pull/39346) (Also in [25](https://togithub.com/electron/electron/pull/39345)) - Fixed crash when executing eval in the utility process. [#​38014](https://togithub.com/electron/electron/pull/38014) (Also in [22](https://togithub.com/electron/electron/pull/38156), [23](https://togithub.com/electron/electron/pull/38040), [24](https://togithub.com/electron/electron/pull/38041), [25](https://togithub.com/electron/electron/pull/38039)) - Fixed display of title bar buttons on Wayland. [#​39045](https://togithub.com/electron/electron/pull/39045) (Also in [25](https://togithub.com/electron/electron/pull/39044)) - Fixed potential invalid protocol error handling. [#​38635](https://togithub.com/electron/electron/pull/38635) (Also in [25](https://togithub.com/electron/electron/pull/38634)) - Fixed potential issues when minimizing parent windows with non-modal children on macOS. [#​38460](https://togithub.com/electron/electron/pull/38460) (Also in [23](https://togithub.com/electron/electron/pull/38507), [24](https://togithub.com/electron/electron/pull/38508), [25](https://togithub.com/electron/electron/pull/38509)) - Fixed recommended `node-gyp` version in `node.h` error. [#​37829](https://togithub.com/electron/electron/pull/37829) (Also in [22](https://togithub.com/electron/electron/pull/37942), [23](https://togithub.com/electron/electron/pull/37941), [24](https://togithub.com/electron/electron/pull/37927), [25](https://togithub.com/electron/electron/pull/37926)) - Fixed visibility of menu bar when exiting full screen. [#​38683](https://togithub.com/electron/electron/pull/38683) (Also in [23](https://togithub.com/electron/electron/pull/38680), [24](https://togithub.com/electron/electron/pull/38681), [25](https://togithub.com/electron/electron/pull/38682)) - Fixed an issue where `chrome.tabs` did not work properly with Chrome Extensions Manifest V3. [#​39360](https://togithub.com/electron/electron/pull/39360) (Also in [25](https://togithub.com/electron/electron/pull/39359)) #### Other Changes - Backported fix for [`1404797`](https://togithub.com/electron/electron/commit/1404797). [#​38323](https://togithub.com/electron/electron/pull/38323) (Also in [25](https://togithub.com/electron/electron/pull/38333)) #### Documentation - Documentation change - [#​37955](https://togithub.com/electron/electron/pull/37955) - [#​38035](https://togithub.com/electron/electron/pull/38035) #### Notices ##### End of Support for 23.x.y Electron 23.x.y has reached end-of-support as per the project's [support policy](https://www.electronjs.org/docs/latest/tutorial/electron-timelines#version-support-policy). Developers and applications are encouraged to upgrade to a newer version of Electron. ### [`v25.8.2`](https://togithub.com/electron/electron/releases/tag/v25.8.2): electron v25.8.2 [Compare Source](https://togithub.com/electron/electron/compare/v25.8.1...v25.8.2) ### Release Notes for v25.8.2 #### Fixes - Fixed an issue where `BrowserViews` that had their bounds set prior to being added to a `BrowserWindow` could have unexpected incorrect offsets. [#​39851](https://togithub.com/electron/electron/pull/39851) (Also in [26](https://togithub.com/electron/electron/pull/39850), [27](https://togithub.com/electron/electron/pull/39627)) - Fixed an issue where `chrome://gpu` failed to load. [#​39852](https://togithub.com/electron/electron/pull/39852) (Also in [26](https://togithub.com/electron/electron/pull/39584), [27](https://togithub.com/electron/electron/pull/39583)) - Fixed an issue where accelerators representing DOM keys were not correctly converted in `webContents.sendInputEvent()`. [#​39820](https://togithub.com/electron/electron/pull/39820) (Also in [26](https://togithub.com/electron/electron/pull/39821), [27](https://togithub.com/electron/electron/pull/39822)) #### Other Changes - Security: backported fix for [`1477588`](https://togithub.com/electron/electron/commit/1477588). [#​39919](https://togithub.com/electron/electron/pull/39919) ### [`v25.8.1`](https://togithub.com/electron/electron/releases/tag/v25.8.1): electron v25.8.1 [Compare Source](https://togithub.com/electron/electron/compare/v25.8.0...v25.8.1) ### Release Notes for v25.8.1 #### Fixes - Fixed an error where listening to certain `chrome.tabs` events would throw incorrectly. [#​39770](https://togithub.com/electron/electron/pull/39770) (Also in [26](https://togithub.com/electron/electron/pull/39772), [27](https://togithub.com/electron/electron/pull/39771)) - Fixed an issue where BrowserWindows could crash on macOS with `frame: false` and `roundedCorners: false` when going fullscreen. [#​39794](https://togithub.com/electron/electron/pull/39794) (Also in [26](https://togithub.com/electron/electron/pull/39795), [27](https://togithub.com/electron/electron/pull/39796)) - Fixed devtools to allow restoring saved dock state on Windows. [#​39766](https://togithub.com/electron/electron/pull/39766) (Also in [26](https://togithub.com/electron/electron/pull/39768), [27](https://togithub.com/electron/electron/pull/39767)) - Fixed issue where titlebar would be transparent for transparent windows that are fullscreen. [#​39779](https://togithub.com/electron/electron/pull/39779) (Also in [26](https://togithub.com/electron/electron/pull/39780), [27](https://togithub.com/electron/electron/pull/39781)) - Fixed problem with promise resolved to early when browser initiated in-page navigation. [#​39678](https://togithub.com/electron/electron/pull/39678) (Also in [26](https://togithub.com/electron/electron/pull/39679), [27](https://togithub.com/electron/electron/pull/39680)) #### Other Changes - Security: backported fix for CVE-2023-4763. - Security: backported fix for CVE-2023-4762. - Security: backported fix for CVE-2023-4761. [#​39756](https://togithub.com/electron/electron/pull/39756) - Security: backported fix for CVE-2023-4863. [#​39825](https://togithub.com/electron/electron/pull/39825) ### [`v25.8.0`](https://togithub.com/electron/electron/releases/tag/v25.8.0): electron v25.8.0 ### Release Notes for v25.8.0 #### Features - Added the ability to send HTTP headers with `webContents.downloadURL()`. [#​39561](https://togithub.com/electron/electron/pull/39561) (Also in [26](https://togithub.com/electron/electron/pull/39562), [27](https://togithub.com/electron/electron/pull/39560)) #### Fixes - Fixed an issue where child windows opened when the parent window is *already fullscreen* did not respect the child windows' fullscreenability and resizability settings. [#​39642](https://togithub.com/electron/electron/pull/39642) (Also in [24](https://togithub.com/electron/electron/pull/39643), [26](https://togithub.com/electron/electron/pull/39641), [27](https://togithub.com/electron/electron/pull/39640)) - Fixed an issue where the Node.js `assert` module did not work in the renderer process. [#​39622](https://togithub.com/electron/electron/pull/39622) (Also in [24](https://togithub.com/electron/electron/pull/39621), [26](https://togithub.com/electron/electron/pull/39624), [27](https://togithub.com/electron/electron/pull/39623)) - Support Region Capture API with tab MediaStream. [#​39617](https://togithub.com/electron/electron/pull/39617) (Also in [26](https://togithub.com/electron/electron/pull/39618), [27](https://togithub.com/electron/electron/pull/39619)) #### Other Changes - Security: backported fix for CVE-2023-4427. - Security: backported fix for CVE-2023-4428. - Security: backported fix for CVE-2023-4429. - Security: backported fix for CVE-2023-4430. [#​39646](https://togithub.com/electron/electron/pull/39646) - Security: backported fix for CVE-2023-4572. [#​39687](https://togithub.com/electron/electron/pull/39687) ### [`v25.7.0`](https://togithub.com/electron/electron/releases/tag/v25.7.0): electron v25.7.0 ### Release Notes for v25.7.0 #### Features - Added support for --dns-result-order Node.js cli flag. [#​39500](https://togithub.com/electron/electron/pull/39500) (Also in [26](https://togithub.com/electron/electron/pull/39501)) #### Fixes - Fixed an issue where certain properties of `chrome.tabs` Tab objects were not properly considered privileged. [#​39609](https://togithub.com/electron/electron/pull/39609) (Also in [26](https://togithub.com/electron/electron/pull/39607), [27](https://togithub.com/electron/electron/pull/39608)) - Fixed decorations for tiled windows on Wayland. [#​39569](https://togithub.com/electron/electron/pull/39569) (Also in [22](https://togithub.com/electron/electron/pull/39568), [24](https://togithub.com/electron/electron/pull/39567), [26](https://togithub.com/electron/electron/pull/39571), [27](https://togithub.com/electron/electron/pull/39570)) - Fixed to regenerate thumbnail toolbar buttons when explorer is restarted. [#​39586](https://togithub.com/electron/electron/pull/39586) (Also in [24](https://togithub.com/electron/electron/pull/39585), [26](https://togithub.com/electron/electron/pull/39587)) #### Other Changes - Security: backported fix for CVE-2023-4071. - Security: backported fix for CVE-2023-4070. - Security: backported fix for CVE-2023-4075. - Security: backported fix for CVE-2023-4076. - Security: backported fix for CVE-2023-4074. - Security: backported fix for CVE-2023-4072. - Security: backported fix for CVE-2023-4068. - Security: backported fix for [`1464682`](https://togithub.com/electron/electron/commit/1464682). - Security: backported fix for [`1464680`](https://togithub.com/electron/electron/commit/1464680). - Security: backported fix for CVE-2023-4073. - Security: backported fix for [`1465224`](https://togithub.com/electron/electron/commit/1465224). [#​39517](https://togithub.com/electron/electron/pull/39517) - Security: backported fix for CVE-2023-4355. - Security: backported fix for CVE-2023-4354. - Security: backported fix for CVE-2023-4353. - Security: backported fix for CVE-2023-4351. [#​39557](https://togithub.com/electron/electron/pull/39557) ### [`v25.6.0`](https://togithub.com/electron/electron/releases/tag/v25.6.0): electron v25.6.0 [Compare Source](https://togithub.com/electron/electron/compare/v25.5.0...v25.6.0) ### Release Notes for v25.6.0 #### Features - Added partial support for `chrome.tabs.query`. [#​39430](https://togithub.com/electron/electron/pull/39430) (Also in [26](https://togithub.com/electron/electron/pull/39431)) - Added support for several more Node.js cli flags in the main process. [#​39374](https://togithub.com/electron/electron/pull/39374) (Also in [24](https://togithub.com/electron/electron/pull/39372), [26](https://togithub.com/electron/electron/pull/39373)) #### Fixes - Fixed a potential crash when calling `BrowserWindow.moveTop()` on modal child windows. [#​39528](https://togithub.com/electron/electron/pull/39528) (Also in [26](https://togithub.com/electron/electron/pull/39527)) - Fixed an accessibility issue where `VoiceOver` couldn't trigger the tray action when selected to emit the click event. [#​39448](https://togithub.com/electron/electron/pull/39448) (Also in [26](https://togithub.com/electron/electron/pull/39439)) ### [`v25.5.0`](https://togithub.com/electron/electron/releases/tag/v25.5.0): electron v25.5.0 [Compare Source](https://togithub.com/electron/electron/compare/v25.4.0...v25.5.0) ### Release Notes for v25.5.0 #### Features - Added `safeStorage.setUsePlainTextEncryption` and `safeStorage.getSelectedStorageBackend` api. [#​39325](https://togithub.com/electron/electron/pull/39325) (Also in [26](https://togithub.com/electron/electron/pull/39155)) #### Fixes - Fixed a rare crash when closing active native tab on macOS. [#​39409](https://togithub.com/electron/electron/pull/39409) (Also in [26](https://togithub.com/electron/electron/pull/39410)) - Fixed an issue where `browserView.removeBrowserView` could cause a crash in some cases. [#​39408](https://togithub.com/electron/electron/pull/39408) (Also in [24](https://togithub.com/electron/electron/pull/39407), [26](https://togithub.com/electron/electron/pull/39406)) - Fixed an issue where `chrome.tabs.update` did not return a `tab` object that properly reflected potential properties that were changed. [#​39388](https://togithub.com/electron/electron/pull/39388) (Also in [26](https://togithub.com/electron/electron/pull/39389)) - Fixed crash in message ports when utility process exits. [#​39345](https://togithub.com/electron/electron/pull/39345) (Also in [26](https://togithub.com/electron/electron/pull/39346)) - Notes: Fixes an issue where `chrome.tabs` did not work properly with Chrome Extensions Manifest V3. [#​39359](https://togithub.com/electron/electron/pull/39359) (Also in [26](https://togithub.com/electron/electron/pull/39360)) #### Other Changes - Updated Chromium to 114.0.5735.289. [#​39351](https://togithub.com/electron/electron/pull/39351) ### [`v25.4.0`](https://togithub.com/electron/electron/releases/tag/v25.4.0): electron v25.4.0 [Compare Source](https://togithub.com/electron/electron/compare/v25.3.2...v25.4.0) ### Release Notes for v25.4.0 #### Features - Added `senderIsMainFrame` to messages sent via `ipcRenderer.sendTo()`. [#​39208](https://togithub.com/electron/electron/pull/39208) (Also in [24](https://togithub.com/electron/electron/pull/39207), [26](https://togithub.com/electron/electron/pull/39206)) #### Fixes - Fixed a potential crash when re-parenting a BrowserWindow whose first parent has been destroyed. [#​39308](https://togithub.com/electron/electron/pull/39308) (Also in [26](https://togithub.com/electron/electron/pull/39297)) - Fixed an issue on Windows 10 where the title bar was not correct after changing native theme. [#​39314](https://togithub.com/electron/electron/pull/39314) (Also in [26](https://togithub.com/electron/electron/pull/39309)) - Fixed an issue where `chrome.i18n` did not work properly with Chrome Extensions Manifest V3. [#​39329](https://togithub.com/electron/electron/pull/39329) (Also in [26](https://togithub.com/electron/electron/pull/39328)) - Fixed an issue where service workers could not run Chrome APIs in Chrome Extensions Manifest V3. [#​39312](https://togithub.com/electron/electron/pull/39312) (Also in [26](https://togithub.com/electron/electron/pull/39310)) - Fixed an issue where the pageVisibility API returned incorrect values in some situations when `backgroundThrottling` was disabled. [#​39299](https://togithub.com/electron/electron/pull/39299) (Also in [26](https://togithub.com/electron/electron/pull/39298)) #### Other Changes - Fixed a crash while screen sharing on Wayland with PipeWire. [#​39270](https://togithub.com/electron/electron/pull/39270) - Security: backported fix for [`1444438`](https://togithub.com/electron/electron/commit/1444438). - Security: backported fix for CVE-2023-3732. - Security: backported fix for CVE-2023-3728. - Security: backported fix for CVE-2023-3730. [#​39266](https://togithub.com/electron/electron/pull/39266) ### [`v25.3.2`](https://togithub.com/electron/electron/releases/tag/v25.3.2): electron v25.3.2 [Compare Source](https://togithub.com/electron/electron/compare/v25.3.1...v25.3.2) ### Release Notes for v25.3.2 #### Fixes - Fixed `desktopCapturer` thumbnail generation after screen sharing is cancelled on Wayland. [#​39245](https://togithub.com/electron/electron/pull/39245) (Also in [26](https://togithub.com/electron/electron/pull/39246)) - Fixed an issue where macOS traffic lights could malfunction on child windows in some circumstances. [#​39244](https://togithub.com/electron/electron/pull/39244) (Also in [24](https://togithub.com/electron/electron/pull/39243), [26](https://togithub.com/electron/electron/pull/39242)) - Fixed an issue where non-resizable windows incorrectly enabled the fullscreen/maximize button on initial window creation on macOS. [#​39228](https://togithub.com/electron/electron/pull/39228) (Also in [24](https://togithub.com/electron/electron/pull/39230), [26](https://togithub.com/electron/electron/pull/39229)) - Fixed asar integration for `node:child_process` imports. [#​39235](https://togithub.com/electron/electron/pull/39235) (Also in [24](https://togithub.com/electron/electron/pull/39236), [26](https://togithub.com/electron/electron/pull/39234)) #### Other Changes - Updated Chromium to 114.0.5735.248. [#​39181](https://togithub.com/electron/electron/pull/39181) ### [`v25.3.1`](https://togithub.com/electron/electron/releases/tag/v25.3.1): electron v25.3.1 [Compare Source](https://togithub.com/electron/electron/compare/v25.3.0...v25.3.1) ### 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](https://togithub.com/electron/electron/pull/39071) (Also in [24](https://togithub.com/electron/electron/pull/39072), [26](https://togithub.com/electron/electron/pull/39070)) - Fixed an issue where files could in some circumstances be selection when `openFile` was not passed as a dialog property. [#​39096](https://togithub.com/electron/electron/pull/39096) (Also in [24](https://togithub.com/electron/electron/pull/39097), [26](https://togithub.com/electron/electron/pull/38590)) - Fixed an issue with `webContents.print({ silent: true })` not working correctly. [#​39095](https://togithub.com/electron/electron/pull/39095) (Also in [26](https://togithub.com/electron/electron/pull/38812)) - Fixed an issue with the application menu overlapping menu items on Windows 11. [#​39099](https://togithub.com/electron/electron/pull/39099) (Also in [26](https://togithub.com/electron/electron/pull/39010)) #### Other Changes - Updated Chromium to 114.0.5735.243. [#​39146](https://togithub.com/electron/electron/pull/39146) ### [`v25.3.0`](https://togithub.com/electron/electron/releases/tag/v25.3.0): electron v25.3.0 [Compare Source](https://togithub.com/electron/electron/compare/v25.2.0...v25.3.0) ### Release Notes for v25.3.0 #### Features - Added the ability to send HTTP headers with `session.downloadURL()`. [#​38870](https://togithub.com/electron/electron/pull/38870) (Also in [26](https://togithub.com/electron/electron/pull/38871)) #### Fixes - Fixed a crash when listing desktop capture sources on Wayland with PipeWire. [#​39051](https://togithub.com/electron/electron/pull/39051) (Also in [24](https://togithub.com/electron/electron/pull/39050), [26](https://togithub.com/electron/electron/pull/39049)) - Fixed an issue where `protocol.handle()` never called its callback with the `'file'` scheme. [#​39064](https://togithub.com/electron/electron/pull/39064) - Fixed an issue where certain Electron classes had incorrect prototype class names. [#​39035](https://togithub.com/electron/electron/pull/39035) (Also in [26](https://togithub.com/electron/electron/pull/39036)) - Fixed an issue where notifications created on macOS which have no actions will erroneously have a `Show` button visible. [#​39014](https://togithub.com/electron/electron/pull/39014) (Also in [24](https://togithub.com/electron/electron/pull/39012), [26](https://togithub.com/electron/electron/pull/39013)) - Fixed an issue where removing a webview in a close callback could cause crashes. [#​39008](https://togithub.com/electron/electron/pull/39008) (Also in [24](https://togithub.com/electron/electron/pull/39009), [26](https://togithub.com/electron/electron/pull/39007)) - Fixed display of title bar buttons on Wayland. [#​39044](https://togithub.com/electron/electron/pull/39044) (Also in [26](https://togithub.com/electron/electron/pull/39045)) #### Unknown - Fixed an issue where setting bounds on `BrowserViews` can behave inconsistently across platforms. [#​39005](https://togithub.com/electron/electron/pull/39005) (Also in [26](https://togithub.com/electron/electron/pull/39004)) ### [`v25.2.0`](https://togithub.com/electron/electron/releases/tag/v25.2.0): electron v25.2.0 [Compare Source](https://togithub.com/electron/electron/compare/v25.1.1...v25.2.0) ### Release Notes for v25.2.0 #### Features - `node:` prefixed requires are now supported in sandboxed renderer preloads for `events`, `timers` and `url`. [#​38729](https://togithub.com/electron/electron/pull/38729) (Also in [24](https://togithub.com/electron/electron/pull/38727), [26](https://togithub.com/electron/electron/pull/38728)) #### Fixes - Fixed `webContents.printToPDF` `preferCSSPageSize` type error. [#​38791](https://togithub.com/electron/electron/pull/38791) (Also in [24](https://togithub.com/electron/electron/pull/38792), [26](https://togithub.com/electron/electron/pull/38793)) - Fixed a crash seen when trying to change `nativeTheme` source during mara context menu close. [#​38839](https://togithub.com/electron/electron/pull/38839) (Also in [26](https://togithub.com/electron/electron/pull/38840)) - Fixed an issue where `webContents.print()` stopped triggering its callback when the user cancelled the print dialog. [#​38814](https://togithub.com/electron/electron/pull/38814) (Also in [26](https://togithub.com/electron/electron/pull/38735)) #### Other Change