It's electrifying

Electron 6.0: Build cross-platform JavaScript apps with newest stable release

Sarah Schlothauer
© Shutterstock / Lana Po

The Electron framework helps developers create cross-platform desktop apps in JavaScript, HTML, and CSS. With the latest stable release, Electron v 6.0.0 adds new features, some breaking changes, and upgrades Chromium, Node.js, and V8. This release also marks the end of support for v3.x, so get upgrading and check out all the latest offerings!

Electron is an open source framework based on Node.js and Chromium for building desktop apps using JavaScript, HTML, and CSS. Its cross-platform nature makes it possible to build and run apps on Windows, Mac, and Linux devices.

Meet the newest stable release: Electron version 6.0.0. This stable release upgrades Chromium, Node.js, and V8, and adds some new improvements, features, and bug fixes as well.

Check out what’s new, what’s changed, and what’s improved. Time to start brainstorming about what you’ll build with the newest release.

New features in Electron 6.0.0

Welcome version 6.0! This release also marks the first time that Electron arrived on the same day as the corresponding Chrome stable release. (Congrats!)

Some highlights of the newest version:

  • Upgrades: Chromium 76.0.3809.88, Node.js 12.4.0, and V8 7.6.303.22
  • API improvements
  • Exclude windows from windows menu: using excludedFromShownWindowsMenu property
  • all_frames support: option added for Chrome extension content scripts
  • File preview for Linux
  • <webview>.getWebContentsId() feature added
  • Additional error information when throwing remote module
  • Support added for Scroll Lock accelerator
  • Native Emoji and color picker: for Windows and macOS
  • Disable fetching thumbnails ability: IndesktopCapturer.getSources()
  • Word isolation to Chrome extension content scripts
  • macOS native Touch ID authentication
  • inspectSharedWorker() API: enables opening devtools for a shared worker

View the changelog for a comprehensive look at all the latest bug fixes and changes.

Promisification continues

Efforts towards the Promisification initiative continue. Undertaken by the dev team, this initiative aims to convert callback-based functions in Electron to return Promises.

What are Promises? According to Mozilla:

Promise is an object representing the eventual completion or failure of an asynchronous operation…Essentially, a promise is a returned object to which you attach callbacks, instead of passing callbacks into a function.

SEE ALSO: Ditch the old way and create better analytics in JavaScript with Cube.js

The project notes on GitHub details the endeavor, its candidate functions and functions that have already been converted.

Time to upgrade

Did you know you can help give the development team feedback and make future releases even better? Read about the Electron App Feedback Program and see if you can help share important data with the development team.

SEE ALSO: Take your JavaScript learning beyond the classroom with these fun tools!

With this release, support for versions 3.x reaches its end of life. If you still use an older version, now may be a good time to upgrade (and check out all the new features while you’re at it!).

Refer to the repo on GitHub.

Framework newcomers can follow the README’s installation and quick-start instructions.

Sarah Schlothauer

Sarah Schlothauer

All Posts by Sarah Schlothauer

Sarah Schlothauer is the editor for She received her Bachelor's degree from Monmouth University, West Long Branch, New Jersey. She currently lives in Frankfurt, Germany with her husband and cat where she enjoys reading, writing, and medieval reenactment. She is also the editor for Conditio Humana, an online magazine about ethics, AI, and technology.

Inline Feedbacks
View all comments