npm / electron
electron
What changed in electron 12 to 45, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-04.
157 breaking101 security32 deprecations352 new APIs and options57 performance83 behavior and defaults3 tooling1161 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initelectron 45263 changes
Breaking changes 28
Certificates issued by eMudhra's revoked RSA intermediates are no longer trusted.
Windows ia32 and Linux armv7l builds are removed; Electron is published only for x64 and arm64 platforms.
A webview without allowpopups also blocks links opened into a new window by modifier-click; such windows navigate as the clicking document rather than as a browser-initiated load.
The openAsHidden, wasOpenedAsHidden, and restoreState fields have been removed from the return value.
The openAsHidden option has been removed because it only worked on macOS 12 and below.
Now throws on macOS when launched without a process type and the runAsNode fuse is disabled.
Extension documents receive window and session preload scripts only as top-level frames or inside the DevTools front-end; embedded extension frames follow nodeIntegrationInSubFrames.
The desktop constraint accepts only screen and window source IDs from desktopCapturer.getSources; use tab with webContents.getMediaSourceId() or setDisplayMediaRequestHandler to capture a WebContents.
The experimental API was removed; pass nativeHeapProfiling to contentTracing.startRecording() to enable heap profiling during a trace.
Exceptions thrown by property getters on passed objects are now thrown back to the caller instead of being swallowed.
Screen, window, and tab capture requests are reported to setPermissionRequestHandler as display-capture instead of media.
Chromium disables the API by default ahead of removal; it can temporarily be restored with the enableBlinkFeatures web preference set to RequestStorageAccessFor.
Calling execCommand('paste') now requires user activation in the frame that calls it.
Opening files inside ASAR archives returns descriptors identifying archive entries, read directly by Node's fs APIs; raw descriptor access is unsupported, and write-capable flags fail with EACCES.
ASAR files are read directly from archives; fs.opendir and fs.readlink work on archives, and opening a packed file for writing fails with EACCES.
With chromeMediaSource set to desktop, WebContents source ids are no longer accepted; use tab with getMediaSourceId or setDisplayMediaRequestHandler to capture a WebContents.
The non-functional dummy libEGL.so file is no longer included in the Linux distribution.
The non-functional dummy libGLESv2.so file is no longer included in the Linux distribution.
Calling a native API method with a this value of a different native type now throws a TypeError instead of crashing the main process.
Now applies only to workers created by frames that themselves have Node integration; enable nodeIntegrationInSubFrames to keep Node in workers created by subframes.
webview and window.open now inherit nodeIntegrationInWorker from the embedder, consistent with other Node and sandbox preferences.
Permission requests from a frame that has gone away are attributed to that frame's origin rather than the navigating page.
Electron's internal JavaScript bundles can no longer be loaded through this API.
Rejects protocol names that do not conform to RFC 3986 URI scheme grammar.
Cross-origin no-cors fetches now receive opaque responses, matching protocol.handle.
Electron's internal JavaScript bundles are no longer listed in builtinModules.
Sandboxed preload scripts no longer have the events, timers, and url modules or Buffer, setImmediate, and clearImmediate globals; use a polyfill.
A child whose sandbox state differs from its opener is created in its own process without an opener relationship; set sandbox: false in setWindowOpenHandler to keep sharing an unsandboxed opener's process.
Security 14
Fixed blocklist gaps for .git/hooks writes and hypervisor UNC shares.
Fixed sandboxed extension pages being hosted in a process with extension API privileges.
Fixed a Windows memory leak and potential use-after-free when this method was called.
Fixed a potential use-after-free on Windows.
Fixed returning tab url and title to extensions without the tabs permission or host access, aligning with tabs.get.
Fixed an issue where content-protected windows could temporarily appear in screen captures during picture-in-picture state changes.
Fixed the disabled browser-side check that blocks drag and drop between cross-site frames of the same page.
Fixed a macOS blocklist bypass via /System/Volumes/Data paths.
Permission requests from some iframes no longer report the parent frame.
Fixes a use-after-free crash when an error is emitted during a stream read.
Windows opened by a sandboxed top-level frame now inherit the opener's sandbox restrictions.
Fixed a potential use-after-free when a select-usb-device handler destroys the requesting webContents.
For hid and usb checks made from a subframe, the handler no longer receives the top-level origin and a null webContents.
Fixed cases where setCertificateVerifyProc was not applied to a request issued concurrently with the first request to a host.
Deprecations 2
The synchronous API is deprecated in favor of isAsyncEncryptionAvailable().
Synchronous methods are deprecated and will be removed in Electron 46; use asynchronous methods backed by the same per-platform key stores.
New APIs and options 27
Extensions can access read-only chrome.storage.managed; writes are rejected.
Extensions can use chrome.storage.sync as a second local storage area with Chrome's sync quotas; it does not sync across devices.
Added an API to set menu highlight colors on Windows.
Added the excludeGlobs filtering option to session.registerPreloadScript.
Added the excludeMatches filtering option to session.registerPreloadScript.
Added the includeGlobs filtering option to session.registerPreloadScript.
Added the matches filtering option to session.registerPreloadScript.
Added the matchOriginAsFallback filtering option to session.registerPreloadScript.
Added app shims on macOS to show windows under another app's Dock icon.
Enables iCloud Keychain passkey support on macOS, presenting Apple's native passkey UI for navigator.credentials.create() and get().
The app child-process-gone event now reports launch failures with systemErrorCode.
Heap profiling uses a Perfetto heap-profiling data source; enable it for the duration of a trace with the nativeHeapProfiling option.
A Windows Error Reporting helper captures __fastfail and other crashes that bypass the in-process handler on Windows.
Added a method to retrieve a download item's initiator origin.
This environment variable visualizes and logs draggable regions in unpackaged apps to help debug custom title bars.
The new UtilityProcess module supports the Prompt API.
Added a macOS 14+ badge property for showing a count or custom text next to a menu item's label.
Supports the select-client-certificate event so applications can select a certificate when a server requests client authentication.
Linux notifications now support action buttons.
Adds available memory information on Linux, exposing proc/meminfo MemAvailable.
Added an experimental API to serve a custom scheme from directories on disk without a JavaScript handler.
Adds a cross-platform API for saving and restoring window state.
Apps that open many windows can keep a spare renderer warm with this Chromium feature flag.
Added a property for toggling caret browsing in a WebContents.
Added getIsolatedWorlds and the isolated-world-created event to enable discovery of isolated worlds.
Adds printing of individual frames to PDF from the main process.
Added the disableWakeLocks option.
Performance 16
Repeated calls for file: URLs perform better.
Requests without a body perform better.
Linux application startup is faster by skipping GDK's OpenGL probe and loading FontConfig off the main thread during toolkit initialization.
Reduced the cost of JavaScript calls to native methods and properties on BrowserWindow, BaseWindow, WebContents, WebFrameMain, and View; also fixed BaseWindow.setBounds with partial bounds objects.
Reduced the Linux first-window creation stall and improved ASAR file lookups and serving, contextBridge calls, Buffer.allocUnsafe, large file reads, and large IPC value sending.
Linux arm64, Windows arm64, and macOS x64 now start the main process from the embedded Node.js startup snapshot, improving startup time.
Improved the performance of fs operations on files inside asar archives.
Reduced distribution size by shipping only locale strings Electron can use.
Node.js timers and immediates cause fewer idle main-process CPU wakeups.
Improved the performance of building and showing menus.
Fixed seconds of main-process time spent buffering large streamed request bodies.
Improved throughput of responses returned straight from
net.fetchbyprotocol.handlehandlers.APIs that return rectangles, sizes, points, and display objects are faster.
Page resources, fetch() calls, and file:// loads no longer wait for the main process to be idle when no webRequest listeners or protocol interceptors are registered.
session.getUserAgent() is faster.
Startup is faster for utilityProcess.fork(), child_process.fork(), ELECTRON_RUN_AS_NODE child processes, and Node.js-enabled renderers.
Behavior and default changes 2
On macOS, update downloads stream to disk, resume after interruption on the next check, and apply a binary delta when the feed offers one for the running version.
The Clipboard module is now aligned with the W3C Clipboard API.
Fixes and other changes 174
Fixed a leak that kept right-clicked elements alive after removal.
Fixed a race where a DevTools extension's devtools_page could run before chrome.devtools was available.
Updated Node.js to v24.22.3.
Fixed cookies set shortly before quitting sometimes not being saved to disk.
Fixed a browser process crash when Fetch interception resumed or continued a paused response.
document.fonts.check() no longer rejects leading whitespace.
Canvas font no longer rejects leading whitespace.
Fixed an observer leak when unsubscribing via another method.
Fixed a crash when extensions access chrome.system.storage APIs.
Fixed focusable being ignored in macOS app shims.
Fixed hasShadow: false being ignored in macOS app shims.
Fixed incorrect display of hidden windows on Windows.
Fixed an unhandled rejection and hang on upload stream error.
Fixed forward: true not tracking legacy windows when they are reparented.
Fixed a main process crash if the callback answered a pointer or keyboard lock request after its webview was destroyed.
Fixed a possible hang on macOS quit when using this subscription API.
Fixed renderer crashes caused by unbounded redirect loops.
Fixed this method having no effect in macOS app shims.
Chromium was updated to 156.0.8078.80.
Fixed a crash when using a hidden window as the parent in Wayland.
Node.js was updated to v24.22.2.
removeInsertedCSS() now removes stylesheets with cssOrigin: 'user'.
DevTools Save reuses the previously chosen file instead of prompting for a location every time.
Fixed Save As using the old file and Linux cancellations being treated as saved.
The end option is no longer ignored.
Fractional opacity is no longer truncated in window.open feature strings.
Fixed inconsistent handling of archive paths between the main process and child processes.
Fixed handling of malformed archives whose size fields do not match the file length.
Fixed chrome.alarms not persisting across app restarts.
Fixed rules restricted to tabs never matching.
Fixed management methods and events being unavailable to extensions with the management permission.
Fixed requests stalling when an extension used a blocking webRequest listener.
Fixed extension webRequest events reporting a tabId of -1.
Fixed a Linux crash caused by a D-Bus method call on a disconnected bus.
Fixed extension service workers being stopped after 30 seconds while a WebSocket was active.
Fixed workers running an outdated script after an app restart when extension files changed without a version change.
Fixed macOS menus sometimes not showing after another menu closed.
Fixed message placeholders not being localized in extension stylesheets.
Fixed events not arriving to background service workers.
Fixed a main process crash when onSendHeaders observed Blob uploads.
Fixed content scripts registered with persistAcrossSessions not persisting across app restarts.
Fixed registered schemes not applying the same fetch rules as protocol.handle schemes.
Fixed clearing storage data unregistering service workers of loaded extensions.
Fixed the exit event not being emitted when the app quit while the process was still launching.
On Windows, the event now reports the same colour as systemPreferences.getAccentColor().
On Windows, typing works again after closing an alert() or confirm().
Fixed crashes caused when certain app event handlers call back into Electron synchronously.
Fixed the app becoming unresponsive when a page has a very large number of draggable elements.
Fixes a browser-process crash and spurious preload ENOENT errors if an app's ASAR is replaced while the app is running.
Fixes GPU hardware usage not being fully disabled on Windows starting from Electron 38.
Fixed
app.getGPUInfo('complete')stalling the GPU process for several seconds on some Windows systems.Fixed login items not being found on Windows when the executable path contains spaces.
On Windows, recent documents with non-ASCII paths are no longer omitted.
On Windows, the app process can now exit while
shell.openExternalorshell.openPathis waiting on a system Open with dialog.Fixes the primary instance being killed or receiving truncated arguments when another instance passes a very long command line or large additionalData.
Restored support on Linux for docks and taskbars implementing the LauncherEntry D-Bus API; libunity is no longer required.
Fixes a crash when a non-UTF8 service name is used.
Replacing an open application menu no longer triggers a crash.
Fixed asar archives in non-ASCII folders failing to load on Linux.
Fixes downloading files inside ASAR archives, including saving a packed PDF from the built-in PDF viewer.
Error messages now name the entry that failed an integrity check.
On Windows, an ASAR integrity violation no longer causes an intermittent access violation; the process exits with code 1 as intended.
Fixed unnecessary popup creation for fields without datalist suggestions, which could cause input latency on macOS.
Fixed clicks posted to a background app being dropped on macOS.
unmaximize() and restore() now take effect on Wayland when a window was maximized immediately after creation.
Fixes window size corruption on Windows when explicit coordinates are used on a secondary monitor with a different DPI.
Fixes document title updates during same-document back/forward navigation without using setTitle().
On Linux, read(), readText(), and has() no longer take seconds to resolve while the app is idle.
Fixes a potential crash when the trace file cannot be written to the requested path.
Fixed a renderer crash when an array with a throwing property getter is passed across the bridge.
Calling setUploadToServer() after crashReporter.start() now takes effect.
Fixed Ctrl+Y not yanking text killed with Ctrl+K in text fields on macOS.
Fixed custom-title windows showing an empty title after back/forward navigation.
On macOS, calling getSources() no longer leaves non-resizable windows resizable.
Device metrics overrides no longer persist indefinitely when a remote debugging client disconnects without clearing them.
Fixed the Security panel's View certificate button, Ctrl+wheel zooming, and keyboard shortcuts while the inspected page has focus.
Fixed a rare main process crash when garbage collection runs before the DevTools frontend finishes loading.
Fixes the dialog opening at an unusable location on Linux when defaultPath is a bare filename without a directory.
Fixes parentPath being undefined for directory entries returned by filesystem read and glob operations inside ASAR archives.
Fixes custom V8 snapshots having no effect in the main process on macOS arm64, Linux x64, and Windows x64.
Permission requests and the file-system-access-restricted event are scoped to the requesting document; grants reset when the origin's last page closes, and write access works in in-memory sessions.
Corrected O_DIRECTORY, O_NOFOLLOW, and O_DIRECT values on Linux arm64 and armv7l, fixing directory opens that failed with EINVAL.
On Windows, fs.rmSync no longer fails to remove read-only files.
GDK_BACKEND no longer leaks into processes spawned by Electron apps on Linux.
The
restrictOwnAudiooption is now honored insetDisplayMediaRequestHandler, preventing loopback audio from including local app playback.Fixed global shortcuts not working on GNOME Wayland by enabling Chromium's GlobalShortcutsPortalPreferredTrigger feature by default on Linux.
On Windows, the GPU process no longer crash-loops when the sandbox cannot read the install folder; the folder is now reported instead.
Fixed GPU shaders compiled by Skia not being cached between launches.
Fixed main process crashes when navigating to this URL.
Fixed loading ICO files from ASAR archives on Windows leaving temporary icon files behind.
Calling image.toPNG() from a sandboxed preload script no longer crashes the renderer.
The built-in PDF viewer now renders documents in sessions whose partitions do not use the persist: prefix.
Interrupted macOS updates no longer leave a broken app behind.
Fixed an application crash after a large number of IPC messages from renderers.
Fixed out-of-memory crashes being reported from inside the crash-key handler instead of at the out-of-memory site.
Fixed region-qualified values such as de-DE failing to load locale resources on macOS.
Link-opened windows now use the opener's session and webPreferences.
The default action label is now localized.
Fixed an intermittent startup crash on Linux caused by a race between Pango and the main thread initializing fontconfig.
The Linux support policy was updated.
Fixed paste hanging indefinitely until the app was restarted.
Fixes the fuse having no effect in the main process on macOS arm64, Linux x64, and Windows x64.
Fixed a main-process crash when called again after a load failed because the renderer exited before the page committed.
Fixed alignment of the text label and popup menu in the macOS save dialog.
Fixed returning browser for window-controls-overlay, frameless, and fullscreen BrowserWindows.
Fixed the mouse cursor disappearing over native dialogs in certain Windows scenarios.
Fixed the value being stale after resetting themeSource.
Fixed a crash when calling this API in in-memory sessions.
Fixed the API not being populated for WebContentsViews in a BaseWindow.
Fixes an uncatchable TypeError when response headers contain non-ASCII characters and preserves multiple Set-Cookie headers.
Fixed main-process crashes when calling net.fetch() with a webRequest-permission extension loaded.
Fixed net.fetch and session.fetch permanently failing with net::ERR_FAILED after the Network Service process restarts.
Pending reads on chunked upload streams in protocol handlers now settle when a request fails or is aborted.
Native addons deriving from
node::ObjectWrapno longer abort during garbage collection on Node.js 24.19.0 and later.Fixed a crash when calling node:wasi functions in optimized code.
Fixed a renderer crash when an iframe was removed right after loading with this enabled and sandbox disabled.
Fixed illegal access errors and renderer crashes involving same-process child windows, removed iframes, and native modules using async work or thread-safe functions.
Fixes installation failure without a recovery path when the OS blocks the native zip extractor from loading.
Fixed saving an edited PDF when the viewer encounters a file picker restriction for third-party iframes.
Fixed a renderer crash that could occur when printing from an iframe.
Fixed a Linux crash when the environment was written while another thread was reading it.
Fixed nextTick and promise callbacks queued in protocol/webRequest handlers running at the wrong time.
Fixed messages posted immediately before a utility process exits being dropped.
Fixed ready-to-show never firing for some hidden windows on Windows and Linux.
Fixes crashes caused by some values passed into the API.
Fixed a renderer crash when a ResizeObserver loop-limit error handler modified layout.
Fixes the device picker presenting HID devices that cannot be granted, which could make navigator.hid.requestDevice() resolve without a device.
Fixed main process crashes when calling this API for a disconnected device.
Fixed default protocol client APIs falsely returning true on Windows.
Hidden windows no longer continue rendering at full frame rate after throttling is disabled and then re-enabled.
setContentProtection(true) now takes effect in Windows remote sessions.
Fixed crashes when the granted frame had been destroyed or another tab was granted by id.
Fixed a crash when calling setIgnoreMenuShortcuts on DevTools.
Refactored mouse forwarding on Windows to fix issues related to setIgnoreMouseEvents(true, { forward: true }).
setIgnoreMouseEvents is now supported on Wayland.
Visual zoom limits no longer reset on navigation or fail to apply to webviews; minimum zoom values below 1 no longer shrink pages.
Fixed a spurious node_init error being logged when creating a ShadowRealm with Node.js integration enabled.
Fixed renderer crashes during garbage collection inside ShadowRealms.
Fixes a crash when the GPU context becomes unavailable.
On Linux, paths containing #, ? or % now work when the file manager is reached over D-Bus.
Pages calling available() or install() with processLocally no longer cause a renderer crash.
Spellcheck now initializes on Linux when the dictionary was cached from a previous run.
Fixes a crash when an invalid reason value is passed.
Made require('trace_events') behave the same on cross-compiled builds as on native ones.
Transparent frameless windows can again be resized on Linux.
Fixed the tray context menu not working for snap-confined apps because AppArmor blocked the /org/chromium/DbusMenu path.
Fixed crashes caused by object lifetime bugs in utilityProcess.fork().
Fixed a crash when calling postMessage after the utility process had exited.
Fixed caching for HTTPS scripts loaded by file:// and custom-scheme pages, and crashes or RuntimeErrors from cached WebAssembly modules after certain patch updates.
Fixed macOS platform passkey requests hanging after failed operations and a potential crash when choosing between Touch ID and platform passkeys.
Listener registration and removal no longer throw "Object has been destroyed" for console-message listeners after WebContents destruction.
Fixed crashes when a webContents or parent window is destroyed while other APIs still reference it.
Fixed unresponsive events emitted right after Windows wakes from sleep, and responsive events emitted when a hung window was hidden rather than when it recovered.
Offscreen windows now return images rendered at the window's offscreen.deviceScaleFactor instead of resampled to the display's scale factor.
Sending a DevTools protocol command with a non-string value for an optional string parameter no longer crashes.
Setting userGesture now grants browser-side user activation so activation-gated APIs can work.
Fixed the method resolving with undefined when worldId was not an integer.
Fixed printing to honor printBackground, duplexMode, and printer default duplex settings.
Fixes DevTools popup and context menus not appearing when DevTools is hosted in a custom window.
A child WebContentsView no longer loses focus when its window is reactivated.
Fixed pages loaded in a detached WebContentsView not seeing the correct window size.
Fixes a view staying blank after its window is shown when background throttling was disabled while the window was hidden.
Fixed the GPU process being terminated in Windows AppX/MSIX packaged apps when WebGPU fell back to SwiftShader.
Fixed an error when removing a loaded
<webview>from the DOM.Fixed this API hanging when the host page also has an iframe.
Fixed
win.isFullScreen()returning stale state in fullscreen events on Windows.On Wayland, disabled windows and modal child windows now block input.
Restored support on Linux for docks and taskbars implementing the LauncherEntry D-Bus API; libunity is no longer required.
Window state is persisted when a window enters or leaves fullscreen, or is maximized or unmaximized, even without being moved or resized.
On macOS, a window covered by a transparent or click-through window is no longer incorrectly marked hidden and background-throttled.
Fixed a renderer crash when IPC was sent to, or a page navigated, a same-process child whose contextIsolation differed from its opener's.
Fixed notifications sometimes not appearing from certain long domains.
The option now takes effect, and file dialogs on Linux no longer log a spurious portal warning.
Zoom no longer resets on file: and other host-less pages after a location.hash change.
electron 44119 changes
Breaking changes 7
The module aligns with the W3C Clipboard API and is no longer exposed to renderer processes.
Support for
showHiddenFileshas been removed from the dialog API on Linux.Electron v44.0.0 and higher requires macOS 13 (Ventura) or later; macOS 12 is no longer supported.
Images with color profiles now have pixel values normalized to SRGB, producing similar values for visually identical images after color-space conversion.
Rejects requests with document, frame, iframe, or fencedframe destinations unless Sec-Fetch-Mode is navigate.
Windows opened from links inside a sandboxed iframe now inherit its sandbox restrictions unless allow-popups-to-escape-sandbox is set.
Support for the Unity desktop environment on Linux has been removed.
Security 7
Fixed non-network Web Worker requests, such as file:// and custom schemes, bypassing protocol.handle() and webRequest handlers.
Includes a mitigation for compromised eMudhra intermediate certificates.
Electron: Frame subscription trusts GPU-supplied frame geometry
Electron: Off-screen rendering on macOS trusts GPU-supplied frame geometry
Electron: SameSite cookie restrictions are not applied to windows opened from links
Permission requests started by a frame that has gone away are attributed to that frame's origin rather than the navigating page.
Internal webview, window.close, and executeJavaScript reply IPCs are validated against the sending frame.
New APIs and options 6
Added to webRequest and protocol handler requests so developers can access the initiator origin.
The session event now receives a trailing frame argument.
Adds touchID.promptReason to customize macOS Touch ID WebAuthn prompt text and fixes a prompt crash caused by a missing string resource.
Adds a WHATWG-compatible WebSocket client for the main process that routes through Chromium's network stack.
Adds static remove(), removeAll(), and removeGroup() methods for macOS notifications.
Adds per-WebContents zoom control through setZoomMode(), getZoomMode(), and zoomMode.
Performance 11
Improved the performance of require on files inside asar archives.
Requests no longer wait on the main process when webRequest listeners only observe specified events or are filtered to other resource types.
Startup is faster for child processes forked with this API.
Child processes launched with this environment variable start faster.
When the default session already exists, the first sandboxed BrowserWindow starts in a renderer launched ahead of time, shortening time to the page's first script.
Improves performance of IPC dispatch.
Linux arm64, Windows arm64, and macOS x64 now start the main process from the embedded snapshot, improving startup time.
Cold-start time at
DidClearWindowObjectis reduced by about 35% by deserializing a build-time V8 code cache for Electron framework bundles.Preload scripts and process info are pushed ahead of navigation instead of fetched via blocking IPC, and preload compilation results are cached on disk.
Startup is faster for utility processes forked with this API.
Header conversions are faster.
Behavior and default changes 6
The default trash implementation on KDE Plasma 6 is now kioclient.
<webview>andwindow.opennow inherit this preference from the embedder, consistent with other Node and sandbox preferences.Frameless Linux windows now have rounded corners by default; setting roundedCorners to false disables them on all platforms.
Adds support for setting window opacity on Linux.
Frameless Linux windows now use system-themed titlebar icons for Window Controls Overlay.
On Linux, the overlay now supports system-configured button layouts.
Fixes and other changes 82
Fixed a window's draggable regions applying beneath child WebContentsViews.
Fixed macOS default menu item icons and titles being lost on menu refresh.
Fixed <select> dropdowns not rendering in offscreen windows on macOS.
Fixed proxy switches replacing ses.setProxy() after a network service restart.
Fixed Windows tray icons losing their tooltip when Explorer restarted.
Fixed a dangling pointer after picking a webkitdirectory folder.
Fixed request header removals in redirects handled by webRequest.onBeforeSendHeaders.
Fixed a possible hang when pressing Esc while a webview is fullscreen.
Updates the Node.js runtime.
Europe/London and Europe/Dublin no longer show as GMT+00:00 in winter after updating ICU to tzdata 2026e.
Backported fixes from ANGLE, Chromium, PDFium, Skia and V8.
Updated the Chromium runtime.
Fixed
net.fetchfailing permanently withnet::ERR_FAILEDafter the Network Service process restarts.Updated the Node.js runtime.
Fixed a crash when starting Electron on Linux without an available display server.
Fixed a crash when creating a window with a menu bar on Linux if GTK failed to load.
On Linux, a WebContentsView removed with removeChildView() and re-added with addChildView() no longer stays hidden behind sibling views.
Fixed a macOS launch crash when the system refused to register the app for sleep/wake notifications.
Updated time zone data to tzdata 2026d, including British Columbia's move to permanent UTC-7.
DevTools zoom in and out now uses the same zoom steps as Chromium.
Fixed a crash when creating a framed window on Wayland if GTK could not initialize.
Fixed a grey border around frameless windows on Linux window managers without compositing.
Fixed a GPU process crash on startup when another app instance uses the same session data directory.
Fixed a possible crash on Windows on ARM when powerMonitor is torn down.
On X11, the setting takes effect without delay and is no longer undone by the next resize; Wayland support was added.
stdout and stderr output written immediately before a child exits is no longer dropped.
Visual zoom limits no longer reset on navigation and now apply to webviews; a minimum below 1 no longer shrinks pages.
Fixed a possible process-exit crash involving main-process vm.Script or vm contexts garbage-collected shortly before quitting.
Fixed a crash when a WebAuthn request used a security key that required its PIN.
Zoom in and out no longer gets stuck after zooming past the 25%-500% range.
Fixed a spurious console error when DevTools attaches to a sandboxed frame before its first navigation.
Fixed an error thrown in pages while the DevTools Performance panel's live metrics were active.
Fixed several object lifetime issues in Debugger, Menu, Tray, Notification, globalShortcut, utilityProcess, ServiceWorkerMain, WebFrameMain, webFrame, sharedTexture, systemPreferences, netLog, MessagePortMain, net.request and shell.openPath().
Fixed a crash when a webContents navigated to the Chrome Web Store and the page invoked this unsupported API.
Fixed code caching for HTTPS scripts loaded by file:// and custom-scheme pages.
Fixed the CSS environment variables not being populated for WebContentsViews in a BaseWindow.
Fixed a renderer crash when no default locale could be determined.
Fixed a possible Windows crash when a file dialog is shown for a window being closed.
Permission requests now report the requesting frame.
Fixed Tray icons not appearing when running inside Flatpak or Snap sandboxes on Linux.
Without allowpopups, links opened into a new window by modifier-click are blocked; such windows otherwise navigate as the clicking document rather than as a browser-initiated load.
Fixed a potential crash when using
menu.popupwith a frame from an offscreen rendered window.Updated the bundled Node.js runtime to v24.20.0.
Fixed exceptions from property getters on passed objects being swallowed instead of thrown back to the caller.
Fixed main process crashes when navigating to this URL.
Fixed main process crashes when an extension background page used this API.
Fixed main- and utility-process crashes caused by throwing accessors or Proxy traps in option objects.
On macOS, a notification is now shown without its icon if the icon cannot be attached, instead of crashing.
Fixed crashes caused by object lifetime bugs in service-worker ipcRenderer.
Fixed crashes caused by object lifetime bugs in sharedTexture.
Fixed tray icons not appearing on GNOME and disappearing entirely on Wayland.
Fixed a Windows crash when V8 posted a delayed worker task during shutdown.
Fixed a macOS crash when a Touch ID prompt was requested while no locale resources were loaded.
Fixed main-process crashes when a listener redirected a CORS preflight request.
Fixed native message boxes being dismissed by other applications using an invalid button ID.
Fixed a potential deadlock on macOS.
A second instance passing a very long command line or large additionalData no longer kills the primary instance or truncates its arguments.
Fixes the Toggle Developer Tools menu item not functioning correctly with BaseWindow.
Makes reload menu items work with BaseWindow.
Fixes a memory leak when creating BrowserWindows.
Fixed silent data truncation in Buffer APIs.
Fixed thumbnail generation on Linux with Wayland.
Fixed a crash with non-ASCII strings on Apple Silicon.
Closing a same-process child window or removing an iframe with this option enabled no longer causes illegal-access errors or possible renderer crashes.
Preload stack traces now show the correct file path and line number.
Fixes process and other Node globals being undefined in ESM preload scripts when contextIsolation is disabled.
ProtocolResponse.url requests now use the session on which the protocol handler was registered when no session is specified.
The event is now emitted after renderer teardown notification completes, fixing crashes when reloading or navigating synchronously from the event.
Fixes scripts running a stale cached version after modification without a file-size change.
Fixes the app process failing to exit after app.quit() while an external-open call is waiting on a system Open with dialog.
The macOS backend includes upstream fixes for downgrade version validation, stale launcher errors, and forwarding custom download request headers.
Fixed silent data truncation in TextEncoder APIs.
Fixes rgba(0,0,0,0) falling back to the default frame color.
Tray icons and menus now work on Linux desktops that address StatusNotifierItem by its unique D-Bus name or interface.
Fixes running under tsx import transpilation.
Fixed a Windows issue that gave each renderer process a 1-in-200 chance of compiling first-page scripts without their V8 code cache.
Fixed a renderer crash when calling WebAssembly.compileStreaming() or WebAssembly.instantiateStreaming() with nodeIntegration enabled.
Fixes a renderer crash when streaming instantiation is used with nodeIntegration enabled.
Fixes the DevTools Network panel missing most requests after navigation when the debugger is attached.
Fixes Invalid printer settings errors when print options are provided.
Fixes caption buttons not rendering on Linux.
Runtime toggling of shadows for frameless windows is fixed on Linux.
electron 43119 changes
Breaking changes 8
Updated the Node.js version included with Electron.
No longer returns tab url and title to extensions lacking the tabs permission or host access, aligning with tabs.get.
Electron 43.x.y is the last series to ship prebuilt binaries for Windows x86 (win32-ia32) and Linux ARM (linux-armv7l); those platforms will no longer be supported after the series reaches end of life in January 2027.
Minimum and maximum size constraints are enforced at window creation, even when they conflict with requested width and height.
Pressing Backspace no longer accepts macOS text replacements inside contenteditable elements.
Cross-origin fetch and XHR are blocked for custom protocols with supportFetchAPI: true unless corsEnabled: true is also set; cross-origin no-cors requests receive opaque responses.
Electron-specific help menu links appear only in the default app; unpackaged apps no longer see them in their default menu.
Support for the ELECTRON_SKIP_BINARY_DOWNLOAD environment variable has been removed.
Security 7
Electron: Sandboxed preload code cache can be poisoned by a compromised renderer
Electron: File and HTTP protocol handlers allow cross-origin reads without corsEnabled
Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions
Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions
Cross-origin isolation now works for non-file origins.
Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab
Electron: ProtocolResponse.url reuses the default session cache instead of the registering session
New APIs and options 22
Added macOS support for enabling the Touch ID platform authenticator for WebAuthn.
Heap profiling is now supported through contentTracing.enableHeapProfiling().
Electron now allows the Node.js inspector network resource flag to be passed through.
Check whether global shortcut handling is suspended.
Global shortcut handling can now be temporarily suspended.
MenuItem constructor options and properties now accept accessibilityLabel for screen-reader-friendly labels.
Added nativeTheme.shouldDifferentiateWithoutColor on macOS.
Requests from utility processes using the net module now support sessions.
macOS Notification constructor accepts groupId to visually group notifications in Notification Center.
macOS Notification constructor accepts a custom notification identifier through id.
Windows notifications now support id, groupId, and groupTitle.
Windows Notifications now support the urgency option.
macOS apps can retrieve delivered notifications still present in Notification Center.
Shared textures can now be imported using the nv16 pixel format.
The allowExtensions privilege enables Chrome extensions on custom protocols.
A session event was added for choosing between multiple discoverable WebAuthn credentials.
SF Symbol customisation was added.
Added view.setBackgroundBlur.
A Clone method was added to WebContents.
Added a method to copy a video frame at the specified coordinates.
Added a method to save a video frame at the specified coordinates.
Proxy use is now supported during yarn install.
Performance 9
File lookups inside ASAR archives and large files served from them to the renderer are faster.
Reduced a stall of tens of milliseconds while creating the first BrowserWindow on Linux.
Calls through contextBridge-exposed APIs are faster.
Reduced main-thread cost when large values are sent through ipcMain handlers.
On macOS, a page's first use no longer blocks the main process for several hundred milliseconds.
Startup performance improved through an embedded Node.js startup snapshot, cached V8 bytecode, and earlier delivery of sandboxed renderer startup data; preload stack traces now report the correct path and line.
Performance improved on Linux.
Performance improved on Linux.
Runtime performance improved.
Behavior and default changes 5
Linux support was added for app.getApplicationInfoForProtocol().
File downloads now open by default in the user's Downloads folder, or Home directory if Downloads does not exist.
On Windows, resize targets for frameless windows now begin at the side and bottom edges and extend outward, matching framed windows.
The nv12 OSR pixel format is now supported for professional use.
Electron determines the default XDG App ID and WM_CLASS differently for better Linux platform compatibility when desktopName is not provided in package.json.
Fixes and other changes 68
Fixed crashes at startup or on theme change on Linux when GTK modules are loaded.
Fixed a possible renderer crash in 32-bit Windows and Linux ARM builds caused by under-aligned Blink heap vector allocations.
Pages no longer shrink when the minimum visual zoom level is under 1.
Exception handlers in modules using wasm exceptions no longer fail to catch exceptions or crash during tier-up.
Backported fixes from ANGLE, Chromium, PDFium and V8.
Fixed a memory leak when a worker thread exits.
Braille displays now show the correct line in macOS multi-line text fields; AXLineForIndex and AXRangeForLine return the line containing the caret.
Linux xdg-desktop-portal no longer misidentifies Electron apps whose desktopName contains dashes, fixing globalShortcut and other portal-based APIs.
The app no longer crashes on Linux if the D-Bus session bus disconnects while it is running, such as at logout or when dbus is restarted.
Utility process crashes at exit are fixed on Windows 11 24H2 and later.
Resolving a path inside a malformed archive with cyclic link entries no longer crashes.
Fixed a possible main process crash at quit when a session is created from JavaScript running during shutdown.
Fixed a possible SIGABRT during process exit after tls or https was loaded shortly before exiting, including app.exit() before ready and short-lived Node child processes.
Fixed a crash when quickly switching menus while the app is under heavy load.
Fixed the Linux system accent color intermittently not being applied, which could make this API return an empty string on some launches.
Fixed a potential crash when notifying user activation before the primary main frame was live.
Fixed a browser process crash that could occur during Windows logoff, shutdown, or restart.
Fixed a crash report when the X server or Wayland compositor exits while an app is running.
Fixed a crash that could occur when closing DevTools while the host WebContents was being destroyed.
Fixed thin borders appearing past drop shadows on Linux frameless windows when multiple windows were created.
Fixed bindings for MV3 service workers.
Fixed a crash when showing Linux message boxes while another Linux UI implementation was active.
The BrowserWindow event no longer occasionally fires with incorrect values.
On Windows, app-region: drag inside a hidden WebContentsView no longer drags the parent window.
On macOS, executableWillLaunchAtLogin now always returns a boolean instead of undefined.
Calling app.setPath with a non-existent sessionData directory no longer crashes.
Minimum and maximum aspect-ratio size clamping on macOS now accounts for extraSize.
Linux apps now display their names and icons in audio managers instead of being labeled Chromium.
Focus tracking on macOS is corrected.
Frameless transparent windows on Windows retain transparency after setResizable(false) followed by setResizable(true).
contentTracing now captures Node.js trace categories.
Calling the method while a trace session is active no longer crashes.
Calling the method during an active trace session no longer causes a crash.
Calling contentTracing APIs before app.whenReady() no longer crashes the application.
Fixed a detached DevTools window's context menu focusing the inspected page's window instead of the DevTools window.
On macOS, registering many dynamic crash keys no longer loses crash keys or causes the crash reporter to hang.
Fixed a hang on macOS.
Certain DevTools extension panels now show without requiring a page reload.
The requested target platform is now respected when resolving the Electron executable during postinstall, preventing incorrect path.txt output and repeated downloads.
Improved external resize band positioning and scaling for frameless windows on Windows.
For files inside asar archives, blksize and blocks now return numeric values instead of undefined.
Fixed macOS window freezes when entering or exiting fullscreen fails.
Concurrent requests for the same path no longer stall indefinitely.
Handling JavaScript dialogs from windows opened with invalid or empty URLs no longer crashes.
Improved the appearance of maximized windows on GNOME in Wayland, including with non-default GTK themes such as Breeze.
Fixed native addon compilation failures caused by an undefined MSVC intrinsic in V8 headers.
Fixed notification clicks not focusing the application window on Wayland.
Fixed cases where nodeIntegrationInWorker did not work in AudioWorklet.
Fixed a crash when closing a Notification.
Fixed a Windows shutdown crash when power monitor notifications were subscribed.
In the main process, calling process.exit() without an argument now exits with process.exitCode; string arguments are handled correctly.
Remote debugging with this flag now works when inspecting from Chrome's chrome://inspect page.
Importing electron via ESM no longer touches the OS keychain on app-ready when safeStorage is unused.
The method now returns a Promise as documented; importing electron via ESM no longer touches the OS keychain on app-ready when safeStorage is unused.
A transient Windows hook teardown failure no longer causes duplicate low-level mouse hooks on the next activation.
On macOS, setSimpleFullScreen no longer exits when web content calls requestFullscreen().
Fixed inconsistent resolution of the target bundle path at different stages of an install.
Fixed user resizing of transparent windows on Windows.
On Windows, the exit event now reports correct exit codes when the high bit is set.
The print callback now fires correctly in cases where it previously might not.
Silent printing now honors custom DPI values from webContents.print, preventing incorrect output scaling.
Silent printing now honors pageSize and mediaSize.
Custom options now prefill the print dialog on macOS.
Printing on Linux no longer fails with Invalid printer settings.
A rejected call with an invalid pageRanges value no longer causes all subsequent calls to reject.
On macOS, show/hide events and WebContents visibility state are now reported correctly when multiple WebContentsViews are attached to a window.
Invalid HTTP header names or values in the callback no longer cause a crash.
Certain window types are resizable again in MAS builds.
electron 42118 changes
Breaking changes 8
Invalid characters in custom protocol or webRequest response header values are now rejected.
The npm package no longer downloads its binary in postinstall; it downloads on the first run of its main bin script instead.
Notifications now use the UNNotification API and require code signing to display; otherwise, the Notification object emits a failed event.
Electron 42 upgrades its Node runtime.
npm tarball contents are now restricted to an explicit allowlist.
The default device scale factor is now 1.0 instead of the primary display's scale factor; set webPreferences.offscreen.deviceScaleFactor to choose a custom value.
Protocol client methods now reject protocol names that do not conform to RFC 3986 URI scheme grammar.
The options.quotas object is no longer supported because it was removed from upstream Chromium.
Security 10
This event is scoped to the requesting document.
Backported fixes for CVE-2026-15764 through CVE-2026-15778.
Backported fixes for CVE-2026-9115 and CVE-2026-9116.
Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow
Backported fixes for touch-event queue teardown, Skia image-filter validation, and GLSL translator integer overflow issues.
Backported fixes for WebAudio worklet setup, ANGLE GL, GTK Wayland, accessibility tree-state validation, and text bidi handling issues.
Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path
Fixed the setting so it is properly constrained to file: origins in agent cluster key assignment.
Fixed protocol handlers with corsEnabled: false incorrectly working across protocols.
Electron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin reads
New APIs and options 24
A static method is now available on macOS to remove notifications.
A static method is now available on macOS to remove a notification group.
Adds a macOS-only check for whether the app is the active or foreground application.
Adds support for heap profiling.
Adds an environment variable for installing binaries for other architectures.
Adds an environment variable for installing binaries for other platforms.
Adds support for the experimental-transform-types command-line option.
Adds a script to manually trigger the Electron binary download.
Adds script attribution support through the AlwaysLogLOAFURL feature flag.
Menu item labels, sublabels, and icons can now be updated dynamically.
Adds support for MSIX automatic updating.
Adds a reason property to the Windows Notification closed event so developers can identify why a notification was dismissed.
Adds an API to retrieve notification history on macOS.
Adds Windows handling for notification clicks, replies, and action buttons, including when the app launches from a notification.
Adds support for importing shared textures using the p010le 10-bit YUV pixel format.
Adds the ability to capture a JavaScript stack trace when the renderer runs out of memory.
Adds asynchronous functionality supporting several additional safeStorage backends.
Adds a disclaim option to allow for TCC disclaiming on macOS.
Adds animation functionality to setBounds.
Adds a method to get or create a DevTools target ID.
Adds an option to use the printer's default page size.
Adds an option to disable automatic focusing of WebContents on navigation.
Adds an option to specify the offscreen rendering scale factor and fixes invalid screen information affecting related media queries.
Extends notification actions to include buttons, select dropdowns, and replies.
Performance 6
Reduced main-thread cost when sending large values through ipcRenderer.
Reduced main-thread cost when sending large values through webContents.send.
Enabled ThinLTO on macOS builds and for Linux and Windows release builds to improve performance.
Improves performance of native event emission.
Improves performance of option-dictionary parsing.
Release builds use profile-guided optimization for V8 builtins, improving JavaScript builtin performance, including Array, String, and RegExp.
Behavior and default changes 1
On Wayland, frameless windows now have GTK drop shadows and extended resize boundaries; set hasShadow: false for fully frameless windows with no decorations.
Fixes and other changes 69
Fixed calls resolving seconds late on Linux while the app was idle.
Backported fixes from ANGLE, Chromium, Skia and V8.
Corrected the Linux arm64 and armv7l value so opening a directory no longer fails with EINVAL.
Corrected the Linux arm64 and armv7l value, which previously held an x86 value.
Fixed premature portal timeout on Linux with Wayland.
restore now takes effect on Wayland if the window was maximized immediately after creation.
Fixed the system theme color appearing at the top edge of frameless windows on Linux.
Fixed a renderer crash when a page calls this method with processLocally.
Fixed a performance regression introduced in 42.8.1 that slowed style/layout work and app startup.
Fixed a renderer crash when disabling device emulation while the main frame was not local.
Frameless windows no longer shrink after applying constraints or toggling resizability on Windows.
Fixed a crash during Maglev compilation.
On Windows, programmatic resizing beyond maxWidth or maxHeight no longer clamps the content area below the configured limits when useContentSize is true.
Electron updated Chromium to 148.0.7778.280.
Electron updated Node.js to v24.18.0.
Updated the Chromium version bundled with Electron to 148.0.7778.271.
Fixed an issue where clicking the maximize button could progressively shrink the window in some Wayland environments.
Updated the Node.js version bundled with Electron to v24.17.0.
Fixed a Windows edge case when positioning a window behind the taskbar.
Fixed a 1px line appearing at the top of Linux frameless windows when the window and web contents have different background colors.
Fixed a crash when called before async encryption initialization completed.
Chromium was updated to 148.0.7778.254.
Node.js was updated to v24.16.0.
Calling win.center() no longer shrinks frameless windows on Linux and Windows, or leaves frameless windows slightly off-center on Windows.
Fixed a crash when processing strings in the main process.
Updated Chromium to 148.0.7778.218.
Fixed a crash when sharing a window on Windows.
Fixes a crash caused by a missing string resource in the macOS Touch ID WebAuthn prompt.
Fixes a macOS crash that occurred when a user clicked into a title bar or top view.
Fixed a crash involving desktopCapturer on macOS.
Fixed a potential race condition crash when closing DevTools.
Fixed additionalData on Windows being truncated or failing to deserialize in the primary instance's second-instance event.
Fixed macOS update installation failing if checkForUpdates was called again after an update was downloaded.
Electron 42 upgrades its Chromium runtime.
Linux sizing and resizing with CSD received fixes, and support was added for creating content-sized windows.
Fixed macOS text replacement not working in contenteditable elements.
Added missing metadata fields to contentTracing traces.
Fixed crashes when calling contentTracing APIs before the app is ready or calling getTraceBufferUsage during an active trace session.
Fixed VideoFrame objects returned through contextBridge having an incorrect prototype.
Fixed cookie changed events not being emitted in all cases.
Addressed the upstream Chromium change to enable CoreAudio Tap API for macOS audio capture.
Fixed some packages not being correctly filtered in macOS dialogs.
Fixed macOS dock menu items not respecting their enabled and checked properties.
Fixed region positions not updating when DevTools is docked to the left or right in a frameless window.
Hidden WebContentsView instances no longer respond to clicks in draggable regions.
Improved the appearance of shadows and borders on Wayland.
Fixed global shortcuts not working on Wayland when the GlobalShortcutsPortal feature is enabled.
Global shortcuts can now be registered more reliably on Wayland.
Fixed a memory leak when setting icons on Linux/GTK.
Menus now correctly emit this event when closed after a submenu has been open.
Fixed the parent window freezing on Windows when a message box is opened immediately after closing a child window.
Setting zoomFactor in this option now takes effect on windows opened via window.open().
Fixed the printToPDF queue so it resets after a rejection.
Fixed a crash on Wayland when called before a BrowserWindow has been created.
Fixed WebContentsView.setBounds triggering redundant page-favicon-updated events when the favicon had not changed.
Fixed stable bounds when toggling resizability for frameless windows on Windows.
Fixed some shell functionality on Linux when the target window is already open.
Fixed a TypeError when calling the method with a path and options.
Fixed a dependency issue that caused Squirrel.Mac updates to fail.
Fixed stacked update behavior for old staged updates.
Fixed traffic light buttons flashing at position (0,0) when restoring a minimized macOS window with a custom position.
Fixed borders and smearing in transparent frameless/client frame windows on Linux.
Electron 42 upgrades its V8 runtime.
Fixed printing so it honors the horizontal and vertical dpi options.
Fixed a potential crash when using webContents.print().
Handlers are now called for intercepted protocols and special net.fetch URLs.
Calling win.setFullScreen(false) while not in fullscreen no longer hides the Linux menu bar.
On Linux, windows no longer shrink below the requested maximum size or grow taller when resizability is disabled.
Fixed action and reply events not dispatching from the WinRT activation path.
electron 4179 changes
Breaking changes 3
Electron now uses an updated Node.js runtime.
Electron 41 upgrades Node to v24.14.0, which may affect application compatibility and runtime behavior.
Handlers now receive the requesting subframe's origin rather than the top-level page origin.
Security 28
Electron: Local race condition in Squirrel.Mac update installation on macOS
Backported fixes for the listed CVEs.
Backported 20 High-severity fixes from Chrome 148 stable release.
Electron: Context isolation bypass via Function.prototype.bind hijack
Electron: contextBridge object copy honors prototype setters
Backported fixes for the listed CVEs.
Electron: Cross-origin iframe can position native autofill popup
Electron: DevTools embedder handler executes arbitrary files via shell open
Electron: Extension tab APIs operate across session boundaries
Electron: HTTP redirect followed into local file loader
Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size
Electron: Parent process code-sign check is spoofable
Electron: Sandboxed iframes can launch external protocol handlers
Electron: window.open features string controls some window options considered privileged
Electron: DevTools JavaScript Injection via Unsanitized Dock State Parameter
Electron: Permission Check Handler Receives Main Frame Origin Instead of Requesting Iframe Origin
Electron: shell.openPath path validation bypass via embedded null byte
Electron: Crash in clipboard.readImage() on malformed clipboard image data
Electron: Named window.open targets not scoped to the opener's browsing context
Electron: Use-after-free in offscreen shared texture release() callback
Electron: HTTP Response Header Injection in custom protocol handlers and webRequest
Adds additional defence against privileged user modifications to ASAR Integrity protected applications on macOS.
Electron: Incorrect origin passed to permission request handler for iframe requests
Electron: nodeIntegrationInWorker not correctly scoped in shared renderer processes
Electron: Out-of-bounds read in second-instance IPC on macOS and Linux
Electron: Registry key path injection in app.setAsDefaultProtocolClient on Windows
Electron: Service worker can spoof executeJavaScript IPC replies
Electron: Use-after-free in offscreen child window paint callback
New APIs and options 6
Added an option to specify the device scale factor for offscreen rendering instead of using the primary display's value.
macOS apps can use this command-line flag to disable location services.
External shared textures can now be imported as VideoFrame objects.
Adds an option to bypass custom protocol handlers for requests.
Wasm trap handlers can be enabled using the WasmTrapHandlers fuse.
WebSocket authentication is now supported through the webContents login event.
Behavior and default changes 6
Electron 41 upgrades Chromium to 146.0.7680.65, which may affect application compatibility and browser behavior.
DevTools errors are no longer printed to the console.
Supports SF Symbol names.
Import shared texture now supports the NV12 format.
Electron 41 upgrades V8 to 14.6, which may affect application compatibility and JavaScript execution.
Requests sent via net can now have their headers modified to use reserved headers via webRequest.
Fixes and other changes 36
Fixed a Windows regression where frameless windows changed their size after calling setResizable.
Fixed a crash that could occur when an autofill suggestion popup was shown while a window was closing.
Fixed errors that occurred when using the Chrome DevTools Fetch API.
Fixed Backspace incorrectly accepting macOS text replacements inside contenteditable elements.
Cross-origin requests using mode: 'no-cors' now receive an opaque response.
Fixed white borders on frameless fullscreen windows on Windows.
Fixed a renderer crash when a page uses the <geolocation> HTML element.
Fixed some toast notification properties that did not work as expected in WinRT.
Building with
enable_pdfdisabled no longer fails.An Electron macOS update is applied even if another app previously blocked the macOS system update loop.
Fixed the missing Electron Isolated Context option in the DevTools execution context dropdown.
Fixed
gn genfailing to resolveelectron_versionwhen building from a git worktree checkout.Fixed saving edited PDF files failing with a cross-origin SecurityError.
Fixed a crash caused by closing devtools immediately after focus.
DevTools no longer re-attaches to the window when opened after previously being detached.
Menu items are now cleaned up when
Menu.setApplicationMenuis called repeatedly, preventing a memory leak.Fixed a crash when rendering PDFs with Site Isolation disabled.
Resize now triggers on window corners.
Fixed an intermittent application-quit crash when a WebContents or other JS-emitting native object is garbage-collected during shutdown.
Removes this logging when interacting with macOS menus.
Fixes margins not looking as expected when printing in silent mode.
Fixed an issue where an app shortcut may lose its icon after auto-updating on Windows.
Fixed an accessibility issue where the event was not fired on menu creation.
Fixed failures to save Windows notification icons caused by invalid characters in their temporary filenames.
Additional fs copy methods now support ASAR.
Fixed an issue that prevented some DevTools functionality from working as expected.
Universal Links are now delivered on macOS cold launch when NSUserActivity.userInfo is nil.
Fixes cookie encryption by using the old os_crypt sync implementation present in M142.
Fixes ESM-from-CJS imports when paths contain CJK characters.
Fixes globalShortcut not working on Wayland with GlobalShortcutsPortal enabled and makes registration more reliable on Wayland.
The close callback now fires when the given menu itself closes, rather than when any arbitrary submenu closes.
Overrides in setWindowOpenHandler are now honored for child windows sharing a renderer process with their opener.
Calling setRepresentedFilename() now sets the AXDocument accessibility attribute on macOS.
nodeIntegrationInWorker overrides are now honored for child windows sharing a renderer process with their opener.
Restores the window canHide property.
On Windows, calling window.setFocusable(true) no longer causes the window to lose focus.
electron 4059 changes
Security 15
Backported fixes for the listed CVEs improve Electron security.
Backported upstream fixes for memory-safety and validation issues across media, GPU, networking, accessibility, compositing and the ANGLE GL backend.
Backported fixes for use-after-free and object-lifetime issues in input, UI, Aura, HID and file-system teardown paths, and a runtime-effect validation gap in Skia.
Backported security fixes for the listed upstream issues.
Backported fixes for the listed CVEs.
Handlers now receive the requesting subframe's origin rather than the top-level page origin.
Electron: AppleScript injection in app.moveToApplicationsFolder on macOS
Electron: Unquoted executable path in app.setLoginItemSettings on Windows
Electron: Use-after-free in PowerMonitor on Windows and macOS
Electron: Context Isolation bypass via contextBridge VideoFrame transfer
Electron: Renderer command-line switch injection via undocumented commandLineSwitches webPreference
Electron: USB device selection not validated against filtered device list
Electron: Use-after-free in download save dialog callback
Electron: Use-after-free in WebContents fullscreen, pointer-lock, and keyboard-lock permission callbacks
Fixed cookie encryption provider handling in the network service when cookie encryption is enabled.
Deprecations 1
Clipboard API access from renderer processes is deprecated.
New APIs and options 8
Added methods for more granular accessibility support management.
Added an API to check whether hardware acceleration is enabled.
Dynamic ESM imports are supported in non-context isolated preloads.
Added memory-eviction as a possible reason for a child process to exit.
The flag can be used when the nul device is disabled on Windows.
Offscreen Rendering supports the RGBAF16 output format with scRGB HDR color space.
Linux can retrieve the system accent color through this API.
Passing null resets the accent color to follow system accent settings after a previous color was set.
Behavior and default changes 2
DevTools now receives focus automatically when an element is inspected or a breakpoint is triggered.
File System API grant status can now persist within a given session.
Fixes and other changes 33
Fixes from upstream Chromium were backported.
Fixed an issue that caused the RGBAF16 shared texture format to have a keyed mutex on Windows.
Electron updated its Node.js runtime to v24.15.0.
Fixed incorrect retrieval of running app icons on macOS Tahoe.
The AltGr key fix was reverted, restoring the menu bar display on Windows.
Chrome Devtools menus now appear in certain embedded windows where they previously may not have appeared.
Fixed a shutdown crash on Windows when the hidden titlebar is enabled.
Fixed offscreen rendering so it has valid screen information and can return valid results for related media queries.
Fixed cleanup of legacy keychain entries during migration to suffixed account names on macOS and fixed first-launch entries using the wrong account name.
Fixed a macOS crash when creating a new tab from the tab overview.
Fixed malformed custom toastXml causing a Notification crash.
Prevents pressing AltGr from activating or focusing the menu bar.
Fixed restoring a minimized fullscreen window on Windows so its previous fullscreen state is preserved.
Fixes menu item enabled state updates during key equivalent dispatch when the menu is closed on macOS.
Fixed a crash in the platform beep function on Linux.
Fixed a startup crash when the V8 sandbox is disabled.
Fixes resize issues for frameless windows in Mac App Store builds.
Pointer lock now works on Wayland.
Role-based menu items no longer incorrectly return null for their accelerator property.
Fixed an issue where native modules would crash or fail to compile on MacOS 12.
Fixed an issue in chrome://accessibility.
Updated Chromium to 144.0.7559.96.
Fixed a potential race condition crash when opening DevTools.
The toplevel icon Wayland protocol now works.
Fixed default button handling on Windows.
Fixed a potential Windows crash when the extension filter array is empty.
Fixed drag regions in child windows.
Fixed an issue where this event was not emitted properly for some application menus.
Fixed an unexpected dialog opening when no app is suitable to open the URL.
Fixed its application on macOS 26 when using titleBarStyle customButtonsOnHover.
Fixed a crash on Wayland when calling the API with mode detach.
Fixed visual artifacts while resizing a window on Windows.
Fixed Wayland configuration through the XDG_SESSION_TYPE environment variable.
electron 3961 changes
Breaking changes 2
The close callback now fires when the menu itself closes, rather than when any submenu closes.
The signature now provides a unified handle that holds the native handle.
Security 1
Backported security fixes for the listed vulnerabilities.
New APIs and options 9
The
assetskey can now be queried viaapp.getPathto locate assets and resources.Supported on Windows and macOS.
macOS system memory info now includes the
fileBackedfield.macOS system memory info now includes the
purgeablefield.The macOS
Trayconstructor acceptsguid, allowing tray icons to maintain their position across launches.USBDevice.configurationsis now supported.Offscreen shared texture info now includes
colorSpace.Gets a
WebFrameMaininstance from its frame token and process ID.On Windows, window accent color can be changed after initial window initialization via
{get|set}AccentColor.
Behavior and default changes 3
Chromium was updated to 142.0.7444.235, which may affect the behavior of Electron applications.
AccentColor setting now distinguishes the frame.
This release upgrades Chromium, Node, and V8; developers may need to account for changes inherited from those runtime versions.
Fixes and other changes 46
Registering an accelerator for alt+space now prevents the system context menu from being triggered.
Fixed application input breaking on certain Wayland compositors when a DND action was cancelled.
Fixed a crash that could occur when using the File System Access API.
Fixed rendering glitches on macOS.
Fixed menu item accelerators stopping working after the item's enabled property was toggled on macOS.
Fixed a duplicate Toggle Full Screen menu item appearing in the View menu on macOS.
Fixed stack overflow when compiling deeply nested JS functions.
Fixed flickering in the devtools element panel when using node inspection.
Fixed an issue where clicking a native notification could hang an application on certain Windows environments.
Reduced visual artifacts while resizing a window on Windows.
Fixed an issue where the parent window remained disabled after calling show() multiple times on a modal window.
Fixed a crash when reading system certificates through the Node.js TLS module.
Updated the bundled Chromium version to 142.0.7444.175.
Fixed a crash when creating event objects for IPC events.
Fixed an issue where some apps would throw an exception on launch.
V8 trap handlers were reenabled for wasm in browser and utility processes, improving runtime execution.
Fixed a crash on Windows when a path contains UTF-8.
Updated Chromium to 142.0.7444.134.
Corrected the appearance of tiled windows when frame is true and removed resize handles from tiled edges.
Fixed an issue that prevented macOS menu items from being disabled under all circumstances.
Fixed an issue that left the parent window interactive after a modal window opened.
Fixed an out-of-memory crash when optimizing certain wasm functions involving large phi nodes.
Fixed an issue with draw smoothing on rounded corners.
Fixed an application crash when clicking or hovering over the native macOS Window menu.
Fixed an issue that prevented menu items on macOS from being disabled under some circumstances.
Fixed an issue where right-clicking in the Wayland titlebar could break mouse interactions.
An invalid color passed as a string no longer results in a white accent color.
Prevents unnecessary removal and re-adding of the same BrowserView.
Fixed file dialogs so
appextensions filters allow selecting app bundles on macOS.Fixed an issue where
app.accessibilitySupportEnableddid not work as expected.Fixed the white flash when calling
BrowserWindow.show.Fixed a crash when called with an empty thumbnail size.
When passed a parent window, the dialog is now centered to that window rather than incorrectly to the monitor.
Fixed a crash when passing a feature parameter from the command line.
Fixed a runtime JavaScript error that could crash
GetPackageJSON.Fixed a crash when the inspector agent attempts to evaluate on provisional frames.
net.isOnline()no longer always returnstruein utilityProcesses.Fixed an issue that prevented
require('node:sqlite')from working.Fixed behavior on some older Windows versions where
setContentProtectiondid not work as expected.Fixed an issue where
shell.openPathwas not non-blocking as expected.Fixed an issue where this method inverted the color.
The
Refererheader is now set correctly when usingwebContents.downloadURL().Fixed a possible crash when calling
webContents.loadURL()from the catch handler of a failedwebContents.loadURL()call.Fixed a crash when accessing
webContents.session.Windows opened with
window.opennow always create a resizable popup window.Fixed an issue where windows opened with
window.openwould never be offscreen.
electron 3869 changes
Breaking changes 2
Adds assets as a key that can be queried via app.getPath.
Electron 38 upgrades V8 to 14.0, which may affect application runtime behavior.
New APIs and options 16
Allows intercepting and preventing mouse events in WebContents.
Adds support for Node's experimental network inspection option.
Adds support for the header menu item role on macOS.
Adds support for HIDDevice.collections.
Adds sublabel functionality for menus on macOS 14.4 and later.
Adds the priority option to net.request().
Adds the priorityIncremental option to net.request().
Electron adds support for the --no-experimental-global-navigator flag.
Adds support for the palette menu item role on macOS.
Adds support for converting DIP points to screen points on Linux X11.
Adds support for converting screen points to DIP points on Linux X11.
Adds support for customizing the system accent color and highlighting of the active window border.
Gets a WebFrameMain instance from its frame token.
Exposes a method to check window protection status.
Adds innerHeight as an option for window.open.
Adds innerWidth as an option for window.open.
Behavior and default changes 2
Electron 38 upgrades Chromium to 140.0.7339.41, which may affect application runtime behavior.
Electron 38 upgrades Node to 22.18.0, which may affect application runtime behavior.
Fixes and other changes 49
Electron updated Node.js to v22.22.0.
Updated the Node.js version included with Electron to v22.21.1.
Fixed an error checking environmental variables when installing Electron via npm with remote checksums.
Fixed hover button background calculation so it provides appropriate minimum contrast.
Fixed icons not showing up as expected in Windows Toast notifications.
Fixed shader-f16 to work on Windows.
Titlebar buttons now appear on the correct side of windows on Wayland in Ubuntu.
Updated the bundled Chromium version.
Fixed a development issue where the toolchain could not be found when building on macOS 26.
Updated the bundled Node.js version.
Fixed transparent window styles breaking when the resizable property changes.
Fixed an issue where authentication via websockets could crash.
Fixes the accent border being drawn on all windows regardless of active focus.
Fixes accent color being inverted when set to match the system color.
Fixes crashes when adding a closed WebContentsView.
Fixes a macOS crash when zip extraction fails.
Fixes background material on Windows during window creation and dynamic changes, and restores animations.
Fixes the broken chrome://accessibility page.
Fixes dragging sometimes failing after the contextmenu event is emitted.
Fixes runtime errors when importing from electron/utility in ESM files.
Fixes ERR_MODULE_NOT_FOUND when importing from electron/utility.
Fixes an error on first import from an ESM module loaded by a CJS module in a packaged app.
Fixes a crash when calling Fetch.continueResponse via debugger with WebContentsView.
Fixes filters not applying when only one filter is passed.
Fixes windows always using the dark theme on Linux and not responding to system theme changes.
Fixes users on macOS being unable to interact with a webpage loaded via loadURL.
Fixes a regression with directory selection in macOS dialogs.
Fixes protected transparent windows showing a titlebar after a visibility change.
Fixes child windows crashing when opened from a fullscreen parent with roundedCorners set to false.
Fixes a potential crash in some circumstances when using session.clearData.
Fixes snapped corner state not being restored after minimizing and restoring.
Fixes duplicate emissions of the suspend and resume events.
Fixes windows requiring a restart to recognize system accent color setting changes.
Fixes macOS transparent child windows rendering a grey block instead of their contents.
Fixes opening package paths as directories on macOS when treatPackageAsDirectory is enabled.
Fixes utility processes leaking file handles.
Fixes utilityProcess running a user script after process.exit is called.
Fixes video scrubbing not holding the new position during playback.
Fixes printing behavior when mediaSize is not passed.
Fixes failures when printing PDFs with webContents.print({ silent: true }).
Partially fixes an issue where the callback would not be called when printing a PDF.
Fixes crashes when some webContents functions are called after window.close().
Fixes a possible crash when using the WebView tag and calling focus.
Restores the previous window-hiding behavior on Windows.
Fixes windows flickering with a light or dark color before the desired background color loads.
Fixes a crash triggered by certain operations performed in a window close callback.
Fixes log files being written to the current working directory on Windows.
Fixes xdg portal version detection for file dialogs on Linux.
Fixes a crash in xdg portal version detection on startup.
electron 3750 changes
Breaking changes 2
Electron upgrades Node.js to 22.16.0, changing the Node runtime used by Electron applications.
Setting ProtocolResponse.session to null no longer creates a new random session; remove reliance on this deprecated behavior.
Security 2
Backports a security fix for CVE-2025-5419.
Fixes parsing NODE_OPTIONS for child processes on macOS and a crash caused by an out-of-bounds string read.
Deprecations 1
NativeImage.getBitmap() is deprecated; developers should avoid relying on it.
New APIs and options 11
Added an API to indicate whether a window has been arranged via Snap.
The new frame option enables macOS Autofill, Writing Tools, and Services menu items in context menus.
Added a property to distinguish the system theme from the app theme.
Adds priority and priorityIncremental options to net.request().
Adds support for the palette and header menu item roles on macOS.
Adds support for dipToScreenPoint and screenToDipPoint on Linux X11.
Adds the scriptURL property to ServiceWorkerMain.
Adds a CSS rule for smooth corners.
Added support for system-context-menu on Linux.
Electron adds support for blocklists for Web Serial and WebUSB.
Adds innerWidth and innerHeight options for window.open.
Performance 2
Improved performance on macOS when sources are requested without thumbnails.
Improved loading time when resolving fonts for uncommon scripts.
Behavior and default changes 3
Electron upgrades Chromium to 138.0.7204.35, changing the browser runtime and its available web platform behavior.
Reverts the change that greyed out disabled menu items on macOS.
Adds ffmpeg.dll to the delay load configuration.
Fixes and other changes 29
Updated the bundled Node.js runtime to v22.20.0.
Fixes an error importing electron for the first time from an ESM module loaded by a CJS module in a packaged app.
Badly formatted switches no longer cause crashes in app.commandLine functions.
Fixes a Windows issue where not all processes quit when the application closes.
ASAR integrity checks on Windows were improved.
Fixes context-menu event emission in Windows draggable regions and context-menu actions when no frame is passed.
Fixed Electron failing to load on some older Linux distributions.
On Linux, openExternal and openPath now honor user-defined system defaults.
On Linux, openPath now honors user-defined system defaults.
Fixed a crash on application exit with a pending getGPUInfo promise.
Fixed --inspect-brk failing in packaged apps.
Microtasks are no longer run incorrectly by serializing values, including when sending IPC.
Fixed restoration of userAgent when it was overridden.
Fixed a possible crash when using requestDevice and the select-bluetooth-device event.
Fixed OOM errors terminating the process directly without raising an OOM exception.
Fixed a potential crash in parentPort.
Fixed token formatting for tokens received after registration.
Fixed a possible crash in shell.readShortcutLink.
Fixed the event incorrectly firing for all regions in frameless windows.
Calling UtilityProcess.fork before the app ready event no longer causes a crash.
Fixed a potential crash when called with an invalid transferable.
Utility processes no longer crash on unhandled rejections or continue running a user script after process.exit is called.
Electron upgrades V8 to 13.8, changing the JavaScript engine version.
Fixed Web Workers crashing on unhandled rejections.
Fixed a crash on Linux when calling webContents.print().
Fixed printing from the renderer crashing the main process when no printers or default printer are available.
Fixed printing with cross-process subframes.
Fixes addChildView() crashes when adding a closed WebContentsView and a debugger-triggered Fetch.continueResponse crash.
Fixed an error when emitting close after toggling fullscreen mode.
electron 3678 changes
Breaking changes 8
The GTK 4 default on GNOME is called out as a breaking change.
Electron now uses Node 22.14.0.
The isDefault property was removed from PrinterInfo.
The status property was removed from PrinterInfo.
The quota: 'syncable' option was removed from ses.clearDataStorage().
Redesigned preload script APIs add registerPreloadScript, unregisterPreloadScript, and getPreloadScripts on Session.
Session extension APIs moved to Session.extensions.
The deprecated systemPreferences.isAeroGlassEnabled() API has been removed without replacement.
Security 2
Adds a way to safely execute code across world boundaries.
Adds permission support for document.executeCommand("paste").
Deprecations 3
getPreloads and setPreloads on Session are deprecated; use the redesigned preload script APIs instead.
Deprecated in favor of the redesigned preload script APIs.
Using empty arrays in the urls property is deprecated.
New APIs and options 15
Adds support for the roundedCorners constructor option on Windows.
Supported the Node.js CLI flag to specify the directory for saved heap snapshots.
Portal global shortcuts are supported when Electron is run with the required feature flag.
Added the frame option to support Autofill, Writing Tools and Services macOS level menu items in context menus.
Electron adds this Info.plist key with a false value to remove “Scale to fit below built-in camera.” from app options.
Adds support for preload scripts in service workers.
Adds a class for interacting with service workers in the main process.
Adds fromVersionID on ServiceWorkers to get an instance of ServiceWorkerMain.
Adds an event indicating when a service worker's running status has changed.
Adds a method to start a worker that may have been previously stopped.
Added a redesigned Session preload script API.
Adds an API to get a view's visibility.
Added a property to get the focused frame.
Adds an API that allows restoration of navigation history.
The webRequest filter gains excludeUrls. Empty arrays in the urls property are deprecated.
Performance 2
Optimized the webFrame.getZoomFactor API.
Optimized the webFrame.getZoomLevel API.
Behavior and default changes 2
The MacWebContentsOcclusion feature flag is re-enabled for Mac, with plans to enable it by default in a future release.
The 240 FPS limit is removed when using shared texture OSR.
Fixes and other changes 46
Fixed renderer crashes when loading about:blank in subframes.
Fixed packages being mistakenly not found in asar.
Fixed the Node.js assert module not working in the renderer process.
Fixed the feature not working in a frameless window during initial window creation.
Fixed Windows windows losing the backgroundMaterial effect when maximized.
Fixed displaying content on macOS when using showInactive.
Fixed a potential crash in chrome.tabs.update().
Electron now uses Chromium 136.0.7103.48.
Fixed the event not being emitted as expected in draggable regions on Windows.
Fixed events not being correctly dispatched in draggable regions on Linux.
Fixes selection of multiple directories not working on Linux.
Fixed file dialog filters being mixed up when a * filter was included.
Fixed drag and drop icons not showing on Windows.
On Linux, openExternal now honors user-defined system defaults.
On macOS, a menu item with enabled = false is now greyed out.
Addresses two possible crashes in the File System Access API.
Fixed an issue where drag-dropping two directories caused getAsFileSystemHandle to never resolve.
Fixes the method never resolving when two directories are drag-dropped.
Fixed a crash affecting 36 betas on macOS.
Fixed a potential crash when legacy getUserMedia is called with an invalid chromeMediaSourceId.
Fixed the default path not always correctly filling the Name field on Linux.
Fixed context menu actions such as copy and paste not firing correctly when a frame was not passed in.
Fixed NODE_OPTIONS parsing for child processes on macOS.
Fixes an upstream bug that caused Offscreen Rendering to stutter.
Fixed possible permission issues after focus loss and regain.
Fixed rounded corners disappearing momentarily when closing on Windows 11.
Fixed content protection being reverted when a window was hidden.
Fixed print scaling being too small during silent print.
Fixed spellcheck suggestions not correctly populating on Windows.
Fixed flickering and ghosting artifacts in transparent windows on macOS.
Fixes the API in main and utility processes and adds support for the Node.js --diagnostic-dir CLI flag to choose where heap snapshots are saved.
Electron now uses V8 13.6.
Fixed the resizing border not working as expected on Wayland windows.
Fixed broken window borders in some circumstances on Wayland.
Fixed web worker scripts failing to load for Chrome extensions.
The type for WebContents.opener now specifies that it may be null.
Fixes webContents.print after the switch to OOP printing on macOS and Linux.
Fixed broken OOP window.print() on macOS and Linux.
Fixed a crash related to accessing speculative frames that have been destroyed.
Fixed crashes when accessing frames and name attributes on destroyed frames.
Fixed the file preview window reappearing when closeFilePreview is called twice on macOS.
Maximizing and restoring now respects corner radius settings, and the corner radius is correct in fullscreen mode.
Fixed the Windows Minimize menu button to follow the set window minimizability.
Fixed title changes occurring while navigating within a page.
Fixed the border style of windows with vibrancy on macOS.
Fixed snapped windows sometimes being improperly restored.
electron 3522 changes
Breaking changes 1
The event arguments move into the event object, which also gains a frame property.
Deprecations 1
This API is deprecated and will be removed without replacement.
New APIs and options 6
Adds an optional animation parameter.
Adds query-session-end and improves session-end events on Windows.
Adds an API to manage shared dictionaries for compression efficiency using Brotli or ZStandard.
Adds APIs to inspect shared dictionary information for compression efficiency using Brotli or ZStandard.
Adds APIs to inspect shared dictionary usage for compression efficiency using Brotli or ZStandard.
Adds access to the JavaScript call stack of unresponsive renderers.
Performance 2
Processing microtasks is faster.
Optimizes webFrame.getZoomLevel and webFrame.getZoomFactor.
Behavior and default changes 1
Electron upgrades Chromium to 134.0.6998.44, which may affect application runtime behavior.
Fixes and other changes 11
Fixes the extension API being unavailable in service workers.
Fixes getSources not returning Electron windows on Windows.
Fixes EventSource being undefined in renderer and worker processes when Node.js integration is enabled.
Electron upgrades Node to 22.14.0.
avoidClosingConnections now properly defaults to false when the dataTypes option is not set.
Fixes trace-startup on macOS.
Fixes the exit event being emitted twice from utilityProcess.
Fixes the utility process pid remaining defined after exit.
Electron upgrades V8 to 13.4.
Fixes the missing index argument for webContents.canGoToOffset.
Fixes broken OOP window.print on macOS and Linux.
electron 3448 changes
Breaking changes 1
On Windows, the menu bar is now hidden when the window is fullscreen.
New APIs and options 7
Adds support for the macOS system picker.
Adds GPU-accelerated shared texture offscreen rendering.
Adds an API to clear the shared dictionary cache.
Adds an API to clear the shared dictionary cache for an isolation key.
Adds an error event to support diagnostic reports on V8 fatal errors.
Adds a property for identifying frames in an unloading state.
Adds a method to determine whether a frame has been destroyed.
Behavior and default changes 4
Electron 34 upgrades Chromium to 132.0.6834.83, which may affect application behavior and compatibility.
Adds support for the macOS system picker.
Electron 34 upgrades its Node runtime to 20.18.1, which may affect application behavior and compatibility.
Electron 34 upgrades V8 to 13.2, which may affect application behavior and compatibility.
Fixes and other changes 36
Fixes closing a window with more than one attached sheet on macOS.
Fixes BaseWindow.setTouchBar not working as expected.
Fixes an auto-resize issue with BrowserView.
Fixes an exception after the owning BrowserWindow is closed.
Restores Chromium's default Content-Disposition header parsing.
Fixes a possible crash when using draggable regions and BaseWindows to get the context-menu event.
Fixes duplicate contextmenu event emission on macOS.
Fixes the custom spell checker getting stuck in an infinite loop using 100% CPU.
Fixes defaultPath not working for all users on Linux when creating an open file dialog.
Fixes the eyedropper icon so clicking it opens an eyedropper for color selection.
Fixes file chooser dialogs for flaptak applications.
Fixes saving fillable PDF forms in some circumstances.
Fixes a crash when calling getDisplayMedia from multiple iframes.
Sets the focusedWindow parameter when the focused window is a BaseWindow.
Fixes a crash when the network process terminates while a net log is running.
Fixes a crash in the net API when a utility process exits.
Fixes a Linux crash when closing a window after printing.
Fixes resize events not being emitted for single-pixel resizes on Windows.
Fixes resize events being emitted on Windows when a window was moved but not resized.
Fixes camera permissions affecting screen sharing.
Fixes calling setAlwaysOnTop on a hidden window that is then shown with showInactive on Linux under X11.
Fixes a potential issue accessing a child window document when overriding BrowserWindow creation.
Fixes external window focus when using shell.openExternal.
Fixes other apps not being focused when launched from Electron ozone/wayland.
Fixes a crash that could occur when calling this API on Windows.
Fixes the mouse cursor turning into a loading spinner when starting a utility process on Windows.
Normal termination of a utility process now returns exit code 0.
Fixes the context-menu event not being emitted when using -webkit-app-region: drag.
Fixes cases where WebContentsViews did not display correctly on macOS after being added as child views.
Fixes WebContentsViews being improperly removed.
Fixes a segfault when moving WebContentsView between BrowserWindows.
When a frame is unloading, the returned WebFrameMain instance now matches the given process and frame IDs.
Fixes a crash that could occur when calling focus on a WebView's webContents.
Fixes dragging to resize when using Window Controls Overlay on Linux.
Fixes missing tooltips on buttons shown under the Window Controls Overlay API.
Fixes the Windows control overlay being unexpectedly visible in fullscreen on Linux.
electron 3332 changes
Breaking changes 2
Custom protocol URLs using Windows file paths no longer work correctly with the baseURLForDataURL property.
Custom protocol URLs using Windows file paths no longer work correctly with this deprecated API.
Security 1
Rejects with NotAllowedError when system-level microphone or camera permissions are denied on macOS.
Deprecations 1
Usage of the textured BrowserWindow type option is deprecated on macOS.
New APIs and options 9
Supports responding to authentication requests initiated from a utility process.
Adds a handler to help unlock cryptographic devices when a PIN is needed.
Added an API to retrieve a download's current bytes per second.
Added an API to retrieve a download's end time.
Added an API to retrieve a download's percent complete.
Added prefersReducedTransparency to indicate whether the user chose to reduce OS-level transparency through system accessibility settings.
Extends the API with two functions for better history management.
Exposed systemPreferences to utilityProcess.
Adds border-radius customization for views, with compatibility for WebContentsView.
Performance 1
Enables zstd compression in net HTTP requests.
Behavior and default changes 1
Adds Linux support for the Windows Control Overlay API.
Fixes and other changes 17
Fixed crashes when setting some levels of transparency.
Fixed a focus issue when calling setTopBrowserView.
Fixes cases where setTouchBar did not work as expected.
Fixes non-resizable windows becoming resizable on macOS 14.4 or later when calling getSources.
Fixes cases where getSources did not fulfill its promise.
The failure pathway now aligns with upstream when attempting to open a file or directory in a blocked path.
Fixed the API not remembering the user's last picked directory as expected.
MessagePorts no longer close unexpectedly when non-cloneable objects are sent via postMessage.
Now rejects with NotAllowedError when microphone or camera permissions are denied at the system level on macOS.
Fixed cases where getPorts incorrectly returned an empty array.
Fixes missing fetch-dependent interfaces in Web Workers when nodeIntegrationInWorker is enabled.
Fixes broken results from navigator.mediaDevices.enumerateDevices in some cases after setting a permission check handler.
Fixed control failing to return properly after saving a dialog on Linux.
Fixed a potential error when closing a BrowserView's webContents.
Fixes blank-page output when printing from an existing PDF document.
Fixed printing from an existing PDF document resulting in a blank page.
Fixes cases where calling showInactive on macOS did not show the window.
electron 3246 changes
Breaking changes 1
The nonstandard File.path extension was removed from the Web File API.
New APIs and options 3
Added cumulativeCPUUsage to AppMetrics and CPUUsage.
Navigation history now exposes canGoBack, goBack, canGoForward, goForward, canGoToOffset, goToOffset, and clear.
WebContentsView now accepts a pre-existing webContents object.
Behavior and default changes 3
No longer checks for a Desktop Environment when setting the badge count.
No longer checks for a Desktop Environment when setting the progress bar.
Enabled the Windows Control Overlay API on Linux.
Fixes and other changes 39
Fixed crashes when a view is added as its own child or the same WebContentsView is added multiple times.
Fixed an incorrect check against loginItemService.
Fixed setTitleBarOverlay not working as expected on BaseWindow.
Dialogs now work when parented to a BaseWindow rather than a BrowserWindow.
Fixed an error when calling setAutoResize on a BrowserView.
Fixed incorrect window centering on Windows and Linux and in some other circumstances.
BrowserView webContents are no longer destroyed when preventDefault is set on the owning BrowserWindow's close event.
On macOS, focus now correctly restores focus to inactive apps.
On macOS, show now correctly restores focus to inactive apps.
Chromium was upgraded to 128.0.6613.36.
Fixed circumstances where the promise would never resolve.
Fixed windows becoming resizable on macOS 14.4 or later and cases where the promise never fulfilled.
Fixed mismatches between desktopCapturer sources and screen.getAllDisplays() on Windows.
Fixed fullscreen requests from a webContents inside WebContentsView.
Fixed cases where fetch-dependent interfaces were undefined in Node.js with nodeIntegration enabled or missing in Web Workers with nodeIntegrationInWorker enabled.
Fixed behavior when entering or exiting fullscreen fails on macOS.
Fixed High Contrast Mode not applying to webContents on Windows.
Fixed crashes caused by opening multiple file pickers on Windows via the input tag.
Bad flags no longer cause a crash.
Fixed cases where the user-specified default path did not work.
Fixed broken results in some cases after calling session.setPermissionCheckHandler.
Fixed a crash that could occur in some circumstances.
Fixed a resource leak when using readable streams as the response body for a custom protocol handler.
Node was upgraded to 20.16.0.
Fixed a potential crash when removing notifications on Windows.
originalFs.promises.cp now works.
Fixed data corruption when incoming data is processed asynchronously.
Fixed recent documents not populating properly on macOS.
Error messages are improved when setting cookies fails.
Fixed a crash when resolving a proxy.
Fixed an error where a minimized or hidden window caused an unresponsive error in the main process.
Fixed the context menu not triggering as expected on Windows with a frameless BrowserWindow.
Fixed a potentially incorrect exit code.
V8 was upgraded to 12.8.
Fixed the property not being enumerable.
Fixed a Chromium crash caused by a dangling unretained pointer in some webRequest functions.
Fixed crashes in some calls to WebUSB methods.
The type was corrected back to string.
Fixed showInactive not showing the window on macOS and windows being blank when shown.
electron 3126 changes
Breaking changes 5
Removed the inputFieldType property from context-menu parameters.
The method now preserves PNG colorspace.
ScreenCaptureKit is used exclusively on macOS 14.4 and higher to avoid permission prompts.
WebSQL support was removed with the Chromium update.
On macOS, window.flashFrame(bool) now flashes continuously.
New APIs and options 6
Implemented support for the File System API.
Added a webContents navigationHistory method to retrieve the URL and title of a navigation history entry.
Bluetooth ports can now be requested by service class ID.
Added support for the NODE_EXTRA_CA_CERTS environment variable.
Requests made with the net module from utility processes can now be configured to use a proxy.
The API now accepts an options parameter, and clearData was added to Session.
Behavior and default changes 1
The handler now supports manual creation of BrowserWindow.
Fixes and other changes 14
Fixed a crash if a view is added as its own child.
Fixed app.getLoginItemSettings not correctly throwing errors.
Functionality to check whether an app was launched as a login service on macOS was re-added.
Fixed a bug where a window with maximization disabled and WCO enabled would still show its maximization button.
Fixed a potential crash on extension unload.
Fixed support for selecting multiple folders or files in the shell_dialogs portal implementation.
Added missing support for the recursive option in readdir and its promise and synchronous variants.
withFileTypes is now supported when recursive readdir is called in Asar archives.
Fixed the method and shell.openExternal not resolving when called in the renderer process.
The event no longer improperly respects filters set by serial.requestPort().
Fixed Windows Explorer not opening when the passed path contains forward slashes.
Windows made visible with showInactive no longer appear blank.
Fixed printing failing when options were omitted or passed as undefined.
Fixed a crash when the same WebContentsView is added via addChildView multiple times.
electron 3018 changes
Breaking changes 4
Chromium removed the --disable-color-correct-rendering switch.
Cross-origin iframes now use Permission Policy to access features.
Chromium removed process.getIOCounters().
Added WebContentsView and BaseWindow as replacements for the deprecated BrowserView APIs.
Security 1
Fixed the setting not correctly preventing fetch() calls to file:// URLs.
Deprecations 1
BrowserView APIs are deprecated and replaced by WebContentsView and BaseWindow.
New APIs and options 3
Added a method for applications to check a window's occlusion status.
The net module is now available in the utility process.
Added the transparent webPreference to webviews.
Behavior and default changes 1
The ASAR Integrity fuse is now supported on Windows.
Fixes and other changes 8
Fixed an issue where import.meta.url did not work in the renderer process with contextIsolation enabled.
Fixed bugs that could prevent forwarding requests intercepted with protocol.handle().
Fixed select-usb-device not respecting the filter option.
Fixed loadURL incorrectly failing when called immediately after a previous loadURL call failed.
The loadURL promise is now properly rejected when loading an invalid URL.
Fixed failures with certain combinations of margins and pageSize values.
Fixed the printBackground option not working as expected.
Fixed a potential crash when closing or interacting with a WebContentsView after its associated WebContents was cleaned up.
electron 2941 changes
Breaking changes 8
Functions called over the contextBridge are now called with the expected receiver (this).
The WebContents and webview event has been removed.
The drag style has no effect in full screen mode.
The new webUtils.getPathForFile method replaces the File.path augmentation.
The deprecated app event has been removed.
Applied the module search paths restriction on worker and child process.
The app event has been removed.
Added a method to replace the File.path augmentation.
Security 2
Fixed the setting that was not correctly preventing fetch() calls to file:// URLs.
A new Electron Fuse opts the file:// protocol into more secure and restrictive behaviour that matches Chromium.
New APIs and options 6
The display object gained the detected property.
The display object gained the maximumCursorSize property.
The display object gained the nativeOrigin property.
Support was added for configuring use_remote_checksums via .npmrc.
Added an option to allow V8 code cache in custom schemes.
The permission request handler now supports keyboardLock.
Behavior and default changes 2
Migrated to Apple's new recommended underlying framework on macOS.
Migrated to Apple's new recommended underlying framework on macOS.
Fixes and other changes 23
Fixed maximized window bounds when toggling the function.
Electron 29 upgrades Chromium to 122.0.6261.39.
Fixed an issue where some dependencies using CommonJS would cause ESM apps to fail to open.
Fixed an issue where devtools could not be re-opened.
Fixed an error changing file format on macOS.
Fixed an issue where draggable regions did not work across platforms.
Correctly support the throwIfNoEntry option in asar files.
The throwIfNoEntry option is now supported in asar files.
Fixed the method not resolving as expected.
Fixed behavior to match the latest expected behavior.
Electron 29 upgrades Node to 20.9.0.
Fixed Windows Toast notifications not being properly dismissed from the Action Center in the described case.
Fixed WebViews sometimes crashing on unload.
Fixed methods that were not properly corrected for patched imports.
Fixed various bugs which could prevent forwarding requests intercepted with protocol.handle().
Fixed Request objects not correctly copying headers into fetches.
Fixed a key lookup bug.
File paths passed to this method are now escaped correctly on Linux.
Electron 29 upgrades V8 to 12.2.
Fully occluded windows on Linux and Windows no longer produce an empty image.
Fixed interaction with fullscreen and WCO on macOS.
Fixed zoom level settings not persisting per-session for webviews.
Fixed the event not being emitted when pressing links in chrome: pages.
electron 2842 changes
Breaking changes 5
The method has been removed.
The getTrafficLightPosition() and setTrafficLightPosition() methods have been removed.
The method has been removed.
These events have been removed.
The method now returns an RGBA hex value (#RRGGBBAA) instead of a plain RGB value (#RRGGBB).
Security 1
Fixed certain Tab object properties not being properly considered privileged.
Deprecations 4
This property has been deprecated.
The WebContents and webview event has been deprecated.
The app event has been deprecated.
The app event has been deprecated.
New APIs and options 15
Support has been added for additional extensions manifest keys, including author.
A tabbingIdentifier property has been added.
Support has been added for chrome.scripting extension APIs.
Linux now supports the ELECTRON_OZONE_PLATFORM_HINT environment variable.
Electron now supports ESM, enabling applications to use ESM with Electron.
Added an API to get the UDP port range for WebRTC.
Support has been added for additional extensions manifest keys, including host_permissions.
An API was added to help apps know when to avoid semitransparent backgrounds.
Added an API to specify the UDP port range for WebRTC.
Support has been added for additional extensions manifest keys, including short_name.
Tray icons now support a middle-click mouse event.
Windows Tray now emits mouse-enter and mouse-leave events.
The UtilityProcess API now supports ESM entrypoints.
HTTP headers can now be sent with webContents.downloadURL().
The generateTaggedPDF option enables generating tagged, accessible PDFs.
Performance 1
fork() and execve() performance improved for the child_process API on Linux.
Behavior and default changes 2
Setting backgroundThrottling to false disables frame throttling in the BrowserWindow for all WebContents it displays.
Electron now honors XDG dark theme preferences on Linux.
Fixes and other changes 14
Fixed incorrect activation of panel windows on macOS Sonoma.
Fixed the API always returning true on ARM64.
Fixed cases where setBounds calls did not paint the view in its new bounds.
Fixed maximized window bounds when toggling resizability.
Fixed a Windows launch failure affecting launches of store applications.
Functions called over the contextBridge now receive the expected this value.
MessagePorts are now garbage collected when they are no longer referenced.
Same-party cookie functionality for first party sets has been fixed.
CommonJS module compatibility improved by passing dummy module.exports.
Fixed a promise resolving too early when the browser initiated in-page navigation.
Calling loadURL during some webContents URL-loading events no longer crashes.
Fixed printing failing when options is a frozen object.
Fixed conversion of accelerators representing DOM keys.
Fixed importKey errors when SharedArrayBuffers are not defined.
electron 2773 changes
Breaking changes 10
The deprecated color scheme changed events in systemPreferences have been removed.
The enable_osr build flag has been removed.
The enable_picture_in_picture build flag has been removed.
The build flag has been removed in favor of the runAsNode fuse.
Support for macOS 10.13 and 10.14 has been removed.
The runAsNode fuse replaces the removed enable_run_as_node build flag.
This API has been removed.
The alternate-selected-control-text value is no longer supported.
The deprecated API has been removed.
All currently supported versions of Electron have dropped support for Windows 7/8/8.1.
Security 2
Backported a security fix for this vulnerability.
Backported a security fix for this vulnerability.
Deprecations 3
This API is deprecated in favor of sharing a MessageChannel between two renderers.
The senderId property has been deprecated.
The senderIsMainFrame property has been deprecated.
New APIs and options 12
A BrowserWindow.showAllTabs API has been added.
The default math font can now be customized along with other fonts.
Electron now supports the Node.js --dns-result-order CLI flag.
Menus can now be flagged as being keyboard initiated.
Chrome Extensions now support the
minimum_chrome_versionmanifest key.Added support for several more Node.js CLI flags in the main process.
Added support for the Region Capture API with tab MediaStream.
Added an API to get the selected storage backend.
Added an API for controlling use of plain-text encryption.
An API lets apps determine whether to avoid using semitransparent backgrounds.
Can now send HTTP headers with
session.downloadURL().A title parameter lets developers specify the DevTools window title.
Behavior and default changes 6
The API now guarantees that its returned array is sorted by z-index.
node:-prefixed requires are now supported for events in sandboxed renderer preloads.
Sandboxed renderer preloads now support
node:-prefixed requires forevents,timersandurl.node:-prefixed requires are now supported for timers in sandboxed renderer preloads.
Linux system dark theme preference is detected via the xdg settings portal.
Added transparent color support for WCO on Windows.
Fixes and other changes 40
Fixed
<datalist>popups being positioned incorrectly.Fixed inconsistent behavior across platforms when setting bounds.
Fixed incorrect offsets when bounds are set before adding BrowserViews to a BrowserWindow.
Fixed fullscreen crashes on macOS for windows configured with frame: false and roundedCorners: false.
Fixed the method not working for child windows on macOS.
Fixed a potential crash when called on modal child windows.
Fixed a potential crash when called with a destroyed
webContents.Fixed showing a child BrowserWindow also showing its siblings on macOS.
Fixed fullscreenability and resizability settings not being respected when child windows open while the parent is already fullscreen.
Fixed service workers being unable to run Chrome APIs in Chrome Extensions Manifest V3.
Fixed improper operation with Chrome Extensions Manifest V3.
Fixed improper operation with Chrome Extensions Manifest V3.
Fixed errors thrown when listening to certain chrome.tabs events.
Added partial support for
chrome.tabs.query.Fixed the returned
tabobject not reflecting properties that were changed.Electron 27 uses Chromium 118.
Fixed
clipboard.readImage()getting blocked when there is no PNG image in the clipboard.Fixed a redundant permission popup when fetching screens and windows on Wayland.
Fixed thumbnail generation after screen sharing is cancelled on Wayland.
Added the missing type for Electron.TitleBarOverlay.
Fixed menu bar visibility when exiting full screen.
Fixed a crash when a utility process exits.
Fixed a crash when calling
nativeImage.resize()before the appreadyevent.Fixed a crash when changing the
nativeThemesource during menu close.Fixed asar integration for
node:child_processimports.Electron 27 uses Node 18.17.1.
Fixed a shutdown crash in TLS sockets with Node.js HTTP/2 connections.
Fixed files being selectable in some circumstances when
openFilewas not passed as a dialog property.Fixed incorrect API values in some situations when
backgroundThrottlingwas disabled.Fixed preload scripts not running in some child windows opened by
window.open.Fixed the callback not being called with the
filescheme.Fixed a potential crash when calling
tray.popUpContextMenuon macOS.Electron 27 uses V8 11.8.
Fixed
webContents.print({ silent: true })not working correctly.Added missing options required to set printer printable area, fixing parameter validation errors.
Fixed the callback no longer triggering when the user cancelled the print dialog.
Fixed
webContents.print(null)incorrectly triggering an error.Fixed the
preferCSSPageSizetype error.Fixed window size constraints not working on macOS.
Fixed an issue where window.open could interfere with various aspects of Node.js functionality.
electron 2661 changes
Breaking changes 1
The build flag has been removed.
Security 1
Fixed potential use-after-free on close and reparent.
Deprecations 3
The API is deprecated.
The
alternate-selected-control-textvalue is deprecated.The API is deprecated.
New APIs and options 8
The context-menu event is now surfaced from extensions.
The event now includes several new cursor values.
Added a new event on app.
Added support for Mica and Acrylic background effects on Windows.
Added net.resolveHost to resolve hosts using the defaultSession object.
Added thermal management information.
Allows access to protected USB classes with WebUSB.
Exposes methods to center text selection, scroll to the page bottom and top, and adjust selected text.
Behavior and default changes 1
Messages sent via
ipcRenderer.sendTo()now includesenderIsMainFrame.
Fixes and other changes 47
Ensured Electron's custom accessibility attribute works as expected in relevant protocol methods.
Fixed a perceived failure when using the accessibility attribute to enable accessibility features.
Fixed a crash that could occur in some cases.
Fixed incorrect bounds for transparent maximized windows on Windows.
Accessing the property no longer throws an error after the window is destroyed.
Fixed incorrect true results for minimized or fullscreened windows on macOS.
Fixed an incorrect true result after minimizing a window immediately after maximizing it.
Fixed incorrect true results for minimized windows on Windows.
Fixed a potential crash when re-parenting a BrowserWindow whose first parent has been destroyed.
Fixed an error in the Top Level Windows section.
Electron upgrades Chromium to 116.0.5845.62.
Fixed a crash when reading images copied via the context menu on macOS.
Improved the error message when stopping recording fails because no trace was in progress.
Fixed a crash when listing desktop capture sources.
Fixed incorrect prototype class names for certain Electron classes.
Fixed menus not opening after resizing, maximizing, or unmaximizing a window.
Fixed a potential crash when right-clicking on macOS windows with draggable regions.
Fixed the fullscreen/maximize button being incorrectly enabled on initial window creation.
Fixed notifications with no actions erroneously showing a
Showbutton.Fixed potential issues when minimizing parent windows with non-modal children.
Fixed traffic lights malfunctioning on child windows in some circumstances.
Fixed an issue where the method always returned null.
Added an about panel for menu role
abouton Linux.Fixed a crash with a sigbus error.
Fixed a rare crash when closing an active native tab on macOS.
Fixed incorrect data being returned.
Fixed the recommended version in the
node.herror.Electron upgrades Node to 18.6.1.
Fixed a console error seen when loading PDFs.
Fixed certain buttons in the PDF viewer not working.
Fixed potential invalid protocol error handling.
Fixed a crash while screen sharing on Wayland with PipeWire.
Fixed broken defaults in
shell.openExternal()options.Fixed the event not being emitted properly on macOS.
Fixed VoiceOver being unable to trigger the tray action when selected to emit the click event.
Fixed a crash when executing eval in the utility process.
Electron 24 upgrades V8 to 11.2.
Fixed the display of title bar buttons on Wayland.
Fixed a potential crash when calling the method with invalid settings.
Fixed an issue that prevented defaultFontFamily from taking effect.
Fixed crashes when removing a webview in a close callback.
Fixed cases where the default background color for windows might be incorrect.
Calling
window.setKiosk(false)no longer exits fullscreen regardless of the fullscreen state before kiosk mode.Fixed the application menu overlapping menu items.
Fixed FrameViews always appearing inactive regardless of focus status.
Fixed a crash that could occur when printing on Windows.
Fixed the title bar not being correct after changing the native theme on Windows 10.
electron 2520 changes
Breaking changes 1
The method now takes size instead of maxSize.
Security 1
Fixed incorrect policy enforcement when sandbox: false and contextIsolation: false.
Deprecations 1
These protocol registration and interception APIs are deprecated in favor of protocol.handle.
New APIs and options 10
Exposes the audio-state-changed event on webContents.
Added APIs to set and get the window button position.
Added httpOnly to the cookie filter.
Added initiator information to navigator events.
Added net.fetch().
Added protocol.handle as a replacement for the legacy protocol registration and interception APIs.
Added the enableLocalEcho flag to the callback, allowing remote audio input to be echoed in the local output stream when audio is a WebFrameMain.
Added logUsage to the options, allowing the SEE_MASK_FLAG_LOG_USAGE flag to be passed to ShellExecuteEx on Windows.
Added several standard page size options.
Added an event to webContents and the webview tag that fires when any frame in the frame hierarchy attempts to navigate.
Behavior and default changes 2
Now supports requests to file: URLs and custom protocols registered with protocol.register*Protocol.
The API now accepts an absolute path.
Tooling 1
Added types to the webRequest filter.
Fixes and other changes 4
Fixed an issue where BroadcastChannel did not work correctly when contextIsolation is false.
The Chromium runtime was upgraded.
The Node.js runtime was upgraded.
The V8 runtime was upgraded.
electron 2424 changes
Performance 1
Updated Chromium to 112.0.5615.49; the update fixed a performance regression.
Fixes and other changes 23
Setting the about panel's options no longer crashes.
No longer blocks the main thread on Windows or Linux, matching macOS.
Fixed a crash when BrowserViews are present and a user attempts to prevent beforeunload in the renderer process.
Fixed canceling requests when no devices are returned.
Fixed the destroyed event not being emitted on close.
Fixed minWidth/minHeight and maxWidth/maxHeight not being enforced when the user set an aspectRatio on macOS.
Fixed BrowserWindow not updating after a call to previewFile.
Fixed a window being unable to return to maximized state when restored on Linux.
Improved error messages.
Fixed an incorrect result returned when using secure as a cookies filter.
Fixed a crash on capturing sources when using the API on Wayland.
Fixed potential dock icon duplication on macOS.
Fixed draggable regions incorrectly capturing clicks in framed windows.
Fixed draggable regions not working in Mac App Store builds.
Corrected an issue with HTML fullscreen when BrowserWindow fullscreening is disabled.
Fixed invalid parameters causing a crash when calling port.postMessage.
Electron 24 upgrades Node.js to 18.14.0.
Fixed the first action being obscured and unavailable when both hasReply and actions are passed to a main process Notification on macOS.
Fixed right-click events not being delivered in frameless window draggable regions.
Improved error messages on failure.
Fixed the active background color for top-level menu items on Windows.
Fixed duplicate logs in some cases.
Fixed WebUSB on ARM64 macs.
electron 2329 changes
Breaking changes 4
This deprecated method has been removed.
Support for nodeIntegrationInWorker in Service Workers and Shared Workers was removed owing to sandboxing policies.
Requiring an electron subpath other than main, common, or renderer no longer resolves to the built-in electron module.
These operating systems are no longer supported because Chromium 110 dropped support.
New APIs and options 7
Returns the user's system languages.
Display objects now have a label property.
Emitted when a given origin is revoked.
Added support for serialPort.forget().
Lets developers opt out of Mission Control on macOS.
Added an API to launch a Chromium child process with Node integration.
Electron now supports WebUSB.
Performance 1
The process cache is used to reduce memory for asar files.
Behavior and default changes 5
A default margin has been added in the code.
Crashpad is now enabled for processes running with this environment variable.
The built-in electron module can now be imported natively through ESModule loaders.
Basic accessibility support is enabled when macOS Voice Control is activated, allowing full voice control of Electron applications.
Enabled out-of-process iframe printing to PDF.
Fixes and other changes 12
Calling this before the app ready event no longer crashes.
Fixed an RTL issue that could occur in some locales on macOS.
Chromium was updated to 110.0.5481.77.
Fixed incorrect focus ring highlighting.
Fixed an error when options are null.
Node.js was updated to v18.12.1.
Fixed a printing crash caused by an uninitialized preference.
The callback is no longer invoked twice when using navigator.getUserMedia.
Fixed the Tray click event and tooltip not working on Linux.
Fixed spurious promise rejection when navigating to a hash.
Fixed a potential issue when calling this API and corrected options that were being ignored.
Fixed incorrect initial background color following reloads.
electron 2224 changes
Breaking changes 3
The deprecated new-window event has been removed.
The minimum Node.js version required to install Electron is now 12.20.55.
Electron will end support for Windows 7/8/8.1 after version 22.x.y; older Electron versions will continue to work but receive no further updates for these operating systems.
Deprecations 1
BrowserWindow scroll-touch-* events are deprecated; use the new WebContents input-event event instead.
New APIs and options 14
Adds a method for retrieving the system locale.
Added a WebContents event.
A preload script can expose an API to an isolated world within a renderer.
Added the WebContents input-event event.
This new fuse lets the main/browser process load its V8 snapshot from browser_v8_context_snapshot.bin; other processes keep using the existing path.
Added a session handler supporting navigator.mediaDevices.getDisplayMedia.
Adds support for Web Bluetooth pin pairing on Linux and Windows.
Added support for discoverable (resident) keys, allowing users to authenticate without first selecting or typing a username.
Added a method to close WebContents.
Gets the WebContents corresponding to a WebFrameMain instance.
Adds an IPC API to WebContents.
Added access to the window opener through WebContents.opener.
Adds an IPC API to WebFrameMain.
Adds the origin property to WebFrameMain.
Behavior and default changes 1
Electron 22 upgrades Chromium to 108.0.5359.62, which may affect application runtime behavior.
Tooling 1
Updated native-module build configuration to support C++17 features in V8.
Fixes and other changes 4
Fixed Windows 7 frames appearing during startup.
Electron 22 uses Node v16.17.1.
Fixed an incomplete EventEmitter object in sandboxed renderer preload scripts.
Electron 22 upgrades V8 to v10.8.
electron 2120 changes
Breaking changes 5
The undocumented webview event has been removed.
The skip-taskbar feature is removed on Linux.
The V8 memory cage is enabled for external buffers, which may affect applications relying on external buffer behavior.
The API was refactored to align with the Chrome DevTools implementation; review existing usage for compatibility.
WebContents for webview are created only after will-attach-webview is emitted and preventDefault is not called.
Security 1
Electron backported a security fix for CVE-2022-3075.
Deprecations 1
Adds a deprecation warning for the new-window event.
New APIs and options 2
Adds support for push notifications from APNs for macOS apps.
Adds immersive dark mode on Windows.
Behavior and default changes 1
Adds support for windows that can float over full-screened apps.
Fixes and other changes 10
Electron 21 upgrades Chromium to 106.0.5249.51.
Enables missing HKDF support in Node.js crypto.
Fixes a crash when switching origins with emulation settings set.
Electron 21 upgrades Node.js to v16.16.0.
Fixes a crash when loading non-standard schemes from iframes.
Invalid pageSize values no longer cause a silent hang and eventual crash.
Fixes an issue that caused opening a serial port to fail with a NetworkError.
Fixes spellcheck functionality incorrectly throwing errors on macOS.
Fixes the length property in UploadFile objects being ignored.
Electron 21 upgrades V8 to v10.6.
electron 2031 changes
Breaking changes 4
The minimum required Node version to install the electron npm package is now greater than 10.
Electron 20 upgrades its embedded Node.js runtime to v16.15.0.
Child about:blank windows no longer inherit their parents' preload scripts when sandbox: false and nodeIntegrationInSubFrames: true.
Renderers are sandboxed by default unless nodeIntegration: true or sandbox: false is specified.
Deprecations 1
A warning asks users building native modules with node-gyp and electron-rebuild to upgrade to node-gyp >=8.4.0 and electron-rebuild >=3.2.8 for Electron 20 or higher.
New APIs and options 4
Adds a macOS API to check whether the app is hidden, for example with Command-H.
Adds browserData as a path supported by app.setPath/getPath.
Adds support for HIDDevice.forget().
The event parameter can now take a null value.
Performance 1
Fixes a performance problem in crashReporter.start() on macOS.
Behavior and default changes 1
Reports more detailed errors on Windows.
Tooling 1
Safeguards were added for native modules built with nan; use node-gyp >=8.4.0 and electron-rebuild >=3.2.9 when rebuilding native modules.
Fixes and other changes 19
Fixes the alwaysOnTop BrowserWindow option for X11 Linux.
Fixes isFocused() returning false when blur() was called on macOS.
Fixes traffic light locations moving when setRepresentedFilename is called on macOS with hidden or hiddenInset titlebar styles.
Fixes window buttons failing to show when setWindowButtonVisibility(true) is called immediately after exiting fullscreen.
Fixes a crash when calling setEnabled().
Fixed window bounds changing incorrectly when unmaximizing a window whose user bounds were maximized.
Fixed an ENOENT error when using the cwd option.
Electron 20 upgrades Chromium to 104.0.5112.65.
Fixes fullscreen transitions when HTML fullscreen is requested.
Fixes native module compilation issues on arm and spontaneous crashes in native modules that depended on nan.
Fixed a failure when a user attempted to reload the PDF Viewer.
Invalid print job settings no longer leave the job running after the failure callback, which could lead to a crash on exit.
Fixed a crash on Linux.
Fixes serial-port-added and serial-port-removed events not firing.
Fixes service worker registration with custom protocols.
No longer crashes if the callback throws an error.
Fixes getUserAgent() incorrectly returning an empty string unless previously set.
Fixes a potential printing hang.
Fixes potential crashes when performing cross-origin navigation or navigating between cross-origin websites.
electron 1932 changes
Breaking changes 3
SIGUSR1 is no longer handled when the node_cli_inspect fuse is disabled.
Removed the semi-documented preloadURL property from WebPreferences.
Upgraded the bundled Chromium, Node, and V8 versions, which may affect application compatibility and runtime behavior.
Deprecations 1
A warning was added that preload scripts will be sandboxed by default beginning in Electron 20.
New APIs and options 5
A method was added to change the button color, symbol color, and height of a window with WCO enabled.
This API allows applications to detect forced color mode.
This API sets the code cache directory.
Added support for this command-line flag.
Added the ability to configure whether a window should close when its opener closes.
Behavior and default changes 1
setBackgroundColor now supports more color formats.
Fixes and other changes 22
Fixed a crash when an image without alt text is shown while accessibility features are enabled.
Fixed an issue where the API could sometimes hang and an incorrect return value when the user data folder does not exist.
Fixed a potential crash when child windows are closed.
BrowserView layout bounds are no longer limited to the view's visible bounds.
Fixed background colors being improperly applied to BrowserViews on Windows.
Fixed setting maxHeight or maxWidth preventing the window from being resized.
It no longer returns undefined during the browser-window-created event.
The show event now fires when a BrowserWindow is shown via maximize().
Showing an inactive window no longer restores a maximized window to non-maximized on Windows.
Fixed some windows opened from new links failing to load URLs properly.
Fixed its size changing when displays are added or removed.
Fixed First Party Sets initialization and loading failures, including on Windows and at app launch.
Applies senderFrame details to the ipcMain port event.
Fixed a crash when loading an extension directory that is missing a manifest file.
The registered command string is fixed on Windows.
Fixed improper conversion of #ARGB to #RGBA and #AARRGGBB to #RRGGBBAA when setting a background color.
New bounds are correctly applied when the user is moving or resizing the window concurrently on Windows.
A network service crash that could occur when using this API was fixed.
Fixed a Windows crash when called with an initially invalid titleBarStyle.
The mode option now works for dock positions that previously failed.
Fixed a potential crash when calling this method.
Saving a page now works when passing a relative path instead of an absolute one.
electron 1826 changes
Breaking changes 2
The nativeWindowOpen option was removed along with the old BrowserWindowProxy-based implementation of window.open.
The old BrowserWindowProxy-based implementation of window.open was removed.
New APIs and options 6
The app.requestSingleInstanceLock() flow now emits this event so data can be passed from the second instance back to the first.
Added a height option for Windows Control Overlay.
The API now supports the obsolete Blowfish ciphers bf-{cbc,cfb,ecb}.
IncomingMessage now exposes rawHeaders.
Added a Substitutions menu role on macOS.
WebContents now emits focus and blur events.
Performance 1
Slowness when using child_process.spawn and related methods on macOS Big Sur and newer was fixed.
Behavior and default changes 2
Electron 18 uses Node v16.13.2, which may affect the Node.js APIs and runtime behavior available to applications.
Specifying the x64 architecture on Mac Rosetta is now allowed through this environment variable.
Fixes and other changes 15
Asar support is now initialized in worker threads.
A potential issue when setting backgroundColor on BrowserViews was fixed.
The
maxWidthconstructor option now works.A crash when printing and canceling the resulting print dialog was fixed.
A potential crash on Windows and Linux when using this API was fixed.
First Party Sets are now correctly loaded on app launch.
The method no longer throws errors when the
transferargument is omitted.Pages now print properly on macOS after a rendering failure was fixed.
All serial devices are now exposed to the handler specified by this method.
Bounds set while the user is moving or resizing the window concurrently are now correctly applied on Windows.
A crash when calling webContents.setZoomFactor(1.0) was fixed.
An assertion failure in this code path is fixed.
The implementation no longer breaks when a
will-attach-webviewhandler modifies the internalparams.instanceId.Parsing of the
skipTransformProcessTypeoption is corrected.The parent's
webPreferencesare now overridden correctly.
electron 1735 changes
Breaking changes 2
Calling this method no longer restores a minimized BrowserWindow.
This API is now only available in the main process, so calls from other processes must be moved.
Deprecations 2
A warning is emitted when sendSync is called without listeners for the channel on ipcMain.
This method is deprecated; use
webContents.getPrintersAsync()instead.
New APIs and options 9
Added a data parameter to app.requestSingleInstanceLock().
Apps can remove command line switches from Chromium's internal command line representation.
Added the textWidth option to showMessageBox and showMessageBoxSync.
The
textWidthoption was added to control message box text width.Support for navigator.keyboard.lock() is enabled.
Permission request handlers for media requests now receive securityOrigin in details, in addition to permission check handlers.
This method provides a media source ID that can be used with
getUserMediato get a stream for aWebContents.This asynchronous printer retrieval method was introduced as the replacement for deprecated
webContents.getPrinters().Added WebHID support.
Behavior and default changes 2
WebHID now uses this flag to enable FIDO devices.
Web Serial now uses ses.setDevicePermissionHandler, giving developers more control over Web Serial permissioning.
Fixes and other changes 20
Fixed the incorrect crashDumps path returned on Linux.
Fixed behavior on POSIX when lists are passed as additionalData.
Setting
backgroundColortoundefinedno longer prevents vibrancy from working or makes the background appear white.Setting
backgroundColoron BrowserViews no longer causes the reported issue.Dragging behavior is now consistent with macOS window dragging, and out-of-focus BrowserViews can be dragged immediately.
Fixed incorrect behavior when setting a BrowserView background color.
Destroying a BrowserView's webContents no longer causes the reported crash.
Aspect ratio is now respected when a maximum size is set on BrowserWindow.
These events now fire correctly on Linux.
The method can now manipulate platform-specific clipboard formats and no longer crashes with custom clipboard formats.
The method can now manipulate platform-specific clipboard formats.
Attachment filenames containing commas are no longer truncated at the first comma.
Draggable region changes now update without requiring a relayout.
Missing information was added to the in-app purchase
transactionandproductstructures.Transparent windows now fire these events correctly on Windows.
Windows with
roundedCorners: falsecan now be closed.A secure CSP no longer causes a CSP violation warning in the console.
Calling this method no longer causes the reported window frame glitch.
Transparency and maximize events now work correctly in the reported window scenarios.
Calling
window.openwith a frame name andsetWindowOpenHandlerno longer causes a possible 'Object has been destroyed' error.
electron 1636 changes
Breaking changes 2
Electron 12.x.y has reached end-of-support; the release notes describe support for the latest four versions until Electron 19, then the latest three major versions plus alpha, beta, and nightly releases.
Sandboxing is enabled by default on WebContents that do not use Node or preloads.
Security 2
Added a fuse for enforcing code signatures on the app.asar file the application loads; it requires the latest asar module.
Added a fuse to disable --inspect debug arguments in packaged apps.
Deprecations 2
A warning is emitted when a crash key name exceeds the maximum allowed length.
Using desktopCapturer.getSources from the renderer process is deprecated and will be removed.
New APIs and options 14
Added an API for configuring DNS-over-HTTPS.
Added an isMainFrame argument to the event.
The event params object now includes a frame property.
The ipc-message event now includes a frameId.
Added a fuse to disable NODE_OPTIONS in packaged apps.
Added a string encryption API.
The callback now includes isIssuedByKnownRoot.
Added support for the U2F Web API.
Added a frame-created event that emits when a frame is created in the page.
Added a way to look up a WebContents instance from an associated Chrome DevTools Protocol TargetID.
Added a dom-ready event that emits when the frame's document is ready.
Added the did-redirect-navigation event for webview navigation redirects.
Added sendToFrame() to webview and a frameId property to the ipc-message event.
Added support for Windows Control Overlay.
Behavior and default changes 3
The crashReporter API is now powered by Crashpad on Linux.
NativeImage objects can now be serialized over IPC.
The Web Serial API is no longer experimental.
Fixes and other changes 13
Electron 16 upgrades Chromium to 96.0.4664.4.
Fixed crashes when reading custom clipboard formats.
Restored behavior matching clipboard.readBuffer.
Fixed manipulation of platform-specific clipboard formats.
Fixed imageAnimationPolicy not being respected.
Previously selected ports are returned again.
Electron 16 upgrades Node to v16.9.1.
Clicking a hyperlink in a PDF now behaves as expected.
Fixed an issue that caused some transparent windows to show a white background.
Electron 16 upgrades V8 to v9.6.
Windows with vibrancy types no longer incorrectly show a white instead of transparent background.
Fixed cases where transparency was not set correctly on webContents.
Fixed a background transparency regression.
electron 1582 changes
Breaking changes 4
Installing the package on an M1 Mac with x64 Node now automatically downloads the arm64 Electron build instead of the x64 build.
nativeWindowOpen is now enabled by default, changing window.open behavior for applications that relied on the previous default.
Electron 15 upgrades Node to v16.5.0, which may affect application runtime behavior.
Electron 15 upgrades V8; the release notes link to the v9.4 announcement.
Security 1
Added fuses to disable NODE_OPTIONS and --inspect debug arguments in packaged apps.
New APIs and options 12
Added a property to detect when running under Rosetta on Apple Silicon or WOW on Windows for ARM.
Added location and modifiers to the event properties provided in the WebContents before-input-event event.
Extended the event API to support the webpageURL property from NSUserActivity.
Added experimental cookie encryption support behind an Electron Fuse.
Added support for debug URLs such as chrome://gpucrash.
Added a signal option to dialog.showMessageBox.
Added a web preference to control how images are animated.
Added support for directing Chromium logging to a file; JavaScript can also enable logging by appending command-line switches during the first JS tick.
Added a property to read user-assigned macOS accelerator overrides.
Added fuses to disable NODE_OPTIONS and --inspect debug arguments in packaged apps.
Added resize edge information to BrowserWindow's will-resize event.
Added support for Windows Control Overlay on macOS and Windows.
Behavior and default changes 2
Electron 15 upgrades Chromium to 94.0.4606.51, which may affect application runtime behavior.
Added support for sending Blobs over the context bridge.
Fixes and other changes 63
Fixed app.getPath('logs') returning the wrong path on Linux and Windows.
Fixed a potential crash when calling app.quit() on macOS.
Fixed a memory leak when requesting files in an ASAR archive from the renderer.
Fixed a specified aspect ratio becoming incorrect when maximizing a window on macOS.
Fixed background color not being correctly applied on Windows when either coordinate is negative.
Fixed webContents appearing not to load in some circumstances.
Fixed custom traffic lights being covered by BrowserViews on macOS.
Fixed the backgroundColor option not having an effect.
Fixed BrowserWindows not honoring transparency: true or a constructor backgroundColor.
Fixed multiple calls sometimes causing the zoom button to be incorrectly disabled on macOS.
Fixed the spelling of attachment in the header when using the webRequest module.
Fixed DevTools dropdown menus not working when contextIsolation was enabled.
Fixed redirects between locations in custom protocols.
Fixed an issue on Mac preventing an application from capturing its own window using desktop capture or getMediaSourceId APIs.
Fixed an error being thrown when right-clicking in the DevTools console.
Fixed undocked DevTools not being resizable on Windows.
Fixed the event not being emitted when the certificate-error handler allowed an error through.
Fixed the status not updating the close button for frameless windows on macOS.
Fixed Electron sometimes not honoring the user-defined Downloads directory.
Fixed a potential crash when programmatically closing a draggable frameless child window.
Fixed a potential crash with draggable regions on Windows and issues when DevTools is open.
Fuses are now in a consistent order across platforms.
Fixed empty console windows appearing on Windows when --enable-logging was present.
Fixed a beta-only bug that caused mouse clicks not to be processed in frameless windows.
Fixed improper errors when passing a FileHandle to the path argument.
Fixed GDK_BACKEND being propagated to subprocesses on Linux.
Fixed crashes on macOS when Geolocation was used.
Fixed media key globalShortcuts on macOS.
Fixed potential corruption of piped response data when using interceptHttpProtocol or registerHttpProtocol.
Fixed console messages still being printed to logs when the feature was disabled.
Fixed Alt-click toggling the menu bar and Alt+Shift or Alt+Ctrl toggling it on KDE.
Fixed crashes when selecting and opening files in a native file dialog on Mac, and when selecting files on Windows and Linux.
Fixed child window page titles not updating when there were no navigation entries.
Fixed a memory leak when creating a notification on macOS.
Fixed Windows PDF metadata loading incorrectly and causing PDFs to appear as blank pages.
Fixed a crash when process.exit is called and nativeWindowOpen is enabled.
Fixed fullscreen requests inside webview not making the element take fullscreen.
Fixed the event firing on Windows.
Fixed sending intermediate certificates with the select-client-certificate event callback.
Fixed the dropdown not appearing on Windows or Linux.
Fixed self.module.paths not working in Workers.
Fixed missing fetch events and service workers not working with registered or custom protocols.
Fixed the value sometimes not being preserved for child windows on macOS.
Fixed a hang when denying window.open with nativeWindowOpen set to false.
Fixed a crash in the repl when SharedArrayBuffer is disabled.
Fixed the titlebar showing under simple fullscreen mode.
Fixed a feature flag issue causing spellchecker methods to return empty suggestion lists on Windows.
Support is extended from the latest three Electron versions to the latest four until Electron 19 is released in May 2022.
Fixed returned colors missing alpha values.
Fixed toggling documentEdited status with titlebarStyle: 'hiddenInset' moving the traffic light location on macOS.
Fixed crashes when showArrowButtons is enabled and items is an empty array.
Fixed transparent frameless windows having an opaque background when opened maximized.
Fixed ANSI colors not being respected when a font type was specified.
Fixed export definitions so values that are not exported are not declared in the exports interface.
Fixed the user-data directory being incorrect in unpackaged apps.
Fixed a potential crash when setting vibrancy on macOS.
Fixed a crash when the callback is called synchronously.
Added missing resourceType conversions for font, ping, cspReport, media, and webSocket listener details.
Fixed request headers being cleared when the optional requestHeaders parameter was omitted from the callback response object.
Fixed CORS preflight requests always being cancelled through authenticated proxies when apps registered WebRequest listeners.
Fixed the event not being emitted when the user exits fullscreen with Esc instead of clicking into the webView.
Fixed a crash when clicking links with target=_blank from webview.
Fixed Escape not exiting fullscreen from webview.
electron 1459 changes
Breaking changes 6
Removed the deprecated BrowserWindow option.
Removed the deprecated app option.
default-app no longer sets backgroundColor when opening custom files or URLs.
Child windows no longer inherit BrowserWindow construction options from their parents.
Transparent windows cannot be maximized using the Windows system menu or by double-clicking the title bar.
Removed the deprecated option from webPreferences.
New APIs and options 10
Added an API to determine whether a window is focusable.
Added a feature that skips context bridge DeepFreeze and SetReadOnlyNonConfigurable when exposing a value.
Added support for the des-ede3 cipher in node crypto.
Added process.contextId, used by @electron/remote.
Added an API to get the on-disk path for session-specific data.
Added disposition to the details object passed to the window open handler.
Added postBody to the details object passed to the window open handler.
Added referrer to the details object passed to the window open handler.
Added support for the wasm-eval CSP directive behind the WebAssemblyCSP flag.
Added the visibilityState instance property.
Performance 2
Improved performance characteristics of functions being sent back and forth over the contextBridge.
Performance was improved.
Behavior and default changes 2
submitURL is no longer required when uploadToServer is false.
Source maps can now be loaded from custom protocols and asar bundles.
Fixes and other changes 39
Fixed the menu bar toggling when pressing Alt while clicking the mouse.
Fixed the logs path returned on Linux and Windows.
Restored the cross-platform noop implementation.
Fixed beforeunload and unload not firing properly in BrowserViews.
Fixed the color select eyedropper not working within DevTools.
Fixed errors thrown in functions passed over the bridge being displayed incorrectly.
Fixed using custom V8 snapshots on Apple Silicon.
Fixed cases where the promise result never resolved.
Fixed JumpLists becoming empty when a task description exceeded 260 characters despite valid entries.
Fixed shifted characters being changed in menu accelerators.
Fixed Alt+Shift and Alt+Ctrl toggling the menu bar on KDE.
Fixed the void function returning a value on some platforms.
Fixed native module compilation with AsyncCleanupHooks on Windows.
Fixed using navigator.setAppBadge and navigator.clearAppBadge from a service worker in Electron.
Fixed the postData parameter being missing from the event.
Fixed an illegal access error that could be thrown when this option is enabled.
Fixed child-window page titles not updating when there were no navigation entries under nativeWindowOpen.
Fixed a rare crash when initializing the internal PDF extension.
Fixed a permissions issue that prevented the PDF viewer from displaying.
Fixed the callback crashing when called with an invalid serial port ID.
Fixed a network process crash with many concurrent verification requests.
Fixed a potential network process crash with many concurrent verification requests.
Fixed the handler not being invoked when a link was middle-clicked or shift-clicked.
URLs passed on Windows are now correctly URI encoded, matching macOS and Linux.
Fixed a crash when called from the renderer process.
Fixed windows in simpleFullscreen mode not resizing properly when display metrics changed.
Returned colors are now correctly converted into the device's color space.
Fixed weird window shadows on macOS when using vibrancy with titleBarStyle.
Fixed a rare crash in UpdateDraggableRegions.
Fixed a stack overflow crash in V8 on Windows 32-bit builds.
Fixed potential visual artifacts when using vibrancy and making frameless windows fullscreen on macOS.
Fixed requests for file:// resources failing when web security is disabled.
Fixed crashes when these APIs are called in a sandboxed renderer.
Fixed focus and blur events not working with contextIsolation enabled.
Fixed the emitted newBounds rectangle not being scaled to the appropriate Windows display scale factor.
Fixed the callback not being called after hide() for a hidden window on some platforms.
Fixed the event being emitted while the last BrowserWindow was still closing.
Fixed printing a PDF from the PDF plugin.
Fixed problems caused by multiple calls to window.setFullScreen.
electron 1334 changes
Breaking changes 5
Deprecated BrowserWindow extension APIs were removed.
The deprecated API was removed.
Deprecated systemPreferences methods were removed.
This API was reverted.
Native window.open() no longer uses windowName/frameName as the title by default.
Security 2
Backported the fix for chromium:1196683.
An out-of-bounds access in this API was fixed.
New APIs and options 9
Added the roundedCorners option for BrowserWindow.
DOM elements can now be passed over the context bridge.
Added support for registering Manifest V3 extension service workers.
Node.js can manage the microtasks queue using an explicit microtasks policy before uv_run().
Indicates whether the current renderer context has contextIsolation enabled.
Added process.uptime() to sandboxed renderers.
Added the registration-completed event to ServiceWorkers.
The details object passed to the window open handler now includes disposition, referrer, and postBody.
On macOS, process type transformation can now be skipped.
Behavior and default changes 2
The handler's first parameter, webContents, can now be null.
Additional permission checks, including Notification.permission and permission.query, are routed through this handler.
Fixes and other changes 16
The method now works for windows using the customButtonsOnHover titlebar style.
Electron 13 upgrades Chromium to 91.0.4472.69.
The parameters emitted as part of the context-menu event now include additional fields.
Fixed incorrect serialization attempts for some WebAssembly objects.
Fixed the method not updating the key.
Fixed abnormal fullscreen titlebar behavior and the interaction with trafficLightPosition.
This API was fixed.
Electron 13 upgrades Node to v14.17.0.
libuv no longer might hang with multiple subframes when this option is enabled.
Fixed behavior of 302, 303, and 307 redirect responses.
Fixed service workers not working with custom protocols.
Fixed the handler not being invoked for middle-clicked or shift-clicked links.
The option now works for a customButtonOnHover window.
Electron 13 upgrades V8 to v9.1.
The frameName parameter is no longer set as the window title.
Fixed the returned object missing a location.href setter when contextIsolation is enabled and nativeWindowOpen is disabled.
electron 1270 changes
Breaking changes 10
The default value changes to true, affecting renderer isolation unless explicitly configured.
The default value of compress changes from false to true, so crash reports are compressed unless configured otherwise.
Deprecated crashReporter APIs are removed.
The desktopCapturer.getMediaSourceIdForWebContents() API is removed.
Electron 12 upgrades its embedded Node.js runtime to v14.16.0.
On Windows 10 version 2004 and later, enabling content protection excludes the window entirely from screen capture; older Windows versions continue to show a black window.
The synchronous API is replaced by the asynchronous shell.trashItem() API.
A new asynchronous API for moving items to the trash replaces the synchronous shell.moveItemToTrash().
Electron 12 upgrades V8 to v8.9, which may affect application runtime behavior.
The default value changes to true, which may affect JavaScript execution in isolated worlds.
Deprecations 3
The WebContents new-window event is deprecated and replaced by webContents.setWindowOpenHandler().
The remote module is deprecated and replaced by the @electron/remote package.
Use of the vm module in the renderer process is deprecated.
New APIs and options 31
A non-localized serviceName property is added to app.getAppMetrics() results.
A BrowserWindow API is added to check tablet mode.
A non-localized serviceName property is added to child-process-gone and app.getAppMetrics().
Support is added for some chrome.management APIs.
display-capture is added as a permission handled by session.setPermissionRequestHandler.
The Display object gains displayFrequency to report refresh rate on Windows.
Electron Fuses allow certain Electron features to be customized at package time.
IPC event objects gain senderFrame, which returns the originating webFrameMain.
loadExtension gains an allowFileAccess option.
Support is added for showing the macOS share menu.
A property is added for detecting whether there is currently an internet connection.
net.request gains a credentials option.
net.request now allows setting the origin header and sec-fetch-* headers.
powerMonitor gains onBatteryPower.
A fast user switching event is added to powerMonitor on macOS.
The event details gain exitCode for reporting the renderer process exit code.
Serial API support is added.
Session gains extension-loaded, extension-unloaded, and extension-ready events.
Proxy configuration now supports explicitly specifying direct, auto_detect, or system modes.
An API is added for configuring SSL.
A disabledCipherSuites option is added for configuring SSL.
APIs to enable or disable the spell checker are added.
A spellcheck API is added to the renderer.
Shortcuts gain read and write support for Toast Activator CLSID.
Use this API to handle renderer-created child windows; it replaces the deprecated WebContents new-window event.
The main process can use webFrameMain to access sub-frames of a WebContents instance.
webFrameMain gains osProcessId and name properties.
webFrameMain gains send and postMessage methods for sending messages to frames.
preferredSizeMode allows views to be sized according to their document's minimum size.
The details object in webRequest handlers gains frame and webContents properties.
BrowserViews can be raised with win.setTopBrowserView().
Performance 1
Child process spawning is no longer slow on macOS Big Sur.
Behavior and default changes 5
Electron 12 upgrades Chromium to 89.0.4389.69, which may affect application behavior and available web platform features.
exposeInMainWorld can now expose non-object APIs.
Internal memory allocation changes mean macOS apps no longer need the com.apple.security.cs.allow-unsigned-executable-memory codesign entitlement.
The app ready event's launchInfo is populated with UNNotificationResponse information when launched through UNUserNotificationCenter notifications in a native node module.
Rosetta support is re-enabled on Apple Silicon devices.
Fixes and other changes 20
Fixed a renderer crash when loading non-context-aware modules with this option enabled.
Resetting BrowserViews no longer has the potential to crash.
Fixed an error when the method was called with multiple BrowserViews in a window.
The method now returns an accurate result for WebContents in a BrowserView or webview.
The extensions API now intercepts requests correctly.
Fixed a memory leak when sending non-primitives over the context bridge.
Fixed missing properties on webview element events when contextIsolation was enabled.
The DevTools pretty-print JavaScript feature now functions correctly.
Quitting while downloads are in progress no longer causes a shutdown crash.
Processing an invalid icon no longer crashes Electron.
Child windows created through the native window.open path now have their background color applied.
Fixed using navigator.setAppBadge and navigator.clearAppBadge in Electron.
Fixed continued downloading when the consuming stream was throttled.
The method no longer cancels requests in unrelated sessions.
The handler now correctly recognizes the permissions being requested.
Creating webContents with JavaScript disabled no longer causes an uncaught promise rejection.
Fixed an issue where WebContents.mainFrame could sometimes return undefined.
The previously missing API is added to webFrameMain.
The file length is now available in the event when a file is downloaded through an intercepted request.
win.setAspectRatio() now works on Windows.