Prepared platform release Electron 12.0.0 , which provides a self-contained framework for developing multi-platform custom applications based on Chromium, V8 and Node.js components. Significant version number change related to the upgrade to the Chromium 89 codebase, Node.js platform 14.16 and the JavaScript engine V8 8.9 .
In new release :
- The transition to the new LTS branch of the Node.js 14 platform has been made (previously the 12.x branch was used).
- Added new API webFrameMain for access from the main process to information about the RenderFrame, executed in separate instances of WebContents. The webFrameMain API is equivalent to the webFrame API, but can be used from within the main process.
- Added BrowserWindow.isTabletMode () and win.setTopBrowserView () methods to the BrowserWindow API, as well as the webPreferences.preferredSizeMode parameter and system-context-menu, resized (Windows / macOS) and moved (Windows) events.
- The default settings are contextIsolation and worldSafeExecuteJavaScript , which includes additional isolation and protection mechanisms for JavaScript execution.
- The crashReporter.start ({compress}) setting is enabled by default. Removed deprecated crashReporter API.
- Provided the ability to access non-object APIs through the exposeInMainWorld method in contextBridge .
- Separate chrome.management API elements have been added to the add-on development API.
- Deprecated “remote” module replaced with “@ electron / remote”.
Recall that Electron 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 expanded through the add-on system. Node.js modules are available to developers, as well as an extended API for forming native dialogs, integrating applications, creating context menus, integrating with the notification display system, manipulating windows, interacting with Chromium subsystems.
Unlike web applications, Electron-based programs are delivered as self-contained executable files that are not tied to a browser. At the same time, the developer does not need to worry about porting the application to various platforms, Electron will provide the ability to build for all systems supported in Chromium. Electron also provides means for organizing automatic delivery and installation of updates (updates can be delivered from a separate server or and directly from GitHub).
Of the programs built on the Electron platform, one can note the editor Atom