From b1780ae582393c84c097b9a82fef22bf2657de3c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Sep 2025 14:26:38 -0700 Subject: [PATCH] Bump electron from 37.3.1 to 38.0.0 in the electron-major group (#2327) Bumps the electron-major group with 1 update: [electron](https://github.com/electron/electron). Updates `electron` from 37.3.1 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

Features

Additions

Improvements

Fixes

Also in earlier versions...

... (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:

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

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=electron&package-manager=npm_and_yarn&previous-version=37.3.1&new-version=38.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) ---
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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a1b2f6277..2a96c7e96 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "@types/ws": "^8", "@vitejs/plugin-react-swc": "4.0.1", "@vitest/coverage-istanbul": "^3.0.9", - "electron": "^37.3.1", + "electron": "^38.0.0", "electron-builder": "^26.0", "electron-vite": "^4.0.0", "eslint": "^8.57.0", diff --git a/yarn.lock b/yarn.lock index b98d85fb2..9a5bcec2d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10666,16 +10666,16 @@ __metadata: languageName: node linkType: hard -"electron@npm:^37.3.1": - version: 37.3.1 - resolution: "electron@npm:37.3.1" +"electron@npm:^38.0.0": + version: 38.0.0 + resolution: "electron@npm:38.0.0" dependencies: "@electron/get": "npm:^2.0.0" "@types/node": "npm:^22.7.7" extract-zip: "npm:^2.0.1" bin: electron: cli.js - checksum: 10c0/1b171804646f229768c29413629b70b968c4c06686913b69e8615da09c58d63a95817021c31ed3c3bdbba0ad360ad4469773b9dda2662884d7df2866559f95f1 + checksum: 10c0/df3e4eaead2b0de4612a1b593f46667dfd4aff4755727371b5630aada40094cddf82b3837ce0ba3babed8c503275da59187f11da9f4ab26cd20e1362dc103ea6 languageName: node linkType: hard @@ -22661,7 +22661,7 @@ __metadata: css-tree: "npm:^3.1.0" dayjs: "npm:^1.11.15" debug: "npm:^4.4.1" - electron: "npm:^37.3.1" + electron: "npm:^38.0.0" electron-builder: "npm:^26.0" electron-updater: "npm:^6.6" electron-vite: "npm:^4.0.0"