The new version of Electron 4.0.0 has already been released

electron 4.0

Yesterday the developers of the electron project announced the availability of the new version of Electron 4.0.0 and with which they intend to provide a self-sufficient framework for developing cross-platform user applications, using Chromium, V8 and Node.js components.

For all those who do not know electron I can tell you that This allows you to create any graphical application using browser technologies, whose logic is defined in JavaScript, HTML and CSS, and the functionality can be extended through the add-on system.

Developers have access to Node.js modules as well as an advanced API to create native dialogs, integrate applications, create context menus, integrate with the system to display notifications, manipulate windows, and interact with Chromium subsystems.

Unlike web-based applications, Electron-based programs are delivered as separate executable files that are not linked to the browser.

In this case, the developer does not have to worry about porting the application for different platforms, Electron will provide the ability to compile for all Chromium compatible systems.

Electron also provides tools to organize automatic delivery and installation of updates. (Updates can be delivered from a separate server or directly from GitHub.)

Of the programs created on the basis of the Electron platform, we can mention:

  • The Atom editor
  • The Nylas email client
  • The tools for working with GitKraken
  • The Wagon SQL visualization and analysis system
  • The WordPress Desktop blogging system
  • The WebTorrent desktop BitTorrent client
  • Services like Skype
  • Signal
  • Slack
  • Basecamp
  • Twitch
  • Ghost
  • Wire
  • Wrike
  • Visual Studio Code
  • Discord
  • And more

To simplify the development of new applications, a set of typical demo applications has been prepared, including sample code to solve various problems.


The new version of Electron 4.0.0 has already been released

In this new installment of Electron 4.0.0 some new features have been added as well as fixes and improvements to the project code.

A significant change in the version number is due to the update to the Chromium codebase 69, to the Node.js 10.11.0 platform and to the V8 6.9 JavaScript engine.

Other One of the changes highlighted by the developers in this new release is in the BrowserWindows class and the webview tag.

That, for reasons of greater security, the ability to disable the »remote« module has been added, which represents the IPC mechanism for the interaction between the rendering process of the current page and the main process

In addition, support was added for filtering requests remote.require () and remote.getGlobal () to obtain full control over the access of the modules to IPC, which can be useful when you don't want to completely disable the remote module during the rendering process or in the web view.

In addition, The About panel is now accessible from JavaScript code.

Another modification was made to show this panel, now you can use the call to app.showAboutPanel (), whose execution is similar to clicking on the corresponding menu.

Among the other changes that can be highlighted in this new release of Electron 4.0.0 we find:

  • The setBackgroundThrottling () method has been added, which allows you to control the on and off of the mechanism to reduce the activity of generating timer events and drawing animations for windows running in the background.
  • Changed the launch lock mechanism for more than one instance of the application. To set the lock instead of app.makeSingleInstance (), you should now use the app.requestSingleInstanceLock () call.
  • Changed default values ​​for configuration: contextIsolation = true, nodeIntegration = false, webviewTag = false.
  • The Node.js integration tools for windows in NativeWindowOpen mode are disabled (this feature was previously deprecated).
  • Support for macOS 10.9 (OS X Mavericks) has been discontinued.

If you want to know a little more about the changes and details of this new release of Electron 4.0.0 you can visit the official announcement found on the Electron blog. The link is this.

The content of the article adheres to our principles of editorial ethics. To report an error click here!.

Be the first to comment

Leave a Comment

Your email address will not be published. Required fields are marked with *



  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.