Electron (software framework)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Electron
Original authorGitHub
DeveloperOpenJS Foundation
Initial release15 July 2013; 12 years ago (2013-07-15)[1]
Stable release
36.2.0[2] / May 7, 2025; 11 months ago (2025-05-07)
Preview release
37.0.0-alpha.3[3] / May 5, 2025; 12 months ago (2025-05-05)
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Written inC++, JavaScript, Objective-C++ and Objective-C
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Operating systemLinux, macOS, and Windows
    PlatformIA-32, x86-64, ARM
    License

    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.

    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] WordPress Desktop,[9] and Eclipse Theia.[10] It is also used in Microsoft's proprietary code editor Visual Studio Code.

    Architecture

    [edit | edit source]

    Chromium forms the basis of a managed runtime, allowing application developers to write cross-platform applications in memory-safe JavaScript or TypeScript and target Web browser technologies including HTML, CSS, and SVG for graphics.

    Electron-based 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 to render HTML, CSS, etc.[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

    [edit | edit source]

    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]

    Version history
    Release Status Release date End of life date Chromium version Node.js version Module version N-API version ICU version
    Unsupported: v1.8.x Unsupported: End-of-Life 12 December 2017 20 December 2018 59 8.2 57 ? ?
    Unsupported: v2.0.x Unsupported: End-of-Life 1 May 2018 24 April 2019 61 8.9 57 ? ?
    Unsupported: v3.1.x Unsupported: End-of-Life 18 September 2018 29 July 2019 66 10.2 64 3 ?
    Unsupported: v4.2.x Unsupported: End-of-Life 20 December 2018 22 October 2019 69 10.11 69 3 62.2
    Unsupported: v5.1.x Unsupported: End-of-Life 24 April 2019 4 February 2020 73 12.0 70 4 63.1
    Unsupported: v6.1.x Unsupported: End-of-Life 29 July 2019 18 May 2020 76 12.4 73 4 64.2
    Unsupported: v7.3.x Unsupported: End-of-Life 22 October 2019 25 August 2020 78 12.8 75 4 64.2
    Unsupported: v8.3.x Unsupported: End-of-Life 4 February 2020 16 November 2020 80 12.13 76 5 65.1
    Unsupported: v9.4.x Unsupported: End-of-Life 18 May 2020 2 March 2021 83 12.14 80 5 65.1
    Unsupported: v10.4.x Unsupported: End-of-Life 25 August 2020 25 May 2021 85 12.16 82 5 65.1
    Unsupported: v11.4.x Unsupported: End-of-Life 16 November 2020 30 August 2021 87 12.18 85 5 65.1
    Unsupported: v12.0.x Unsupported: End-of-Life 2 March 2021 15 November 2021[14] 89 14.16 87 7 68.1
    Unsupported: v13.x.y Unsupported: End-of-Life 25 May 2021 31 January 2022[15] 91 14.16 89 7 68.1
    Unsupported: v14.x.y Unsupported: End-of-Life 30 August 2021 29 March 2022[16] 92 14.17 89 8 69.1
    Unsupported: v15.x.y Unsupported: End-of-Life 21 September 2021 24 May 2022[17] 94 16.5 98 ? ?
    Unsupported: v16.x.y Unsupported: End-of-Life 15 November 2021[14] 24 May 2022[17] 96 16.9 99 ? ?
    Unsupported: v17.x.y Unsupported: End-of-Life 1 February 2022[15] 2 August 2022 98 16.13 101 ? ?
    Unsupported: v18.x.y Unsupported: End-of-Life 29 March 2022[16] 26 September 2022[18] 100 16.13 103 ? ?
    Unsupported: v19.x.y Unsupported: End-of-Life 24 May 2022[17] 29 November 2022[19] 102 16.14 106 ? ?
    Unsupported: v20.x.y Unsupported: End-of-Life 2 August 2022[20] 7 February 2023 104 16.15 ? ? ?
    Unsupported: v21.x.y Unsupported: End-of-Life 26 September 2022[18] 4 April 2023 106 16.16 ? ? ?
    Unsupported: v22.x.y Unsupported: End-of-Life 30 November 2022[19] 10 October 2023 108 16.17 ? ? ?
    Unsupported: v23.x.y Unsupported: End-of-Life 30 November 2022[21] 15 August 2023 110 18.12 ? ? ?
    Unsupported: v24.x.y Unsupported: End-of-Life 4 April 2023[22] 10 October 2023 112 18.14 ? ? ?
    Unsupported: v25.x.y Unsupported: End-of-Life 30 May 2023[23] 5 December 2023 114 18.15 ? ? ?
    Unsupported: v26.x.y Unsupported: End-of-Life 15 August 2023[24] 20 February 2024 116 18.16 ? ? ?
    Unsupported: v27.x.y Unsupported: End-of-Life 10 October 2023[25] 16 April 2024 118 18.17 ? ? ?
    Unsupported: v28.x.y Unsupported: End-of-Life 5 December 2023[26] 11 June 2024 120 18.18 ? ? ?
    Unsupported: v29.x.y Unsupported: End-of-Life 20 February 2024 20 August 2024 122 20.9 ? ? ?
    Unsupported: v30.x.y Unsupported: End-of-Life 16 April 2024 15 October 2024 124 20.11 ? ? ?
    Unsupported: v31.x.y Unsupported: End-of-Life 11 June 2024 7 January 2025 126 20.14 ? ? ?
    Unsupported: v32.x.y Unsupported: End-of-Life 20 August 2024 4 March 2025 128 20.16 ? ? ?
    Unsupported: v33.x.y Unsupported: End-of-Life 15 October 2024[27] 29 April 2025 130 20.18 ? ? ?
    Unsupported: v34.x.y Unsupported: End-of-Life 14 January 2025[28] 24 June 2025 132 20.18 ? ? ?
    Unsupported: v35.x.y Unsupported: End-of-Life 4 March 2025[29] 2 September 2025 134 22.14 ? ? ?
    Supported: v36.x.y Supported: Active 29 April 2025[30] 28 October 2025 136 22.14 ? ? ?
    Supported: v37.x.y Supported: Active 24 June 2025[31] 13 January 2026 138 22.16 ? ? ?
    Latest version: v38.x.y Latest version: Current 2 September 2025[32] 10 March 2026 140 22.18 ? ? ?
    Preview version: v39.x.y Preview version: Prerelease 28 October 2025[33] 5 May 2026 142 TBD ? ? ?
    Future version: v40x.y Future version: Nightly TBD[34] TBD TBD TBD ? ? ?

    Usage

    [edit | edit source]

    Desktop applications built with Electron include Atom,[35] balenaEtcher,[36] Discord, Slack,[37] and Visual Studio Code.[38][39] The Brave browser was based on Electron before it was rewritten to use Chromium directly,[40] while Microsoft Teams used Electron before 2.0.[41][42]

    Reception

    [edit | edit source]

    The most common criticism of Electron is that it necessitates software bloat when used for simple programs.[43] 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."[44] 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.[45] Those who are concerned that Electron is not always based on the newest version of Chromium have recommended progressive web applications as an alternative.[46]

    See also

    [edit | edit source]

    Lua error in mw.title.lua at line 392: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

    References

    [edit | edit source]
    1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    4. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    5. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    6. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    7. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    8. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    9. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    10. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    11. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    12. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    13. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    14. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    15. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    16. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    17. ^ a b c Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    18. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    19. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    20. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    21. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    22. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    23. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    24. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    25. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    26. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    27. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    28. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    29. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    30. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    31. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    32. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    33. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    34. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    35. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    36. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    37. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    38. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    39. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    40. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    41. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    42. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    43. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    44. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    45. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    46. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    [edit | edit source]
    • Lua error in Module:Official_website at line 94: attempt to index field 'wikibase' (a nil value).