In the future, a new major version of the framework will appear every eight weeks. The new release stabilizes the direct integration of child windows.
The Electron team has released version 15.0 of the cross-platform framework. The release dispenses with the wrapper when opening windows as child elements. It also has a new API for encoding strings and extends the events when creating a new frame and for resizing.
With the current version, Electron accelerates the release cycle. In the future, a new main version will appear every eight weeks. After the changeover to semantic versioning in May 2018, the team initially planned at the beginning of 2019 with an approximately three-month cycle. As part of the new switch, Electron will work with the four most recent versions instead of three until May 2022, which means that Electron 12 is still not considered obsolete. From version 19, support goes back to the three most recent versions.
Subwindow without redirection
The setting previously marked as experimental has recently been used when opening sub-windows
nativeWindowOpen: true. With this, the framework natively creates the window in the same process as the parent element is in. The latter can use it to render the contents of the child element as well as in an integrated
A sub-window can be opened either by clicking on a link with the parameter
window.open(). Up to now, Electron used the wrapper for the subwindows by default
BrowserWindowProxy, which has limited functions.
Extensions to the APIs
Among the technical innovations, the String Encryption API is
safeStorage noteworthy. In addition,
WebContentsthe event gets
'frame-created'when a new frame has been created within the page.
'will-resize', which indicates a pending size change, receives the additional string
edgeto indicate from which edge or which corner the size change takes place. In this way, an application can react differently to upcoming vertical or horizontal changes. However, the event
'will-resize'is not yet available on Linux .
From GitHub-Atom to the OpenJS Foundation project
npm install [email protected]. The source code can be found on GitHub.