unstale

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 init

@unstale/cli on npm

electron 45263 changes

Breaking changes 28

  • Certificates issued by eMudhra's revoked RSA intermediates are no longer trusted.

    43.8.9, 44.11.2, 45.3.1release notesrelease notesrelease notes

  • Windows ia32 and Linux armv7l builds are removed; Electron is published only for x64 and arm64 platforms.

    44.0.0, 45.0.0release notesrelease notes

  • 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.

    45.0.0release notes

  • The openAsHidden, wasOpenedAsHidden, and restoreState fields have been removed from the return value.

    44.0.0, 45.0.0release notesrelease notes

  • The openAsHidden option has been removed because it only worked on macOS 12 and below.

    44.0.0, 45.0.0release notesrelease notes

  • Now throws on macOS when launched without a process type and the runAsNode fuse is disabled.

    44.4.0, 45.0.0release notesrelease notes

  • Extension documents receive window and session preload scripts only as top-level frames or inside the DevTools front-end; embedded extension frames follow nodeIntegrationInSubFrames.

    45.0.0release notes

  • The desktop constraint accepts only screen and window source IDs from desktopCapturer.getSources; use tab with webContents.getMediaSourceId() or setDisplayMediaRequestHandler to capture a WebContents.

    45.0.0release notes

  • The experimental API was removed; pass nativeHeapProfiling to contentTracing.startRecording() to enable heap profiling during a trace.

    45.0.0release notes

  • Exceptions thrown by property getters on passed objects are now thrown back to the caller instead of being swallowed.

    45.0.0release notes

  • Screen, window, and tab capture requests are reported to setPermissionRequestHandler as display-capture instead of media.

    45.0.0release notes

  • Chromium disables the API by default ahead of removal; it can temporarily be restored with the enableBlinkFeatures web preference set to RequestStorageAccessFor.

    45.0.0release notes

  • Calling execCommand('paste') now requires user activation in the frame that calls it.

    42.11.3 … 45.0.0release notesrelease notesrelease notesrelease notes

  • 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.

    45.0.0release notes

  • 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.

    45.0.0release notes

  • With chromeMediaSource set to desktop, WebContents source ids are no longer accepted; use tab with getMediaSourceId or setDisplayMediaRequestHandler to capture a WebContents.

    42.11.3 … 45.0.0release notesrelease notesrelease notesrelease notes

  • The non-functional dummy libEGL.so file is no longer included in the Linux distribution.

    45.0.0release notes

  • The non-functional dummy libGLESv2.so file is no longer included in the Linux distribution.

    45.0.0release notes

  • Calling a native API method with a this value of a different native type now throws a TypeError instead of crashing the main process.

    43.7.6, 44.5.0, 45.0.0release notesrelease notesrelease notes

  • Now applies only to workers created by frames that themselves have Node integration; enable nodeIntegrationInSubFrames to keep Node in workers created by subframes.

    42.11.3 … 45.0.0release notesrelease notesrelease notesrelease notes

  • webview and window.open now inherit nodeIntegrationInWorker from the embedder, consistent with other Node and sandbox preferences.

    45.0.0release notes

  • Permission requests from a frame that has gone away are attributed to that frame's origin rather than the navigating page.

    45.0.0release notes

  • Electron's internal JavaScript bundles can no longer be loaded through this API.

    45.0.0release notes

  • Rejects protocol names that do not conform to RFC 3986 URI scheme grammar.

    44.4.0, 45.0.0release notesrelease notes

  • Cross-origin no-cors fetches now receive opaque responses, matching protocol.handle.

    41.10.6 … 45.0.0release notesrelease notesrelease notesrelease notesrelease notes

  • Electron's internal JavaScript bundles are no longer listed in builtinModules.

    45.0.0release notes

  • Sandboxed preload scripts no longer have the events, timers, and url modules or Buffer, setImmediate, and clearImmediate globals; use a polyfill.

    45.0.0release notes

  • 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.

    45.0.0release notes

Security 14

Deprecations 2

  • The synchronous API is deprecated in favor of isAsyncEncryptionAvailable().

    45.0.0release notes

  • Synchronous methods are deprecated and will be removed in Electron 46; use asynchronous methods backed by the same per-platform key stores.

    45.0.0release notes

New APIs and options 27

Performance 16

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.

    44.7.0, 45.0.0release notesrelease notes

  • The Clipboard module is now aligned with the W3C Clipboard API.

    45.0.0release notes

Fixes and other changes 174

electron 44119 changes

Breaking changes 7

  • The module aligns with the W3C Clipboard API and is no longer exposed to renderer processes.

    44.0.0release notes

  • Support for showHiddenFiles has been removed from the dialog API on Linux.

    43.0.0, 44.0.0release notesrelease notes

  • Electron v44.0.0 and higher requires macOS 13 (Ventura) or later; macOS 12 is no longer supported.

    44.0.0release notes

  • Images with color profiles now have pixel values normalized to SRGB, producing similar values for visually identical images after color-space conversion.

    43.0.0, 44.0.0release notesrelease notes

  • Rejects requests with document, frame, iframe, or fencedframe destinations unless Sec-Fetch-Mode is navigate.

    44.0.0release notes

  • Windows opened from links inside a sandboxed iframe now inherit its sandbox restrictions unless allow-popups-to-escape-sandbox is set.

    41.10.4 … 44.0.0release notesrelease notesrelease notesrelease notes

  • Support for the Unity desktop environment on Linux has been removed.

    44.0.0release notes

Security 7

New APIs and options 6

Performance 11

  • Improved the performance of require on files inside asar archives.

    44.4.3release notes

  • Requests no longer wait on the main process when webRequest listeners only observe specified events or are filtered to other resource types.

    44.1.0release notes

  • Startup is faster for child processes forked with this API.

    42.10.0, 44.0.0release notesrelease notes

  • Child processes launched with this environment variable start faster.

    42.10.0, 44.0.0release notesrelease notes

  • 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.

    44.0.0release notes

  • Improves performance of IPC dispatch.

    41.6.1, 42.1.0, 44.0.0release notesrelease notesrelease notes

  • Linux arm64, Windows arm64, and macOS x64 now start the main process from the embedded snapshot, improving startup time.

    42.10.0, 44.0.0release notesrelease notes

  • Cold-start time at DidClearWindowObject is reduced by about 35% by deserializing a build-time V8 code cache for Electron framework bundles.

    44.0.0release notes

  • Preload scripts and process info are pushed ahead of navigation instead of fetched via blocking IPC, and preload compilation results are cached on disk.

    44.0.0release notes

  • Startup is faster for utility processes forked with this API.

    44.0.0release notes

  • Header conversions are faster.

    42.1.0, 43.0.0, 44.0.0release notesrelease notesrelease notes

Behavior and default changes 6

  • The default trash implementation on KDE Plasma 6 is now kioclient.

    44.5.0release notes

  • <webview> and window.open now inherit this preference from the embedder, consistent with other Node and sandbox preferences.

    41.10.6 … 44.0.0release notesrelease notesrelease notesrelease notes

  • Frameless Linux windows now have rounded corners by default; setting roundedCorners to false disables them on all platforms.

    43.0.0, 44.0.0release notesrelease notes

  • Adds support for setting window opacity on Linux.

    44.0.0release notes

  • Frameless Linux windows now use system-themed titlebar icons for Window Controls Overlay.

    44.0.0release notes

  • On Linux, the overlay now supports system-configured button layouts.

    43.0.0, 44.0.0release notesrelease notes

Fixes and other changes 82

electron 43119 changes

Breaking changes 8

  • Updated the Node.js version included with Electron.

    43.8.0release notes

  • No longer returns tab url and title to extensions lacking the tabs permission or host access, aligning with tabs.get.

    43.5.1release notes

  • 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.

    43.0.0release notes

  • Minimum and maximum size constraints are enforced at window creation, even when they conflict with requested width and height.

    41.2.0, 42.0.0, 43.0.0release notesrelease notesrelease notes

  • Pressing Backspace no longer accepts macOS text replacements inside contenteditable elements.

    43.0.0release notes

  • 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.

    39.8.10 … 43.0.0release notesrelease notesrelease notesrelease notes

  • Electron-specific help menu links appear only in the default app; unpackaged apps no longer see them in their default menu.

    40.9.0 … 43.0.0release notesrelease notesrelease notesrelease notesrelease notes

  • Support for the ELECTRON_SKIP_BINARY_DOWNLOAD environment variable has been removed.

    42.0.0, 43.0.0release notesrelease notes

Security 7

  • Electron: Sandboxed preload code cache can be poisoned by a compromised renderer

    42.10.0, 43.5.0security advisory

  • Electron: File and HTTP protocol handlers allow cross-origin reads without corsEnabled

    41.10.6, 42.9.2, 43.4.1security advisory

  • Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions

    41.10.6, 42.9.2, 43.4.1security advisory

  • Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions

    41.10.6, 42.9.2, 43.4.1security advisory

  • Cross-origin isolation now works for non-file origins.

    41.5.1, 43.0.0release notesrelease notes

  • Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab

    41.10.4, 42.5.2, 43.0.0security advisory

  • Electron: ProtocolResponse.url reuses the default session cache instead of the registering session

    40.10.6 … 43.0.0security advisory

New APIs and options 22

Performance 9

Behavior and default changes 5

  • Linux support was added for app.getApplicationInfoForProtocol().

    42.3.0, 43.0.0release notesrelease notes

  • File downloads now open by default in the user's Downloads folder, or Home directory if Downloads does not exist.

    43.0.0release notes

  • On Windows, resize targets for frameless windows now begin at the side and bottom edges and extend outward, matching framed windows.

    41.2.1, 42.0.0, 43.0.0release notesrelease notesrelease notes

  • The nv12 OSR pixel format is now supported for professional use.

    43.0.0release notes

  • Electron determines the default XDG App ID and WM_CLASS differently for better Linux platform compatibility when desktopName is not provided in package.json.

    41.5.1, 43.0.0release notesrelease notes

Fixes and other changes 68

electron 42118 changes

Breaking changes 8

  • Invalid characters in custom protocol or webRequest response header values are now rejected.

    38.8.6 … 42.0.0release notesrelease notesrelease notesrelease notesrelease notes

  • The npm package no longer downloads its binary in postinstall; it downloads on the first run of its main bin script instead.

    42.0.0release notes

  • Notifications now use the UNNotification API and require code signing to display; otherwise, the Notification object emits a failed event.

    42.0.0release notes

  • Electron 42 upgrades its Node runtime.

    42.0.0release notes

  • npm tarball contents are now restricted to an explicit allowlist.

    42.0.0release notes

  • 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.

    42.0.0release notes

  • Protocol client methods now reject protocol names that do not conform to RFC 3986 URI scheme grammar.

    38.8.6 … 42.0.0release notesrelease notesrelease notesrelease notesrelease notes

  • The options.quotas object is no longer supported because it was removed from upstream Chromium.

    42.0.0release notes

Security 10

  • This event is scoped to the requesting document.

    42.11.3release notes

  • Backported fixes for CVE-2026-15764 through CVE-2026-15778.

    42.11.1release notes

  • Backported fixes for CVE-2026-9115 and CVE-2026-9116.

    42.4.0release notes

  • Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow

    42.3.3security advisory

  • Backported fixes for touch-event queue teardown, Skia image-filter validation, and GLSL translator integer overflow issues.

    42.2.0release notes

  • Backported fixes for WebAudio worklet setup, ANGLE GL, GTK Wayland, accessibility tree-state validation, and text bidi handling issues.

    42.2.0release notes

  • Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path

    39.8.10, 41.10.3, 42.0.1security advisory

  • Fixed the setting so it is properly constrained to file: origins in agent cluster key assignment.

    42.0.0release notes

  • Fixed protocol handlers with corsEnabled: false incorrectly working across protocols.

    42.0.0release notes

  • Electron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin reads

    39.8.10 … 42.0.0security advisory

New APIs and options 24

Performance 6

  • Reduced main-thread cost when sending large values through ipcRenderer.

    42.10.0release notes

  • Reduced main-thread cost when sending large values through webContents.send.

    42.10.0release notes

  • Enabled ThinLTO on macOS builds and for Linux and Windows release builds to improve performance.

    42.3.1release notes

  • Improves performance of native event emission.

    42.1.0release notes

  • Improves performance of option-dictionary parsing.

    42.1.0release notes

  • Release builds use profile-guided optimization for V8 builtins, improving JavaScript builtin performance, including Array, String, and RegExp.

    41.1.1, 42.0.0release notesrelease notes

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.

    41.0.0, 42.0.0release notesrelease notes

Fixes and other changes 69

electron 4179 changes

Breaking changes 3

  • Electron now uses an updated Node.js runtime.

    41.3.0release notes

  • Electron 41 upgrades Node to v24.14.0, which may affect application compatibility and runtime behavior.

    41.0.0release notes

  • Handlers now receive the requesting subframe's origin rather than the top-level page origin.

    41.0.0release notes

Security 28

  • Electron: Local race condition in Squirrel.Mac update installation on macOS

    39.8.10, 41.10.5security advisory

  • Backported fixes for the listed CVEs.

    41.7.2release notes

  • Backported 20 High-severity fixes from Chrome 148 stable release.

    40.10.1, 41.6.1release notesrelease notes

  • Electron: Context isolation bypass via Function.prototype.bind hijack

    39.8.9, 40.9.2, 41.2.2security advisory

  • Electron: contextBridge object copy honors prototype setters

    39.8.9, 40.9.2, 41.2.2security advisory

  • Backported fixes for the listed CVEs.

    41.2.2release notes

  • Electron: Cross-origin iframe can position native autofill popup

    39.8.8, 40.9.1, 41.2.1security advisory

  • Electron: DevTools embedder handler executes arbitrary files via shell open

    39.8.9, 40.9.2, 41.2.1security advisory

  • Electron: Extension tab APIs operate across session boundaries

    39.8.8, 40.9.0, 41.2.1security advisory

  • Electron: HTTP redirect followed into local file loader

    39.8.8, 40.9.1, 41.2.1security advisory

  • Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size

    39.8.10, 40.9.0, 41.2.1security advisory

  • Electron: Parent process code-sign check is spoofable

    39.8.8, 40.9.1, 41.2.1security advisory

  • Electron: Sandboxed iframes can launch external protocol handlers

    39.8.8, 40.9.0, 41.2.1security advisory

  • Electron: window.open features string controls some window options considered privileged

    39.8.8, 40.9.0, 41.2.1security advisory

  • Electron: DevTools JavaScript Injection via Unsanitized Dock State Parameter

    39.8.7, 40.9.0, 41.2.0security advisory

  • Electron: Permission Check Handler Receives Main Frame Origin Instead of Requesting Iframe Origin

    39.8.7, 40.9.0, 41.2.0security advisory

  • Electron: shell.openPath path validation bypass via embedded null byte

    39.8.6, 40.9.0, 41.1.1security advisory

  • Electron: Crash in clipboard.readImage() on malformed clipboard image data

    39.8.5, 40.8.5, 41.1.0security advisoryrelease notesrelease notesrelease notes

  • Electron: Named window.open targets not scoped to the opener's browsing context

    39.8.5, 40.8.5, 41.1.0security advisory

  • Electron: Use-after-free in offscreen shared texture release() callback

    39.8.5, 40.8.5, 41.1.0security advisoryrelease notesrelease notesrelease notes

  • Electron: HTTP Response Header Injection in custom protocol handlers and webRequest

    38.8.6 … 41.0.3security advisory

  • Adds additional defence against privileged user modifications to ASAR Integrity protected applications on macOS.

    41.0.0release notes

  • Electron: Incorrect origin passed to permission request handler for iframe requests

    38.8.6 … 41.0.0security advisory

  • Electron: nodeIntegrationInWorker not correctly scoped in shared renderer processes

    38.8.6 … 41.0.0security advisory

  • Electron: Out-of-bounds read in second-instance IPC on macOS and Linux

    38.8.6 … 41.0.0security advisory

  • Electron: Registry key path injection in app.setAsDefaultProtocolClient on Windows

    38.8.6 … 41.0.0security advisory

  • Electron: Service worker can spoof executeJavaScript IPC replies

    38.8.6 … 41.0.0security advisory

  • Electron: Use-after-free in offscreen child window paint callback

    39.8.1, 40.7.0, 41.0.0security advisory

New APIs and options 6

Behavior and default changes 6

Fixes and other changes 36

electron 4059 changes

Security 15

  • Backported fixes for the listed CVEs improve Electron security.

    40.10.3release notes

  • Backported upstream fixes for memory-safety and validation issues across media, GPU, networking, accessibility, compositing and the ANGLE GL backend.

    40.10.1release notes

  • 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.

    40.10.1release notes

  • Backported security fixes for the listed upstream issues.

    40.9.3release notes

  • Backported fixes for the listed CVEs.

    39.8.9, 40.9.2release notesrelease notes

  • Handlers now receive the requesting subframe's origin rather than the top-level page origin.

    38.8.6, 39.8.1, 40.8.1release notesrelease notesrelease notes

  • Electron: AppleScript injection in app.moveToApplicationsFolder on macOS

    38.8.6, 39.8.1, 40.8.0security advisory

  • Electron: Unquoted executable path in app.setLoginItemSettings on Windows

    38.8.6, 39.8.1, 40.8.0security advisory

  • Electron: Use-after-free in PowerMonitor on Windows and macOS

    38.8.6, 39.8.1, 40.8.0security advisory

  • Electron: Context Isolation bypass via contextBridge VideoFrame transfer

    39.8.0, 40.7.0security advisory

  • Electron: Renderer command-line switch injection via undocumented commandLineSwitches webPreference

    38.8.6, 39.8.0, 40.7.0security advisory

  • Electron: USB device selection not validated against filtered device list

    38.8.6, 39.8.0, 40.7.0security advisory

  • Electron: Use-after-free in download save dialog callback

    38.8.6, 39.8.0, 40.7.0security advisory

  • Electron: Use-after-free in WebContents fullscreen, pointer-lock, and keyboard-lock permission callbacks

    38.8.6, 39.8.0, 40.7.0security advisory

  • Fixed cookie encryption provider handling in the network service when cookie encryption is enabled.

    40.0.0release notes

Deprecations 1

  • Clipboard API access from renderer processes is deprecated.

    40.0.0release notes

New APIs and options 8

Behavior and default changes 2

Fixes and other changes 33

electron 3961 changes

Breaking changes 2

  • The close callback now fires when the menu itself closes, rather than when any submenu closes.

    39.2.4release notes

  • The signature now provides a unified handle that holds the native handle.

    39.0.0release notes

Security 1

  • Backported security fixes for the listed vulnerabilities.

    39.8.10release notes

New APIs and options 9

Behavior and default changes 3

  • Chromium was updated to 142.0.7444.235, which may affect the behavior of Electron applications.

    39.2.7release notes

  • AccentColor setting now distinguishes the frame.

    39.0.0release notes

  • This release upgrades Chromium, Node, and V8; developers may need to account for changes inherited from those runtime versions.

    39.0.0release notes

Fixes and other changes 46

electron 3869 changes

Breaking changes 2

  • Adds assets as a key that can be queried via app.getPath.

    38.0.0release notes

  • Electron 38 upgrades V8 to 14.0, which may affect application runtime behavior.

    38.0.0release notes

New APIs and options 16

Behavior and default changes 2

  • Electron 38 upgrades Chromium to 140.0.7339.41, which may affect application runtime behavior.

    38.0.0release notes

  • Electron 38 upgrades Node to 22.18.0, which may affect application runtime behavior.

    38.0.0release notes

Fixes and other changes 49

  • Electron updated Node.js to v22.22.0.

    38.8.0release notes

  • Updated the Node.js version included with Electron to v22.21.1.

    38.6.0release notes

  • Fixed an error checking environmental variables when installing Electron via npm with remote checksums.

    37.8.0, 38.5.0release notesrelease notes

  • Fixed hover button background calculation so it provides appropriate minimum contrast.

    37.7.1, 38.5.0release notesrelease notes

  • Fixed icons not showing up as expected in Windows Toast notifications.

    38.5.0release notes

  • Fixed shader-f16 to work on Windows.

    37.7.1, 38.4.0release notesrelease notes

  • Titlebar buttons now appear on the correct side of windows on Wayland in Ubuntu.

    38.4.0release notes

  • Updated the bundled Chromium version.

    38.3.0release notes

  • Fixed a development issue where the toolchain could not be found when building on macOS 26.

    37.7.0, 38.3.0release notesrelease notes

  • Updated the bundled Node.js version.

    38.3.0release notes

  • Fixed transparent window styles breaking when the resizable property changes.

    37.7.1, 38.3.0release notesrelease notes

  • Fixed an issue where authentication via websockets could crash.

    37.7.0, 38.3.0release notesrelease notes

  • Fixes the accent border being drawn on all windows regardless of active focus.

    38.0.0release notes

  • Fixes accent color being inverted when set to match the system color.

    38.0.0release notes

  • Fixes crashes when adding a closed WebContentsView.

    38.0.0release notes

  • Fixes a macOS crash when zip extraction fails.

    37.0.0, 38.0.0release notesrelease notes

  • Fixes background material on Windows during window creation and dynamic changes, and restores animations.

    38.0.0release notes

  • Fixes the broken chrome://accessibility page.

    38.0.0release notes

  • Fixes dragging sometimes failing after the contextmenu event is emitted.

    38.0.0release notes

  • Fixes runtime errors when importing from electron/utility in ESM files.

    38.0.0release notes

  • Fixes ERR_MODULE_NOT_FOUND when importing from electron/utility.

    38.0.0release notes

  • Fixes an error on first import from an ESM module loaded by a CJS module in a packaged app.

    38.0.0release notes

  • Fixes a crash when calling Fetch.continueResponse via debugger with WebContentsView.

    38.0.0release notes

  • Fixes filters not applying when only one filter is passed.

    38.0.0release notes

  • Fixes windows always using the dark theme on Linux and not responding to system theme changes.

    38.0.0release notes

  • Fixes users on macOS being unable to interact with a webpage loaded via loadURL.

    38.0.0release notes

  • Fixes a regression with directory selection in macOS dialogs.

    38.0.0release notes

  • Fixes protected transparent windows showing a titlebar after a visibility change.

    38.0.0release notes

  • Fixes child windows crashing when opened from a fullscreen parent with roundedCorners set to false.

    38.0.0release notes

  • Fixes a potential crash in some circumstances when using session.clearData.

    37.0.0, 38.0.0release notesrelease notes

  • Fixes snapped corner state not being restored after minimizing and restoring.

    38.0.0release notes

  • Fixes duplicate emissions of the suspend and resume events.

    38.0.0release notes

  • Fixes windows requiring a restart to recognize system accent color setting changes.

    38.0.0release notes

  • Fixes macOS transparent child windows rendering a grey block instead of their contents.

    38.0.0release notes

  • Fixes opening package paths as directories on macOS when treatPackageAsDirectory is enabled.

    37.0.0, 38.0.0release notesrelease notes

  • Fixes utility processes leaking file handles.

    38.0.0release notes

  • Fixes utilityProcess running a user script after process.exit is called.

    38.0.0release notes

  • Fixes video scrubbing not holding the new position during playback.

    38.0.0release notes

  • Fixes printing behavior when mediaSize is not passed.

    37.0.0, 38.0.0release notesrelease notes

  • Fixes failures when printing PDFs with webContents.print({ silent: true }).

    37.0.0, 38.0.0release notesrelease notes

  • Partially fixes an issue where the callback would not be called when printing a PDF.

    37.0.0, 38.0.0release notesrelease notes

  • Fixes crashes when some webContents functions are called after window.close().

    38.0.0release notes

  • Fixes a possible crash when using the WebView tag and calling focus.

    38.0.0release notes

  • Restores the previous window-hiding behavior on Windows.

    37.0.0, 38.0.0release notesrelease notes

  • Fixes windows flickering with a light or dark color before the desired background color loads.

    38.0.0release notes

  • Fixes a crash triggered by certain operations performed in a window close callback.

    38.0.0release notes

  • Fixes log files being written to the current working directory on Windows.

    38.0.0release notes

  • Fixes xdg portal version detection for file dialogs on Linux.

    38.0.0release notes

  • Fixes a crash in xdg portal version detection on startup.

    38.0.0release notes

electron 3750 changes

Breaking changes 2

  • Electron upgrades Node.js to 22.16.0, changing the Node runtime used by Electron applications.

    37.0.0release notes

  • Setting ProtocolResponse.session to null no longer creates a new random session; remove reliance on this deprecated behavior.

    37.0.0release notes

Security 2

  • Backports a security fix for CVE-2025-5419.

    37.0.0release notes

  • Fixes parsing NODE_OPTIONS for child processes on macOS and a crash caused by an out-of-bounds string read.

    37.0.0release notes

Deprecations 1

New APIs and options 11

  • Added an API to indicate whether a window has been arranged via Snap.

    36.0.0, 37.0.0release notesrelease notes

  • The new frame option enables macOS Autofill, Writing Tools, and Services menu items in context menus.

    37.0.0release notes

  • Added a property to distinguish the system theme from the app theme.

    36.0.0, 37.0.0release notesrelease notes

  • Adds priority and priorityIncremental options to net.request().

    37.0.0release notes

  • Adds support for the palette and header menu item roles on macOS.

    37.0.0release notes

  • Adds support for dipToScreenPoint and screenToDipPoint on Linux X11.

    37.0.0release notes

  • Adds the scriptURL property to ServiceWorkerMain.

    37.0.0release notes

  • Adds a CSS rule for smooth corners.

    37.0.0release notes

  • Added support for system-context-menu on Linux.

    36.0.0, 37.0.0release notesrelease notes

  • Electron adds support for blocklists for Web Serial and WebUSB.

    37.0.0release notes

  • Adds innerWidth and innerHeight options for window.open.

    37.0.0release notes

Performance 2

Behavior and default changes 3

  • Electron upgrades Chromium to 138.0.7204.35, changing the browser runtime and its available web platform behavior.

    37.0.0release notes

  • Reverts the change that greyed out disabled menu items on macOS.

    37.0.0release notes

  • Adds ffmpeg.dll to the delay load configuration.

    37.0.0release notes

Fixes and other changes 29

electron 3678 changes

Breaking changes 8

  • The GTK 4 default on GNOME is called out as a breaking change.

    36.0.0release notes

  • Electron now uses Node 22.14.0.

    36.0.0release notes

  • The isDefault property was removed from PrinterInfo.

    36.0.0release notes

  • The status property was removed from PrinterInfo.

    36.0.0release notes

  • The quota: 'syncable' option was removed from ses.clearDataStorage().

    36.0.0release notes

  • Redesigned preload script APIs add registerPreloadScript, unregisterPreloadScript, and getPreloadScripts on Session.

    35.0.0, 36.0.0release notesrelease notes

  • Session extension APIs moved to Session.extensions.

    36.0.0release notes

  • The deprecated systemPreferences.isAeroGlassEnabled() API has been removed without replacement.

    36.0.0release notes

Security 2

Deprecations 3

  • getPreloads and setPreloads on Session are deprecated; use the redesigned preload script APIs instead.

    35.0.0, 36.0.0release notesrelease notes

  • Deprecated in favor of the redesigned preload script APIs.

    36.0.0release notes

  • Using empty arrays in the urls property is deprecated.

    36.0.0release notes

New APIs and options 15

Performance 2

Behavior and default changes 2

Fixes and other changes 46

  • Fixed renderer crashes when loading about:blank in subframes.

    36.0.0release notes

  • Fixed packages being mistakenly not found in asar.

    36.0.0release notes

  • Fixed the Node.js assert module not working in the renderer process.

    27.0.0, 36.0.0release notesrelease notes

  • Fixed the feature not working in a frameless window during initial window creation.

    36.0.0release notes

  • Fixed Windows windows losing the backgroundMaterial effect when maximized.

    36.0.0release notes

  • Fixed displaying content on macOS when using showInactive.

    36.0.0release notes

  • Fixed a potential crash in chrome.tabs.update().

    36.0.0release notes

  • Electron now uses Chromium 136.0.7103.48.

    36.0.0release notes

  • Fixed the event not being emitted as expected in draggable regions on Windows.

    36.0.0release notes

  • Fixed events not being correctly dispatched in draggable regions on Linux.

    36.0.0release notes

  • Fixes selection of multiple directories not working on Linux.

    35.0.0, 36.0.0release notesrelease notes

  • Fixed file dialog filters being mixed up when a * filter was included.

    36.0.0release notes

  • Fixed drag and drop icons not showing on Windows.

    36.0.0release notes

  • On Linux, openExternal now honors user-defined system defaults.

    36.0.0release notes

  • On macOS, a menu item with enabled = false is now greyed out.

    36.0.0release notes

  • Addresses two possible crashes in the File System Access API.

    35.0.0, 36.0.0release notesrelease notes

  • Fixed an issue where drag-dropping two directories caused getAsFileSystemHandle to never resolve.

    36.0.0release notes

  • Fixes the method never resolving when two directories are drag-dropped.

    35.0.0, 36.0.0release notesrelease notes

  • Fixed a crash affecting 36 betas on macOS.

    36.0.0release notes

  • Fixed a potential crash when legacy getUserMedia is called with an invalid chromeMediaSourceId.

    36.0.0release notes

  • Fixed the default path not always correctly filling the Name field on Linux.

    36.0.0release notes

  • Fixed context menu actions such as copy and paste not firing correctly when a frame was not passed in.

    36.0.0release notes

  • Fixed NODE_OPTIONS parsing for child processes on macOS.

    36.0.0release notes

  • Fixes an upstream bug that caused Offscreen Rendering to stutter.

    35.0.0, 36.0.0release notesrelease notes

  • Fixed possible permission issues after focus loss and regain.

    36.0.0release notes

  • Fixed rounded corners disappearing momentarily when closing on Windows 11.

    36.0.0release notes

  • Fixed content protection being reverted when a window was hidden.

    36.0.0release notes

  • Fixed print scaling being too small during silent print.

    36.0.0release notes

  • Fixed spellcheck suggestions not correctly populating on Windows.

    36.0.0release notes

  • Fixed flickering and ghosting artifacts in transparent windows on macOS.

    36.0.0release notes

  • 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.

    35.0.0, 36.0.0release notesrelease notes

  • Electron now uses V8 13.6.

    36.0.0release notes

  • Fixed the resizing border not working as expected on Wayland windows.

    36.0.0release notes

  • Fixed broken window borders in some circumstances on Wayland.

    36.0.0release notes

  • Fixed web worker scripts failing to load for Chrome extensions.

    36.0.0release notes

  • The type for WebContents.opener now specifies that it may be null.

    36.0.0release notes

  • Fixes webContents.print after the switch to OOP printing on macOS and Linux.

    35.0.0, 36.0.0release notesrelease notes

  • Fixed broken OOP window.print() on macOS and Linux.

    36.0.0release notes

  • Fixed a crash related to accessing speculative frames that have been destroyed.

    36.0.0release notes

  • Fixed crashes when accessing frames and name attributes on destroyed frames.

    36.0.0release notes

  • Fixed the file preview window reappearing when closeFilePreview is called twice on macOS.

    36.0.0release notes

  • Maximizing and restoring now respects corner radius settings, and the corner radius is correct in fullscreen mode.

    36.0.0release notes

  • Fixed the Windows Minimize menu button to follow the set window minimizability.

    36.0.0release notes

  • Fixed title changes occurring while navigating within a page.

    36.0.0release notes

  • Fixed the border style of windows with vibrancy on macOS.

    36.0.0release notes

  • Fixed snapped windows sometimes being improperly restored.

    36.0.0release notes

electron 3522 changes

Breaking changes 1

  • The event arguments move into the event object, which also gains a frame property.

    35.0.0release notes

Deprecations 1

  • This API is deprecated and will be removed without replacement.

    35.0.0release notes

New APIs and options 6

  • Adds an optional animation parameter.

    35.0.0release notes

  • Adds query-session-end and improves session-end events on Windows.

    35.0.0release notes

  • Adds an API to manage shared dictionaries for compression efficiency using Brotli or ZStandard.

    35.0.0release notes

  • Adds APIs to inspect shared dictionary information for compression efficiency using Brotli or ZStandard.

    34.0.0, 35.0.0release notesrelease notes

  • Adds APIs to inspect shared dictionary usage for compression efficiency using Brotli or ZStandard.

    34.0.0, 35.0.0release notesrelease notes

  • Adds access to the JavaScript call stack of unresponsive renderers.

    34.0.0, 35.0.0release notesrelease notes

Performance 2

Behavior and default changes 1

  • Electron upgrades Chromium to 134.0.6998.44, which may affect application runtime behavior.

    35.0.0release notes

Fixes and other changes 11

electron 3448 changes

Breaking changes 1

  • On Windows, the menu bar is now hidden when the window is fullscreen.

    34.0.0release notes

New APIs and options 7

  • Adds support for the macOS system picker.

    34.0.0release notes

  • Adds GPU-accelerated shared texture offscreen rendering.

    34.0.0release notes

  • Adds an API to clear the shared dictionary cache.

    34.0.0release notes

  • Adds an API to clear the shared dictionary cache for an isolation key.

    34.0.0release notes

  • Adds an error event to support diagnostic reports on V8 fatal errors.

    33.0.0, 34.0.0release notesrelease notes

  • Adds a property for identifying frames in an unloading state.

    34.0.0release notes

  • Adds a method to determine whether a frame has been destroyed.

    34.0.0release notes

Behavior and default changes 4

  • Electron 34 upgrades Chromium to 132.0.6834.83, which may affect application behavior and compatibility.

    34.0.0release notes

  • Adds support for the macOS system picker.

    33.0.0, 34.0.0release notesrelease notes

  • Electron 34 upgrades its Node runtime to 20.18.1, which may affect application behavior and compatibility.

    34.0.0release notes

  • Electron 34 upgrades V8 to 13.2, which may affect application behavior and compatibility.

    34.0.0release notes

Fixes and other changes 36

  • Fixes closing a window with more than one attached sheet on macOS.

    34.0.0release notes

  • Fixes BaseWindow.setTouchBar not working as expected.

    34.0.0release notes

  • Fixes an auto-resize issue with BrowserView.

    33.0.0, 34.0.0release notesrelease notes

  • Fixes an exception after the owning BrowserWindow is closed.

    34.0.0release notes

  • Restores Chromium's default Content-Disposition header parsing.

    33.0.0, 34.0.0release notesrelease notes

  • Fixes a possible crash when using draggable regions and BaseWindows to get the context-menu event.

    34.0.0release notes

  • Fixes duplicate contextmenu event emission on macOS.

    34.0.0release notes

  • Fixes the custom spell checker getting stuck in an infinite loop using 100% CPU.

    34.0.0release notes

  • Fixes defaultPath not working for all users on Linux when creating an open file dialog.

    33.0.0, 34.0.0release notesrelease notes

  • Fixes the eyedropper icon so clicking it opens an eyedropper for color selection.

    34.0.0release notes

  • Fixes file chooser dialogs for flaptak applications.

    34.0.0release notes

  • Fixes saving fillable PDF forms in some circumstances.

    34.0.0release notes

  • Fixes a crash when calling getDisplayMedia from multiple iframes.

    34.0.0release notes

  • Sets the focusedWindow parameter when the focused window is a BaseWindow.

    33.0.0, 34.0.0release notesrelease notes

  • Fixes a crash when the network process terminates while a net log is running.

    34.0.0release notes

  • Fixes a crash in the net API when a utility process exits.

    34.0.0release notes

  • Fixes a Linux crash when closing a window after printing.

    34.0.0release notes

  • Fixes resize events not being emitted for single-pixel resizes on Windows.

    34.0.0release notes

  • Fixes resize events being emitted on Windows when a window was moved but not resized.

    34.0.0release notes

  • Fixes camera permissions affecting screen sharing.

    34.0.0release notes

  • Fixes calling setAlwaysOnTop on a hidden window that is then shown with showInactive on Linux under X11.

    34.0.0release notes

  • Fixes a potential issue accessing a child window document when overriding BrowserWindow creation.

    33.0.0, 34.0.0release notesrelease notes

  • Fixes external window focus when using shell.openExternal.

    34.0.0release notes

  • Fixes other apps not being focused when launched from Electron ozone/wayland.

    34.0.0release notes

  • Fixes a crash that could occur when calling this API on Windows.

    34.0.0release notes

  • Fixes the mouse cursor turning into a loading spinner when starting a utility process on Windows.

    33.0.0, 34.0.0release notesrelease notes

  • Normal termination of a utility process now returns exit code 0.

    34.0.0release notes

  • Fixes the context-menu event not being emitted when using -webkit-app-region: drag.

    34.0.0release notes

  • Fixes cases where WebContentsViews did not display correctly on macOS after being added as child views.

    33.0.0, 34.0.0release notesrelease notes

  • Fixes WebContentsViews being improperly removed.

    34.0.0release notes

  • Fixes a segfault when moving WebContentsView between BrowserWindows.

    34.0.0release notes

  • When a frame is unloading, the returned WebFrameMain instance now matches the given process and frame IDs.

    34.0.0release notes

  • Fixes a crash that could occur when calling focus on a WebView's webContents.

    33.0.0, 34.0.0release notesrelease notes

  • Fixes dragging to resize when using Window Controls Overlay on Linux.

    34.0.0release notes

  • Fixes missing tooltips on buttons shown under the Window Controls Overlay API.

    34.0.0release notes

  • Fixes the Windows control overlay being unexpectedly visible in fullscreen on Linux.

    34.0.0release notes

electron 3332 changes

Breaking changes 2

  • Custom protocol URLs using Windows file paths no longer work correctly with the baseURLForDataURL property.

    33.0.0release notes

  • Custom protocol URLs using Windows file paths no longer work correctly with this deprecated API.

    33.0.0release notes

Security 1

  • Rejects with NotAllowedError when system-level microphone or camera permissions are denied on macOS.

    33.0.0release notes

Deprecations 1

  • Usage of the textured BrowserWindow type option is deprecated on macOS.

    33.0.0release notes

New APIs and options 9

  • Supports responding to authentication requests initiated from a utility process.

    33.0.0release notes

  • Adds a handler to help unlock cryptographic devices when a PIN is needed.

    33.0.0release notes

  • Added an API to retrieve a download's current bytes per second.

    32.0.0, 33.0.0release notesrelease notes

  • Added an API to retrieve a download's end time.

    32.0.0, 33.0.0release notesrelease notes

  • Added an API to retrieve a download's percent complete.

    32.0.0, 33.0.0release notesrelease notes

  • Added prefersReducedTransparency to indicate whether the user chose to reduce OS-level transparency through system accessibility settings.

    32.0.0, 33.0.0release notesrelease notes

  • Extends the API with two functions for better history management.

    33.0.0release notes

  • Exposed systemPreferences to utilityProcess.

    32.0.0, 33.0.0release notesrelease notes

  • Adds border-radius customization for views, with compatibility for WebContentsView.

    33.0.0release notes

Performance 1

  • Enables zstd compression in net HTTP requests.

    33.0.0release notes

Behavior and default changes 1

  • Adds Linux support for the Windows Control Overlay API.

    33.0.0release notes

Fixes and other changes 17

  • Fixed crashes when setting some levels of transparency.

    32.0.0, 33.0.0release notesrelease notes

  • Fixed a focus issue when calling setTopBrowserView.

    32.0.0, 33.0.0release notesrelease notes

  • Fixes cases where setTouchBar did not work as expected.

    33.0.0release notes

  • Fixes non-resizable windows becoming resizable on macOS 14.4 or later when calling getSources.

    33.0.0release notes

  • Fixes cases where getSources did not fulfill its promise.

    33.0.0release notes

  • The failure pathway now aligns with upstream when attempting to open a file or directory in a blocked path.

    32.0.0, 33.0.0release notesrelease notes

  • Fixed the API not remembering the user's last picked directory as expected.

    32.0.0, 33.0.0release notesrelease notes

  • MessagePorts no longer close unexpectedly when non-cloneable objects are sent via postMessage.

    32.0.0, 33.0.0release notesrelease notes

  • Now rejects with NotAllowedError when microphone or camera permissions are denied at the system level on macOS.

    32.0.0, 33.0.0release notesrelease notes

  • Fixed cases where getPorts incorrectly returned an empty array.

    32.0.0, 33.0.0release notesrelease notes

  • Fixes missing fetch-dependent interfaces in Web Workers when nodeIntegrationInWorker is enabled.

    33.0.0release notes

  • Fixes broken results from navigator.mediaDevices.enumerateDevices in some cases after setting a permission check handler.

    33.0.0release notes

  • Fixed control failing to return properly after saving a dialog on Linux.

    32.0.0, 33.0.0release notesrelease notes

  • Fixed a potential error when closing a BrowserView's webContents.

    32.0.0, 33.0.0release notesrelease notes

  • Fixes blank-page output when printing from an existing PDF document.

    33.0.0release notes

  • Fixed printing from an existing PDF document resulting in a blank page.

    32.0.0, 33.0.0release notesrelease notes

  • Fixes cases where calling showInactive on macOS did not show the window.

    33.0.0release notes

electron 3246 changes

Breaking changes 1

  • The nonstandard File.path extension was removed from the Web File API.

    32.0.0release notes

New APIs and options 3

  • Added cumulativeCPUUsage to AppMetrics and CPUUsage.

    32.0.0release notes

  • Navigation history now exposes canGoBack, goBack, canGoForward, goForward, canGoToOffset, goToOffset, and clear.

    32.0.0release notes

  • WebContentsView now accepts a pre-existing webContents object.

    31.0.0, 32.0.0release notesrelease notes

Behavior and default changes 3

  • No longer checks for a Desktop Environment when setting the badge count.

    32.0.0release notes

  • No longer checks for a Desktop Environment when setting the progress bar.

    32.0.0release notes

  • Enabled the Windows Control Overlay API on Linux.

    32.0.0release notes

Fixes and other changes 39

  • Fixed crashes when a view is added as its own child or the same WebContentsView is added multiple times.

    32.0.0release notes

  • Fixed an incorrect check against loginItemService.

    31.0.0, 32.0.0release notesrelease notes

  • Fixed setTitleBarOverlay not working as expected on BaseWindow.

    32.0.0release notes

  • Dialogs now work when parented to a BaseWindow rather than a BrowserWindow.

    31.0.0, 32.0.0release notesrelease notes

  • Fixed an error when calling setAutoResize on a BrowserView.

    31.0.0, 32.0.0release notesrelease notes

  • Fixed incorrect window centering on Windows and Linux and in some other circumstances.

    31.0.0, 32.0.0release notesrelease notes

  • BrowserView webContents are no longer destroyed when preventDefault is set on the owning BrowserWindow's close event.

    31.0.0, 32.0.0release notesrelease notes

  • On macOS, focus now correctly restores focus to inactive apps.

    31.0.0, 32.0.0release notesrelease notes

  • On macOS, show now correctly restores focus to inactive apps.

    31.0.0, 32.0.0release notesrelease notes

  • Chromium was upgraded to 128.0.6613.36.

    32.0.0release notes

  • Fixed circumstances where the promise would never resolve.

    31.0.0, 32.0.0release notesrelease notes

  • Fixed windows becoming resizable on macOS 14.4 or later and cases where the promise never fulfilled.

    32.0.0release notes

  • Fixed mismatches between desktopCapturer sources and screen.getAllDisplays() on Windows.

    32.0.0release notes

  • Fixed fullscreen requests from a webContents inside WebContentsView.

    31.0.0, 32.0.0release notesrelease notes

  • Fixed cases where fetch-dependent interfaces were undefined in Node.js with nodeIntegration enabled or missing in Web Workers with nodeIntegrationInWorker enabled.

    32.0.0release notes

  • Fixed behavior when entering or exiting fullscreen fails on macOS.

    32.0.0release notes

  • Fixed High Contrast Mode not applying to webContents on Windows.

    32.0.0release notes

  • Fixed crashes caused by opening multiple file pickers on Windows via the input tag.

    32.0.0release notes

  • Bad flags no longer cause a crash.

    32.0.0release notes

  • Fixed cases where the user-specified default path did not work.

    32.0.0release notes

  • Fixed broken results in some cases after calling session.setPermissionCheckHandler.

    32.0.0release notes

  • Fixed a crash that could occur in some circumstances.

    32.0.0release notes

  • Fixed a resource leak when using readable streams as the response body for a custom protocol handler.

    32.0.0release notes

  • Node was upgraded to 20.16.0.

    32.0.0release notes

  • Fixed a potential crash when removing notifications on Windows.

    32.0.0release notes

  • originalFs.promises.cp now works.

    31.0.0, 32.0.0release notesrelease notes

  • Fixed data corruption when incoming data is processed asynchronously.

    31.0.0, 32.0.0release notesrelease notes

  • Fixed recent documents not populating properly on macOS.

    32.0.0release notes

  • Error messages are improved when setting cookies fails.

    32.0.0release notes

  • Fixed a crash when resolving a proxy.

    32.0.0release notes

  • Fixed an error where a minimized or hidden window caused an unresponsive error in the main process.

    32.0.0release notes

  • Fixed the context menu not triggering as expected on Windows with a frameless BrowserWindow.

    32.0.0release notes

  • Fixed a potentially incorrect exit code.

    31.0.0, 32.0.0release notesrelease notes

  • V8 was upgraded to 12.8.

    32.0.0release notes

  • Fixed the property not being enumerable.

    31.0.0, 32.0.0release notesrelease notes

  • Fixed a Chromium crash caused by a dangling unretained pointer in some webRequest functions.

    32.0.0release notes

  • Fixed crashes in some calls to WebUSB methods.

    32.0.0release notes

  • The type was corrected back to string.

    31.0.0, 32.0.0release notesrelease notes

  • Fixed showInactive not showing the window on macOS and windows being blank when shown.

    32.0.0release notes

electron 3126 changes

Breaking changes 5

  • Removed the inputFieldType property from context-menu parameters.

    30.0.0, 31.0.0release notesrelease notes

  • The method now preserves PNG colorspace.

    31.0.0release notes

  • ScreenCaptureKit is used exclusively on macOS 14.4 and higher to avoid permission prompts.

    31.0.0release notes

  • WebSQL support was removed with the Chromium update.

    31.0.0release notes

  • On macOS, window.flashFrame(bool) now flashes continuously.

    31.0.0release notes

New APIs and options 6

Behavior and default changes 1

  • The handler now supports manual creation of BrowserWindow.

    31.0.0release notes

Fixes and other changes 14

  • Fixed a crash if a view is added as its own child.

    31.0.0release notes

  • Fixed app.getLoginItemSettings not correctly throwing errors.

    30.0.0, 31.0.0release notesrelease notes

  • Functionality to check whether an app was launched as a login service on macOS was re-added.

    31.0.0release notes

  • Fixed a bug where a window with maximization disabled and WCO enabled would still show its maximization button.

    31.0.0release notes

  • Fixed a potential crash on extension unload.

    31.0.0release notes

  • Fixed support for selecting multiple folders or files in the shell_dialogs portal implementation.

    31.0.0release notes

  • Added missing support for the recursive option in readdir and its promise and synchronous variants.

    31.0.0release notes

  • withFileTypes is now supported when recursive readdir is called in Asar archives.

    31.0.0release notes

  • Fixed the method and shell.openExternal not resolving when called in the renderer process.

    31.0.0release notes

  • The event no longer improperly respects filters set by serial.requestPort().

    31.0.0release notes

  • Fixed Windows Explorer not opening when the passed path contains forward slashes.

    31.0.0release notes

  • Windows made visible with showInactive no longer appear blank.

    31.0.0release notes

  • Fixed printing failing when options were omitted or passed as undefined.

    30.0.0, 31.0.0release notesrelease notes

  • Fixed a crash when the same WebContentsView is added via addChildView multiple times.

    31.0.0release notes

electron 3018 changes

Breaking changes 4

  • Chromium removed the --disable-color-correct-rendering switch.

    30.0.0release notes

  • Cross-origin iframes now use Permission Policy to access features.

    30.0.0release notes

  • Chromium removed process.getIOCounters().

    30.0.0release notes

  • Added WebContentsView and BaseWindow as replacements for the deprecated BrowserView APIs.

    30.0.0release notes

Security 1

Deprecations 1

  • BrowserView APIs are deprecated and replaced by WebContentsView and BaseWindow.

    30.0.0release notes

New APIs and options 3

Behavior and default changes 1

  • The ASAR Integrity fuse is now supported on Windows.

    30.0.0release notes

Fixes and other changes 8

  • Fixed an issue where import.meta.url did not work in the renderer process with contextIsolation enabled.

    29.0.0, 30.0.0release notesrelease notes

  • Fixed bugs that could prevent forwarding requests intercepted with protocol.handle().

    29.0.0, 30.0.0release notesrelease notes

  • Fixed select-usb-device not respecting the filter option.

    29.0.0, 30.0.0release notesrelease notes

  • Fixed loadURL incorrectly failing when called immediately after a previous loadURL call failed.

    30.0.0release notes

  • The loadURL promise is now properly rejected when loading an invalid URL.

    30.0.0release notes

  • Fixed failures with certain combinations of margins and pageSize values.

    29.0.0, 30.0.0release notesrelease notes

  • Fixed the printBackground option not working as expected.

    29.0.0, 30.0.0release notesrelease notes

  • Fixed a potential crash when closing or interacting with a WebContentsView after its associated WebContents was cleaned up.

    30.0.0release notes

electron 2941 changes

Breaking changes 8

  • Functions called over the contextBridge are now called with the expected receiver (this).

    29.0.0release notes

  • The WebContents and webview event has been removed.

    29.0.0release notes

  • The drag style has no effect in full screen mode.

    29.0.0release notes

  • The new webUtils.getPathForFile method replaces the File.path augmentation.

    29.0.0release notes

  • The deprecated app event has been removed.

    29.0.0release notes

  • Applied the module search paths restriction on worker and child process.

    29.0.0release notes

  • The app event has been removed.

    29.0.0release notes

  • Added a method to replace the File.path augmentation.

    29.0.0release notes

Security 2

  • Fixed the setting that was not correctly preventing fetch() calls to file:// URLs.

    29.0.0release notes

  • A new Electron Fuse opts the file:// protocol into more secure and restrictive behaviour that matches Chromium.

    29.0.0release notes

New APIs and options 6

Behavior and default changes 2

  • Migrated to Apple's new recommended underlying framework on macOS.

    29.0.0release notes

  • Migrated to Apple's new recommended underlying framework on macOS.

    29.0.0release notes

Fixes and other changes 23

  • Fixed maximized window bounds when toggling the function.

    29.0.0release notes

  • Electron 29 upgrades Chromium to 122.0.6261.39.

    29.0.0release notes

  • Fixed an issue where some dependencies using CommonJS would cause ESM apps to fail to open.

    29.0.0release notes

  • Fixed an issue where devtools could not be re-opened.

    29.0.0release notes

  • Fixed an error changing file format on macOS.

    28.0.0, 29.0.0release notesrelease notes

  • Fixed an issue where draggable regions did not work across platforms.

    29.0.0release notes

  • Correctly support the throwIfNoEntry option in asar files.

    29.0.0release notes

  • The throwIfNoEntry option is now supported in asar files.

    28.0.0, 29.0.0release notesrelease notes

  • Fixed the method not resolving as expected.

    29.0.0release notes

  • Fixed behavior to match the latest expected behavior.

    29.0.0release notes

  • Electron 29 upgrades Node to 20.9.0.

    29.0.0release notes

  • Fixed Windows Toast notifications not being properly dismissed from the Action Center in the described case.

    29.0.0release notes

  • Fixed WebViews sometimes crashing on unload.

    29.0.0release notes

  • Fixed methods that were not properly corrected for patched imports.

    29.0.0release notes

  • Fixed various bugs which could prevent forwarding requests intercepted with protocol.handle().

    29.0.0release notes

  • Fixed Request objects not correctly copying headers into fetches.

    29.0.0release notes

  • Fixed a key lookup bug.

    29.0.0release notes

  • File paths passed to this method are now escaped correctly on Linux.

    28.0.0, 29.0.0release notesrelease notes

  • Electron 29 upgrades V8 to 12.2.

    29.0.0release notes

  • Fully occluded windows on Linux and Windows no longer produce an empty image.

    28.0.0, 29.0.0release notesrelease notes

  • Fixed interaction with fullscreen and WCO on macOS.

    29.0.0release notes

  • Fixed zoom level settings not persisting per-session for webviews.

    29.0.0release notes

  • Fixed the event not being emitted when pressing links in chrome: pages.

    29.0.0release notes

electron 2842 changes

Breaking changes 5

  • The method has been removed.

    28.0.0release notes

  • The getTrafficLightPosition() and setTrafficLightPosition() methods have been removed.

    28.0.0release notes

  • The method has been removed.

    28.0.0release notes

  • These events have been removed.

    28.0.0release notes

  • The method now returns an RGBA hex value (#RRGGBBAA) instead of a plain RGB value (#RRGGBB).

    28.0.0release notes

Security 1

Deprecations 4

New APIs and options 15

  • Support has been added for additional extensions manifest keys, including author.

    27.0.0, 28.0.0release notesrelease notes

  • A tabbingIdentifier property has been added.

    27.0.0, 28.0.0release notesrelease notes

  • Support has been added for chrome.scripting extension APIs.

    27.0.0, 28.0.0release notesrelease notes

  • Linux now supports the ELECTRON_OZONE_PLATFORM_HINT environment variable.

    28.0.0release notes

  • Electron now supports ESM, enabling applications to use ESM with Electron.

    28.0.0release notes

  • Added an API to get the UDP port range for WebRTC.

    28.0.0release notes

  • Support has been added for additional extensions manifest keys, including host_permissions.

    27.0.0, 28.0.0release notesrelease notes

  • An API was added to help apps know when to avoid semitransparent backgrounds.

    28.0.0release notes

  • Added an API to specify the UDP port range for WebRTC.

    28.0.0release notes

  • Support has been added for additional extensions manifest keys, including short_name.

    27.0.0, 28.0.0release notesrelease notes

  • Tray icons now support a middle-click mouse event.

    28.0.0release notes

  • Windows Tray now emits mouse-enter and mouse-leave events.

    28.0.0release notes

  • The UtilityProcess API now supports ESM entrypoints.

    28.0.0release notes

  • HTTP headers can now be sent with webContents.downloadURL().

    27.0.0, 28.0.0release notesrelease notes

  • The generateTaggedPDF option enables generating tagged, accessible PDFs.

    28.0.0release notes

Performance 1

  • fork() and execve() performance improved for the child_process API on Linux.

    28.0.0release notes

Behavior and default changes 2

  • Setting backgroundThrottling to false disables frame throttling in the BrowserWindow for all WebContents it displays.

    28.0.0release notes

  • Electron now honors XDG dark theme preferences on Linux.

    28.0.0release notes

Fixes and other changes 14

  • Fixed incorrect activation of panel windows on macOS Sonoma.

    28.0.0release notes

  • Fixed the API always returning true on ARM64.

    27.0.0, 28.0.0release notesrelease notes

  • Fixed cases where setBounds calls did not paint the view in its new bounds.

    27.0.0, 28.0.0release notesrelease notes

  • Fixed maximized window bounds when toggling resizability.

    28.0.0release notes

  • Fixed a Windows launch failure affecting launches of store applications.

    28.0.0release notes

  • Functions called over the contextBridge now receive the expected this value.

    28.0.0release notes

  • MessagePorts are now garbage collected when they are no longer referenced.

    28.0.0release notes

  • Same-party cookie functionality for first party sets has been fixed.

    27.0.0, 28.0.0release notesrelease notes

  • CommonJS module compatibility improved by passing dummy module.exports.

    28.0.0release notes

  • Fixed a promise resolving too early when the browser initiated in-page navigation.

    28.0.0release notes

  • Calling loadURL during some webContents URL-loading events no longer crashes.

    28.0.0release notes

  • Fixed printing failing when options is a frozen object.

    27.0.0, 28.0.0release notesrelease notes

  • Fixed conversion of accelerators representing DOM keys.

    27.0.0, 28.0.0release notesrelease notes

  • Fixed importKey errors when SharedArrayBuffers are not defined.

    27.0.0, 28.0.0release notesrelease notes

electron 2773 changes

Breaking changes 10

  • The deprecated color scheme changed events in systemPreferences have been removed.

    27.0.0release notes

  • The enable_osr build flag has been removed.

    27.0.0release notes

  • The enable_picture_in_picture build flag has been removed.

    27.0.0release notes

  • The build flag has been removed in favor of the runAsNode fuse.

    27.0.0release notes

  • Support for macOS 10.13 and 10.14 has been removed.

    27.0.0release notes

  • The runAsNode fuse replaces the removed enable_run_as_node build flag.

    27.0.0release notes

  • This API has been removed.

    27.0.0release notes

  • The alternate-selected-control-text value is no longer supported.

    27.0.0release notes

  • The deprecated API has been removed.

    27.0.0release notes

  • All currently supported versions of Electron have dropped support for Windows 7/8/8.1.

    27.0.0release notes

Security 2

  • Backported a security fix for this vulnerability.

    27.0.0release notes

  • Backported a security fix for this vulnerability.

    27.0.0release notes

Deprecations 3

  • This API is deprecated in favor of sharing a MessageChannel between two renderers.

    27.0.0release notes

  • The senderId property has been deprecated.

    27.0.0release notes

  • The senderIsMainFrame property has been deprecated.

    27.0.0release notes

New APIs and options 12

Behavior and default changes 6

  • The API now guarantees that its returned array is sorted by z-index.

    27.0.0release notes

  • node:-prefixed requires are now supported for events in sandboxed renderer preloads.

    27.0.0release notes

  • Sandboxed renderer preloads now support node:-prefixed requires for events, timers and url.

    26.0.0, 27.0.0release notesrelease notes

  • node:-prefixed requires are now supported for timers in sandboxed renderer preloads.

    27.0.0release notes

  • Linux system dark theme preference is detected via the xdg settings portal.

    27.0.0release notes

  • Added transparent color support for WCO on Windows.

    26.0.0, 27.0.0release notesrelease notes

Fixes and other changes 40

electron 2661 changes

Breaking changes 1

Security 1

  • Fixed potential use-after-free on close and reparent.

    26.0.0release notes

Deprecations 3

New APIs and options 8

Behavior and default changes 1

  • Messages sent via ipcRenderer.sendTo() now include senderIsMainFrame.

    26.0.0release notes

Fixes and other changes 47

  • Ensured Electron's custom accessibility attribute works as expected in relevant protocol methods.

    26.0.0release notes

  • Fixed a perceived failure when using the accessibility attribute to enable accessibility features.

    26.0.0release notes

  • Fixed a crash that could occur in some cases.

    26.0.0release notes

  • Fixed incorrect bounds for transparent maximized windows on Windows.

    25.0.0, 26.0.0release notesrelease notes

  • Accessing the property no longer throws an error after the window is destroyed.

    25.0.0, 26.0.0release notesrelease notes

  • Fixed incorrect true results for minimized or fullscreened windows on macOS.

    25.0.0, 26.0.0release notesrelease notes

  • Fixed an incorrect true result after minimizing a window immediately after maximizing it.

    25.0.0, 26.0.0release notesrelease notes

  • Fixed incorrect true results for minimized windows on Windows.

    25.0.0, 26.0.0release notesrelease notes

  • Fixed a potential crash when re-parenting a BrowserWindow whose first parent has been destroyed.

    26.0.0release notes

  • Fixed an error in the Top Level Windows section.

    26.0.0release notes

  • Electron upgrades Chromium to 116.0.5845.62.

    26.0.0release notes

  • Fixed a crash when reading images copied via the context menu on macOS.

    26.0.0release notes

  • Improved the error message when stopping recording fails because no trace was in progress.

    26.0.0release notes

  • Fixed a crash when listing desktop capture sources.

    26.0.0release notes

  • Fixed incorrect prototype class names for certain Electron classes.

    26.0.0release notes

  • Fixed menus not opening after resizing, maximizing, or unmaximizing a window.

    26.0.0release notes

  • Fixed a potential crash when right-clicking on macOS windows with draggable regions.

    26.0.0release notes

  • Fixed the fullscreen/maximize button being incorrectly enabled on initial window creation.

    26.0.0release notes

  • Fixed notifications with no actions erroneously showing a Show button.

    26.0.0release notes

  • Fixed potential issues when minimizing parent windows with non-modal children.

    26.0.0release notes

  • Fixed traffic lights malfunctioning on child windows in some circumstances.

    26.0.0release notes

  • Fixed an issue where the method always returned null.

    25.0.0, 26.0.0release notesrelease notes

  • Added an about panel for menu role about on Linux.

    26.0.0release notes

  • Fixed a crash with a sigbus error.

    26.0.0release notes

  • Fixed a rare crash when closing an active native tab on macOS.

    26.0.0release notes

  • Fixed incorrect data being returned.

    26.0.0release notes

  • Fixed the recommended version in the node.h error.

    26.0.0release notes

  • Electron upgrades Node to 18.6.1.

    26.0.0release notes

  • Fixed a console error seen when loading PDFs.

    26.0.0release notes

  • Fixed certain buttons in the PDF viewer not working.

    26.0.0release notes

  • Fixed potential invalid protocol error handling.

    26.0.0release notes

  • Fixed a crash while screen sharing on Wayland with PipeWire.

    26.0.0release notes

  • Fixed broken defaults in shell.openExternal() options.

    26.0.0release notes

  • Fixed the event not being emitted properly on macOS.

    26.0.0release notes

  • Fixed VoiceOver being unable to trigger the tray action when selected to emit the click event.

    26.0.0release notes

  • Fixed a crash when executing eval in the utility process.

    26.0.0release notes

  • Electron 24 upgrades V8 to 11.2.

    24.0.0, 26.0.0release notesrelease notes

  • Fixed the display of title bar buttons on Wayland.

    26.0.0release notes

  • Fixed a potential crash when calling the method with invalid settings.

    25.0.0, 26.0.0release notesrelease notes

  • Fixed an issue that prevented defaultFontFamily from taking effect.

    25.0.0, 26.0.0release notesrelease notes

  • Fixed crashes when removing a webview in a close callback.

    26.0.0release notes

  • Fixed cases where the default background color for windows might be incorrect.

    26.0.0release notes

  • Calling window.setKiosk(false) no longer exits fullscreen regardless of the fullscreen state before kiosk mode.

    26.0.0release notes

  • Fixed the application menu overlapping menu items.

    26.0.0release notes

  • Fixed FrameViews always appearing inactive regardless of focus status.

    26.0.0release notes

  • Fixed a crash that could occur when printing on Windows.

    26.0.0release notes

  • Fixed the title bar not being correct after changing the native theme on Windows 10.

    26.0.0release notes

electron 2520 changes

Breaking changes 1

Security 1

  • Fixed incorrect policy enforcement when sandbox: false and contextIsolation: false.

    25.0.0release notes

Deprecations 1

  • These protocol registration and interception APIs are deprecated in favor of protocol.handle.

    25.0.0release notes

New APIs and options 10

  • Exposes the audio-state-changed event on webContents.

    25.0.0release notes

  • Added APIs to set and get the window button position.

    25.0.0release notes

  • Added httpOnly to the cookie filter.

    24.0.0, 25.0.0release notesrelease notes

  • Added initiator information to navigator events.

    25.0.0release notes

  • Added net.fetch().

    25.0.0release notes

  • Added protocol.handle as a replacement for the legacy protocol registration and interception APIs.

    25.0.0release notes

  • Added the enableLocalEcho flag to the callback, allowing remote audio input to be echoed in the local output stream when audio is a WebFrameMain.

    24.0.0, 25.0.0release notesrelease notes

  • Added logUsage to the options, allowing the SEE_MASK_FLAG_LOG_USAGE flag to be passed to ShellExecuteEx on Windows.

    24.0.0, 25.0.0release notesrelease notes

  • Added several standard page size options.

    24.0.0, 25.0.0release notesrelease notes

  • Added an event to webContents and the webview tag that fires when any frame in the frame hierarchy attempts to navigate.

    25.0.0release notes

Behavior and default changes 2

  • Now supports requests to file: URLs and custom protocols registered with protocol.register*Protocol.

    25.0.0release notes

  • The API now accepts an absolute path.

    25.0.0release notes

Tooling 1

Fixes and other changes 4

electron 2424 changes

Performance 1

  • Updated Chromium to 112.0.5615.49; the update fixed a performance regression.

    24.0.0release notes

Fixes and other changes 23

  • Setting the about panel's options no longer crashes.

    24.0.0release notes

  • No longer blocks the main thread on Windows or Linux, matching macOS.

    24.0.0release notes

  • Fixed a crash when BrowserViews are present and a user attempts to prevent beforeunload in the renderer process.

    24.0.0release notes

  • Fixed canceling requests when no devices are returned.

    24.0.0release notes

  • Fixed the destroyed event not being emitted on close.

    24.0.0release notes

  • Fixed minWidth/minHeight and maxWidth/maxHeight not being enforced when the user set an aspectRatio on macOS.

    24.0.0release notes

  • Fixed BrowserWindow not updating after a call to previewFile.

    24.0.0release notes

  • Fixed a window being unable to return to maximized state when restored on Linux.

    24.0.0release notes

  • Improved error messages.

    24.0.0release notes

  • Fixed an incorrect result returned when using secure as a cookies filter.

    24.0.0release notes

  • Fixed a crash on capturing sources when using the API on Wayland.

    24.0.0release notes

  • Fixed potential dock icon duplication on macOS.

    24.0.0release notes

  • Fixed draggable regions incorrectly capturing clicks in framed windows.

    24.0.0release notes

  • Fixed draggable regions not working in Mac App Store builds.

    24.0.0release notes

  • Corrected an issue with HTML fullscreen when BrowserWindow fullscreening is disabled.

    24.0.0release notes

  • Fixed invalid parameters causing a crash when calling port.postMessage.

    24.0.0release notes

  • Electron 24 upgrades Node.js to 18.14.0.

    24.0.0release notes

  • Fixed the first action being obscured and unavailable when both hasReply and actions are passed to a main process Notification on macOS.

    24.0.0release notes

  • Fixed right-click events not being delivered in frameless window draggable regions.

    24.0.0release notes

  • Improved error messages on failure.

    24.0.0release notes

  • Fixed the active background color for top-level menu items on Windows.

    24.0.0release notes

  • Fixed duplicate logs in some cases.

    24.0.0release notes

  • Fixed WebUSB on ARM64 macs.

    24.0.0release notes

electron 2329 changes

Breaking changes 4

  • This deprecated method has been removed.

    23.0.0release notes

  • Support for nodeIntegrationInWorker in Service Workers and Shared Workers was removed owing to sandboxing policies.

    22.0.0, 23.0.0release notesrelease notes

  • Requiring an electron subpath other than main, common, or renderer no longer resolves to the built-in electron module.

    23.0.0release notes

  • These operating systems are no longer supported because Chromium 110 dropped support.

    23.0.0release notes

New APIs and options 7

Performance 1

  • The process cache is used to reduce memory for asar files.

    23.0.0release notes

Behavior and default changes 5

  • A default margin has been added in the code.

    23.0.0release notes

  • Crashpad is now enabled for processes running with this environment variable.

    23.0.0release notes

  • The built-in electron module can now be imported natively through ESModule loaders.

    22.0.0, 23.0.0release notesrelease notes

  • Basic accessibility support is enabled when macOS Voice Control is activated, allowing full voice control of Electron applications.

    23.0.0release notes

  • Enabled out-of-process iframe printing to PDF.

    22.0.0, 23.0.0release notesrelease notes

Fixes and other changes 12

  • Calling this before the app ready event no longer crashes.

    23.0.0release notes

  • Fixed an RTL issue that could occur in some locales on macOS.

    23.0.0release notes

  • Chromium was updated to 110.0.5481.77.

    23.0.0release notes

  • Fixed incorrect focus ring highlighting.

    23.0.0release notes

  • Fixed an error when options are null.

    23.0.0release notes

  • Node.js was updated to v18.12.1.

    23.0.0release notes

  • Fixed a printing crash caused by an uninitialized preference.

    23.0.0release notes

  • The callback is no longer invoked twice when using navigator.getUserMedia.

    23.0.0release notes

  • Fixed the Tray click event and tooltip not working on Linux.

    22.0.0, 23.0.0release notesrelease notes

  • Fixed spurious promise rejection when navigating to a hash.

    23.0.0release notes

  • Fixed a potential issue when calling this API and corrected options that were being ignored.

    23.0.0release notes

  • Fixed incorrect initial background color following reloads.

    23.0.0release notes

electron 2224 changes

Breaking changes 3

  • The deprecated new-window event has been removed.

    22.0.0release notes

  • The minimum Node.js version required to install Electron is now 12.20.55.

    22.0.0release notes

  • 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.

    22.0.0release notes

Deprecations 1

  • BrowserWindow scroll-touch-* events are deprecated; use the new WebContents input-event event instead.

    22.0.0release notes

New APIs and options 14

Behavior and default changes 1

  • Electron 22 upgrades Chromium to 108.0.5359.62, which may affect application runtime behavior.

    22.0.0release notes

Tooling 1

  • Updated native-module build configuration to support C++17 features in V8.

    22.0.0release notes

Fixes and other changes 4

  • Fixed Windows 7 frames appearing during startup.

    22.0.0release notes

  • Electron 22 uses Node v16.17.1.

    22.0.0release notes

  • Fixed an incomplete EventEmitter object in sandboxed renderer preload scripts.

    22.0.0release notes

  • Electron 22 upgrades V8 to v10.8.

    22.0.0release notes

electron 2120 changes

Breaking changes 5

  • The undocumented webview event has been removed.

    21.0.0release notes

  • The skip-taskbar feature is removed on Linux.

    20.0.0, 21.0.0release notesrelease notes

  • The V8 memory cage is enabled for external buffers, which may affect applications relying on external buffer behavior.

    21.0.0release notes

  • The API was refactored to align with the Chrome DevTools implementation; review existing usage for compatibility.

    21.0.0release notes

  • WebContents for webview are created only after will-attach-webview is emitted and preventDefault is not called.

    20.0.0, 21.0.0release notesrelease notes

Security 1

  • Electron backported a security fix for CVE-2022-3075.

    21.0.0release notes

Deprecations 1

New APIs and options 2

Behavior and default changes 1

Fixes and other changes 10

  • Electron 21 upgrades Chromium to 106.0.5249.51.

    21.0.0release notes

  • Enables missing HKDF support in Node.js crypto.

    21.0.0release notes

  • Fixes a crash when switching origins with emulation settings set.

    21.0.0release notes

  • Electron 21 upgrades Node.js to v16.16.0.

    21.0.0release notes

  • Fixes a crash when loading non-standard schemes from iframes.

    21.0.0release notes

  • Invalid pageSize values no longer cause a silent hang and eventual crash.

    21.0.0release notes

  • Fixes an issue that caused opening a serial port to fail with a NetworkError.

    21.0.0release notes

  • Fixes spellcheck functionality incorrectly throwing errors on macOS.

    21.0.0release notes

  • Fixes the length property in UploadFile objects being ignored.

    21.0.0release notes

  • Electron 21 upgrades V8 to v10.6.

    21.0.0release notes

electron 2031 changes

Breaking changes 4

  • The minimum required Node version to install the electron npm package is now greater than 10.

    20.0.0release notes

  • Electron 20 upgrades its embedded Node.js runtime to v16.15.0.

    20.0.0release notes

  • Child about:blank windows no longer inherit their parents' preload scripts when sandbox: false and nodeIntegrationInSubFrames: true.

    20.0.0release notes

  • Renderers are sandboxed by default unless nodeIntegration: true or sandbox: false is specified.

    20.0.0release notes

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.

    20.0.0release notes

New APIs and options 4

Performance 1

  • Fixes a performance problem in crashReporter.start() on macOS.

    20.0.0release notes

Behavior and default changes 1

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.

    20.0.0release notes

Fixes and other changes 19

  • Fixes the alwaysOnTop BrowserWindow option for X11 Linux.

    20.0.0release notes

  • Fixes isFocused() returning false when blur() was called on macOS.

    20.0.0release notes

  • Fixes traffic light locations moving when setRepresentedFilename is called on macOS with hidden or hiddenInset titlebar styles.

    20.0.0release notes

  • Fixes window buttons failing to show when setWindowButtonVisibility(true) is called immediately after exiting fullscreen.

    20.0.0release notes

  • Fixes a crash when calling setEnabled().

    20.0.0release notes

  • Fixed window bounds changing incorrectly when unmaximizing a window whose user bounds were maximized.

    19.0.0, 20.0.0release notesrelease notes

  • Fixed an ENOENT error when using the cwd option.

    19.0.0, 20.0.0release notesrelease notes

  • Electron 20 upgrades Chromium to 104.0.5112.65.

    20.0.0release notes

  • Fixes fullscreen transitions when HTML fullscreen is requested.

    20.0.0release notes

  • Fixes native module compilation issues on arm and spontaneous crashes in native modules that depended on nan.

    20.0.0release notes

  • Fixed a failure when a user attempted to reload the PDF Viewer.

    19.0.0, 20.0.0release notesrelease notes

  • Invalid print job settings no longer leave the job running after the failure callback, which could lead to a crash on exit.

    20.0.0release notes

  • Fixed a crash on Linux.

    19.0.0, 20.0.0release notesrelease notes

  • Fixes serial-port-added and serial-port-removed events not firing.

    20.0.0release notes

  • Fixes service worker registration with custom protocols.

    20.0.0release notes

  • No longer crashes if the callback throws an error.

    20.0.0release notes

  • Fixes getUserAgent() incorrectly returning an empty string unless previously set.

    20.0.0release notes

  • Fixes a potential printing hang.

    20.0.0release notes

  • Fixes potential crashes when performing cross-origin navigation or navigating between cross-origin websites.

    20.0.0release notes

electron 1932 changes

Breaking changes 3

  • SIGUSR1 is no longer handled when the node_cli_inspect fuse is disabled.

    19.0.0release notes

  • Removed the semi-documented preloadURL property from WebPreferences.

    19.0.0release notes

  • Upgraded the bundled Chromium, Node, and V8 versions, which may affect application compatibility and runtime behavior.

    19.0.0release notes

Deprecations 1

  • A warning was added that preload scripts will be sandboxed by default beginning in Electron 20.

    18.0.0, 19.0.0release notesrelease notes

New APIs and options 5

Behavior and default changes 1

Fixes and other changes 22

  • Fixed a crash when an image without alt text is shown while accessibility features are enabled.

    19.0.0release notes

  • Fixed an issue where the API could sometimes hang and an incorrect return value when the user data folder does not exist.

    19.0.0release notes

  • Fixed a potential crash when child windows are closed.

    19.0.0release notes

  • BrowserView layout bounds are no longer limited to the view's visible bounds.

    18.0.0, 19.0.0release notesrelease notes

  • Fixed background colors being improperly applied to BrowserViews on Windows.

    19.0.0release notes

  • Fixed setting maxHeight or maxWidth preventing the window from being resized.

    19.0.0release notes

  • It no longer returns undefined during the browser-window-created event.

    18.0.0, 19.0.0release notesrelease notes

  • The show event now fires when a BrowserWindow is shown via maximize().

    18.0.0, 19.0.0release notesrelease notes

  • Showing an inactive window no longer restores a maximized window to non-maximized on Windows.

    18.0.0, 19.0.0release notesrelease notes

  • Fixed some windows opened from new links failing to load URLs properly.

    19.0.0release notes

  • Fixed its size changing when displays are added or removed.

    19.0.0release notes

  • Fixed First Party Sets initialization and loading failures, including on Windows and at app launch.

    19.0.0release notes

  • Applies senderFrame details to the ipcMain port event.

    19.0.0release notes

  • Fixed a crash when loading an extension directory that is missing a manifest file.

    19.0.0release notes

  • The registered command string is fixed on Windows.

    18.0.0, 19.0.0release notesrelease notes

  • Fixed improper conversion of #ARGB to #RGBA and #AARRGGBB to #RRGGBBAA when setting a background color.

    19.0.0release notes

  • New bounds are correctly applied when the user is moving or resizing the window concurrently on Windows.

    18.0.0, 19.0.0release notesrelease notes

  • A network service crash that could occur when using this API was fixed.

    18.0.0, 19.0.0release notesrelease notes

  • Fixed a Windows crash when called with an initially invalid titleBarStyle.

    19.0.0release notes

  • The mode option now works for dock positions that previously failed.

    18.0.0, 19.0.0release notesrelease notes

  • Fixed a potential crash when calling this method.

    19.0.0release notes

  • Saving a page now works when passing a relative path instead of an absolute one.

    18.0.0, 19.0.0release notesrelease notes

electron 1826 changes

Breaking changes 2

  • The nativeWindowOpen option was removed along with the old BrowserWindowProxy-based implementation of window.open.

    18.0.0release notes

  • The old BrowserWindowProxy-based implementation of window.open was removed.

    18.0.0release notes

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.

    18.0.0release notes

  • Added a height option for Windows Control Overlay.

    18.0.0release notes

  • The API now supports the obsolete Blowfish ciphers bf-{cbc,cfb,ecb}.

    17.0.0, 18.0.0release notesrelease notes

  • IncomingMessage now exposes rawHeaders.

    18.0.0release notes

  • Added a Substitutions menu role on macOS.

    18.0.0release notes

  • WebContents now emits focus and blur events.

    18.0.0release notes

Performance 1

  • Slowness when using child_process.spawn and related methods on macOS Big Sur and newer was fixed.

    18.0.0release notes

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.

    18.0.0release notes

  • Specifying the x64 architecture on Mac Rosetta is now allowed through this environment variable.

    17.0.0, 18.0.0release notesrelease notes

Fixes and other changes 15

  • Asar support is now initialized in worker threads.

    18.0.0release notes

  • A potential issue when setting backgroundColor on BrowserViews was fixed.

    18.0.0release notes

  • The maxWidth constructor option now works.

    17.0.0, 18.0.0release notesrelease notes

  • A crash when printing and canceling the resulting print dialog was fixed.

    18.0.0release notes

  • A potential crash on Windows and Linux when using this API was fixed.

    18.0.0release notes

  • First Party Sets are now correctly loaded on app launch.

    18.0.0release notes

  • The method no longer throws errors when the transfer argument is omitted.

    17.0.0, 18.0.0release notesrelease notes

  • Pages now print properly on macOS after a rendering failure was fixed.

    18.0.0release notes

  • All serial devices are now exposed to the handler specified by this method.

    17.0.0, 18.0.0release notesrelease notes

  • Bounds set while the user is moving or resizing the window concurrently are now correctly applied on Windows.

    18.0.0release notes

  • A crash when calling webContents.setZoomFactor(1.0) was fixed.

    18.0.0release notes

  • An assertion failure in this code path is fixed.

    17.0.0, 18.0.0release notesrelease notes

  • The implementation no longer breaks when a will-attach-webview handler modifies the internal params.instanceId.

    17.0.0, 18.0.0release notesrelease notes

  • Parsing of the skipTransformProcessType option is corrected.

    17.0.0, 18.0.0release notesrelease notes

  • The parent's webPreferences are now overridden correctly.

    17.0.0, 18.0.0release notesrelease notes

electron 1735 changes

Breaking changes 2

  • Calling this method no longer restores a minimized BrowserWindow.

    17.0.0release notes

  • This API is now only available in the main process, so calls from other processes must be moved.

    17.0.0release notes

Deprecations 2

  • A warning is emitted when sendSync is called without listeners for the channel on ipcMain.

    16.0.0, 17.0.0release notesrelease notes

  • This method is deprecated; use webContents.getPrintersAsync() instead.

    17.0.0release notes

New APIs and options 9

  • Added a data parameter to app.requestSingleInstanceLock().

    16.0.0, 17.0.0release notesrelease notes

  • Apps can remove command line switches from Chromium's internal command line representation.

    16.0.0, 17.0.0release notesrelease notes

  • Added the textWidth option to showMessageBox and showMessageBoxSync.

    16.0.0, 17.0.0release notesrelease notes

  • The textWidth option was added to control message box text width.

    17.0.0release notes

  • Support for navigator.keyboard.lock() is enabled.

    16.0.0, 17.0.0release notesrelease notes

  • Permission request handlers for media requests now receive securityOrigin in details, in addition to permission check handlers.

    16.0.0, 17.0.0release notesrelease notes

  • This method provides a media source ID that can be used with getUserMedia to get a stream for a WebContents.

    17.0.0release notes

  • This asynchronous printer retrieval method was introduced as the replacement for deprecated webContents.getPrinters().

    17.0.0release notes

  • Added WebHID support.

    16.0.0, 17.0.0release notesrelease notes

Behavior and default changes 2

  • WebHID now uses this flag to enable FIDO devices.

    17.0.0release notes

  • Web Serial now uses ses.setDevicePermissionHandler, giving developers more control over Web Serial permissioning.

    16.0.0, 17.0.0release notesrelease notes

Fixes and other changes 20

  • Fixed the incorrect crashDumps path returned on Linux.

    16.0.0, 17.0.0release notesrelease notes

  • Fixed behavior on POSIX when lists are passed as additionalData.

    16.0.0, 17.0.0release notesrelease notes

  • Setting backgroundColor to undefined no longer prevents vibrancy from working or makes the background appear white.

    17.0.0release notes

  • Setting backgroundColor on BrowserViews no longer causes the reported issue.

    17.0.0release notes

  • Dragging behavior is now consistent with macOS window dragging, and out-of-focus BrowserViews can be dragged immediately.

    17.0.0release notes

  • Fixed incorrect behavior when setting a BrowserView background color.

    16.0.0, 17.0.0release notesrelease notes

  • Destroying a BrowserView's webContents no longer causes the reported crash.

    17.0.0release notes

  • Aspect ratio is now respected when a maximum size is set on BrowserWindow.

    17.0.0release notes

  • These events now fire correctly on Linux.

    17.0.0release notes

  • The method can now manipulate platform-specific clipboard formats and no longer crashes with custom clipboard formats.

    17.0.0release notes

  • The method can now manipulate platform-specific clipboard formats.

    17.0.0release notes

  • Attachment filenames containing commas are no longer truncated at the first comma.

    16.0.0, 17.0.0release notesrelease notes

  • Draggable region changes now update without requiring a relayout.

    17.0.0release notes

  • Missing information was added to the in-app purchase transaction and product structures.

    17.0.0release notes

  • Transparent windows now fire these events correctly on Windows.

    17.0.0release notes

  • Windows with roundedCorners: false can now be closed.

    17.0.0release notes

  • A secure CSP no longer causes a CSP violation warning in the console.

    16.0.0, 17.0.0release notesrelease notes

  • Calling this method no longer causes the reported window frame glitch.

    17.0.0release notes

  • Transparency and maximize events now work correctly in the reported window scenarios.

    17.0.0release notes

  • Calling window.open with a frame name and setWindowOpenHandler no longer causes a possible 'Object has been destroyed' error.

    17.0.0release notes

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.

    16.0.0release notes

  • Sandboxing is enabled by default on WebContents that do not use Node or preloads.

    16.0.0release notes

Security 2

  • Added a fuse for enforcing code signatures on the app.asar file the application loads; it requires the latest asar module.

    15.0.0, 16.0.0release notesrelease notes

  • Added a fuse to disable --inspect debug arguments in packaged apps.

    16.0.0release notes

Deprecations 2

  • A warning is emitted when a crash key name exceeds the maximum allowed length.

    16.0.0release notes

  • Using desktopCapturer.getSources from the renderer process is deprecated and will be removed.

    16.0.0release notes

New APIs and options 14

Behavior and default changes 3

Fixes and other changes 13

  • Electron 16 upgrades Chromium to 96.0.4664.4.

    16.0.0release notes

  • Fixed crashes when reading custom clipboard formats.

    16.0.0release notes

  • Restored behavior matching clipboard.readBuffer.

    16.0.0release notes

  • Fixed manipulation of platform-specific clipboard formats.

    16.0.0release notes

  • Fixed imageAnimationPolicy not being respected.

    16.0.0release notes

  • Previously selected ports are returned again.

    16.0.0release notes

  • Electron 16 upgrades Node to v16.9.1.

    16.0.0release notes

  • Clicking a hyperlink in a PDF now behaves as expected.

    16.0.0release notes

  • Fixed an issue that caused some transparent windows to show a white background.

    16.0.0release notes

  • Electron 16 upgrades V8 to v9.6.

    16.0.0release notes

  • Windows with vibrancy types no longer incorrectly show a white instead of transparent background.

    16.0.0release notes

  • Fixed cases where transparency was not set correctly on webContents.

    16.0.0release notes

  • Fixed a background transparency regression.

    16.0.0release notes

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.

    15.0.0release notes

  • nativeWindowOpen is now enabled by default, changing window.open behavior for applications that relied on the previous default.

    15.0.0release notes

  • Electron 15 upgrades Node to v16.5.0, which may affect application runtime behavior.

    15.0.0release notes

  • Electron 15 upgrades V8; the release notes link to the v9.4 announcement.

    15.0.0release notes

Security 1

  • Added fuses to disable NODE_OPTIONS and --inspect debug arguments in packaged apps.

    15.0.0release notes

New APIs and options 12

  • Added a property to detect when running under Rosetta on Apple Silicon or WOW on Windows for ARM.

    15.0.0release notes

  • Added location and modifiers to the event properties provided in the WebContents before-input-event event.

    15.0.0release notes

  • Extended the event API to support the webpageURL property from NSUserActivity.

    15.0.0release notes

  • Added experimental cookie encryption support behind an Electron Fuse.

    14.0.0, 15.0.0release notesrelease notes

  • Added support for debug URLs such as chrome://gpucrash.

    14.0.0, 15.0.0release notesrelease notes

  • Added a signal option to dialog.showMessageBox.

    15.0.0release notes

  • Added a web preference to control how images are animated.

    15.0.0release notes

  • Added support for directing Chromium logging to a file; JavaScript can also enable logging by appending command-line switches during the first JS tick.

    14.0.0, 15.0.0release notesrelease notes

  • Added a property to read user-assigned macOS accelerator overrides.

    15.0.0release notes

  • Added fuses to disable NODE_OPTIONS and --inspect debug arguments in packaged apps.

    15.0.0release notes

  • Added resize edge information to BrowserWindow's will-resize event.

    15.0.0release notes

  • Added support for Windows Control Overlay on macOS and Windows.

    14.0.0, 15.0.0release notesrelease notes

Behavior and default changes 2

  • Electron 15 upgrades Chromium to 94.0.4606.51, which may affect application runtime behavior.

    15.0.0release notes

  • Added support for sending Blobs over the context bridge.

    15.0.0release notes

Fixes and other changes 63

  • Fixed app.getPath('logs') returning the wrong path on Linux and Windows.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed a potential crash when calling app.quit() on macOS.

    15.0.0release notes

  • Fixed a memory leak when requesting files in an ASAR archive from the renderer.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed a specified aspect ratio becoming incorrect when maximizing a window on macOS.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed background color not being correctly applied on Windows when either coordinate is negative.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed webContents appearing not to load in some circumstances.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed custom traffic lights being covered by BrowserViews on macOS.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed the backgroundColor option not having an effect.

    15.0.0release notes

  • Fixed BrowserWindows not honoring transparency: true or a constructor backgroundColor.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed multiple calls sometimes causing the zoom button to be incorrectly disabled on macOS.

    15.0.0release notes

  • Fixed the spelling of attachment in the header when using the webRequest module.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed DevTools dropdown menus not working when contextIsolation was enabled.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed redirects between locations in custom protocols.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed an issue on Mac preventing an application from capturing its own window using desktop capture or getMediaSourceId APIs.

    15.0.0release notes

  • Fixed an error being thrown when right-clicking in the DevTools console.

    15.0.0release notes

  • Fixed undocked DevTools not being resizable on Windows.

    15.0.0release notes

  • Fixed the event not being emitted when the certificate-error handler allowed an error through.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed the status not updating the close button for frameless windows on macOS.

    15.0.0release notes

  • Fixed Electron sometimes not honoring the user-defined Downloads directory.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed a potential crash when programmatically closing a draggable frameless child window.

    15.0.0release notes

  • Fixed a potential crash with draggable regions on Windows and issues when DevTools is open.

    15.0.0release notes

  • Fuses are now in a consistent order across platforms.

    15.0.0release notes

  • Fixed empty console windows appearing on Windows when --enable-logging was present.

    15.0.0release notes

  • Fixed a beta-only bug that caused mouse clicks not to be processed in frameless windows.

    15.0.0release notes

  • Fixed improper errors when passing a FileHandle to the path argument.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed GDK_BACKEND being propagated to subprocesses on Linux.

    15.0.0release notes

  • Fixed crashes on macOS when Geolocation was used.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed media key globalShortcuts on macOS.

    15.0.0release notes

  • Fixed potential corruption of piped response data when using interceptHttpProtocol or registerHttpProtocol.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed console messages still being printed to logs when the feature was disabled.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed Alt-click toggling the menu bar and Alt+Shift or Alt+Ctrl toggling it on KDE.

    15.0.0release notes

  • Fixed crashes when selecting and opening files in a native file dialog on Mac, and when selecting files on Windows and Linux.

    15.0.0release notes

  • Fixed child window page titles not updating when there were no navigation entries.

    15.0.0release notes

  • Fixed a memory leak when creating a notification on macOS.

    15.0.0release notes

  • Fixed Windows PDF metadata loading incorrectly and causing PDFs to appear as blank pages.

    15.0.0release notes

  • Fixed a crash when process.exit is called and nativeWindowOpen is enabled.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed fullscreen requests inside webview not making the element take fullscreen.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed the event firing on Windows.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed sending intermediate certificates with the select-client-certificate event callback.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed the dropdown not appearing on Windows or Linux.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed self.module.paths not working in Workers.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed missing fetch events and service workers not working with registered or custom protocols.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed the value sometimes not being preserved for child windows on macOS.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed a hang when denying window.open with nativeWindowOpen set to false.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed a crash in the repl when SharedArrayBuffer is disabled.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed the titlebar showing under simple fullscreen mode.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed a feature flag issue causing spellchecker methods to return empty suggestion lists on Windows.

    14.0.0, 15.0.0release notesrelease notes

  • Support is extended from the latest three Electron versions to the latest four until Electron 19 is released in May 2022.

    15.0.0release notes

  • Fixed returned colors missing alpha values.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed toggling documentEdited status with titlebarStyle: 'hiddenInset' moving the traffic light location on macOS.

    15.0.0release notes

  • Fixed crashes when showArrowButtons is enabled and items is an empty array.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed transparent frameless windows having an opaque background when opened maximized.

    15.0.0release notes

  • Fixed ANSI colors not being respected when a font type was specified.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed export definitions so values that are not exported are not declared in the exports interface.

    15.0.0release notes

  • Fixed the user-data directory being incorrect in unpackaged apps.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed a potential crash when setting vibrancy on macOS.

    15.0.0release notes

  • Fixed a crash when the callback is called synchronously.

    14.0.0, 15.0.0release notesrelease notes

  • Added missing resourceType conversions for font, ping, cspReport, media, and webSocket listener details.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed request headers being cleared when the optional requestHeaders parameter was omitted from the callback response object.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed CORS preflight requests always being cancelled through authenticated proxies when apps registered WebRequest listeners.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed the event not being emitted when the user exits fullscreen with Esc instead of clicking into the webView.

    14.0.0, 15.0.0release notesrelease notes

  • Fixed a crash when clicking links with target=_blank from webview.

    15.0.0release notes

  • Fixed Escape not exiting fullscreen from webview.

    14.0.0, 15.0.0release notesrelease notes

electron 1459 changes

Breaking changes 6

  • Removed the deprecated BrowserWindow option.

    14.0.0release notes

  • Removed the deprecated app option.

    14.0.0release notes

  • default-app no longer sets backgroundColor when opening custom files or URLs.

    14.0.0release notes

  • Child windows no longer inherit BrowserWindow construction options from their parents.

    14.0.0release notes

  • Transparent windows cannot be maximized using the Windows system menu or by double-clicking the title bar.

    14.0.0release notes

  • Removed the deprecated option from webPreferences.

    14.0.0release notes

New APIs and options 10

  • Added an API to determine whether a window is focusable.

    14.0.0release notes

  • Added a feature that skips context bridge DeepFreeze and SetReadOnlyNonConfigurable when exposing a value.

    14.0.0release notes

  • Added support for the des-ede3 cipher in node crypto.

    14.0.0release notes

  • Added process.contextId, used by @electron/remote.

    13.0.0, 14.0.0release notesrelease notes

  • Added an API to get the on-disk path for session-specific data.

    13.0.0, 14.0.0release notesrelease notes

  • Added disposition to the details object passed to the window open handler.

    14.0.0release notes

  • Added postBody to the details object passed to the window open handler.

    14.0.0release notes

  • Added referrer to the details object passed to the window open handler.

    14.0.0release notes

  • Added support for the wasm-eval CSP directive behind the WebAssemblyCSP flag.

    13.0.0, 14.0.0release notesrelease notes

  • Added the visibilityState instance property.

    14.0.0release notes

Performance 2

Behavior and default changes 2

Fixes and other changes 39

  • Fixed the menu bar toggling when pressing Alt while clicking the mouse.

    14.0.0release notes

  • Fixed the logs path returned on Linux and Windows.

    14.0.0release notes

  • Restored the cross-platform noop implementation.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed beforeunload and unload not firing properly in BrowserViews.

    14.0.0release notes

  • Fixed the color select eyedropper not working within DevTools.

    14.0.0release notes

  • Fixed errors thrown in functions passed over the bridge being displayed incorrectly.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed using custom V8 snapshots on Apple Silicon.

    14.0.0release notes

  • Fixed cases where the promise result never resolved.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed JumpLists becoming empty when a task description exceeded 260 characters despite valid entries.

    14.0.0release notes

  • Fixed shifted characters being changed in menu accelerators.

    14.0.0release notes

  • Fixed Alt+Shift and Alt+Ctrl toggling the menu bar on KDE.

    14.0.0release notes

  • Fixed the void function returning a value on some platforms.

    14.0.0release notes

  • Fixed native module compilation with AsyncCleanupHooks on Windows.

    14.0.0release notes

  • Fixed using navigator.setAppBadge and navigator.clearAppBadge from a service worker in Electron.

    14.0.0release notes

  • Fixed the postData parameter being missing from the event.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed an illegal access error that could be thrown when this option is enabled.

    14.0.0release notes

  • Fixed child-window page titles not updating when there were no navigation entries under nativeWindowOpen.

    14.0.0release notes

  • Fixed a rare crash when initializing the internal PDF extension.

    14.0.0release notes

  • Fixed a permissions issue that prevented the PDF viewer from displaying.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed the callback crashing when called with an invalid serial port ID.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed a network process crash with many concurrent verification requests.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed a potential network process crash with many concurrent verification requests.

    14.0.0release notes

  • Fixed the handler not being invoked when a link was middle-clicked or shift-clicked.

    13.0.0, 14.0.0release notesrelease notes

  • URLs passed on Windows are now correctly URI encoded, matching macOS and Linux.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed a crash when called from the renderer process.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed windows in simpleFullscreen mode not resizing properly when display metrics changed.

    14.0.0release notes

  • Returned colors are now correctly converted into the device's color space.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed weird window shadows on macOS when using vibrancy with titleBarStyle.

    14.0.0release notes

  • Fixed a rare crash in UpdateDraggableRegions.

    14.0.0release notes

  • Fixed a stack overflow crash in V8 on Windows 32-bit builds.

    14.0.0release notes

  • Fixed potential visual artifacts when using vibrancy and making frameless windows fullscreen on macOS.

    14.0.0release notes

  • Fixed requests for file:// resources failing when web security is disabled.

    14.0.0release notes

  • Fixed crashes when these APIs are called in a sandboxed renderer.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed focus and blur events not working with contextIsolation enabled.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed the emitted newBounds rectangle not being scaled to the appropriate Windows display scale factor.

    14.0.0release notes

  • Fixed the callback not being called after hide() for a hidden window on some platforms.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed the event being emitted while the last BrowserWindow was still closing.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed printing a PDF from the PDF plugin.

    13.0.0, 14.0.0release notesrelease notes

  • Fixed problems caused by multiple calls to window.setFullScreen.

    14.0.0release notes

electron 1334 changes

Breaking changes 5

Security 2

New APIs and options 9

  • Added the roundedCorners option for BrowserWindow.

    13.0.0release notes

  • DOM elements can now be passed over the context bridge.

    13.0.0release notes

  • Added support for registering Manifest V3 extension service workers.

    13.0.0release notes

  • Node.js can manage the microtasks queue using an explicit microtasks policy before uv_run().

    13.0.0release notes

  • Indicates whether the current renderer context has contextIsolation enabled.

    13.0.0release notes

  • Added process.uptime() to sandboxed renderers.

    13.0.0release notes

  • Added the registration-completed event to ServiceWorkers.

    13.0.0release notes

  • The details object passed to the window open handler now includes disposition, referrer, and postBody.

    13.0.0release notes

  • On macOS, process type transformation can now be skipped.

    13.0.0release notes

Behavior and default changes 2

  • The handler's first parameter, webContents, can now be null.

    13.0.0release notes

  • Additional permission checks, including Notification.permission and permission.query, are routed through this handler.

    13.0.0release notes

Fixes and other changes 16

  • The method now works for windows using the customButtonsOnHover titlebar style.

    13.0.0release notes

  • Electron 13 upgrades Chromium to 91.0.4472.69.

    13.0.0release notes

  • The parameters emitted as part of the context-menu event now include additional fields.

    13.0.0release notes

  • Fixed incorrect serialization attempts for some WebAssembly objects.

    13.0.0release notes

  • Fixed the method not updating the key.

    13.0.0release notes

  • Fixed abnormal fullscreen titlebar behavior and the interaction with trafficLightPosition.

    13.0.0release notes

  • This API was fixed.

    12.0.0, 13.0.0release notesrelease notes

  • Electron 13 upgrades Node to v14.17.0.

    13.0.0release notes

  • libuv no longer might hang with multiple subframes when this option is enabled.

    12.0.0, 13.0.0release notesrelease notes

  • Fixed behavior of 302, 303, and 307 redirect responses.

    13.0.0release notes

  • Fixed service workers not working with custom protocols.

    13.0.0release notes

  • Fixed the handler not being invoked for middle-clicked or shift-clicked links.

    13.0.0release notes

  • The option now works for a customButtonOnHover window.

    13.0.0release notes

  • Electron 13 upgrades V8 to v9.1.

    13.0.0release notes

  • The frameName parameter is no longer set as the window title.

    13.0.0release notes

  • Fixed the returned object missing a location.href setter when contextIsolation is enabled and nativeWindowOpen is disabled.

    12.0.0, 13.0.0release notesrelease notes

electron 1270 changes

Breaking changes 10

  • The default value changes to true, affecting renderer isolation unless explicitly configured.

    12.0.0release notes

  • The default value of compress changes from false to true, so crash reports are compressed unless configured otherwise.

    12.0.0release notes

  • Deprecated crashReporter APIs are removed.

    12.0.0release notes

  • The desktopCapturer.getMediaSourceIdForWebContents() API is removed.

    12.0.0release notes

  • Electron 12 upgrades its embedded Node.js runtime to v14.16.0.

    12.0.0release notes

  • 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.

    12.0.0release notes

  • The synchronous API is replaced by the asynchronous shell.trashItem() API.

    12.0.0release notes

  • A new asynchronous API for moving items to the trash replaces the synchronous shell.moveItemToTrash().

    12.0.0release notes

  • Electron 12 upgrades V8 to v8.9, which may affect application runtime behavior.

    12.0.0release notes

  • The default value changes to true, which may affect JavaScript execution in isolated worlds.

    12.0.0release notes

Deprecations 3

  • The WebContents new-window event is deprecated and replaced by webContents.setWindowOpenHandler().

    12.0.0release notes

  • The remote module is deprecated and replaced by the @electron/remote package.

    12.0.0release notes

  • Use of the vm module in the renderer process is deprecated.

    12.0.0release notes

New APIs and options 31

  • A non-localized serviceName property is added to app.getAppMetrics() results.

    12.0.0release notes

  • A BrowserWindow API is added to check tablet mode.

    12.0.0release notes

  • A non-localized serviceName property is added to child-process-gone and app.getAppMetrics().

    12.0.0release notes

  • Support is added for some chrome.management APIs.

    12.0.0release notes

  • display-capture is added as a permission handled by session.setPermissionRequestHandler.

    12.0.0release notes

  • The Display object gains displayFrequency to report refresh rate on Windows.

    12.0.0release notes

  • Electron Fuses allow certain Electron features to be customized at package time.

    12.0.0release notes

  • IPC event objects gain senderFrame, which returns the originating webFrameMain.

    12.0.0release notes

  • loadExtension gains an allowFileAccess option.

    12.0.0release notes

  • Support is added for showing the macOS share menu.

    12.0.0release notes

  • A property is added for detecting whether there is currently an internet connection.

    12.0.0release notes

  • net.request gains a credentials option.

    12.0.0release notes

  • net.request now allows setting the origin header and sec-fetch-* headers.

    12.0.0release notes

  • powerMonitor gains onBatteryPower.

    12.0.0release notes

  • A fast user switching event is added to powerMonitor on macOS.

    12.0.0release notes

  • The event details gain exitCode for reporting the renderer process exit code.

    12.0.0release notes

  • Serial API support is added.

    12.0.0release notes

  • Session gains extension-loaded, extension-unloaded, and extension-ready events.

    12.0.0release notes

  • Proxy configuration now supports explicitly specifying direct, auto_detect, or system modes.

    12.0.0release notes

  • An API is added for configuring SSL.

    12.0.0release notes

  • A disabledCipherSuites option is added for configuring SSL.

    12.0.0release notes

  • APIs to enable or disable the spell checker are added.

    12.0.0release notes

  • A spellcheck API is added to the renderer.

    12.0.0release notes

  • Shortcuts gain read and write support for Toast Activator CLSID.

    12.0.0release notes

  • Use this API to handle renderer-created child windows; it replaces the deprecated WebContents new-window event.

    12.0.0release notes

  • The main process can use webFrameMain to access sub-frames of a WebContents instance.

    12.0.0release notes

  • webFrameMain gains osProcessId and name properties.

    12.0.0release notes

  • webFrameMain gains send and postMessage methods for sending messages to frames.

    12.0.0release notes

  • preferredSizeMode allows views to be sized according to their document's minimum size.

    12.0.0release notes

  • The details object in webRequest handlers gains frame and webContents properties.

    12.0.0release notes

  • BrowserViews can be raised with win.setTopBrowserView().

    12.0.0release notes

Performance 1

  • Child process spawning is no longer slow on macOS Big Sur.

    12.0.0release notes

Behavior and default changes 5

  • Electron 12 upgrades Chromium to 89.0.4389.69, which may affect application behavior and available web platform features.

    12.0.0release notes

  • exposeInMainWorld can now expose non-object APIs.

    12.0.0release notes

  • Internal memory allocation changes mean macOS apps no longer need the com.apple.security.cs.allow-unsigned-executable-memory codesign entitlement.

    12.0.0release notes

  • The app ready event's launchInfo is populated with UNNotificationResponse information when launched through UNUserNotificationCenter notifications in a native node module.

    12.0.0release notes

  • Rosetta support is re-enabled on Apple Silicon devices.

    12.0.0release notes

Fixes and other changes 20

  • Fixed a renderer crash when loading non-context-aware modules with this option enabled.

    12.0.0release notes

  • Resetting BrowserViews no longer has the potential to crash.

    12.0.0release notes

  • Fixed an error when the method was called with multiple BrowserViews in a window.

    12.0.0release notes

  • The method now returns an accurate result for WebContents in a BrowserView or webview.

    12.0.0release notes

  • The extensions API now intercepts requests correctly.

    12.0.0release notes

  • Fixed a memory leak when sending non-primitives over the context bridge.

    12.0.0release notes

  • Fixed missing properties on webview element events when contextIsolation was enabled.

    12.0.0release notes

  • The DevTools pretty-print JavaScript feature now functions correctly.

    12.0.0release notes

  • Quitting while downloads are in progress no longer causes a shutdown crash.

    12.0.0release notes

  • Processing an invalid icon no longer crashes Electron.

    12.0.0release notes

  • Child windows created through the native window.open path now have their background color applied.

    12.0.0release notes

  • Fixed using navigator.setAppBadge and navigator.clearAppBadge in Electron.

    12.0.0release notes

  • Fixed continued downloading when the consuming stream was throttled.

    12.0.0release notes

  • The method no longer cancels requests in unrelated sessions.

    12.0.0release notes

  • The handler now correctly recognizes the permissions being requested.

    12.0.0release notes

  • Creating webContents with JavaScript disabled no longer causes an uncaught promise rejection.

    12.0.0release notes

  • Fixed an issue where WebContents.mainFrame could sometimes return undefined.

    12.0.0release notes

  • The previously missing API is added to webFrameMain.

    12.0.0release notes

  • The file length is now available in the event when a file is downloaded through an intercepted request.

    12.0.0release notes

  • win.setAspectRatio() now works on Windows.

    12.0.0release notes