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 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 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 anull
value for theevent
parameter. #33770 (Also in 18) - Fixed an issue where calling
setTitlebarOverlay
with an initially invalidtitleBarStyle
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
BrowserWindow
s opened from new links wouldn’t properly load URLs. #34189 - Fixed an issue with background colors being improperly applied to
BrowserView
s 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