Release Electron 24.0.0, the application development platform based on the Chromium engine.

The release of Electron platform 24.0.0 has been prepared, providing a self-contained framework for developing cross-platform user applications, based on components from Chromium, V8, and Node.js. The significant change in version number is related to the update to Chromium codebase 112, Node.js platform 18.14.0, and JavaScript engine V8 11.2.

Among the changes in the new release:

  • The logic for handling image size in the method nativeImage.createThumbnailFromPath(path, size) has been modified, where the parameter 'maxSize' has been replaced by 'size', now reflecting the actual size of the created thumbnail rather than the maximum (i.e., scaling will be applied if the size is smaller).
  • The methods BrowserWindow.setTrafficLightPosition(position) and BrowserWindow.getTrafficLightPosition() have been marked as deprecated, and it is recommended to use BrowserWindow.setWindowButtonPosition(position) and BrowserWindow.getWindowButtonPosition() instead.
  • The method cookies.get() now includes the ability to filter Cookies in HttpOnly mode.
  • The parameter logUsage has been added to the method shell.openExternal().
  • Filtering requests by types has been introduced in webRequest.
  • A new devtools-open-url event has been added in webContents for opening a new window.
  • The enableLocalEcho flag has been added to the callback handler ses.setDisplayMediaRequestHandler() to reflect external audio input in the local output stream.
  • A general optimization has been enabled in the default configuration file, leveraging information obtained while compiling all modules.

The Electron platform allows you to create any graphical applications using web technologies, with logic defined in JavaScript, HTML, and CSS, and functionality that can be extended through a plugin system. 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 output system, window manipulation, and interaction with Chromium subsystems.

Unlike web applications, Electron-based programs are delivered as self-contained executable files that are not browser-dependent. Additionally, developers do not need to worry about porting the application to different platforms; Electron provides the ability to build for all systems supported in Chromium. Electron also offers tools for automating the delivery and installation of updates (updates can be delivered either from a separate server, or directly from GitHub).

Notable programs built on the Electron platform include the Atom editor, Mailspring email client, Git management tool GitKraken, WordPress Desktop blogging system, BitTorrent client WebTorrent Desktop, as well as official clients for services like Skype, Signal, Slack, Basecamp, Twitch, Ghost, Wire, Wrike, Visual Studio Code, and Discord. In total, there are 734 applications listed in the Electron application catalog. A set of sample applications has been prepared to simplify the development of new applications, including code examples for tackling various tasks.

Source: opennet.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster