宣布 Tauri 1.7.0
Tauri 团队很高兴地宣布 1.7 版本发布。该版本包含了若干错误修复、性能改进以及从即将发布的 v2 版本移植过来的功能。
🌐 The Tauri team is happy to announce the 1.7 release. This version includes several bug fixes, performance improvements and features backported from the upcoming v2 release.
🌐 Upgrading
确保将 NPM 和 Cargo 的依赖都更新到 1.7.0 版本。你可以使用以下命令更新依赖:
🌐 Make sure to update both NPM and Cargo dependencies to the 1.7.0 release. You can update the dependencies with:
npm install @tauri-apps/cli@latest @tauri-apps/api@latestyarn upgrade @tauri-apps/cli @tauri-apps/api --latestpnpm update @tauri-apps/cli @tauri-apps/api --latestcargo update🌐 What’s in 1.7.0
🌐 Shell API performance improvement
shell 的 Command::execute API 已被优化为仅使用一次 IPC,而不是流式传输数据,从而改善了冗长 shell 脚本的使用。
🌐 The shell’s Command::execute API has been optimized to only use the IPC a single time instead of streaming data, improving usage of verbose shell scripts.
🌐 Feature backport from v2
多亏了社区的努力,我们已经将 v2 的一些打包器功能回移植到了 v1 版本中。
🌐 Thanks to community effort we have backported a few bundler features from v2 into the v1 release.
🌐 Custom Windows codesign script
默认情况下,Windows 打包使用 SignTool,它仅在 Windows 上运行,因此在交叉编译时没有用处。
在此版本中,我们已经回移植了自定义签名命令功能,这允许使用 osslsigncode、relic 以及其他可以在 Unix 系统上运行并支持硬件令牌、Azure Key Vault 等的替代方案。
🌐 By default the Windows packaging uses SignTool, which only works on Windows so it’s not useful when cross compiling.
In this release we have backported the custom sign command feature, which allows using osslsigncode, relic and other alternatives that can run on Unix systems and support hardware tokens, Azure Key Vault and more.
🌐 RPM bundle
RPM 打包已向 Tauri v2 用户提供了一段时间,现在也已在 v1 通道提供。
🌐 RPM packaging have been available to Tauri v2 users for a while, and it is now also available on the v1 channel.
🌐 DMG configuration
DMG 安装程序现在可以配置:你可以更改图标的位置和窗口大小,以便更好地适应自定义背景。
🌐 DMG installers are now configurable: you can change the position of the icons and the window size to fit better within a custom background.
🌐 Other changes
查看完整的更改列表:
🌐 Check out the entire list of changes:
Tauri 中文网 - 粤ICP备13048890号
Nodejs.cn 旗下网站