Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 1, 2025

This PR contains the following updates:

Package Change Age Confidence
electron 38.5.0 -> 39.0.0 age confidence

Release Notes

electron/electron (electron)

v39.0.0: electron v39.0.0

Compare Source

Release Notes for v39.0.0

Stack Upgrades

Breaking Changes

  • Added colorSpace to offscreen shared texture info of webContents.on('paint') event.
    • Breaking Changed the signature of OffscreenSharedTexture to provide a unified handle that holds the native handle. #​47315
  • Fixed a spec compliance issue with window.open where it should always create a resizable popup window but did not. #​47540

For breaking changes inherited via Chromium, see blog post

Features

Additions
  • Added RGBAF16 output format with scRGB HDR color space support to Offscreen Rendering. #​48504
  • Added fileBacked and purgeable fields to process.getSystemMemoryInfo() for macOS. #​47628 (Also in 37, 38)
  • Added support for guid Tray constructor option on macOS to allow tray icons to maintain position across launches. #​47838 (Also in 36, 37, 38)
  • Added webFrameMain.fromFrameToken(processId, frameToken) to get a WebFrameMain instance from its frame token. #​47850 (Also in 38)
  • Added methods to enable more granular accessibility support management. #​48625
  • Added support for app.getRecentDocuments() on Windows and macOS. #​45839 (Also in 36, 37, 38)
  • Added support for USBDevice.configurations. #​47459
  • Added the ability to retrieve the system accent color on Linux using systemPreferences.getAccentColor. #​48628
  • Adds the ability to change window accent color on Windows after initial window initialization via {get|set}AccentColor. #​47741 (Also in 36, 37, 38)
  • Allowed for persisting File System API grant status within a given session. #​48326 (Also in 37, 38)
  • Internally switched to using DIR_ASSETS instead of DIR_MODULE/DIR_EXE to locate assets and resources, and added "assets" as a key that can be queried via app.getPath. #​47439 (Also in 37, 38)
  • Support dynamic ESM imports in non-context isolated preloads. #​48488 (Also in 37, 38)

Fixes

  • Fixed an issue where systemPreferences.getAccentColor inverted the color. #​48624
  • Fixed an issue where calling webContents.openDevTools({ mode: 'detach' }) would cause a crash on Wayland. #​48623
  • Fixed crash when accessing webContents.session. #​48344
  • Fixed crash when inspector agent attempts to evaluate on provisional frames. #​48515
  • Fixed crash when passing feature param from commandline --enable-features=Feature:ParamA/Value. #​48442
Also in earlier versions...
  • AccentColor set distinguishes the frame. #​48450 (Also in 37, 38)
  • Fix: runtime JS error that crashes GetPackageJSON. #​48425 (Also in 37, 38)
  • Fixed Wayland configuration through the XDG_SESSION_TYPE environment variable. #​48310 (Also in 38)
  • Fixed Windows dialog.showMessageBox default button handling. #​48521 (Also in 36, 37, 38)
  • Fixed a bug where app extensions filters didn't allow for selecting app bundles in macOS file dialogs. #​47825 (Also in 36, 37, 38)
  • Fixed a bug where the Referer header was not being set correctly when using webContents.downloadURL(). #​47625 (Also in 36, 37, 38)
  • Fixed a child process crash on macOS when the running application is replaced with one that has a newer implementation triggering the sandbox. #​47765 (Also in 37, 38)
  • Fixed a crash possible when calling webContents.loadURL() from a failed webContents.loadURL() call's catch handler. #​48004 (Also in 36, 37, 38)
  • Fixed a crash when adding the -electron-corner-smoothing CSS rule to a stylesheet with no associated document. #​47759 (Also in 37, 38)
  • Fixed a crash when calling desktopCapturer.getSources with an empty thumbnail size. #​47641 (Also in 36, 37, 38)
  • Fixed a crash when calling some webContents functions after window.close(). #​47933 (Also in 36, 37, 38)
  • Fixed a potential crash in dialog.showOpenDialog on Windows with an empty extension filter array. #​48658 (Also in 37, 38)
  • Fixed addBrowserView to prevent unnecessary removal and re-adding of the same BrowserView. #​48053 (Also in 37, 38)
  • Fixed an error when checking environmental variables when using remote checksums when installing Electron via npm. #​48673 (Also in 37, 38)
  • Fixed an issue on some older Windows versions where setContentProtection didn't work as expected. #​47856 (Also in 36, 37, 38)
  • Fixed an issue where app.accessibilitySupportEnabled didn't work as expected. #​48041 (Also in 37, 38)
  • Fixed an issue where dialog.showMessageDialog showed a window incorrectly centered to monitor instead of parent window when passed. #​48181 (Also in 38)
  • Fixed an issue where net.isOnline() always returned true in utilityProcesses. #​48111 (Also in 36, 37, 38)
  • Fixed an issue where require('node:sqlite') didn't work. #​47706 (Also in 36, 37, 38)
  • Fixed an issue where shell.openExternal caused an unexpected dialog to open when there was no app suitable to open the url. #​48518 (Also in 38)
  • Fixed an issue where shell.openPath was not non-blocking as expected. #​48079 (Also in 36, 37, 38)
  • Fixed an issue where trafficLightPosition would not be correctly applied when using titleBarStyle: 'customButtonsOnHover' on macOS 26. #​48621 (Also in 38)
  • Fixed an issue where a file-only picker incorrectly allowed some directories. #​48198 (Also in 36, 37, 38)
  • Fixed an issue where an invalid color passed as a string to accentColor would result in a white accent color. #​47660 (Also in 37, 38)
  • Fixed an issue where authentication via websockets can crash. #​48541 (Also in 37, 38)
  • Fixed an issue where button background on mouse hover with titleBarOverlay wasn't always calculated to provide appropriate minimum contrast. #​48597 (Also in 37, 38)
  • Fixed an issue where certain operations performed in a window close callback could trigger a crash. #​47751 (Also in 36, 37, 38)
  • Fixed an issue where changing the resizable property on a window would break the styles of a transparent window. #​48501 (Also in 37, 38)
  • Fixed an issue where child windows could crash if they were opened from a fullscreen parent and have roundedCorners set to false. #​47664 (Also in 36, 37, 38)
  • Fixed an issue where dragging sometimes didn't work after the contextmenu event was emitted. #​48199 (Also in 36, 37, 38)
  • Fixed an issue where icons didn't show up as expected on Windows Toast notifications. #​48629 (Also in 38)
  • Fixed an issue where importing from electron/utility in an ESM file threw an error at runtime. #​47998 (Also in 36, 37, 38)
  • Fixed an issue where importing from electron/utility threw a ERR_MODULE_NOT_FOUND error at runtime. #​47968 (Also in 36, 37, 38)
  • Fixed an issue where snapped corner state wasn't properly restored after minimizing and then restoring. #​48142 (Also in 36, 37, 38)
  • Fixed an issue where snapped windows aren't correctly snapped when minimized and then unminimized. #​48438 (Also in 37, 38)
  • Fixed an issue where the accent border was drawn on all windows regardless of the window's active focused status. #​47740 (Also in 36, 37, 38)
  • Fixed an issue where the accent color would be accidentally inverted when set to match the system color. #​48085 (Also in 36, 37, 38)
  • Fixed an issue where the window required restart in order to recognize system accent color setting change. #​47629 (Also in 36, 37, 38)
  • Fixed an issue where users on MacOS were unable to interact with a webpage loaded via loadURL. #​47560 (Also in 38)
  • Fixed an issue where video scrubbing would not correctly hold the new position on playback. #​47703 (Also in 37, 38)
  • Fixed an issue where windows opened with window.open would never be offscreen. #​47868 (Also in 37, 38)
  • Fixed an issue where windows used dark theme on Linux all the time without reacting to system theme changes. #​47869 (Also in 37, 38)
  • Fixed applying background material correctly when creating windows on Windows, restored animations, and also fixed the issue where dynamically setting the background material had no effect. #​47386 (Also in 36, 37, 38)
  • Fixed compilation error when disabling extensions and pdf_viewer. #​47964 (Also in 37, 38)
  • Fixed download button does not work in PDF Viewer. #​48404 (Also in 38)
  • Fixed excessive WindowServer GPU usage on macOS Tahoe 26. #​48399 (Also in 36, 37, 38)
  • Fixed high CPU usage with <input> tag on macOS 26. #​48393 (Also in 36, 37, 38)
  • Fixed potential deadlock inside app.getLoginItemSettings on macOS. #​48090 (Also in 36, 37, 38)
  • Fixed shader-f16 to work on Windows. #​48557 (Also in 37, 38)
  • Fixed white flash on call to BrowserWindow.show. #​48559 (Also in 37, 38)
  • Titlebar buttons now appear on the correct side of windows on Wayland in Ubuntu. #​48603 (Also in 38)

Other Changes

  • Added abi_version file to the npm package. #​47598
  • Added platform-specific conditions to the source_set in chromium_src. #​47627
  • Fixed a development issue where the metal toolchain could not be found when building on macOS 26. #​48472 (Also in 37, 38)
  • Electron.Event object backing class is now managed by v8. #​48161
  • app module backing C++ object is now managed by v8. #​48118
  • session module backing C++ object is now managed by v8. #​48141

Documentation

Notices

End of Support for 36.x.y

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


Configuration

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

🚦 Automerge: Enabled.

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 force-pushed the renovate/electron-39.x branch from cdef421 to d21f2e5 Compare November 1, 2025 08:40
@renovate renovate bot force-pushed the renovate/electron-39.x branch from d21f2e5 to 0bab0f9 Compare November 1, 2025 14:12
@renovate renovate bot merged commit 330fbe7 into master Nov 1, 2025
22 checks passed
@renovate renovate bot deleted the renovate/electron-39.x branch November 1, 2025 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant