in

Electron 7.0.0 | Electron Blog, Hacker News


  

    

Electron 7.0.0 has been released! It includes upgrades to Chromium 78, V8 7.8, and Node.js 12 8.1. We’ve added a Window on Arm 64 release, faster IPC methods, a newnativeThemeAPI, and much more!


The Electron team is excited to announce the release of Electron 7.0.0! You can install it with npm vianpm install electron @ latestor download it from ourreleases website. The release is packed with upgrades, fixes, and new features. We can’t wait to see what you build with them! Continue reading for details about this release, and please share any feedback you have!

Notable Changes

  • Stack Upgrades:

  • Added Windows on Arm (64 bit) release.# 18591,# 20112

  • AddedipcRenderer.invoke ()andipcMain.handle ()for asynchronous request / response-style IPC. These are strongly recommended over theremotemodule. See this “Electron’s‘ remote ’module considered harmful” blog post for more information.#

  • AddednativeThemeAPI to read and respond to changes in the OS’s theme and color scheme.# 19758,# 20486

  • Switched to a new TypeScript Definitionsgenerator. The resulting definitions are more precise; so if your TypeScript build fails, this is the likely cause.# 18103

See the7.0.0 release notesfor a longer list of changes.

Breaking Changes

More information about these and future changes can be found on thePlanned Breaking Changespage.

  • Removed deprecated APIs:
    • Callback-based versions of functions that now use Promises.# 17907
    • Tray.setHighlightMode ()(macOS).# 18981
    • app.enableMixedSandbox ()#
    • app.getApplicationMenu (),
    • app.setApplicationMenu (),
    • powerMonitor.querySystemIdleState (),
    • powerMonitor.querySystemIdleTime (),
    • webFrame.setIsolatedWorldContentSecurityPolicy (),
    • webFrame.setIsolatedWorldHumanReadableName (),
    • webFrame.setIsolatedWorldSecurityOrigin ()# 18159
  • Session.clearAuthCache ()no longer allows filtering the cleared cache entries.# 17970
  • Native interfaces on macOS (menus, dialogs, etc.) now automatically match the dark mode setting on the user’s machine.# 19226
  • Updated theelectronmodule to use@ electron / get. The minimum supported node version is now Node 8.# 18413
  • The fileelectron.asarno longer exists. Any packaging scripts that depend on its existence should be updated.# 18577

End of Support for 4.xy

Electron 4.x.y has reached end-of-support as per the project’ssupport policy. Developers and applications are encouraged to upgrade to a newer version of Electron.

App Feedback Program

We continue to use ourApp Feedback Programfor testing. Projects who participate in this program test Electron betas on their apps; and in return, the new bugs they find are prioritized for the stable release. If you’d like to participate or learn more,check out our blog post about the program.

What’s Next

In the short term, you can expect the team to continue to focus on keeping up with the development of the major components that make up Electron, including Chromium, Node, and V8. Although we are careful not to make promises about release dates, our plan is release new major versions of Electron with new versions of those components approximately quarterly. Thetentative 8.0 .0 schedulemaps out key dates in the Electron 8 development life cycle. Also,see our versioning documentfor more detailed information about versioning in Electron.

For information on planned breaking changes in upcoming versions of Electron,see our Planned Breaking Changes doc.

       

Brave Browser
Read More
Payeer

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

Twitch Streamer Shroud Mimics Ninja & Announces Move to Mixer, Crypto Coins News

Twitch Streamer Shroud Mimics Ninja & Announces Move to Mixer, Crypto Coins News

“I could’ve told you that” might have a useful role to play in science, Ars Technica

“I could’ve told you that” might have a useful role to play in science, Ars Technica