Electron (software framework)

Electron
Original author(s)GitHub
Developer(s)OpenJS Foundation
Initial release15 July 2013; 10 years ago (2013-07-15)
Stable release
27.0.2 Edit this on Wikidata / 23 October 2023; 8 days ago (23 October 2023)
Preview release
28.0.0-alpha.6 / October 26, 2023; 5 days ago (2023-10-26)
Repository
Written inC++, JavaScript, Objective-C++ and Objective-C
Operating systemLinux, FreeBSD, macOS, and Windows
PlatformIA-32, x86-64, ARM
LicenseMIT License
Websitewww.electronjs.org Edit this at Wikidata

Electron (formerly known as Atom Shell) is a free and open-source software framework developed and maintained by OpenJS Foundation. 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. It also uses various APIs to enable functionality such as native integration with Node.js services and an inter-process communication module.

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

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.

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

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

History

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.

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

Version history
Release Status Release date End of life date Chromium version Node.js version Module version N-API version ICU version
Latest preview version of a future release: v28.x.y Latest preview version of a future release: Alpha 2023-12-05 TBD 120 TBD ? ? ?
Current stable version: v27.x.y Current stable version: Current 2023-10-10 2024-04-16 118 18.17 ? ? ?
Older version, yet still maintained: v26.x.y Older version, yet still maintained: Active 2023-08-15 2024-02-07 116 18.16 ? ? ?
Older version, yet still maintained: v25.x.y Older version, yet still maintained: Active 2023-05-30 2024-01-02 114 18.15 ? ? ?
Older version, yet still maintained: v24.x.y Older version, yet still maintained: Active 2023-04-04 2023-10-10 112 18.14 ? ? ?
Old version, no longer maintained: v23.x.y Old version, no longer maintained: End-of-Life 2022-11-30 2023-08-15 110 18.12 ? ? ?
Old version, no longer maintained: v22.x.y Old version, no longer maintained: End-of-Life 2022-11-30 2023-10-10 108 16.17 ? ? ?
Old version, no longer maintained: v21.x.y Old version, no longer maintained: End-of-Life 2022-09-26 2023-04-04 106 16.16 ? ? ?
Old version, no longer maintained: v20.x.y Old version, no longer maintained: End-of-Life 2022-08-02 2023-02-07 104 16.15 ? ? ?
Old version, no longer maintained: v19.x.y Old version, no longer maintained: End-of-Life 2022-05-24 2022-11-29 102 16.14 106 ? ?
Old version, no longer maintained: v18.x.y Old version, no longer maintained: End-of-Life 2022-03-29 2022-09-26 100 16.13 103 ? ?
Old version, no longer maintained: v17.x.y Old version, no longer maintained: End-of-Life 2022-02-01 2022-08-02 98 16.13 101 ? ?
Old version, no longer maintained: v16.x.y Old version, no longer maintained: End-of-Life 2021-11-15 2022-05-24 96 16.9 99 ? ?
Old version, no longer maintained: v15.x.y Old version, no longer maintained: End-of-Life 2021-09-21 2022-05-24 94 16.5 98 ? ?
Old version, no longer maintained: v14.x.y Old version, no longer maintained: End-of-Life 2021-08-30 2022-03-29 92 14.17 89 8 69.1
Old version, no longer maintained: v13.x.y Old version, no longer maintained: End-of-Life 2021-05-25 2022-01-31 91 14.16 89 7 68.1
Old version, no longer maintained: v12.0.x Old version, no longer maintained: End-of-Life 2021-03-02 2021-11-15 89 14.16 87 7 68.1
Old version, no longer maintained: v11.4.x Old version, no longer maintained: End-of-Life 2020-11-16 2021-08-30 87 12.18 85 5 65.1
Old version, no longer maintained: v10.4.x Old version, no longer maintained: End-of-Life 2020-08-25 2021-05-25 85 12.16 82 5 65.1
Old version, no longer maintained: v9.4.x Old version, no longer maintained: End-of-Life 2020-05-18 2021-03-02 83 12.14 80 5 65.1
Old version, no longer maintained: v8.3.x Old version, no longer maintained: End-of-Life 2020-02-04 2020-11-16 80 12.13 76 5 65.1
Old version, no longer maintained: v7.3.x Old version, no longer maintained: End-of-Life 2019-10-22 2020-08-25 78 12.8 75 4 64.2
Old version, no longer maintained: v6.1.x Old version, no longer maintained: End-of-Life 2019-07-29 2020-05-18 76 12.4 73 4 64.2
Old version, no longer maintained: v5.1.x Old version, no longer maintained: End-of-Life 2019-04-24 2020-02-04 73 12.0 70 4 63.1
Old version, no longer maintained: v4.2.x Old version, no longer maintained: End-of-Life 2018-12-20 2019-10-22 69 10.11 69 3 62.2
Old version, no longer maintained: v3.1.x Old version, no longer maintained: End-of-Life 2018-09-18 2019-07-29 66 10.2 64 3 ?
Old version, no longer maintained: v2.0.x Old version, no longer maintained: End-of-Life 2018-05-01 2019-04-24 61 8.9 57 ? ?
Old version, no longer maintained: v1.8.x Old version, no longer maintained: End-of-Life 2017-12-12 2018-12-20 59 8.2 57 ? ?

Reception

Desktop applications built with Electron include Atom, balenaEtcher, Eclipse Theia, Microsoft Teams, Slack and Visual Studio Code. Brave Browser was based on Electron before it was rewritten to use Chromium directly.

The most common criticism of Electron is that it necessitates software bloat when used for simple programs. 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." Meanwhile, Joey Sneddon states that this tradeoff is sensible as Electron greatly lowers the cost of developing and maintaining cross-platform software.

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 isn't considered to be a vulnerability by the Electron developers. Those who are concerned that Electron is not always based on the newest version of Chromium have recommended progressive web applications as an alternative.

See also


This page was last updated at 2023-11-01 02:29 UTC. Update now. View original page.

All our content comes from Wikipedia and under the Creative Commons Attribution-ShareAlike License.


Top

If mathematical, chemical, physical and other formulas are not displayed correctly on this page, please useFirefox or Safari