跳转到主内容

53 篇博文 含有标签「发行版」

查看所有标签

Electron 25.0.0

· 阅读时间:约 5 分钟

Electron 25.0.0 已发布!此次升级中包含 Chromium 114,V8 11.4,和 Node.js 18.15.0 。请阅读下文了解更多详情!


Electron 团队很高兴发布了 Electron 25.0.0 ! You can install it with npm via npm install electron@latest or download it from our releases website. 继续阅读此版本的详细信息。

如果您有任何反馈,请在Twitter上与我们分享,或加入我们的社区 Discord! Bug 和功能请求可以在 Electron 的 问题跟踪器 中报告。

22.x.y 持续支持​

正如再见 Windows 7/8/8.1 所述,Electron 22(Chromium 108)的计划寿命终止日期将从 2023 年 5 月 30 日延长至 2023 年 10 月 10 日。 Electron 团队将会继续向 Electron 22 提供本计划中的任何安全修复,直到 2023 年 10 月 10 日。十月 支持日期遵循 Chromium 和 Microsoft 的延长支持日期。 10 月 11 日,Electron 团队将支持回退到最新的三个稳定主要版本,将不再支持 Windows 7/8/8.1。

E25(23 年 5 月)E26(23 年 8月)E27(23 年 10 月)
25.x.y26.x.y27.x.y
24.x.y25.x.y26.x.y
23.x.y24.x.y25.x.y
22.x.y22.x.y--

重要变化​

  • 使用 Chromium 的网络栈在 Electron 的 net 模块中实现了 net.fetch。和 Node 的 fetch() 不同的是后者使用了 Node.js 的 HTTP 栈。请参阅 #36733 和 #36606。
  • 添加了 protocol.handle,它取代并弃用了 protocol.{register,intercept}{String,Buffer,Stream,Http,File}Protocol。 #36674
  • 增加了对 Electron 22 的支持,以配合 Chromium 和 Microsoft 的 Windows 7/8/8.1 弃用计划。请参阅本博文末尾的更多详细信息。

Electron 24.0.0

· 阅读时间:约 4 分钟

Electron 24.0.0 已发布!此次升级中包含 Chromium 112.0.5615.49,V8 11.2,和 Node.js 18.14.0 。请阅读下文了解更多详情!


Electron 团队很高兴发布了 Electron 24.0.0 ! You can install it with npm via npm install electron@latest or download it from our releases website. 继续阅读此版本的详细信息。

如果您有任何反馈,请在Twitter上与我们分享,或加入我们的社区 Discord! Bug 和功能请求可以在 Electron 的 问题跟踪器 中报告。

Electron 23.0.0

· 阅读时间:约 4 分钟

Electron 23.0.0 已发布!此次升级中包含 Chromium 110, V8 11.0, 和 Node.js 18.12.1。此外,取消了对Windows 7/8.1的支持。请阅读下文了解更多详情!


Electron 团队很高兴发布了 Electron 23.0.0! You can install it with npm via npm install electron@latest or download it from our releases website. 继续阅读此版本的详细信息。

如果您有任何反馈,请在Twitter上与我们分享,或加入我们的社区 Discord! Bug 和功能请求可以在 Electron 的 问题跟踪器 中报告。

放弃对 Windows 7/8.1 支持​

Electron 23 不再支持 Windows 7/8.1。 Electron 遵循计划中的 Chromium 弃用政策,该政策将 在 Chromium 109 中弃用 Windows 7/8/8.1 支持(在此处阅读更多信息)。

Electron 22.0.0

· 阅读时间:约 6 分钟

Electron 22.0.0 已发布!它包括了一个新的实用进程 API、对 Windows 7/8/8.1 支持的更新,以及对 Chromium 108、V8 10.8 和 Node.js 16.17.1 的升级。请阅读下文了解更多详情!


Electron 团队很高兴发布了 Electron 22.0.0! You can install it with npm via npm install electron@latest or download it from our releases website. 继续阅读此版本的详细信息。

如果您有任何反馈,请在Twitter上与我们分享,或加入我们的社区 Discord! Bug 和功能请求可以在 Electron 的 问题跟踪器 中报告。

Windows 7/8/8.1 支持更新​

信息

2023/02/16: An update on Windows Server 2012 support

Last month, Google announced that Chrome 109 would continue to receive critical security fixes for Windows Server 2012 and Windows Server 2012 R2 until October 10, 2023. In accordance, Electron 22's (Chromium 108) planned end of life date will be extended from May 30, 2023 to October 10, 2023. The Electron team will continue to backport any security fixes that are part of this program to Electron 22 until October 10, 2023.

Note that we will not make additional security fixes for Windows 7/8/8.1. Also, Electron 23 (Chromium 110) will only function on Windows 10 and above as previously announced.

Electron 22 将是最后一个支持 Windows 7/8/8.1 的 Electron 主要版本。 Electron 遵循计划中的 Chromium 弃用政策,该政策将 [在 Chromium 109 中弃用 Windows 7/8/8.1 支持(在此处阅读更多信息)](https://support.google.com/chrome/thread/185534985/sunsetting-support-for-windows-7-8-8-1-in-early -2023?hl=en)。

Electron 23 及以后的主要版本将不支持 Windows 7/8/8.1。

重要变化​

UtilityProcess API #36089​

新的 UtilityProcess 主进程模块允许创建仅集成 Node.js 的轻量级 Chromium 子进程,同时还允许使用 MessageChannel 与沙盒渲染器进行通信。该API是基于Node.js的 child_process.fork 设计的,以允许更容易的过渡,一个主要的区别是,入口点 modulePath 必须来自打包的应用程序内,以允许只加载受信任的脚本。此外,该模块默认情况下会阻止与渲染器建立通信通道,以保证主进程是应用程序中唯一受信任进程。

您可以在此处阅读有关我们文档中的新 UtilityProcess API 的更多信息。

其他显著的更改​

  • 添加了对 Linux 和 Windows 上的 Web Bluetooth pin 配对的支持。 #35416
  • 添加了 LoadBrowserProcessSpecificV8Snapshot 作为新的 Fuse(引信),让主/浏览器进程从位于 browser_v8_context_snapshot.bin的文件加载其 v8 快照。任何其他进程将使用与之相同的路径。 #35266
  • 添加了 WebContents.opener 以访问窗口打开器和 webContents.fromFrame(frame) 以获取与 WebFrameMain 实例对应的 WebContents。 #35140
  • 通过新的会话处理程序 ses.setDisplayMediaRequestHandler 添加了对 navigator.mediaDevices.getDisplayMedia 的支持。 #30702

Electron 21.0.0

· 阅读时间:约 3 分钟

Electron 21.0.0 已发布!此次升级中包含 Chromium 106, V8 10.6, 和 Node.js 16.16.0。请阅读下文了解更多详情!


Electron 团队很高兴发布了 Electron 21.0.0! You can install it with npm via npm install electron@latest or download it from our releases website. 继续阅读此版本的详细信息。

如果您有任何反馈,请在Twitter上与我们分享,或加入我们的社区 Discord! Bug 和功能请求可以在 Electron 的 问题跟踪器 中报告。

Electron 20.0.0

· 阅读时间:约 4 分钟

Electron 20.0.0 已发布!它包括升级到 Chromium 104, V8 10.4, 和 Node.js 16.15.0。请阅读下文了解更多详情!


Electron 团队很高兴发布了 Electron 20.0.0! You can install it with npm via npm install electron@latest or download it from our releases website. 继续阅读有关此版本的详细信息,并请分享您的任何反馈!

Electron 19.0.0

· 阅读时间:约 3 分钟

Electron 19.0.0 已发布!它包括升级到 Chromium 102, V8 10.2, 和 Node.js 16.14.2。请阅读下文了解更多详情!


Electron 团队很高兴发布了 Electron 19.0.0! You can install it with npm via npm install electron@latest or download it from our releases website. 继续阅读有关此版本的详细信息,并请分享您的任何反馈!

Electron 发布时间变更​

该项目正在恢复其支持最新三个主要版本的早期政策。查看我们的版本文档 以了解更多关于 Electron 版本控制和支持的详细信息。暂时有四个主要版本,以帮助用户适应从 Electron 15 开始的新版本发布节奏。您可以在此处阅读 完整详细信息。

Electron 18.0.0

· 阅读时间:约 4 分钟

Electron 18.0.0 已发布!它包括升级到 Chromium 100, V8 10.0, 和 Node.js 16.13.2。请阅读下文了解更多详情!


Electron 团队很高兴发布了 Electron 18.0.0.0! You can install it with npm via npm install electron@latest or download it from our releases website. 继续阅读有关此版本的详细信息,并请分享您的任何反馈!

Electron 发布时间变更​

从 Electron 15 开始,Electron 将每 8 周发布一个新的主要稳定版本。您可以在此处阅读 完整详细信息。

此外,Electron 将会改变支持的版本,从最新的三个版本改为最新的四个版本,直到 2022 年 5 月。关于 Electron 版本的更多详细信息,请看我们的 版本管理文档 2022 年 5 月以后,我们将回到支持最新的三个版本。

值得注意的变化​

  • 增加 ses.setCodeCachePath() API,用于设置代码缓存目录。 #33286
  • 移除了基于旧的 BrowserWindowProxy 的 window.open 实现。这也删除了 webPreferences 中的 nativeWindowOpen 选项。 #29405
  • 在 WebContents 中增加了 'focus' 和 'blur' 事件。 #25873
  • 在 MacOS 上添加了替换菜单角色:showSubstitutions``toggleSmartQuotes``toggleSmartDashes``toggleTextReplacement #32024
  • Added a first-instance-ack event to the app.requestSingleInstanceLock() flow, allowing users to seamlessly transmit data from the first instance to the second instance. #31460
  • 在 setBackgroundColor 中增加了更多颜色的支持。 #33364

有关新功能和变更的完整列表,请参阅 18.0.0 发布通知 。

Electron 17.0.0

· 阅读时间:约 4 分钟

Electron 17.0.0 已发布!它包括升级到 Chromium 98, V8 9.8, 和 Node.js 16.13.0。请阅读下文了解更多详情!


Electron 团队很高兴发布了 Electron 17.0.0.0! You can install it with npm via npm install electron@latest or download it from our releases website. 继续阅读有关此版本的详细信息,并请分享您的任何反馈!

Electron 发布时间变更​

从 Electron 15 开始,Electron 将每 8 周发布一个新的主要稳定版本。您可以在此处阅读 完整详细信息。

此外,Electron 将会改变支持的版本,从最新的三个版本改为最新的四个版本,直到 2022 年 5 月。关于 Electron 版本的更多详细信息,请看我们的 版本管理文档 2022 年 5 月以后,我们将回到支持最新的三个版本。

重要变化​

  • Added webContents.getMediaSourceId(), can be used with getUserMedia to get a stream for a WebContents. #31204
  • Deprecates webContents.getPrinters() and introduces webContents.getPrintersAsync(). #31023
  • desktopCapturer.getSources is now only available in the main process. #30720

有关新功能和变更的完整列表,请参阅 17.0.0 发布通知 。

Electron 16.0.0

· 阅读时间:约 5 分钟

Electron 16.0.0 已发布!它包括升级到 Chromium 96, V8 9.6, 和 Node.js 16.9.1。请阅读下文了解更多详情!


Electron 团队很高兴发布了 Electron 16.0.0.0! You can install it with npm via npm install electron@latest or download it from our releases website. 继续阅读有关此版本的详细信息,并请分享您的任何反馈!

Electron 发布时间变更​

从 Electron 15 开始,Electron 将每 8 周发布一个新的主要稳定版本。您可以在此处阅读 完整详细信息。

此外,Electron 将会改变支持的版本,从最新的三个版本改为最新的四个版本,直到 2022 年 5 月。关于 Electron 版本的更多详细信息,请看我们的 版本管理文档 2022 年 5 月以后,我们将回到支持最新的三个版本。

重要变化​

  • Now supports the WebHID API. #30213
  • Add data parameter to app.requestSingleInstanceLock to share data between instances. #30891
  • Pass securityOrigin to media permissions request handler. #31357
  • Add commandLine.removeSwitch. #30933

有关新功能和变更的完整列表,请参阅 16.0.0 发布通知 。