Electron v8.0.0 现已发布,该版本更新内容如下:
Breaking Changes
- 升级到 Chromium
80.0.3987.86
(New since Electron 7: Chromium 79, 80) - 升级到 Node
12.13.0
(New since Electron 7: Node 12.9, 12.10, 12.11, 12.12, 12.13) - 升级到 V8
8.0
(New since Electron 7: V8 7.9, 8.0) - 现在,主进程和渲染器进程之间的 IPC 使用结构化克隆算法。#20214
Features
- 添加了
--enable-api-filtering-logging
命令行开关。#20335 - 已添加
app.getApplicationNameForProtocol()
。#21117 - 在Windows上添加了对
credits
和iconPath
的app.setAboutPanelOptions()
支持。#19420 - 已添加
BrowserWindow.moveAbove(mediaSourceId)
。#18926 - 添加
contents.getAllSharedWorkers()
并contents.inspectSharedWorkerById(workerId)
以允许检查特定的共享工作程序。#20389 - 添加了
Notification()
options 的timeoutType
属性,以允许用户设置 Linux 和 Windows 通知的超时类型。#20153 - ……
Fixes
- 在 context-aware 弃用警告中添加了模块名称 (#18397)。 #21958
- 修正了关于 gtk_disable_setlocale() 的 Linux 控制台警告。 #19986
- 修复了调用时可能发生的崩溃
crashReporter.getUploadedReports
。#20428 - 修复了渲染器进程中 Node.js 上下文初始化的问题。#20836
- 修复了收到 IPC 消息后异步节点 API 无法正常工作的问题。#19718
- 修复了使用 VS 2015 构建的本机模块的编译错误。#21960
- ……
Documentation
- Documentation changes: #19387, #19444, #19804, #19975, #20230, #20472, #20621, #20622, #20644, #21743, #21874
更多详细信息可查阅发布说明: https://github.com/electron/electron/releases/tag/v8.0.0
转自 https://www.oschina.net/news/113187/electron-8-0-0-released