Electron (software framework)

Development framework built on Chromium From Wikipedia, the free encyclopedia

Electron (software framework)

Electron (formerly known as Atom Shell[5]) is a free and open-source software framework developed and maintained by OpenJS Foundation.[6] The framework is designed to create desktop applications using web technologies (mainly HTML, CSS and JavaScript, although other technologies such as front-end frameworks and WebAssembly are possible) that are rendered using a version of the Chromium browser engine and a back end using the Node.js runtime environment.[7] It also uses various APIs to enable functionality such as native integration with Node.js services and an inter-process communication module.

Quick Facts Original author(s), Developer(s) ...
Electron
Original author(s)GitHub
Developer(s)OpenJS Foundation
Initial release15 July 2013; 11 years ago (2013-07-15)[1]
Stable release
33.0.0[2]  / 14 October 2024; 6 months ago (14 October 2024)
Preview release
34.0.0-alpha.1[3] / October 15, 2024; 6 months ago (2024-10-15)
Repository
Written inC++, JavaScript, Objective-C++ and Objective-C
Operating systemLinux, macOS, and Windows
PlatformIA-32, x86-64, ARM
LicenseMIT License[4]
Websitewww.electronjs.org
Close

Electron was originally built for Atom[5] and is the main GUI framework behind several other open-source projects including GitHub Desktop, Light Table,[8] Visual Studio Code, WordPress Desktop,[9] and Eclipse Theia.[10]

Architecture

Electron applications include a "main" process and several "renderer" processes. The main process runs the logic for the application (e.g., menus, shell commands, lifecycle events), and can then launch multiple renderer processes by instantiating an instance of the BrowserWindow class, which loads a window that appears on the screen by rendering HTML and CSS.[citation needed]

Both the main and renderer processes can run with Node.js integration if the nodeIntegration field in the main process is set to true.[citation needed]

Most of Electron's APIs are written in C++ or Objective-C and are exposed directly to the application code through JavaScript bindings.[11]

History

Summarize
Perspective

In September 2021, Electron moved to an eight-week release cycle between major versions to match the release cycle of Chromium Extended Stable and to comply with a new requirement from the Microsoft Store that requires browser-based apps to be within two major versions of the latest release of the browser engine.[12]

Electron frequently releases new major versions along every other Chromium release. The latest three stable versions are supported by the Electron team.[13]

More information Release, Status ...
Version history
ReleaseStatusRelease dateEnd of life dateChromium versionNode.js versionModule versionN-API versionICU version
Old version, not maintained: v1.8.xOld version, not maintained: End-of-Life12 December 201720 December 2018598.257 ? ?
Old version, not maintained: v2.0.xOld version, not maintained: End-of-Life1 May 201824 April 2019618.957 ? ?
Old version, not maintained: v3.1.xOld version, not maintained: End-of-Life18 September 201829 July 20196610.2643 ?
Old version, not maintained: v4.2.xOld version, not maintained: End-of-Life20 December 201822 October 20196910.1169362.2
Old version, not maintained: v5.1.xOld version, not maintained: End-of-Life24 April 20194 February 20207312.070463.1
Old version, not maintained: v6.1.xOld version, not maintained: End-of-Life29 July 201918 May 20207612.473464.2
Old version, not maintained: v7.3.xOld version, not maintained: End-of-Life22 October 201925 August 20207812.875464.2
Old version, not maintained: v8.3.xOld version, not maintained: End-of-Life4 February 202016 November 20208012.1376565.1
Old version, not maintained: v9.4.xOld version, not maintained: End-of-Life18 May 20202 March 20218312.1480565.1
Old version, not maintained: v10.4.xOld version, not maintained: End-of-Life25 August 202025 May 20218512.1682565.1
Old version, not maintained: v11.4.xOld version, not maintained: End-of-Life16 November 202030 August 20218712.1885565.1
Old version, not maintained: v12.0.xOld version, not maintained: End-of-Life2 March 202115 November 2021[14]8914.1687768.1
Old version, not maintained: v13.x.yOld version, not maintained: End-of-Life25 May 202131 January 2022[15]9114.1689768.1
Old version, not maintained: v14.x.yOld version, not maintained: End-of-Life30 August 202129 March 2022[16]9214.1789869.1
Old version, not maintained: v15.x.yOld version, not maintained: End-of-Life21 September 202124 May 2022[17]9416.598 ? ?
Old version, not maintained: v16.x.yOld version, not maintained: End-of-Life15 November 2021[14]24 May 2022[17]9616.999 ? ?
Old version, not maintained: v17.x.yOld version, not maintained: End-of-Life1 February 2022[15]2 August 20229816.13101 ? ?
Old version, not maintained: v18.x.yOld version, not maintained: End-of-Life29 March 2022[16]26 September 2022[18]10016.13103 ? ?
Old version, not maintained: v19.x.yOld version, not maintained: End-of-Life24 May 2022[17]29 November 2022[19]10216.14106 ? ?
Old version, not maintained: v20.x.yOld version, not maintained: End-of-Life2 August 2022[20]7 February 202310416.15 ? ? ?
Old version, not maintained: v21.x.yOld version, not maintained: End-of-Life26 September 2022[18]4 April 202310616.16 ? ? ?
Old version, not maintained: v22.x.yOld version, not maintained: End-of-Life30 November 2022[19]10 October 202310816.17 ? ? ?
Old version, not maintained: v23.x.yOld version, not maintained: End-of-Life30 November 2022[21]15 August 202311018.12 ? ? ?
Old version, not maintained: v24.x.yOld version, not maintained: End-of-Life4 April 2023[22]10 October 202311218.14 ? ? ?
Old version, not maintained: v25.x.yOld version, not maintained: End-of-Life30 May 2023[23]5 December 202311418.15 ? ? ?
Old version, not maintained: v26.x.yOld version, not maintained: End-of-Life15 August 2023[24]20 February 202411618.16 ? ? ?
Old version, not maintained: v27.x.yOld version, not maintained: End-of-Life10 October 2023[25]16 April 202411818.17 ? ? ?
Old version, not maintained: v28.x.yOld version, not maintained: End-of-Life5 December 2023[26]11 June 202412018.18? ? ?
Old version, not maintained: v29.x.yOld version, not maintained: End-of-Life20 February 202420 August 202412220.9? ? ?
Old version, not maintained: v30.x.yOld version, not maintained: End-of-life16 April 202415 October 202412420.11? ? ?
Old version, not maintained: v31.x.yOld version, not maintained: End-of-life11 June 20247 January 202512620.14? ? ?
Old version, still maintained: v32.x.yOld version, still maintained: Active20 August 20244 March 202512820.16? ? ?
Latest version: v33.x.yLatest version: Current[27]15 October 202429 April 202513020.18 ?? ?
Close

Usage

Desktop applications built with Electron include Atom,[28] balenaEtcher,[29] Eclipse Theia,[10] Microsoft Teams before 2.0,[30][31] Slack,[32] and Visual Studio Code.[33][34] The Brave browser was based on Electron before it was rewritten to use Chromium directly.[35]

Reception

The most common criticism of Electron is that it necessitates software bloat when used for simple programs.[36] As a result, Michael Larabel has referred to the framework as "notorious among most Linux desktop users for being resource heavy, not integrating well with most desktops, and generally being despised."[37] Researchers have shown that Electron's large feature set can be hijacked by bad actors with write access to the source JavaScript files. This requires root access on *nix systems and is not considered to be a vulnerability by the Electron developers.[38] Those who are concerned that Electron is not always based on the newest version of Chromium have recommended progressive web applications as an alternative.[39]

See also

References

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.