Electron platform release 40.0.0 is released, providing a self-sufficient framework for developing multi-platform user applications, using Chromium, V8 and Node.js components as a basis.
Among the changes in the new release:
- The Chromium browser engine, Node.js platform, and V8 JavaScript engine have been updated to 144 (the previous version used Chromium 142, Node.js 22.20.0, and V8 14.2).
- Added support for the "memory-eviction" child process termination flag, which is used when a process terminates to prevent the system from running out of free memory (OOM, out-of-memory).
- In Offscreen Rendering mode, support has been added for output in RGBAF16 format with the scRGB HDR color space.
- Added app.isHardwareAccelerationEnabled() method to check if hardware acceleration is enabled.
- The bypassCustomProtocolHandlers option has been added to the net.request API to bypass the invocation of additional protocol handlers.
- Added methods for selectively including facilities for people with disabilities.
- Added the ability to import external textures as a VideoFrame object representing a video frame.
- On the platform Linux It is now possible to use the systemPreferences.getAccentColor property to obtain information about system accent colors used to highlight active elements, as well as the color of the border of the active window.
- Added support for granting access to the File System API limited to the current session.
- Added support for dynamic loading of ESM modules in preload scripts for which context isolation is disabled (contextIsolation = false).
- The ability to access the Clipboard API from processes performing rendering has been deprecated.
The Electron platform allows you to create any graphical applications using browser technologies, the logic of which is defined in JavaScript, HTML and CSS, and the functionality can be extended through a system of add-ons. Developers have access to Node.js modules, as well as an extended API for creating native dialogs, integrating applications, creating context menus, integrating with the notification display system, manipulating windows, and interacting with Chromium subsystems.
Unlike web applications, Electron-based programs are delivered as self-contained executable files, not tied to a browser. The developer doesn't need to worry about porting the application to different platforms; Electron provides the ability to build for all systems supported by Chromium. Electron also provides the means to automatically deliver and install updates (updates can be delivered from a separate Server, as well as directly from GitHub).
Among the programs built on the Electron platform, we can note the Atom and Visual Studio Code editors, the Mailspring email client, the GitKraken tool for working with Git, and the blogging system WordPress Desktop, the BitTorrent client WebTorrent Desktop, and official clients for services such as Signal, Slack, Basecamp, Twitch, Ghost, Wire, Wrike, and Discord. Electron's software catalog contains 612 applications. To simplify the development of new applications, a set of sample demo applications has been prepared, including code samples for solving various problems.
Source: opennet.ru
