设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Electron 5.0.0发布

2019-4-26 09:54| 发布者: joejoe0332| 查看: 236| 评论: 0|原作者: oschina|来自: oschina

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

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

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 与 <webview> .getWebContents。

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

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

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

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

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


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部