Skip to content

Commit 503c171

Browse files
Bump electron from 42.5.2 to 43.0.0 (#4192)
Bumps [electron](https://github.com/electron/electron) from 42.5.2 to 43.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 v43.0.0</h2> <h1>Release Notes for v43.0.0</h1> <h2>Stack Upgrades</h2> <ul> <li>Chromium <code>150.0.7871.46</code> <ul> <li><a href="https://developer.chrome.com/blog/new-in-chrome-146/">New in 150</a></li> <li><a href="https://developer.chrome.com/blog/new-in-chrome-145/">New in 149</a></li> </ul> </li> <li>Node <code>v24.147.0</code> <ul> <li><a href="https://nodejs.org/en/blog/release/v24.17.0/">Node 24.17.0 blog post</a></li> </ul> </li> <li>V8 <code>15.0</code></li> </ul> <h2>Breaking Changes</h2> <ul> <li>File downloads will open by default in the user's Downloads folder (or Home directory if Downloads doesn't exist). <a href="https://redirect.github.com/electron/electron/pull/49868">#49868</a></li> <li>Fix: If a <code>nativeImage</code> was passed an image with a color profile, its pixel values will now be normalized to SRGB. This ensures that two visually identical images after color space application will receive similar pixel values when converted to a <code>nativeImage</code>. <a href="https://redirect.github.com/electron/electron/pull/51565">#51565</a></li> <li>On Linux, frameless windows now have rounded corners by default, just like on macOS and Windows. Rounded corners can be disabled on all platforms by setting <code>roundedCorners: false</code> on the window. <a href="https://redirect.github.com/electron/electron/pull/52111">#52111</a></li> <li>Removed <code>showHiddenFiles</code> support from the <code>dialog</code> API on Linux. <a href="https://redirect.github.com/electron/electron/pull/51880">#51880</a></li> </ul> <h2>Features</h2> <h3>Additions</h3> <ul> <li>Added Clone method to WebContents. <a href="https://redirect.github.com/electron/electron/pull/49959">#49959</a></li> <li>Added JS stack trace to crash reports on renderer OOM. <a href="https://redirect.github.com/electron/electron/pull/50043">#50043</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/50911">42</a>)<!-- raw HTML omitted --></li> <li>Added Linux support for <code>app.getApplicationInfoForProtocol()</code>. <a href="https://redirect.github.com/electron/electron/pull/51297">#51297</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/51680">42</a>)<!-- raw HTML omitted --></li> <li>Added Notification.remove(), removeAll(), and removeGroup() static methods for macOS. <a href="https://redirect.github.com/electron/electron/pull/51690">#51690</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/51691">42</a>)<!-- raw HTML omitted --></li> <li>Added <code>Notification.getHistory()</code> for macOS, allowing developers to restore all delivered notifications still present in Notification Center. <a href="https://redirect.github.com/electron/electron/pull/50325">#50325</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/51123">42</a>)<!-- raw HTML omitted --></li> <li>Added <code>accessibilityLabel</code> property to <code>MenuItem</code> constructor options and properties for defining screen-reader-friendly labels. <a href="https://redirect.github.com/electron/electron/pull/50240">#50240</a></li> <li>Added <code>allowExtensions</code> privilege to <code>protocol.registerSchemesAsPrivileged()</code> to enable Chrome extensions on custom protocols. <a href="https://redirect.github.com/electron/electron/pull/49951">#49951</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/50588">40</a>, <a href="https://redirect.github.com/electron/electron/pull/50529">41</a>, <a href="https://redirect.github.com/electron/electron/pull/50530">42</a>)<!-- raw HTML omitted --></li> <li>Added <code>app.configureWebAuthn()</code> to enable the Touch ID platform authenticator for WebAuthn on macOS, and a <code>select-webauthn-account</code> session event for choosing between multiple discoverable credentials. <a href="https://redirect.github.com/electron/electron/pull/51255">#51255</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/51412">41</a>, <a href="https://redirect.github.com/electron/electron/pull/51411">42</a>)<!-- raw HTML omitted --></li> <li>Added <code>globalShortcut.setSuspended()</code> and <code>globalShortcut.isSuspended()</code> methods to temporarily suspend and resume global shortcut handling. <a href="https://redirect.github.com/electron/electron/pull/50425">#50425</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/50777">42</a>)<!-- raw HTML omitted --></li> <li>Added <code>id</code> and <code>groupId</code> options to the Notification constructor on macOS. <code>id</code> allows custom identifiers for notifications, and <code>groupId</code> visually groups notifications together in Notification Center. <a href="https://redirect.github.com/electron/electron/pull/50097">#50097</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/50304">42</a>)<!-- raw HTML omitted --></li> <li>Added <code>nv12</code> OSR pixel format support for professional use. <a href="https://redirect.github.com/electron/electron/pull/49799">#49799</a></li> <li>Added <code>view.setBackgroundBlur</code>. <a href="https://redirect.github.com/electron/electron/pull/51076">#51076</a></li> <li>Added <code>webContents.copyVideoFrameAt(x, y)</code> and <code>webContents.saveVideoFrameAs(x, y)</code> methods. <a href="https://redirect.github.com/electron/electron/pull/48149">#48149</a></li> <li>Added id, groupId, and groupTitle support for Windows notifications. <a href="https://redirect.github.com/electron/electron/pull/50328">#50328</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/50895">42</a>)<!-- raw HTML omitted --></li> <li>Added nativeTheme.shouldDifferentiateWithoutColor on macOS. <a href="https://redirect.github.com/electron/electron/pull/49912">#49912</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/50408">41</a>, <a href="https://redirect.github.com/electron/electron/pull/50409">42</a>)<!-- raw HTML omitted --></li> <li>Added session support to net module requests from utility process. <a href="https://redirect.github.com/electron/electron/pull/51279">#51279</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/51698">42</a>)<!-- raw HTML omitted --></li> <li>Added support for heap profiling via <code>contentTracing.enableHeapProfiling()</code>. <a href="https://redirect.github.com/electron/electron/pull/50826">#50826</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/51178">41</a>, <a href="https://redirect.github.com/electron/electron/pull/51162">42</a>)<!-- raw HTML omitted --></li> <li>Added support for importing shared textures using the nv16 pixel format. <a href="https://redirect.github.com/electron/electron/pull/50728">#50728</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/51187">42</a>)<!-- raw HTML omitted --></li> <li>Added support for the <code>urgency</code> option in Notifications on Windows. <a href="https://redirect.github.com/electron/electron/pull/50225">#50225</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/50382">41</a>, <a href="https://redirect.github.com/electron/electron/pull/50383">42</a>)<!-- raw HTML omitted --></li> <li>Added support for using a proxy during yarn install. <a href="https://redirect.github.com/electron/electron/pull/50322">#50322</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/50349">39</a>, <a href="https://redirect.github.com/electron/electron/pull/50352">40</a>, <a href="https://redirect.github.com/electron/electron/pull/50350">41</a>, <a href="https://redirect.github.com/electron/electron/pull/50351">42</a>)<!-- raw HTML omitted --></li> <li>Allowed the <code>--experimental-inspector-network-resource</code> Node.js flag to be passed through Electron. <a href="https://redirect.github.com/electron/electron/pull/49689">#49689</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/51377">41</a>, <a href="https://redirect.github.com/electron/electron/pull/51378">42</a>)<!-- raw HTML omitted --></li> <li>Enabled ThinLTO on macOS builds. <a href="https://redirect.github.com/electron/electron/pull/51819">#51819</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/51823">42</a>)<!-- raw HTML omitted --></li> <li>Enabled profile-guided optimization for V8 builtins in release builds, improving JavaScript builtin performance (Array, String, RegExp, etc.). <a href="https://redirect.github.com/electron/electron/pull/50416">#50416</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/50575">40</a>, <a href="https://redirect.github.com/electron/electron/pull/50574">41</a>, <a href="https://redirect.github.com/electron/electron/pull/50573">42</a>)<!-- raw HTML omitted --></li> <li>Feat: SF Symbol customisation. <a href="https://redirect.github.com/electron/electron/pull/48911">#48911</a></li> <li>Fixed contentTracing module to capture Node.js trace categories. <a href="https://redirect.github.com/electron/electron/pull/50591">#50591</a></li> </ul> <h3>Improvements</h3> <ul> <li>Improved app startup performance — the main process now boots from an embedded Node.js startup snapshot, framework bundles and preload scripts are cached as compiled V8 bytecode, and sandboxed renderer startup data is pushed ahead of navigation instead of fetched via blocking IPC. Preload stack traces now show the correct file path and line number. <a href="https://redirect.github.com/electron/electron/pull/51792">#51792</a> <!-- raw HTML omitted -->(Also in <a href="https://redirect.github.com/electron/electron/pull/51831">42</a>)<!-- raw HTML omitted --></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/electron/electron/commit/5147ac2d278f105ec0801c1ef021709979f6d428"><code>5147ac2</code></a> test: fix lost-event race in custom-protocol-panel devtools fixture (<a href="https://redirect.github.com/electron/electron/issues/52194">#52194</a>)</li> <li><a href="https://github.com/electron/electron/commit/765def358e8ee1ea62732e491467fe73f6f7f230"><code>765def3</code></a> ci: improve lint job code reuse (<a href="https://redirect.github.com/electron/electron/issues/52180">#52180</a>)</li> <li><a href="https://github.com/electron/electron/commit/07f97572b971a73bd1bf12430e658671c8147ed5"><code>07f9757</code></a> fix: remove 1px frame background color from the top of frameless windows on L...</li> <li><a href="https://github.com/electron/electron/commit/2e29d7f2a6c6bf117a5907b0049cda60a008a767"><code>2e29d7f</code></a> build: register Electron.app with LaunchServices before macOS tests (<a href="https://redirect.github.com/electron/electron/issues/52186">#52186</a>)</li> <li><a href="https://github.com/electron/electron/commit/3a77e4a0504f1dad462a2861cb73831a63d6cea3"><code>3a77e4a</code></a> fix: inherit iframe sandbox flags in windows opened on the OpenURL navigation...</li> <li><a href="https://github.com/electron/electron/commit/38467280183db4cfa9aa039ec047f7275b85be59"><code>3846728</code></a> chore: bump chromium to 150.0.7871.46 (43-x-y) (<a href="https://redirect.github.com/electron/electron/issues/52123">#52123</a>)</li> <li><a href="https://github.com/electron/electron/commit/c0d5334217a144264bf49633e050be17b9fa789d"><code>c0d5334</code></a> ci: calculate rerun apply patches date from first run attempt (<a href="https://redirect.github.com/electron/electron/issues/52075">#52075</a>)</li> <li><a href="https://github.com/electron/electron/commit/4a2ff4b955380b83fd15f682b382ce51fc0b1f46"><code>4a2ff4b</code></a> build: only run gn-typescript-definitions for default toolchain (<a href="https://redirect.github.com/electron/electron/issues/52165">#52165</a>)</li> <li><a href="https://github.com/electron/electron/commit/c3d3305347651ddd1d555ea2567b9e0a6a33003f"><code>c3d3305</code></a> chore: cherry-pick 1 changes from chromium (<a href="https://redirect.github.com/electron/electron/issues/52168">#52168</a>)</li> <li><a href="https://github.com/electron/electron/commit/dad4f734e82c03a268e48b4e2a8bc61910e1e8d8"><code>dad4f73</code></a> fix: use the registering session for ProtocolResponse.url requests (<a href="https://redirect.github.com/electron/electron/issues/52131">#52131</a>)</li> <li>Additional commits viewable in <a href="https://github.com/electron/electron/compare/v42.5.2...v43.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=electron&package-manager=npm_and_yarn&previous-version=42.5.2&new-version=43.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) --- <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 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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 975f5e7 commit 503c171

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"vitest": "^4.1.9"
130130
},
131131
"optionalDependencies": {
132-
"electron": "^42.5.2"
132+
"electron": "^43.0.0"
133133
},
134134
"engines": {
135135
"node": ">=22.21.1 <23 || >=24"

0 commit comments

Comments
 (0)