Now, Electron framework continues to expand support for Promises with the new version 6.0.
Electron 6.0 also follows a total of 30 functions, of which the majority next to Promises but also allow the old calls with the callback.
Electron 6.0 version also includes some breaking changes. The framework is to lay the foundation for the fact that in the future native Node modules that are loaded into the Renderer process, are either based on the N-API or context Aware. This should bring better performance, but the conversion should be completed only with Electron 11.0.
In Electron 6.0, the net.IncomingMessage headers have also changed a bit to better match the behavior of Node.js. Especially, the handling of duplicate headers is affected.
Besides, shell.showItemInFolder () now returns void and is an asynchronous call.
The entire project is on GitHub.
You can get all the details of new features in Electron 6.0 on the official blog post.