Black Lives Matter. Support the Equal Justice Initiative and read our statement here.

Stable Releases

Electron 19.0.0 2022-05-23T21:15:17Z ()

Stack Upgrades

Features

Additions

  • Added BrowserWindow method to change the button color, symbol color, and height of a window with WCO enabled. #33066 (Also in 18)
  • Added nativeTheme.inForcedColorsMode API to allow detecting forced color mode. #32956 (Also in 15, 16, 17, 18)
  • Added ses.setCodeCachePath() API for setting code cache directory. #31154 (Also in 17, 18)
  • Added ability to configure if window should close when opener closes. #31314
  • Added support for more color formats in setBackgroundColor. #31868 (Also in 18)
  • Added warning that preload scripts will be sandboxed by default beginning in Electron 20. #32868 (Also in 18)
  • Enabled systemPreferences.subscribe{Local|Workspace}Notification to take a null value for the event parameter. #33770 (Also in 18)
  • Fixed an issue where calling setTitlebarOverlay with an initially invalid titleBarStyle on Windows would result in a crash. #34302
  • Fixed an issue where the PDF Viewer would fail if a user attempted to reload. #33712 (Also in 18)

Fixes

  • Added support for the --unsafely-treat-insecure-origin-as-secure command-line flag. #33189
  • Fixed a potential crash when calling webContents.print(). #34299
  • Fixed an issue where #ARGB ->#RGBA and #AARRGGBB ->#RRGGBBAA were converted improperly when setting background color. #33755
  • Fixed an issue where some BrowserWindows opened from new links wouldn't properly load URLs. #34189
  • Fixed an issue with background colors being improperly applied to BrowserViews on Windows. #33435
  • Fixed crash when img without alt is shown with accessibility features enabled. #33841
  • Fixed the initialization of First Party Sets on Windows, where First Party Sets would sometimes fail to load. #34138
  • Fixed the initialization of First Party Sets. #33972
  • Fixed the initialization of first party sets in the browser process. #34011

Also in earlier versions....

  • Apply senderFrame details to ipcMain port event. #33783 (Also in 16, 17, 18)
  • Fire 'show' event when a BrowserWindow is shown via maximize(). #32979 (Also in 16, 17, 18)
  • Fix: initialize asar support in worker threads. #33216 (Also in 18)
  • Fixed BrowserWindow.showInactive restoring a maximized window to non-maximized on Windows. #32870 (Also in 16, 17, 18)
  • Fixed a V8 crash that could happen randomly in non-sandboxed renderer processes. #33252 (Also in 18)
  • Fixed a bug where BrowserWindow.fromWebContents would return undefined during the browser-window-created event. #33257 (Also in 18)
  • Fixed a crash in safeStorage on Linux. #34147 (Also in 15, 16, 17, 18)
  • Fixed a crash on Windows when opening apps in multiple, separate user sessions. #34160 (Also in 18)
  • Fixed a crash when calling loadExtension on an extension directory that's missing a manifest file. #34303 (Also in 16, 17)
  • Fixed a network service crash that could occur when using setCertificateVerifyProc. #33204 (Also in 17, 18)
  • Fixed a potential crash in Browser.getFocusedWindow() when child windows are closed. #33404 (Also in 16, 17, 18)
  • Fixed an OSR crash happening when input select items were rendered. #34093 (Also in 17, 18)
  • Fixed an issue where BrowserView layout bounds where limited to it's visible bounds. #32747 (Also in 17, 18)
  • Fixed an issue where Chrom DevTools settings didn't persist between loads. #33120 (Also in 17, 18)
  • Fixed an issue where First Party Sets were not correctly loaded on app launch. #33339 (Also in 18)
  • Fixed an issue where Pointer Lock behavior could not be properly exited. #32369 (Also in 18)
  • Fixed an issue where BrowserWindow#isFocused() was returning false when blur() was called on macOS. #34031 (Also in 17, 18)
  • Fixed an issue where Escape keyboard events would not be properly propagated to the parent window after entering fullscreen and then exiting it again on Windows. #33788 (Also in 18)
  • Fixed an issue where alternateImages did not work properly on macOS. #33026 (Also in 15, 16, 17, 18)
  • Fixed an issue where webContents.openDevTools({ mode }) did not work for certain dock positions. #32829 (Also in 17, 18)
  • Fixed an issue where webContents.savePage failed when passing a relative path instead of an absolute one. #32728 (Also in 15, 16, 17, 18)
  • Fixed an issue where bounds changes were incorrectly delayed in the case where a window was moved or resized and event.preventDefault was called in either will-resize or will-move on Windows. #34285 (Also in 16, 17)
  • Fixed an issue where calling SetLoginItemSettings() could potentially cause network volumes to be incorrectly mounted. #34108 (Also in 17, 18)
  • Fixed an issue where clicking "Open in Containing Folder" in the Sources tab in Devtools caused a crash. #33024 (Also in 16, 17, 18)
  • Fixed an issue where frameless windows on Windows would incorrectly show a small frame during the loading process. #32692 (Also in 14, 15, 16, 17, 18)
  • Fixed an issue where mixed-case extension filters in file dialogs were ignored on Linux. #34015 (Also in 18)
  • Fixed an issue where new bounds set via setBounds was not correctly applied if the user was moving or resizing the window concurrently on Windows. #33288 (Also in 18)
  • Fixed an issue where pages would not properly print on macOS due to a rendering failure. #32767 (Also in 18)
  • Fixed an issue where setting window maxHeight or maxWidth made it so the width and height could no longer be resized. #33025 (Also in 17, 18)
  • Fixed an issue where the Tray could get garbage collected incorrectly under some circumstances. #33040 (Also in 15, 16, 17, 18)
  • Fixed an issue where the the window bounds would incorrectly change if BrowserWindow.unmaximize was called on a window whose user bounds were maximized. #33549 (Also in 16, 17, 18)
  • Fixed an issue where tray items wouldn't highlight in some scenarios on macOS. #34208 (Also in 16, 17, 18)
  • Fixed an issue with the app.requestSingleInstanceLock() API where it would sometimes hang. #34071 (Also in 18)
  • Fixed an occasional crash on Mac when spawning a child process. #33114 (Also in 17, 18)
  • Fixed broken event loop in renderer process when process reuse is enabled on windows platform. #33207 (Also in 16, 17, 18)
  • Fixed broken transparency option in offscreen window rendering. #32885 (Also in 16, 17, 18)
  • Fixed building node modules with Visual Studio 2017. #34164 (Also in 18)
  • Fixed command string registered via setAsDefaultProtocolClient on windows. #32953 (Also in 14, 15, 16, 17, 18)
  • Fixed crash in the render process on reload with pending node fs.promises. #33280 (Also in 15, 16, 17, 18)
  • Fixed crash on startup due to missing gtk symbol on older distros. #34151 (Also in 18)
  • Fixed crash when WindowButtonsProxy references cleared NSWindow. #33069 (Also in 15, 16, 17, 18)
  • Fixed crash when opening gtk file dialogs due to mismatched versions. #33813 (Also in 18)
  • Fixed drag regions on WCO windows on Windows. #32871 (Also in 15, 16, 17, 18)
  • Fixed effect when hovering over window controls on Windows in a WCO-enabled window. #32672 (Also in 14, 15, 16, 17, 18)
  • Fixed incorrect external memory allocation tracking in nativeImage module. #33266 (Also in 15, 16, 17, 18)
  • Fixed incorrect return value of app.requestSingleInstanceLock() when setting non-existent user data folder. #33593 (Also in 16, 17, 18)
  • Fixed issues with frameless window animations and styling. #33609 (Also in 15, 16, 17, 18)
  • Fixed maximizing frameless windows by double-clicking on a draggable (title bar) region. #33438 (Also in 15, 16, 17, 18)
  • Fixed multiple issues when running under Wayland caused by calling X11 functions. #33355 (Also in 17, 18)
  • Fixed possible race conditions between frame state and electron ipc. #32734 (Also in 17)
  • Fixed potential crash while generating accessibility trees for certain images. #33617 (Also in 18)
  • Fixed potential crash with WebFrameMain when navigating between cross-origin websites. #34294 (Also in 18)
  • Fixed slowness when using child_process.spawn and related methods on macOS Big Sur and newer. #33337 (Also in 16, 17, 18)
  • Fixed stale renderer process when application is quit while renderer is busy. #32888 (Also in 14, 15, 16, 17, 18)
  • Fixed the IncrementCapturerCount regression introduced by 13.0.0-beta.21. #32973 (Also in 18)
  • SIGUSR1 is no longer handled when the node_cli_inspect fuse is disabled. #33188 (Also in 16, 17, 18)
  • Strip crashpad_handler binary on Linux, reducing bundle size. #33126 (Also in 15, 16, 17, 18)
  • Theoretical fix for a crash we're seeing when closing multiple child windows at the same time on macOS. #33063 (Also in 17, 18)
  • [Mac] Fixed Partition Alloc related crash in pre-BigSur (macos <= 10.15). #33966 (Also in 18)
  • shell.openExternal() now reports more detailed errors on Windows. #33660 (Also in 15, 16, 17, 18)

Other Changes

  • Chore: backport EPROTOTYPE fixes from libuv. #32856 (Also in 16, 17, 18)
  • Fixed an issue where adding/removing display changes the BrowserWindow size. #33109 (Also in 14, 15, 16, 17, 18)
  • Fixed child_process.spawn ENOENT error with cwd option. #33872 (Also in 16, 17, 18)
  • Re-enabled symbol generation on 32-bit Windows. #34179
  • Removed the semi-documented preloadURL property from WebPreferences. #33228
  • Temporarily disabled symbol generation on 32-bit Windows due to issues with symbol generation on that platform. #33689
  • Updated node types version. #33452 (Also in 18)

Documentation

End of Support for 15.x.y and 16.x.y

Electron 15.x.y and 16.x.y has reached end-of-support. As per Electron's new 8-week cadence, we were supporting the latest four versions of Electron until May 2022. With this Electron 19 release, we'll return to supporting the latest three major versions, as well as the alpha, beta, and nightly releases.

Electron 18.3.0 2022-05-23T19:16:35Z ()

Fixes

  • Fixed a crash when calling loadExtension on an extension directory that's missing a manifest file. #34304 (Also in 16, 17, 19)
  • Fixed an issue where bounds changes were incorrectly delayed in the case where a window was moved or resized and event.preventDefault was called in either will-resize or will-move on Windows. #34284 (Also in 16, 17, 19)
  • Fixed an issue where running second instances of the same application would cause a deadlock on Windows. #34295 (Also in 19)
  • Fixed potential crash with WebFrameMain when navigating between cross-origin websites. #34293 (Also in 19)
  • Fixed service worker registration with custom protocols. #34291 (Also in 19)

Electron 18.2.4 2022-05-18T19:01:11Z ()

Fixes

  • Fixed an issue where tray items wouldn't highlight in some scenarios on macOS. #34207 (Also in 16, 17, 19)
  • Fixed crash on startup on old Ubuntu versions. #34155
  • SIGUSR1 is no longer handled when the node_cli_inspect fuse is disabled. #34180 (Also in 16, 17)

Other Changes

  • Backported fix for chromium:1320614. #34202
  • Updated Chromium to 100.0.4896.160. #34171

Electron 18.2.2 2022-05-11T03:53:33Z ()

Fixes

  • Fixed a crash on Windows when opening apps in multiple, separate user sessions. #34161 (Also in 19)
  • Fixed an OSR crash happening when input select items were rendered. #34092 (Also in 17, 19)
  • Fixed an issue where calling SetLoginItemSettings() could potentially cause network volumes to be incorrectly mounted. #34106 (Also in 17, 19)
  • Fixed crash on startup due to missing gtk symbol on older distros. #34150 (Also in 19)

Other Changes

  • Backported fix for CVE-2022-1485. #34052
  • Backported fix for CVE-2022-1497. #34072
All Releases Back to index

Keyboard Shortcuts

Key Action
/ Focus the search bar
Esc Focus the search bar and cleans it
Select the next search result
Select the previous search result
Enter Open the selected search result
cmdEnter Ctrl+Enter Open the selected search result in a new tab