
























Electron 43 has been released! It includes upgrades to Chromium 150.0.7871.46, V8 15.0, and Node v24.17.0.
The Electron team is excited to announce the release of Electron 43! You can install it with npm via npm install electron@latest or download it from our releases website. Continue reading for details about this release.
If you have any feedback, please share it with us on Bluesky or Mastodon, or join our community Discord! Bugs and feature requests can be reported in Electron's issue tracker.
Electron 43 ships several improvements to 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. As a bonus, preload stack traces now show the correct file path and line number. #51792
On Linux, frameless windows now have rounded corners by default, matching the behavior on macOS and Windows. Rounded corners can be disabled on all platforms by setting roundedCorners: false on the window. #52111
File downloads will now open by default in the user's Downloads folder (or the Home directory if Downloads doesn't exist). #49868
Electron 43 adds Notification.remove(), Notification.removeAll(), and Notification.removeGroup() static methods on macOS, giving developers finer control over delivered notifications. Combined with the existing Notification.getHistory() API, you can now fully manage the lifecycle of notifications in Notification Center. #51690
Chromium 150.0.7871.46
Node v24.17.0
V8 15.0
Electron 43 upgrades Chromium from 148.0.7778.96 to 150.0.7871.46, Node.js from v24.15.0 to v24.17.0, and V8 from 14.8 to 15.0.
WebContents. #49959app.getApplicationInfoForProtocol(). #51297Notification.remove(), Notification.removeAll(), and Notification.removeGroup() static methods for macOS. #51690Notification.getHistory() for macOS, allowing developers to restore all delivered notifications still present in Notification Center. #50325accessibilityLabel property to MenuItem constructor options and properties for defining screen-reader-friendly labels. #50240allowExtensions privilege to protocol.registerSchemesAsPrivileged() to enable Chrome extensions on custom protocols. #49951app.configureWebAuthn() to enable the Touch ID platform authenticator for WebAuthn on macOS, and a select-webauthn-account session event for choosing between multiple discoverable credentials. #51255globalShortcut.setSuspended() and globalShortcut.isSuspended() methods to temporarily suspend and resume global shortcut handling. #50425id and groupId options to the Notification constructor on macOS. id allows custom identifiers for notifications, and groupId visually groups notifications together in Notification Center. #50097id, groupId, and groupTitle support for Windows notifications. #50328nativeTheme.shouldDifferentiateWithoutColor on macOS. #49912nv12 OSR pixel format support for professional use. #49799view.setBackgroundBlur(). #51076webContents.copyVideoFrameAt(x, y) and webContents.saveVideoFrameAs(x, y) methods. #48149contentTracing.enableHeapProfiling(). #50826urgency option in Notifications on Windows. #50225--experimental-inspector-network-resource Node.js flag to be passed through Electron. #49689app.getApplicationNameForProtocol() on Linux. #51251app.isDefaultProtocolClient() and app.setAsDefaultProtocolClient() on Linux. #51316webRequest header conversions and several other gin converter hot paths. #51608File downloads will now open by default in the user's Downloads folder (or the Home directory if the Downloads folder doesn't exist). #49868
nativeImage pixel values are normalized to SRGBIf a nativeImage 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 nativeImage. #51565
On Linux, frameless windows now have rounded corners by default, matching the behavior on macOS and Windows. Rounded corners can be disabled on all platforms by setting roundedCorners: false on the window. #52111
Frameless windows with Window Controls Overlay (WCO) now adopt the native title bar layout and user settings on Linux. For example, controls will appear on the left side of the frame on RTL systems, and only the close button will be visible by default on GNOME. Depending on the user's desktop environment and configuration, buttons can appear on the left or right side of the frame (or both). To account for all possibilities, use the CSS variables env(titlebar-area-x, 0px) and env(titlebar-area-width, 100%) to constrain your app's title bar content to a safe area. #52018
chrome.scripting CSS injection matches more fallback framesExtensions using chrome.scripting.insertCSS() or chrome.scripting.removeCSS()
now follow Chrome's behavior when Electron cannot match a frame's URL directly,
such as with about:blank or data: frames. If the extension has access to the
page that created the frame, CSS may now be inserted into or removed from those
fallback frames as well.
Apps or extensions that relied on Electron skipping those frames should narrow their
injection target, frame IDs, or match patterns. #51376
showHiddenFiles from dialog API on LinuxshowHiddenFiles support has been removed from the dialog API on Linux. #51880
Electron 40.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. See https://releases.electronjs.org/schedule to see the timeline for supported versions of Electron.
Electron 43.x.y will be the last version series of Electron to ship with prebuilt binaries for 32-bit platforms: Windows x86 (win32-ia32) and Linux ARM (linux-armv7l). Once the v43 series reaches end of life in January 2027, these 32-bit platforms will no longer be supported.
In the short term, you can expect the team to continue to focus on keeping up with the development of the major components that make up Electron, including Chromium, Node, and V8.
You can find Electron's public timeline here.
More information about future changes can be found on the Planned Breaking Changes page.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。