Electron 7 Adds Native Theme API
Tuesday, 29 October 2019

Electron 7.0.0 has been released with improvements including a Windows on Arm 64 release, faster IPC methods, and a new native theme API. It also includes upgrades to Chromium 78, V8 7.8, and Node.js 12.8.1.

Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. 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

 

The faster IPC methods are aimed at persuading Electron users to move away from using the Remote module to using IPC instead. The developers say that IPC is faster and safer, and the new methods are asynchronous so won’t block other things from happening in the renderer. 

The native theme API has been added to give a way to read and respond to changes in the OS's theme and color scheme. You can allow apps to override Chromium and the OS's theme choice so your app looks the way you want.

This release also has a new TypeScript Definitions generator, and the developers say the resulting definitions are more precise; so if your TypeScript build fails, this is the likely cause.this means  The change means that elements such as markdown, links and code blocks are persisted in the TypeScript definitions.

There are a number of breaking changes, mainly from the removal of deprecated APIs, and callback-based versions of functions that now use Promises. The development team has also announced that Electron 4.x.y has reached end-of-support, so any developers still using Electron 4 are encouraged to change to a more modern version. 

 

 

electronlogo

 

More Information

Electron Website

Related Articles

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


UWP Is Dead, Long Live The App SDK
20/10/2021

Of course, I don't really mean the "long live" part and it very likely it won't be. It just emphasizes how lost Microsoft is in the developer world. Where next and what faces sunset next are what we m [ ... ]



Visual Studio 2022 Preview 4 - More Productivity
22/09/2021

Visual Studio 2022 Preview 4 has been released with more support for personal and team productivity, along with support for 'modern development' according to the Visual Studio team.


More News

square

 



 

Comments




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

Last Updated ( Tuesday, 29 October 2019 )