Cross platform with JavaScript: Electron 5.0 is ready

Cross platform with JavaScript: Electron 5.0 is ready

GitHub’s Electron development team has delivered version 5.0 of the framework for cross-platform applications as planned. In addition to bug fixes and some improvements to the APIs, new features and a few breaking changes in Electron 5.0 have been added.

To help users take advantage of the latest JavaScript features, performance enhancements, and fixed vulnerabilities, the latest release of the framework includes updates to the core components Chromium, V8, and Node.js. Chromium 73.0.3683.119 is now used in the frontend. The JavaScript Runtime V8 is in version 7.3.492.27 and in the backend Electron relies on Node.js 12.0.0.

As part of the promisification initiative, the development team is working to rebuild the existing callback- based capabilities so that they will issue promises in the future. Electron 5.0 has adapted more than ten APIs, including the Cookies API and webContents.loadURL.

More will follow in the next releases.

For macOS, systemPreferences provides three new or revised system color access functions: systemPreferences.getAccentColor,systemPreferences.getColor, and systemPreferences.getSystemColor.

The Breaking Changes include security-relevant changes. So the values of are nodeIntegration and webviewTag now defaults to false. Renderers that start with sandbox: true will automatically run in a sandbox in the future. Previously, developers had to activate the mixed sandbox mode.

Developers can either install the new version using the npm install electron @ latest command via Node Package Manager or download it from the project site to GitHub.

SHARE
Previous article6 companies in pole position to launch the self-driving car
Next articlePatch now! Blackmail Trojan Gandcrab eats through Confluence Gap
Aakash Molpariya
Aakash started in Nov 2018 as a writer at Revyuh.com. Since joining, as writer, he is mainly responsible for Software, Science, programming, system administration and the Technology ecosystem, but due to his versatility he is used for everything possible. He writes about topics ranging from AI to hardware to games, stands in front of and behind the camera, creates creative product images and much more. He is a trained IT systems engineer and has studied computer science. By the way, he is enthusiastic about his own small projects in game development, hardware-handicraft, digital art, gaming and music. Email: aakash (at) revyuh (dot) com