|Electron 15 Adds String Encoding API|
|Written by Kay Ewbank|
|Tuesday, 12 October 2021|
Electron 15 has been released with updates to Chromium and Node.js, along with a number of API updates. This release is the first of a new accelerated release cycle that the developers say mean a new main version will appear every eight weeks.
The main changes to the new release are upgrades to Chromium 94, V8 9.4, and Node.js 16.5.0. Other changes start with a move to use nativeWindowOpen: true as the default, rather than it being experimental as in earlier releases.The setting control how windows are created from trusted or untrusted content within a renderer. When nativeWindowOpen is set to false, window.open instead results in the creation of a BrowserWindowProxy , a light wrapper around BrowserWindow.
The next change is the addiition of a safeStorage string encryption API. This allows access to simple encryption and decryption of strings for storage on the local machine to protect data stored on disk from being accessed by other applications or users with full disk access.
Several changes were made in this release to the support and use of Electron fuses. Fuses are used to disable certain features for an entire application. The documentation gives the example that 99% of apps don't make use of ELECTRON_RUN_AS_NODE, meaning that those applications should be shipped with a binary that is incapable of using that feature. Fuses provide a way to disable or enable features within the Electron binary at package time before you code sign your app. The new release adds a new fuse for enforcing code signatures on the app.asar file your application loads. There's also new experimental cookie encryption support behind fuses, and new fuses to disable NODE_OPTIONS and --inspect debug arguments in packaged apps.
Other improvements include a new 'frame-created' event for WebContents that provides info when a frame is created in the page, and a new cookie encryption api to allow users to encrypt, decrypt strings and check whether encryption is available.
Electron 15 is available for download now.
Electron Increases Promisification
Electron 8 - First Release As OpenJS Foundation Incubator
Electron 7 Adds Native Theme API
Electron 4 Updates Chromium Support
Atom v Visual Studio Code - The Unexpected Consequence Of Consolidation
Electron 1.0 Released For Desktop Apps
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
or email your comment to: email@example.com
|Last Updated ( Tuesday, 12 October 2021 )|