Electron 5.0.0 发布

栏目: 软件资讯 · 发布时间: 6年前

内容简介:Electron 5.0.0 稳定版本发布了。Electron 是 GitHub 发布的跨平台桌面应用开发工具,支持 Web 技术开发桌面应用,其基于 C++ 开发,GUI 核心来自于 Chromium,而 JavaScript 引擎使用 V8。 Electron 的核心是 Ch...

Electron 5.0.0 稳定版本发布了。Electron 是 GitHub 发布的跨平台桌面应用开发工具,支持 Web 技术开发桌面应用,其基于 C++ 开发,GUI 核心来自于 Chromium,而 JavaScript 引擎使用 V8。

Electron 5.0.0 发布

Electron 的核心是 Chromium、Node.js 与 V8,此版本这三者分别升级到了:Chromium 73.0.3683.119、Node.js 12.0.0  V8 7.3.492.27

更新亮点包括:

Electron 5 继续践行 Promise 化,将 Electron 中基于回调的 API 转换为 Promise。以下 API 在 Electron 5 中已被转换:

  • app.getFileIcon
  • contentTracing.getCategories
  • contentTracing.startRecording
  • contentTracing.stopRecording
  • debugger.sendCommand
  • Cookies API
  • shell.openExternal
  • webContents.loadFile
  • webContents.loadURL
  • webContents.zoomLevel
  • webContents.zoomFactor
  • win.capturePage

systemPreferences 添加或改进了一些功能,用于获取 macOS 系统颜色

  • systemPreferences.getAccentColor
  • systemPreferences.getColor
  • systemPreferences.getSystemColor

添加了函数 process.getProcessMemoryInfo 以获取有关当前进程的内存使用情况统计信息。

为了提高 remote API 的安全性,添加了新的远程事件,以过滤 remote.getBuiltin、remote.getCurrentWindow、remote.getCurrentWebContents 与 .getWebContents。

BrowserWindow 现在支持在同一个 BrowserWindow 中管理多个 BrowserView

完整更新内容查看更新说明:

可以通过`npm install electron@latest`或以下链接下载该版本:

此外,根据版本支持计划,Electron 2.0.X 已经 EOF,官方不再对其提供支持。同时,6.0.0 版本的发布计划也已经出炉:

Electron 5.0.0 发布

按照计划,6.0.0 正式稳定版将于 7 月 18 日发布。


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Advanced Web Metrics with Google Analytics

Advanced Web Metrics with Google Analytics

Brian Clifton / Sybex / 2008 / USD 39.99

Are you getting the most out of your website? Google insider and web metrics expert Brian Clifton reveals the information you need to get a true picture of your site's impact and stay competitive usin......一起来看看 《Advanced Web Metrics with Google Analytics》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具