Lanseringen av Electron 23.0.0, en plattform för att skapa applikationer baserade pÄ Chromium-motorn.

Release of Electron platform 23.0.0 is prepared, which provides a self-sufficient framework for developing cross-platform user applications, based on Chromium, V8, and Node.js components. The significant version number change is related to the update to Chromium 110 codebase, Node.js platform 18.12.1, and JavaScript engine V8 11.

Bland Àndringarna i den nya versionen:

  • Support for the WebUSB API has been added, allowing direct interaction with specialized peripheral devices connected via USB port. WebUSB enables the operation of USB devices without installing specialized drivers in the system, defining the low-level interaction logic within the application.
  • The Display object has been updated with the 'label' property containing a textual label that clearly identifies the screen.
  • The app.getPreferredSystemLanguages() API has been implemented to determine the languages selected in the system.
  • Added the SerialPort.forget() method, returning a Promise for handling the closure of the serial port, as well as the implementation of the serial-port-revoked event, generated when access to the serial port is revoked after the connection is closed.
  • Added the win.setHiddenInMissionControl API, which allows hiding the application window in the Mission Control interface on macOS systems.
  • The scroll-touch-begin, scroll-touch-end, and scroll-touch-edge events have been removed from the BrowserWindow object, and the input-event event in WebContents should be used instead.
  • Support for Windows 7, 8, and 8.1, as well as Windows Server 2012 and 2012 R2, has been discontinued.

Electron-plattformen möjliggör skapandet av alla typer av grafiska applikationer med hjÀlp av webblÀsarteknologier, vars logik definieras i JavaScript, HTML och CSS, och vars funktionalitet kan utökas via ett tillÀggssystem. Utvecklare har tillgÄng till Node.js-moduler samt ett utökat API för att skapa inbyggda dialoger, integrera applikationer, skapa kontextmenyer, integrera med system för att visa aviseringar, hantera fönster och interagera med Chromium-subsystem.

Till skillnad frÄn webbapplikationer levereras applikationer baserade pÄ Electron som fristÄende körbara filer, oberoende av webblÀsare. Utvecklaren behöver inte oroa sig för att portera applikationen till olika plattformar, Electron gör det möjligt att bygga för alla system som stöds i Chromium. Electron tillhandahÄller ocksÄ verktyg för att organisera automatisk distribution och installation av uppdateringar (uppdateringar kan levereras antingen frÄn en separat servern, eller direkt frÄn GitHub).

Among the applications built on the Electron platform are the Atom editor, Mailspring email client, Git working tool GitKraken, WordPress Desktop blogging platform, WebTorrent Desktop BitTorrent client, and official clients for services such as Skype, Signal, Slack, Basecamp, Twitch, Ghost, Wire, Wrike, Visual Studio Code, and Discord. A total of 734 applications are presented in the Electron program catalog. To simplify the development of new applications, a set of standard demonstration applications has been prepared, including code examples for solving various tasks.

KĂ€lla: opennet.ru

Köp pĂ„litlig webbhotell med DDoS-skydd, VPS VDS-servrar đŸ”„ Köp pĂ„litlig webbhotell med DDoS-skydd, VPS VDS-servrar | ProHoster