Electron v19 released: Build cross-platform desktop apps with JavaScript, HTML, and CSS

Electron is an open source library developed by GitHub for building cross-platform desktop applications with HTML, CSS, and JavaScript. It accomplishes this by combining Chromium and Node.js into a single runtime and apps can be packaged for Mac, Windows, and Linux.

It began in 2013 as the framework on which Atom, GitHub’s hackable text editor, would be built. The two were open sourced in the Spring of 2014.

It has since become a popular tool used by open source developers, startups, and established companies.

electron

Electron v19 was released. The main updates for this release include:

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 15161718)
  • Added ses.setCodeCachePath() API for setting code cache directory. #31154 (Also in 1718)
  • 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

More

Download