Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 4, 2025

Bumps electron from 32.3.3 to 38.0.0.

Release notes

Sourced from electron's releases.

electron v38.0.0

Release Notes for v38.0.0

Stack Upgrades

Breaking Changes

  • For breaking changes inherited via Chromium, see blog post

Features

Additions

  • Added before-mouse-event to allow intercepting and preventing mouse events in WebContents. #47280 (Also in 36, 37)
  • Added fileBacked and purgeable fields to process.getSystemMemoryInfo() for macOS. #48146 (Also in 37)
  • Added innerWidth and innerHeight options for window.open. #46749 (Also in 35, 36, 37)
  • Added tray.{get|set}AutosaveName to enable macOS tray icons to maintain position across launches. #48077 (Also in 36, 37)
  • Added webFrameMain.fromFrameToken(processId, frameToken) to get a WebFrameMain instance from its frame token. #47942
  • Added sublabel functionality for menus on macOS >= 14.4. #46887 (Also in 35, 36, 37)
  • Added support for app.getRecentDocuments() on Windows and macOS. #47924 (Also in 36, 37)
  • Added support for --no-experimental-global-navigator flag. #47370 (Also in 35, 36, 37)
  • Added support for HIDDevice.collections. #47391 (Also in 36, 37)
  • Added support for screen.dipToScreenPoint(point) and screen.screenToDipPoint(point) on Linux X11. #46211 (Also in 35, 36, 37)
  • Added support for customizing system accent color and highlighting of active window border. #47285 (Also in 35, 36, 37)
  • Added support for menu item role palette and header on macOS. #45538 (Also in 37)
  • Added support for node option --experimental-network-inspection. #46690 (Also in 35, 36, 37)
  • Added the priority and priorityIncremental options to net.request(). #42628 (Also in 36, 37)
  • Adds the ability to change window accent color on Windows after initial window initialization via {get|set}AccentColor. #47939 (Also in 36, 37)

Improvements

  • Exposed win.isContentProtected() to allow developers to check window protection status. #47242 (Also in 36, 37)
  • 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. #47950 (Also in 37)

Fixes

  • Fixed an issue where dialog.showMessageDialog showed a window incorrectly centered to monitor instead of parent window when passed. #48215
  • Fixed an issue where users on MacOS were unable to interact with a webpage loaded via loadURL. #47575
  • Fixed broken chrome://accessibility page. #47497

Also in earlier versions...

  • Fixed addChildView() crashes when adding a closed WebContentsView. #47099 (Also in 35, 36, 37)
  • Fixed a bug where app extensions filters didn't allow for selecting app bundles in macOS file dialogs. #47841 (Also in 36, 37)
  • Fixed a bug where the Referer header was not being set correctly when using webContents.downloadURL(). #47867 (Also in 36, 37)
  • Fixed a child process crash on macOS when the running application is replaced with one that has a newer implementation triggering the sandbox. #47783 (Also in 37)

... (truncated)

Changelog

Sourced from electron's changelog.

Breaking Changes

Breaking changes will be documented here, and deprecation warnings added to JS code where possible, at least one major version before the change is made.

Types of Breaking Changes

This document uses the following convention to categorize breaking changes:

  • API Changed: An API was changed in such a way that code that has not been updated is guaranteed to throw an exception.
  • Behavior Changed: The behavior of Electron has changed, but not in such a way that an exception will necessarily be thrown.
  • Default Changed: Code depending on the old default may break, not necessarily throwing an exception. The old behavior can be restored by explicitly specifying the value.
  • Deprecated: An API was marked as deprecated. The API will continue to function, but will emit a deprecation warning, and will be removed in a future release.
  • Removed: An API or feature was removed, and is no longer supported by Electron.

Planned Breaking API Changes (39.0)

Deprecated: --host-rules command line switch

Chromium is deprecating the --host-rules switch.

You should use --host-resolver-rules instead.

Behavior Changed: window.open popups are always resizable

Per current WHATWG spec, the window.open API will now always create a resizable popup window.

To restore previous behavior:

webContents.setWindowOpenHandler((details) => {
  return {
    action: 'allow',
    overrideBrowserWindowOptions: {
      resizable: details.features.includes('resizable=yes')
    }
  }
})

Behavior Changed: shared texture OSR paint event data structure

When using shared texture offscreen rendering feature, the paint event now emits a more structured object. It moves the sharedTextureHandle, planes, modifier into a unified handle property. See here for more details.

Planned Breaking API Changes (38.0)

Removed: ELECTRON_OZONE_PLATFORM_HINT environment variable

The default value of the --ozone-plaftform flag changed to auto.

... (truncated)

Commits
  • 7943386 fix: BrowserWindow add the same BrowserView (#48201)
  • a733514 fix: file-only picker incorrectly allowing some directories (#48231)
  • d590787 fix: showMessageDialog should center dialog to parent (#48215)
  • 0098160 fix: ensure dragging works again after emitting contextmenu event (#48224)
  • 207f64f chore: bump chromium to 140.0.7339.41 (38-x-y) (#48190)
  • 441cff7 feat: add fileBacked and purgeable fields to `process.getSystemMemoryInfo...
  • 9eede35 build: refactor Linux binary stripping to align with upstream (#48197)
  • 6812b13 docs: fix some module headings (#48195)
  • a64175f ci: use free GH arm runners (#48187)
  • b34e618 docs: add release timeline for Electron 39 (#48176)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 4, 2025
Bumps [electron](https://github.com/electron/electron) from 32.3.3 to 38.0.0.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v32.3.3...v38.0.0)

---
updated-dependencies:
- dependency-name: electron
  dependency-version: 38.0.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/electron-38.0.0 branch from 7516883 to 707e8d1 Compare September 8, 2025 01:33
@frankie-zeng frankie-zeng merged commit 18bd712 into master Sep 8, 2025
2 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/electron-38.0.0 branch September 8, 2025 03:07
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 javascript Pull requests that update javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant