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

Share
  • August 2, 2019

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
  • .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.

The post Electron 6.0: Build cross-platform JavaScript apps with newest stable release appeared first on JAXenter.

Source : JAXenter