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!)
Electron v6.0.0 has been released!
$ npm i electron@latest
This is the first time we’ve made a stable Electron release on the same day as the corresponding Chrome stable release ⁰
See more here https://t.co/Xu9Tsqw60D
— Electron (@electronjs) July 30, 2019
Some highlights of the newest version:
- Upgrades: Chromium
12.4.0, and V8
- API improvements
- Exclude windows from windows menu: using
all_framessupport: option added for Chrome extension content scripts
- File preview for Linux
- Additional error information when throwing
- Support added for Scroll Lock accelerator
- Native Emoji and color picker: for Windows and macOS
- Disable fetching thumbnails ability: In
- 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.
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:
Promiseis 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.
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.
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!).