Electron Increases Promisification
Written by Kay Ewbank   
Monday, 05 August 2019

Better support for promisification is one of the improvements to the latest release of Electron, the open source framework for creating native applications with web technologies like JavaScript, HTML, and CSS

Electron, originally known as Atom Shell, was developed for GitHub's Atom text editor. It combines Chromium and Node.js into a single runtime, and apps can be packaged for Mac, Windows, and Linux. Both Atom and Electron were open sourced in 2014.

electronlogo

 

Electron 6.0 was released on the same day as the corresponding Chrome release, something the developers are rightly proud of. Because a lot of Electron's functionality comes from the core components of Chromium, Node.js, and V8, more up-to-date versions of those packages have been included with this release of Electron, so developers using Electron can make use of new JavaScript features, performance improvements, and security fixes.

The new version continues the modernization initiative started in 5.0 to improve Promise support, under which callback-based functions in Electron will be converted to return Promises. An extensive list of functions now return promises, while still in this release also supporting callback-based invocation. The list includes functions for content tracing, cookies, webcontents, webframes, and an extensive list of sessions functions.

Another set of changes have been made to enable the hardened runtime. This restricts things like writable-executable memory and loading code signed by a different Team ID. To make the hardened runtime work, special code signing entitlements needed to be granted to the Helper, so Chromium has added three new variants of the Helper app: one for renderers, one for the GPU process, and one for plugins. If you're codesigning your app with custom scripts, you need to make sure that the three new Helper applications are correctly codesigned.

Elsewhere, a new API for handling Chrome extensions has been added, and window handling has been improved for HTML5.

 

electronlogo

More Information

Electron Releases Website

Electron Website

Related Articles

Electron 5 Improves Packaged Apps  

Electron 4 Updates Chromium Support

Atom v Visual Studio Code - The Unexpected Consequence Of Consolidation

Electron 1.0 Released For Desktop Apps

Atom 1.5 Released 

Atom 1.1 Released

Atom 1.0 - GitHub's Hackable Editor Becomes Stable
Visual Studio Code - Now With Added Extensions

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Personal Picks For Holiday Gifts
29/11/2024

It's Black Friday, the traditional day to indulge in online shopping. Not every item that is included in my selection of gifts is subject to a promotional offer, but where they aren't you might be poi [ ... ]



Kafka 3.9 Adds Dynamic KRaft Quorums
16/12/2024

Kafka 3.9 has been released. The team says this is a major release and the final in the 3.x line. It This will also be the final major release to feature the deprecated Apache ZooKeeper mode. Kafka is [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info