Electron 8.0.0 to be Released

The new released is considered major due to the upgrade to the Chromium 80 code base, the Node.js 12.13 platform, and the V8 8.0 engine
06 February 2020   173

The release of the Electron 8.0.0 platform has been prepared, which provides a self-sufficient framework for developing multi-platform user applications, using Chromium, V8 and Node.js. components as a basis. A significant change in the version number is associated with the upgrade to the Chromium 80 code base, the Node.js 12.13 platform, and the V8 8.0 JavaScript engine.

Among the Electron-specific API changes:

  • Provided the ability to check spelling in input forms using the built-in Chrome spellchecker;
  • When exchanging data between processes (IPC), the Structured Clone Algorithm, which is used in the V8 engine to copy complex JavaScript objects, is used. Compared to the previously used data serialization mechanism, the new algorithm is more predictable, fast and functional. When moving large buffers and complex objects, the new algorithm is approximately two times faster with practically unchanged delays in the transmission of small messages;
  • Disabled rendering to the buffer (Offscreen Rendering) is disabled, because when switching to a new release of Chromium there were problems, and the subsystem was left without an accompanying one;
  • New APIs added: app.getApplicationNameForProtocol (url), BrowserWindow.getMediaSourceId (), BrowserWindow.moveAbove (mediaSourceId), session.downloadURL (url), session.addWordToSpellCheckerDictionary, tray.removeBallexava () (worldId, scripts [, userGesture]).

Electron allows you to create any graphical application using browser technology, the logic of which is determined by JavaScript, HTML and CSS, and the functionality can be expanded through the add-on system. Node.js modules are available for developers, as well as an advanced API for creating native dialogs, integrating applications, creating context menus, integrating with the notification output system, window manipulation, and interaction with Chromium subsystems.

Get more at the official blog.

Unlike web applications, Electron-based programs come in the form of self-contained executable files that are not browser-bound. In this case, the developer does not need to worry about porting the application for various platforms, Electron will provide the ability to build for all systems supported in Chromium. Electron also provides tools for organizing the automatic delivery and installation of updates (updates can be delivered either from a separate server or directly from GitHub).

Among the programs built on the basis of the Electron platform, one can mention the Atom editor, the Nylas email client, the tools for working with Git GitKraken, the Wagon analysis and visualization system for SQL queries, the WordPress Desktop blogging system, the WebTorrent Desktop BitTorrent client, as well as the official clients for Services like Skype, Signal, Slack, Basecamp, Twitch, Ghost, Wire, Wrike, Visual Studio Code and Discord. In total, about 850 applications are presented in the Electron software catalog. To simplify the development of new applications, a set of standard demo applications has been prepared, including code examples for solving various problems.

Frontend News Digest 1 - 7.02

How to Create a WP Site with JAMstack, formatting dates in JS with Intl.DateTimeFormat, Edge DevTools now supports more languages and more
07 February 2020   458

Greetings! I hope your week went great! Here's new frontend technologies news digest.

Check the MongoDB One-to-Many Relationship tutorial with Mongoose examples, the CO2 emission of the websites new NodeJS update and other interesting things

Guides

  • How To Create A Headless WordPress Site On The JAMstack

Tutorial on simple way to create a WordPress site

  • MongoDB One-to-Many Relationship tutorial with Mongoose examples

Guide about Mongoose - the most popular way to use MongoDB from Node.js.

  • Formatting dates in JavaScript with Intl.DateTimeFormat

Check the modern way to format dates in a region friendly way using native APIs, as now supported all major browsers and both Node

Articles

  • CO2 emissions on the web

Learn the lever of CO2 emissions websites produce by consuming a lot of energy for its activity

  • Bringing the Microsoft Edge DevTools to more languages

Now Edge's DevTools support more languages

Video

  • Chrome 80 - What’s New in DevTools

Updates

  • massCode

Snippets manager for developers

  • micro-jaymock

Tiny API mocking microservice for generating fake JSON data

  • Node v13.8.0 (Current)

Another update of popular solution

  • Electron 8.0.0

Major release of popular JS based solution