Commit b1780ae
authored
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
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/electron/electron/releases">electron's
releases</a>.</em></p>
<blockquote>
<h2>electron v38.0.0</h2>
<h1>Release Notes for v38.0.0</h1>
<h2>Stack Upgrades</h2>
<ul>
<li>Chromium <code>140.0.7339.41</code>
<ul>
<li><a href="https://developer.chrome.com/blog/new-in-chrome-140/">New
in 140</a></li>
<li><a href="https://developer.chrome.com/blog/new-in-chrome-139/">New
in 139</a></li>
</ul>
</li>
<li>Node <code>22.18.0</code>
<ul>
<li><a href="https://nodejs.org/en/blog/release/v22.18.0/">Node 22.18.0
blog post</a></li>
</ul>
</li>
<li>V8 <code>14.0</code></li>
</ul>
<h2>Breaking Changes</h2>
<ul>
<li>For breaking changes inherited via Chromium, see blog post</li>
</ul>
<h2>Features</h2>
<h3>Additions</h3>
<ul>
<li>Added <code>before-mouse-event</code> to allow intercepting and
preventing mouse events in WebContents. <a
href="https://redirect.github.com/electron/electron/pull/47280">#47280</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47365">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47364">37</a>)<!--
raw HTML omitted --></li>
<li>Added <code>fileBacked</code> and <code>purgeable</code> fields to
<code>process.getSystemMemoryInfo()</code> for macOS. <a
href="https://redirect.github.com/electron/electron/pull/48146">#48146</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/48143">37</a>)<!--
raw HTML omitted --></li>
<li>Added <code>innerWidth</code> and <code>innerHeight</code> options
for window.open. <a
href="https://redirect.github.com/electron/electron/pull/46749">#46749</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47045">35</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47038">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47039">37</a>)<!--
raw HTML omitted --></li>
<li>Added <code>tray.{get|set}AutosaveName</code> to enable macOS tray
icons to maintain position across launches. <a
href="https://redirect.github.com/electron/electron/pull/48077">#48077</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/48078">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/48076">37</a>)<!--
raw HTML omitted --></li>
<li>Added <code>webFrameMain.fromFrameToken(processId,
frameToken)</code> to get a <code>WebFrameMain</code> instance from its
frame token. <a
href="https://redirect.github.com/electron/electron/pull/47942">#47942</a></li>
<li>Added sublabel functionality for menus on macOS >= 14.4. <a
href="https://redirect.github.com/electron/electron/pull/46887">#46887</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47041">35</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47040">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47042">37</a>)<!--
raw HTML omitted --></li>
<li>Added support for <code>app.getRecentDocuments()</code> on Windows
and macOS. <a
href="https://redirect.github.com/electron/electron/pull/47924">#47924</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47925">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47923">37</a>)<!--
raw HTML omitted --></li>
<li>Added support for <code>--no-experimental-global-navigator</code>
flag. <a
href="https://redirect.github.com/electron/electron/pull/47370">#47370</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47416">35</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47417">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47418">37</a>)<!--
raw HTML omitted --></li>
<li>Added support for <code>HIDDevice.collections</code>. <a
href="https://redirect.github.com/electron/electron/pull/47391">#47391</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47484">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47483">37</a>)<!--
raw HTML omitted --></li>
<li>Added support for <code>screen.dipToScreenPoint(point)</code> and
<code>screen.screenToDipPoint(point)</code> on Linux X11. <a
href="https://redirect.github.com/electron/electron/pull/46211">#46211</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47124">35</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47125">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/46895">37</a>)<!--
raw HTML omitted --></li>
<li>Added support for customizing system accent color and highlighting
of active window border. <a
href="https://redirect.github.com/electron/electron/pull/47285">#47285</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47539">35</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47538">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47537">37</a>)<!--
raw HTML omitted --></li>
<li>Added support for menu item role <code>palette</code> and
<code>header</code> on macOS. <a
href="https://redirect.github.com/electron/electron/pull/45538">#45538</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47245">37</a>)<!--
raw HTML omitted --></li>
<li>Added support for node option
<code>--experimental-network-inspection</code>. <a
href="https://redirect.github.com/electron/electron/pull/46690">#46690</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47029">35</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47030">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47031">37</a>)<!--
raw HTML omitted --></li>
<li>Added the priority and priorityIncremental options to net.request().
<a
href="https://redirect.github.com/electron/electron/pull/42628">#42628</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47320">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47321">37</a>)<!--
raw HTML omitted --></li>
<li>Adds the ability to change window accent color on Windows after
initial window initialization via <code>{get|set}AccentColor</code>. <a
href="https://redirect.github.com/electron/electron/pull/47939">#47939</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/48018">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/48017">37</a>)<!--
raw HTML omitted --></li>
</ul>
<h3>Improvements</h3>
<ul>
<li>Exposed <code>win.isContentProtected()</code> to allow developers to
check window protection status. <a
href="https://redirect.github.com/electron/electron/pull/47242">#47242</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47311">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47310">37</a>)<!--
raw HTML omitted --></li>
<li>Internally switched to using <code>DIR_ASSETS</code> instead of
<code>DIR_MODULE</code>/<code>DIR_EXE</code> to locate assets and
resources, and added "assets" as a key that can be queried via
<code>app.getPath</code>. <a
href="https://redirect.github.com/electron/electron/pull/47950">#47950</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47951">37</a>)<!--
raw HTML omitted --></li>
</ul>
<h2>Fixes</h2>
<ul>
<li>Fixed an issue where <code>dialog.showMessageDialog</code> showed a
window incorrectly centered to monitor instead of parent window when
passed. <a
href="https://redirect.github.com/electron/electron/pull/48215">#48215</a></li>
<li>Fixed an issue where users on MacOS were unable to interact with a
webpage loaded via loadURL. <a
href="https://redirect.github.com/electron/electron/pull/47575">#47575</a></li>
<li>Fixed broken <code>chrome://accessibility</code> page. <a
href="https://redirect.github.com/electron/electron/pull/47497">#47497</a></li>
</ul>
<h3>Also in earlier versions...</h3>
<ul>
<li>Fixed <code>addChildView()</code> crashes when adding a closed
WebContentsView. <a
href="https://redirect.github.com/electron/electron/pull/47099">#47099</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47339">35</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47340">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47338">37</a>)<!--
raw HTML omitted --></li>
<li>Fixed a bug where <code>app</code> extensions filters didn't allow
for selecting app bundles in macOS file dialogs. <a
href="https://redirect.github.com/electron/electron/pull/47841">#47841</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47840">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47839">37</a>)<!--
raw HTML omitted --></li>
<li>Fixed a bug where the <code>Referer</code> header was not being set
correctly when using <code>webContents.downloadURL()</code>. <a
href="https://redirect.github.com/electron/electron/pull/47867">#47867</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47866">36</a>,
<a
href="https://redirect.github.com/electron/electron/pull/47865">37</a>)<!--
raw HTML omitted --></li>
<li>Fixed a child process crash on macOS when the running application is
replaced with one that has a newer implementation triggering the
sandbox. <a
href="https://redirect.github.com/electron/electron/pull/47783">#47783</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/47784">37</a>)<!--
raw HTML omitted --></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/electron/electron/blob/main/docs/breaking-changes.md">electron's
changelog</a>.</em></p>
<blockquote>
<h1>Breaking Changes</h1>
<p>Breaking changes will be documented here, and deprecation warnings
added to JS code where possible, at least <a
href="https://github.com/electron/electron/blob/main/docs/tutorial/electron-versioning.md#semver">one
major version</a> before the change is made.</p>
<h3>Types of Breaking Changes</h3>
<p>This document uses the following convention to categorize breaking
changes:</p>
<ul>
<li><strong>API Changed:</strong> An API was changed in such a way that
code that has not been updated is guaranteed to throw an exception.</li>
<li><strong>Behavior Changed:</strong> The behavior of Electron has
changed, but not in such a way that an exception will necessarily be
thrown.</li>
<li><strong>Default Changed:</strong> Code depending on the old default
may break, not necessarily throwing an exception. The old behavior can
be restored by explicitly specifying the value.</li>
<li><strong>Deprecated:</strong> 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.</li>
<li><strong>Removed:</strong> An API or feature was removed, and is no
longer supported by Electron.</li>
</ul>
<h2>Planned Breaking API Changes (39.0)</h2>
<h3>Deprecated: <code>--host-rules</code> command line switch</h3>
<p>Chromium is deprecating the <code>--host-rules</code> switch.</p>
<p>You should use <code>--host-resolver-rules</code> instead.</p>
<h3>Behavior Changed: window.open popups are always resizable</h3>
<p>Per current <a
href="https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-open-dev">WHATWG
spec</a>, the <code>window.open</code> API will now always create a
resizable popup window.</p>
<p>To restore previous behavior:</p>
<pre lang="js"><code>webContents.setWindowOpenHandler((details) => {
return {
action: 'allow',
overrideBrowserWindowOptions: {
resizable: details.features.includes('resizable=yes')
}
}
})
</code></pre>
<h3>Behavior Changed: shared texture OSR <code>paint</code> event data
structure</h3>
<p>When using shared texture offscreen rendering feature, the
<code>paint</code> event now emits a more structured object.
It moves the <code>sharedTextureHandle</code>, <code>planes</code>,
<code>modifier</code> into a unified <code>handle</code> property.
See <a
href="https://www.electronjs.org/docs/latest/api/structures/offscreen-shared-texture">here</a>
for more details.</p>
<h2>Planned Breaking API Changes (38.0)</h2>
<h3>Removed: <code>ELECTRON_OZONE_PLATFORM_HINT</code> environment
variable</h3>
<p>The default value of the <code>--ozone-plaftform</code> flag <a
href="https://chromium-review.googlesource.com/c/chromium/src/+/6775426">changed
to <code>auto</code></a>.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/electron/electron/commit/79433861fe10e4f7841153461fd3778b400a4c0b"><code>7943386</code></a>
fix: BrowserWindow add the same BrowserView (<a
href="https://redirect.github.com/electron/electron/issues/48201">#48201</a>)</li>
<li><a
href="https://github.com/electron/electron/commit/a7335142a4fce82ba1b0974e888d013ffb4c8782"><code>a733514</code></a>
fix: file-only picker incorrectly allowing some directories (<a
href="https://redirect.github.com/electron/electron/issues/48231">#48231</a>)</li>
<li><a
href="https://github.com/electron/electron/commit/d5907878bc436c10cad163f3f0a57c2f0c6dcc5a"><code>d590787</code></a>
fix: showMessageDialog should center dialog to parent (<a
href="https://redirect.github.com/electron/electron/issues/48215">#48215</a>)</li>
<li><a
href="https://github.com/electron/electron/commit/0098160f2aed15ffc015f7daae0287302631e3c1"><code>0098160</code></a>
fix: ensure dragging works again after emitting contextmenu event (<a
href="https://redirect.github.com/electron/electron/issues/48224">#48224</a>)</li>
<li><a
href="https://github.com/electron/electron/commit/207f64fec8188e2e450a282de2f5d8314975fd2c"><code>207f64f</code></a>
chore: bump chromium to 140.0.7339.41 (38-x-y) (<a
href="https://redirect.github.com/electron/electron/issues/48190">#48190</a>)</li>
<li><a
href="https://github.com/electron/electron/commit/441cff700b8b6e2043211f2a06f2c21cc4a9884c"><code>441cff7</code></a>
feat: add <code>fileBacked</code> and <code>purgeable</code> fields to
`process.getSystemMemoryInfo...</li>
<li><a
href="https://github.com/electron/electron/commit/9eede35fc10ab2acac7761245c4619682863c22c"><code>9eede35</code></a>
build: refactor Linux binary stripping to align with upstream (<a
href="https://redirect.github.com/electron/electron/issues/48197">#48197</a>)</li>
<li><a
href="https://github.com/electron/electron/commit/6812b131617341ec05f0f9bb9bb31a192b2b5170"><code>6812b13</code></a>
docs: fix some module headings (<a
href="https://redirect.github.com/electron/electron/issues/48195">#48195</a>)</li>
<li><a
href="https://github.com/electron/electron/commit/a64175ff1c27e12cf938c745e4d626d23dbfe9fd"><code>a64175f</code></a>
ci: use free GH arm runners (<a
href="https://redirect.github.com/electron/electron/issues/48187">#48187</a>)</li>
<li><a
href="https://github.com/electron/electron/commit/b34e61828550dff0b7e86e052c271e81efebf1ac"><code>b34e618</code></a>
docs: add release timeline for Electron 39 (<a
href="https://redirect.github.com/electron/electron/issues/48176">#48176</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/electron/electron/compare/v37.3.1...v38.0.0">compare
view</a></li>
</ul>
</details>
<br />
[](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)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 <dependency name> 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 <dependency name> 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 <dependency name>` 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 <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent e7cd584 commit b1780ae
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10666 | 10666 | | |
10667 | 10667 | | |
10668 | 10668 | | |
10669 | | - | |
10670 | | - | |
10671 | | - | |
| 10669 | + | |
| 10670 | + | |
| 10671 | + | |
10672 | 10672 | | |
10673 | 10673 | | |
10674 | 10674 | | |
10675 | 10675 | | |
10676 | 10676 | | |
10677 | 10677 | | |
10678 | | - | |
| 10678 | + | |
10679 | 10679 | | |
10680 | 10680 | | |
10681 | 10681 | | |
| |||
22661 | 22661 | | |
22662 | 22662 | | |
22663 | 22663 | | |
22664 | | - | |
| 22664 | + | |
22665 | 22665 | | |
22666 | 22666 | | |
22667 | 22667 | | |
| |||
0 commit comments