Electron
Frontend & Mobile:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Release History
View all versions →v43.5.026 fixesThis release addresses numerous bugs and stability issues across various platforms and modules, including fixes for DevTools, Wayland, file system constants, and process crashes.
v42.11.06 fixesThis release addresses several critical bugs, including issues with file system constants on ARM architectures, crashes in WASI functions, and regressions in window title handling. It also includes updates from upstream projects like Chromium and V8.
v45.0.0-alpha.1Breaking9 fixes16 featuresThis alpha release introduces new APIs for WebAuthn, memory info, wake locks, isolated worlds, client certificates, PDF printing, window state saving, menu badges, and prompt handling. It also includes significant bug fixes and improvements to file system operations within ASAR archives and macOS auto-updates.
v42.10.14 fixesThis release includes several bug fixes, including improvements to webContents printing, notification icon handling on macOS, detached WebContentsView sizing, and single instance lock argument handling. It also backports fixes from upstream projects and optimizes resource loading in renderers.
v44.0.0Breaking10 fixes12 featuresThis release upgrades Chromium to v152 and Node.js to v24, introducing several breaking changes including dropped OS support and API modifications. New features include enhanced WebSocket support, per-WebContents zoom control, and a cross-platform window state API.
v41.10.75 fixesThis release addresses several bugs, including issues with frameless window theme colors on Linux, shutdown crashes on Windows, and context menu focus in detached DevTools. It also includes backported fixes from upstream ANGLE, Chromium, Dawn, Skia, and V8.
v42.10.027 fixes1 featureThis release includes a fix for the contentTracing module to capture Node.js trace categories and addresses numerous bug fixes across various modules including DevTools, BrowserWindow, dialog, and process management, alongside performance improvements.
v44.0.0-beta.69 fixes1 featureThis beta release restores Linux-specific features like `app.setBadgeCount` and `win.setProgressBar`, fixes various crashes and bugs across DevTools, child windows, and session handling, and includes performance improvements for file lookups, API calls, and startup times.
v43.4.125 fixes1 featureThis release addresses numerous bugs and regressions across various Electron modules, including DevTools, protocols, window management, and process handling. It also includes improvements to tray icon visibility on Linux and reduces main process wakeups.
v42.9.34 fixesThis release addresses several bugs, including graphical glitches on Linux, memory leaks in BrowserWindow creation, and issues with app process exit on Windows. It also fixes problems with custom V8 snapshots on various platforms and reduces idle main-process CPU wakeups.
v41.10.64 fixesThis release includes several bug fixes, including improvements to protocol handling, app process exit behavior on Windows, and sandbox restriction inheritance for opened windows. It also ensures consistent `nodeIntegrationInWorker` inheritance for `<webview>` and `window.open`.
v44.0.0-beta.514 fixesThis beta release addresses numerous bugs, including issues with protocol handling, window display, ASAR archives, crashes during process exit, and memory leaks. It also improves the behavior of custom V8 snapshots and the built-in PDF viewer.
v45.0.0-nightly.202608171 fixThis release optimizes the uv loop by preventing unnecessary interruptions during I/O changes within uv_run(). It also refactors interrupt handling to be embedder-controlled, improving performance and reducing wakeups.
v42.9.25 fixesThis release includes several bug fixes, including issues with cross-origin fetches, WebContentsView rendering, ASAR archive handling, and sandbox restrictions for opened windows. It also standardizes `nodeIntegrationInWorker` inheritance for `<webview>` and `window.open`.
v42.9.13 fixesThis release includes fixes for crashes related to system preferences and content tracing, as well as an issue on macOS affecting speech synthesis performance. It also incorporates backported fixes from upstream ANGLE, Chromium, Skia, and V8.
v45.0.0-nightly.20260814This release deduplicates the typescript-go fix-sync step in the CI process and utilizes case() for architecture selection in tsgo.
v44.0.0-beta.43 fixesThis beta release fixes several crashes related to `systemPreferences.promptTouchID` and `contentTracing.stopRecording`, and addresses an issue with V8 code caching on Windows. It also includes backported fixes from upstream Chromium and V8.
v45.0.0-nightly.202608131 fixFixed a bug where app.setLoginItemSettings would crash with non-UTF8 service names. Added test coverage for this scenario.
v45.0.0-nightly.202608122 fixesThis release gates clang-tidy on native changes and treats repository configuration as docs-only, improving CI processes.
v43.4.06 fixes2 featuresThis release introduces the ability to print individual frames to PDF from the main process and fixes several critical crashes and issues related to display media handling and system preferences.
v42.9.05 fixes1 featureThis release introduces the `webFrameMain.printToPDF()` method for printing frames to PDF and includes several bug fixes to improve stability, including addressing crashes during system events and menu interactions.
v41.10.51 fixThis release includes a fix for the Squirrel.Mac installer path resolution issue and backports various fixes from upstream ANGLE, Chromium, Skia, and V8.
v45.0.0-nightly.202608111 fixRemoved an obsolete Node.js patch related to std::filesystem::copy_options, resolving a build failure in Electron's -Werror build. This change addresses a temporary issue with libc++ annotations.
v44.0.0-beta.32 fixesThis beta release fixes an issue with out-of-memory crash reporting and resolves a spellcheck initialization problem on Linux.
v45.0.0-nightly.20260810Updated PGO (Profile Guided Optimization) profiles for various platforms including Linux, macOS, and Windows, across both x64 and arm64 architectures, as well as v8-builtins.
Common Errors
SunCertPathBuilderException2 reportsThe "SunCertPathBuilderException" in Electron usually arises from issues with SSL certificate verification when accessing external resources, often because the system's root CA certificates are outdated or missing. To resolve this, either update the system's root CA certificates or, as a less secure workaround for development/testing, disable certificate verification specifically for the problematic request using `app.commandLine.appendSwitch('ignore-certificate-errors')` before the `app.on('ready')` event or by setting `process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = '0'`.
NotReadableError1 reportThe "NotReadableError" during screen sharing in Electron often indicates that the requested media source is temporarily unavailable or blocked by the operating system, particularly due to security restrictions or concurrent access by another application. Try explicitly requesting specific screen sharing permissions in your Electron app (if not already done), and ensure that no other applications are actively using the screen or camera simultaneously. Also, consider implementing a retry mechanism with a short delay to handle transient availability issues.
NotReachedError1 reportThe "NotReachedError" in Electron usually occurs when code execution reaches a point that was expected to be unreachable, often triggered by unexpected state or logic flaws. To fix it, carefully examine the code path leading to the error, identify the faulty assumption that makes the code reachable, and correct the underlying logic or add explicit state checks (e.g., `if` statements) to handle all possible conditions and prevent the unexpected path from being taken. Consider adding debugging statements or breakpoints to pinpoint the exact moment that the unreachable code is hit.
NotSupportedError1 reportThe "NotSupportedError: The user agent does not support public key credentials" in Electron usually occurs because secure context requirements (HTTPS) aren't met, or a necessary feature is disabled. Ensure your Electron app is served over HTTPS, even in development (using a self-signed certificate if needed), and verify that the 'EnableWebAuthnAPI' runtime feature is enabled in your Electron app's Chromium flags via `app.commandLine.appendSwitch('enable-features', 'EnableWebAuthnAPI')`. Restart your Electron application after applying these changes.
Related Frontend & Mobile Packages
The library for web and native user interfaces.
Flutter makes it easy and fast to build beautiful apps for mobile and beyond
The React Framework
A framework for building native applications using React
Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
FastAPI framework, high performance, easy to learn, fast to code, ready for production
Subscribe to Updates
Get notified when new versions are released