Skip to content

chore(deps-dev): update dependency electron to v40 - autoclosed#763

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/electron-40.x
Closed

chore(deps-dev): update dependency electron to v40 - autoclosed#763
renovate[bot] wants to merge 1 commit intomainfrom
renovate/electron-40.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 19, 2026

This PR contains the following updates:

Package Change Age Confidence
electron 39.2.740.8.0 age confidence

Release Notes

electron/electron (electron)

v40.8.0: electron v40.8.0

Compare Source

Release Notes for v40.8.0

Features

  • Added a reason property to the Notification 'closed' event on Windows to allow developers to know the reason the Notification was dismissed. #​50030 (Also in 41)

Fixes

  • Fixed shutdown crash on windows when hidden titlebar is enabled. #​50053 (Also in 39, 41)

Other Changes

  • Updated Chromium to 144.0.7559.236. #​50060

v40.7.0: electron v40.7.0

Compare Source

Release Notes for v40.7.0

Features

  • Added support for --experimental-transform-types. #​49883 (Also in 39, 41)

Fixes

  • Allow dynamically updating menu item labels, sublabels, and icons. #​49973 (Also in 41)
  • Fixed safeStorage failing to clean up legacy keychain entries when migrating to suffixed account names on macOS, and fixed first launch creating entries with the wrong (unsuffixed) account name. #​49817
  • Fixed a bug that cause offscreen rendering doesn't have valid screen info and unable to get valid result of related media queries.
    • Added webPreference.offscreen.deviceScaleFactor to allow user specify a value, instead of using user's primary display's value. #​49681
  • Fixed a macOS crash when creating a new tab from the tab overview. #​49934 (Also in 41)
  • Fixed an issue on macOS where Universal Links were not delivered to app.on('continue-activity') on cold launch when NSUserActivity.userInfo was nil. #​50005 (Also in 39, 41)
  • Fixed an issue where VideoFrame objects returned through contextBridge had an incorrect prototype. #​50022 (Also in 39, 41)
  • Fixed an issue where malformed custom toastXml could cause a Notification crash. #​49952 (Also in 41)
  • Fixed menu bar hiding after a call to win.setFullScreen(false) when not in fullscreen on Linux. #​49994 (Also in 41)
  • Fixed menus to correctly emit menu-will-close event when closed after any submenu has been open. #​49963 (Also in 41)

Other Changes

v40.6.1: electron v40.6.1

Compare Source

Release Notes for v40.6.1

Fixes

  • Fixed globalShortcut not working on Wayland with GlobalShortcutsPortal feature enabled. #​49870 (Also in 41)
  • Fixed an issue where making a window fullscreen on Windows, minimizing it and then restoring it broke previous fullscreen state. #​49892 (Also in 41)
  • Fixed an issue where menu item enabled state wasn't updated during key equivalent dispatch when the menu was closed on macOS. #​49889 (Also in 39, 41)
  • Fixed an issue where pressing AltGr could activate or focus the menu bar. #​49915 (Also in 39, 41)
  • Fixed an issue where setting zoomFactor in setWindowOpenHandler's overrideBrowserWindowOptions had no effect on windows opened via window.open(). #​49909 (Also in 41)
  • Fixed draggable regions not updating position when DevTools is docked to the left or right in a frameless window. #​49847 (Also in 39, 41)
  • Fixed memory leak when setting icons on Linux/GTK. #​49898 (Also in 38, 39, 41)
  • Fixed startup crash when V8 sandbox is disabled. #​49884 (Also in 41)

Other Changes

  • Fixed crash in platform_util::Beep() on Linux. #​49864 (Also in 41)
  • Updated Chromium to 144.0.7559.220. #​49869

v40.6.0: electron v40.6.0

Compare Source

Release Notes for v40.6.0
Features
  • Added the ability to disable auto-focusing of WebContents on navigation using webPreferences.focusOnNavigation. #​49512 (Also in 41)
Fixes
  • Fixed an issue where frameless windows had resize issues in Mac App Store builds. #​49856

v40.5.0: electron v40.5.0

Compare Source

Release Notes for v40.5.0
Features
  • Added support for long-animation-frame script attribution (via --enable-features=AlwaysLogLOAFURL). #​49772 (Also in 41)
  • Extended actions support for Windows notifications to include buttons, select dropdowns, and replies. #​49786 (Also in 41)
Fixes
  • Addressed upstream Chromium shift to enable CoreAudio Tap API for audio capture used in electron's desktopCapturer (🍏 macOS). #​49741 (Also in 39, 41)
  • Made pointer lock work on Wayland. #​49283
Other Changes

v40.4.1: electron v40.4.1

Compare Source

Release Notes for v40.4.1

Other Changes

v40.4.0: electron v40.4.0

Compare Source

Release Notes for v40.4.0

Features

  • Added a disclaim option to the UtilityProcess API to allow for TCC disclaiming on macOS. #​49695

v40.3.0: electron v40.3.0

Compare Source

Release Notes for v40.3.0

Fixes

  • Fixed an issue where native modules would either crash or not compile for MacOS 12. #​49702 (Also in 41)
  • Fixed an issue where role-based menu items were incorrectly returning null for their accelerator property. #​49669 (Also in 39, 41)

Other Changes

v40.2.1: electron v40.2.1

Compare Source

Release Notes for v40.2.1

Other Changes

  • Refactored our MSIX updater code to use an upstream Chromium pattern and eliminates the need for special exception handling build flags. #​49687 (Also in 39, 41)

v40.1.0: electron v40.1.0

Compare Source

Release Notes for v40.1.0

Features

  • DevTools errors are no longer printed to console. #​49359

Fixes

  • Fixed setRepresentedFilename() not setting AXDocument accessibility attribute on macOS. #​49417 (Also in 39)
  • Fixed a potential race condition crash when opening DevTools. #​49422 (Also in 39)
  • Fixed an issue in chrome://accessibility. #​49560 (Also in 39, 41)
  • Fixed an issue where shell.writeShortcutLink was throwing TypeError: Insufficient number of arguments when called with just [(path, options)]. #​49501 (Also in 39, 41)
  • Fixed crash in platform_util::Beep() on Linux. #​49482 (Also in 39, 41)
  • Made toplevel icon Wayland protocol work. #​49414 (Also in 39)

Other Changes

Unknown

  • Fixed an issue where some packages weren't correctly filtered on macOS in dialogs. #​49473 (Also in 38, 39, 41)

v40.0.0: electron v40.0.0

Compare Source

Release Notes for v40.0.0

Stack Upgrades

Breaking Changes

  • Deprecated clipboard API access from renderer processes #​48923
  • Fixed an error on debug symbol upload by moving dsym.zip to use tar.xz compression. #​48952

Features

Additions
  • Added "memory-eviction" as a possible reason for a child process to exit. #​48362
  • Added RGBAF16 output format with scRGB HDR color space support to Offscreen Rendering. #​48265 (Also in 39)
  • Added app.isHardwareAccelerationEnabled(). #​47614 (Also in 37, 38, 39)
  • Added bypassCustomProtocolHandlers option to net.request. #​48883 (Also in 38, 39)
  • Added methods to enable more granular accessibility support management. #​48042 (Also in 37, 38, 39)
  • Added support for WebSocket authentication through the login event on webContents. #​49064 (Also in 39)
  • Added support to import external shared texture as VideoFrame. #​48831
  • Added the ability to retrieve the system accent color on Linux using systemPreferences.getAccentColor. #​48027 (Also in 39)
  • Allowed for persisting File System API grant status within a given session. #​48170 (Also in 37, 38, 39)
  • Automatically focus DevTools when element is inspected or breakpoint is triggered. #​46386 (Also in 37, 38, 39)
Improvements
  • Enables resetting accent color to follow system accent settings if a previous color has been set via window.setAccentColor(null). #​48274 (Also in 38, 39)
  • Support dynamic ESM imports in non-context isolated preloads. #​48375 (Also in 37, 38, 39)
  • Updated nativeImage.createFromNamedImage to support SF Symbol names. #​48772 (Also in 39)

Fixes

  • Added support for --no-stdio-init to be used when nul device is disabled on windows. #​47870
  • Fixed an issue on Windows and Linux where no cookie encryption key provider was passed into the network service when cookie encryption was enabled. #​49375
  • Fixed an issue where no cookie encryption provider was passed into the network service when cookie encryption was enabled. #​49350
  • Fixed crash when attempting to resolve modules during process exit. #​49104
  • Fixed drag regions in child windows. #​49312
  • Fixed draw smoothing round corner issue. #​48782
  • Fixed the cookie encryption logic to use the old os_crypt sync implementation present in M142. #​49384
  • Fixed visual artifacts while resizing a window on Windows. #​49191
Also in earlier versions...
  • AccentColor set distinguishes the frame. #​48405 (Also in 37, 38, 39)
  • Corrected the appearance of tiled windows on GNOME (when frame: true), and removed resize handles from tiled edges. #​48835 (Also in 38, 39)
  • Fix: ESM-from-CJS import when CJK characters are in path. #​48862 (Also in 39)
  • Fix: runtime JS error that crashes GetPackageJSON. #​48293 (Also in 37, 38, 39)
  • Fixed Wayland configuration through the XDG_SESSION_TYPE environment variable. #​48301 (Also in 38, 39)
  • Fixed Windows dialog.showMessageBox default button handling. #​48216 (Also in 36, 37, 38, 39)
  • Fixed a Windows notification issue where clicking a native notification would result in an application hang on certain Windows environments. #​49129 (Also in 39)
  • Fixed a potential crash in dialog.showOpenDialog on Windows with an empty extension filter array. #​48640 (Also in 37, 38, 39)
  • Fixed an application crash when clicking or hovering over the native MacOS "Window" menu. Reverts #​48598. #​48799 (Also in 37, 38, 39)
  • Fixed an error when checking environmental variables when using remote checksums when installing Electron via npm. #​48634 (Also in 37, 38, 39)
  • Fixed an issue that menu items on macOS could not be disabled under all circumstances. #​48598 (Also in 37, 38, 39)
  • Fixed an issue where menu-did-close was not emitted properly for some application menus. #​49092 (Also in 38, 39)
  • Fixed an issue where shell.openExternal caused an unexpected dialog to open when there was no app suitable to open the url. #​48502 (Also in 38, 39)
  • Fixed an issue where systemPreferences.getAccentColor inverted the color. #​48511 (Also in 37, 38, 39)
  • Fixed an issue where trafficLightPosition would not be correctly applied when using titleBarStyle: 'customButtonsOnHover' on macOS 26. #​48538 (Also in 37, 38, 39)
  • Fixed an issue where authentication via websockets can crash. #​48510 (Also in 37, 38, 39)
  • Fixed an issue where button background on mouse hover with titleBarOverlay wasn't always calculated to provide appropriate minimum contrast. #​48568 (Also in 37, 38, 39)
  • Fixed an issue where calling webContents.openDevTools({ mode: 'detach' }) would cause a crash on Wayland. #​48600 (Also in 38, 39)
  • Fixed an issue where changing the resizable property on a window would break the styles of a transparent window. #​48378 (Also in 37, 38, 39)
  • Fixed an issue where icons didn't show up as expected on Windows Toast notifications. #​48543 (Also in 38, 39)
  • Fixed an issue where snapped windows aren't correctly snapped when minimized and then unminimized. #​48296 (Also in 37, 38, 39)
  • Fixed an issue where some apps would throw an exception on launch. #​48976 (Also in 39)
  • Fixed an issue where the close callback param for menu.popup would fire when any arbitrary submenu of the given menu closed, and not the menu itself. #​49046 (Also in 38, 39)
  • Fixed crash on windows when UTF-8 is in path. #​48942 (Also in 38, 39)
  • Fixed crash when accessing webContents.session or webContents.debugger. #​48318 (Also in 39)
  • Fixed crash when creating event object for ipc events. #​48991 (Also in 39)
  • Fixed crash when inspector agent attempts to evaluate on provisional frames. #​48503 (Also in 37, 38, 39)
  • Fixed crash when passing feature param from commandline --enable-features=Feature:ParamA/Value. #​48411 (Also in 39)
  • Fixed crash when reading system certificates via nodejs tls module. #​49041 (Also in 39)
  • Fixed download button does not work in PDF Viewer. #​48372 (Also in 38, 39)
  • Fixed excessive WindowServer GPU usage on macOS Tahoe 26. #​48376 (Also in 36, 37, 38, 39)
  • Fixed high CPU usage with <input> tag on macOS 26. #​48379 (Also in 36, 37, 38, 39)
  • Fixed incorrect signal variable reference in nan-spec-runner that could cause install failures to go undetected. #​48639 (Also in 38, 39)
  • Fixed oom crash when optimizing certain wasm functions involving large phi nodes. #​48816 (Also in 38, 39)
  • Fixed shader-f16 to work on Windows. #​48342 (Also in 37, 38, 39)
  • Fixed the issue where the parent window leave disabled after the modal window call show() multiple time. #​49021 (Also in 38, 39)
  • Fixed the issue where the parent window remained interactive after the modal window was opened. #​48864 (Also in 38, 39)
  • Fixed white flash on call to BrowserWindow.show. #​47151 (Also in 37, 38, 39)
  • Reenable V8 trap handlers for wasm in browser and utility process, improves runtime execution of wasm. #​48839 (Also in 39)
  • Requests sent via net are now capable of having their headers modified to use reserved headers via webRequest. #​49241 (Also in 39)
  • Titlebar buttons now appear on the correct side of windows on Wayland in Ubuntu. #​48490 (Also in 38, 39)
  • Windows: Calling window.setFocusable(true) will no longer cause a window to lose focus. #​48927 (Also in 39)

Other Changes

Documentation

Notices

End of Support for 37.x.y

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

v39.8.2: electron v39.8.2

Compare Source

Release Notes for v39.8.2

Other Changes

v39.8.1: electron v39.8.1

Compare Source

Release Notes for v39.8.1

Fixes

  • Added validation to protocol client methods to reject protocol names that do not conform to the RFC 3986 URI scheme grammar. #​50156 (Also in 38, 40, 41)
  • Fixed an issue on macOS where calling autoUpdater.quitAndInstall() could fail if checkForUpdates() was called again after an update was already downloaded. #​50215 (Also in 40, 41)
  • Fixed an issue where Chrome Devtools menus may not appear in certain embedded windows. #​50136 (Also in 40, 41)
  • Fixed an issue where additionalData passed to app.requestSingleInstanceLock on Windows could be truncated or fail to deserialize in the primary instance's second-instance event. #​50174 (Also in 38, 40, 41)
  • Fixed an issue where screen.getCursorScreenPoint() crashed on Wayland when it was called before a BrowserWindow had been created. #​50106 (Also in 40, 41)
  • Fixed an issue where calling setBounds on a WebContentsView could trigger redundant page-favicon-updated events even when the favicon had not changed. #​50086 (Also in 40, 41)
  • Fixed an issue where invalid characters in custom protocol or webRequest response header values were not rejected. #​50129 (Also in 38, 40, 41)
  • Fixed an issue where permission and device-chooser handlers received the top-level page origin instead of the requesting subframe's origin. #​50147 (Also in 38, 40, 41)
  • Fixed an issue where traffic light buttons would flash at position (0,0) when restoring a window with a custom trafficLightPosition from minimization on macOS. #​50208 (Also in 40, 41)
  • Fixed bug where opening a message box immediately upon closing a child window may cause the parent window to freeze on Windows. #​50190 (Also in 40, 41)
  • Fixed menu bar hiding after a call to win.setFullScreen(false) when not in fullscreen on Linux. #​49995 (Also in 40, 41)
  • Fixed shutdown crash on windows when hidden titlebar is enabled. #​50054 (Also in 40, 41)
  • Reverted AltGr key fix that caused menu bar to no longer show on Windows. #​50109 (Also in 40, 41)

Other Changes

v39.8.0: electron v39.8.0

Compare Source

Release Notes for v39.8.0

Features

  • Added support for --experimental-transform-types. #​49881 (Also in 40, 41)

Fixes

  • Fixed an issue on macOS where Universal Links were not delivered to app.on('continue-activity') on cold launch when NSUserActivity.userInfo was nil. #​50004 (Also in 40, 41)
  • Fixed an issue where VideoFrame objects returned through contextBridge had an incorrect prototype. #​50021 (Also in 40, 41)
  • Fixed an issue where setting zoomFactor in setWindowOpenHandler's overrideBrowserWindowOptions had no effect on windows opened via window.open(). #​49910 (Also in 40, 41)

v39.7.0: electron v39.7.0

Compare Source

Release Notes for v39.7.0

Features

  • Added support for long-animation-frame script attribution (via --enable-features=AlwaysLogLOAFURL). #​49771 (Also in 40, 41)

Fixes

  • Fixed an issue where frameless windows had resize issues in Mac App Store builds. #​49861 (Also in 40, 41)
  • Fixed an issue where menu item enabled state wasn't updated during key equivalent dispatch when the menu was closed on macOS. #​49888 (Also in 40, 41)
  • Fixed an issue where pressing AltGr could activate or focus the menu bar. #​49914 (Also in 40, 41)
  • Fixed memory leak when setting icons on Linux/GTK. #​49896 (Also in 38, 40, 41)

v39.6.1: electron v39.6.1

Compare Source

Release Notes for v39.6.1

Fixes

  • Fixed draggable regions not updating position when DevTools is docked to the left or right in a frameless window. #​49846 (Also in 41)

v39.6.0: electron v39.6.0

Compare Source

Release Notes for v39.6.0

Features

  • Added a disclaim option to the UtilityProcess API to allow for TCC disclaiming on macOS. #​49696 (Also in 40, 41)

Fixes

  • Addressed upstream Chromium shift to enable CoreAudio Tap API for audio capture used in electron's desktopCapturer (🍏 macOS). #​49740 (Also in 41)

Other Changes

v39.5.2: electron v39.5.2

Compare Source

Release Notes for v39.5.2

Fixes

  • Fixed a crash that could occur when using the File System Access API. #​49634 (Also in 40, 41)
  • Fixed an issue where alt+space triggered th system context menu even if an accelerator was registered for the hotkey combination. #​49641 (Also in 40, 41)
  • Fixed an issue where role-based menu items were incorrectly returning null for their accelerator property. #​49670 (Also in 40, 41)
  • Fixed application input broken on certain wayland compositors when DND action was cancelled. #​49694
  • Fixed dock menu items not respecting enabled and checked properties on macOS. #​49626 (Also in 38, 40, 41)

Other Changes

  • Refactored our MSIX updater code to use an upstream Chromium pattern and eliminates the need for special exception handling build flags. #​49688 (Also in 40, 41)

Unknown

  • Fixed squirrel.mac stacked update behavior to old staged updates. #​49637 (Also in 40, 41)

v39.5.1: electron v39.5.1

Compare Source

Release Notes for v39.5.1

Fixes

v39.5.0: electron v39.5.0

Compare Source

Release Notes for v39.5.0

Features

  • Added support for MSIX auto-updating. #​49585 (Also in 40, 41)

Fixes

  • Fixed an issue where menu item accelerators stopped working after the item's enabled property was toggled on macOS. #​49593 (Also in 40, 41)
  • Fixed an issue whereby a duplicate "Toggle Full Screen" menu item appeared in the View menu on macOS. #​49597 (Also in 38, 40, 41)

v39.4.0: electron v39.4.0

Compare Source

Release Notes for v39.4.0

Fixes

  • Fixed an issue in chrome://accessibility. #​49559 (Also in 40, 41)
  • Fixed an issue where shell.writeShortcutLink was throwing TypeError: Insufficient number of arguments when called with just [(path, options)]. #​49502 (Also in 40, 41)
  • Fixed crash in platform_util::Beep() on Linux. #​49484 (Also in 40, 41)

Other Changes

Unknown

  • Fixed an issue where some packages weren't correctly filtered on macOS in dialogs. #​49472 (Also in 38, 40, 41)

v39.3.0: electron v39.3.0

Compare Source

Release Notes for v39.3.0

Features

  • Added support for WebSocket authentication through the login event on webContents. #​49065 (Also in 40)

Fixes

  • Fixed setRepresentedFilename() not setting AXDocument accessibility attribute on macOS. #​49418 (Also in 40)
  • Fixed a potential race condition crash when opening DevTools. #​49423 (Also in 40)
  • Fixed stack overflow when compiling deeply nested JS functions. #​49360
  • Made toplevel icon Wayland protocol work. #​49415 (Also in 40)
  • Requests sent via net are now capable of having their headers modified to use reserved headers via webRequest. #​49242 (Also in 40)

Other Changes


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added dependencies Pull requests that update a dependency file npm labels Jan 19, 2026
@renovate renovate bot force-pushed the renovate/electron-40.x branch 10 times, most recently from 57b9119 to b4fd784 Compare January 26, 2026 05:14
@renovate renovate bot force-pushed the renovate/electron-40.x branch 2 times, most recently from 6356aed to df4f21b Compare February 2, 2026 06:02
@renovate renovate bot force-pushed the renovate/electron-40.x branch 3 times, most recently from 09b45f7 to 8ba0e8f Compare February 14, 2026 22:05
@renovate renovate bot force-pushed the renovate/electron-40.x branch 4 times, most recently from 0899d74 to aad8d3e Compare February 23, 2026 05:56
@renovate renovate bot force-pushed the renovate/electron-40.x branch 2 times, most recently from 0229d8f to f40dd4c Compare March 2, 2026 08:38
@renovate renovate bot force-pushed the renovate/electron-40.x branch 2 times, most recently from 6b97b29 to 4632efd Compare March 9, 2026 00:43
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/electron-40.x branch from 4632efd to dcd942f Compare March 9, 2026 05:43
@renovate renovate bot changed the title chore(deps-dev): update dependency electron to v40 chore(deps-dev): update dependency electron to v40 - autoclosed Mar 14, 2026
@renovate renovate bot closed this Mar 14, 2026
@renovate renovate bot deleted the renovate/electron-40.x branch March 14, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file npm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants