Tauri 2.0 路线图

Tauri 1.0 于 2022 年 6 月发布,并推出了一个应用工具包,让开发者可以使用 HTML、CSS 和 JavaScript 构建应用,同时具备 Rust 的安全性和性能。Tauri 在重新定义并提出“什么是应用?”这一问题方面发挥了关键作用。
🌐 Tauri 1.0 was released in June 2022 and introduced an app toolkit for developers to build apps using HTML, CSS, and JavaScript with the security and performance of Rust. Tauri has been pivotal in redefining and asking the question: “What is an app?”
版本 1.0 推出了对 Linux、macOS 和 Windows 的支持,并已通过新增功能、DX 改进和错误修复更新至 Tauri 1.4,现已可用。
🌐 Version 1.0 launched with support for Linux, macOS, and Windows and has been updated with new features, DX improvements, and bug fixes to bring us to Tauri 1.4 that is available now.
但有一个问题,Tauri 工作组一次又一次地被问到。我们亲切地称之为“移动版什么时候发布?!?”,今天我们想概述通往 Tauri 2.0 的前进道路,并回答这个问题。
🌐 But there’s one question the Tauri Working Group gets asked time and time again. We affectionately refer to it as “Mobile when?!?” and today we’d like to outline the path ahead of us to get to Tauri 2.0 and to answer that question.
🌐 What is Tauri 2.0?
本质上,Tauri 2.0 版本是移动更新。但是 2.0 不仅仅是移动端更新。以下是将包含的一些功能:
🌐 In essence, the 2.0 release of Tauri is The Mobile Update. But 2.0 is so much more than just mobile. Here are a few of the features that will be included:
- 强大的插件:许多 Tauri API 已经转移到使用 Tauri 插件系统。这使我们能够让 Tauri 代码更加模块化、更加易于维护,同时也使插件系统更加强大,方便开发者构建自己的插件。
- 插件的 Swift 和 Kotlin 绑定:现在你可以用 Swift 和 Kotlin 编写特定平台的代码。自 1.0 版本以来,Tauri 就提供了 Rust 与 JavaScript 代码之间的桥梁。在 Tauri 2.0 中,插件开发者将能够用 Swift 和 Kotlin 编写代码,以便更紧密地与他们开发的系统集成。
- 支持 iOS 和 Android:你将能够构建 Tauri 应用并在 iOS 和 Android 上运行它们。
我们已经看到开发者们在Tauri 2.0的预发布版本上做出了惊人的成果,我们很高兴推进到稳定版本,将其交到每个人的手中。
🌐 We’ve already seen developers doing amazing things with the prerelease version of Tauri 2.0 and we’re excited to move forward to a stable version to get it in the hands of everyone.
🌐 Path to Tauri 2.0 Stable
目前,我们处于 2.0 测试版阶段。以下是将我们带到 Tauri 2.0 稳定版的三个关键里程碑:
🌐 Right now, we are in the 2.0 alpha phase. Here are the 3 key milestones to get us to Tauri 2.0 stable:
以下是 Tauri 工作组在每个里程碑中正在推动的步骤。
🌐 Below are the steps within each of those milestones that the Tauri Working Group are driving towards.
🌐 Beta
要进入测试阶段,Tauri 2.0 必须功能完整且运行良好,没有已知的重大问题。这意味着 Tauri 工作组对公共 Tauri API 感到满意,并且不预期会有破坏性更改(尽管随着我们收到社区反馈,这些更改是可能的)。
🌐 To enter a beta phase Tauri 2.0 must be feature-complete and working with no known major issues. This means that the Tauri Working Group are satisfied with the public Tauri APIs and don’t anticipate any breaking changes (although they are possible as we receive community feedback).
一旦我们进入测试版阶段,我们将锁定代码库并进入审计阶段。在此之后,Tauri 2.0 将不再添加新的功能。
🌐 Once we’ve entered beta then we will lock down the code base and move onto an auditing phase. No new features will be targeted for Tauri 2.0 after this point.
安全对 Tauri 非常重要。我们与外部审计人员合作,审查 Tauri 代码,以便它对 Tauri 开发者及其用户尽可能安全。在 Tauri 1.0 中,也采取了类似的方法,与 Radically Open Security 合作进行安全审核(Tauri 1.0 安全审计报告)。
🌐 Security is very important to Tauri. We work with external auditors to review Tauri code so that it can be as secure as possible for Tauri developers and their users. A similar approach was taken with Tauri 1.0 in collaboration with Radically Open Security (Tauri 1.0 Security Audit Report).
关于2.0版本的安全审计的更多细节将在未来公布。
🌐 More details on the security audit for 2.0 are to come in the future.
🌐 Release Candidate
一旦所有审计发现的问题都得到解决,我们将进入候选发布阶段。在这个阶段,我们会请 Tauri 社区进行试用,看看是否存在任何 bug,并提供反馈,为正式发布做准备。
🌐 Once all of the audit findings are resolved then we will move on to the release candidate phase. This is where we’ll ask the Tauri community to give it a test drive, see if there are any bugs, and to provide feedback in preparation for the stable release.
RC阶段将进行时间锁定,以便早期采用者可以帮助我们发现问题点和可以快速解决的简单问题。这还将包括一次文档冲刺,以便将我们所知道的与我们展示的内容对齐。随着我们接近发布候选版本阶段,将会分享更多的详细信息。
🌐 The RC phase will be time-locked so that early adopters can help us discover pain points and low-hanging fruit that can be resolved quickly. This will also include a documentation sprint in order to align what we know with what we show. More details on this will be shared as we get get closer to the release candidate phase.
🌐 Stable
Tauri 2.0 将发布,并向所有人开放,以便构建令人惊叹的东西。我们还将继续修复漏洞,并根据我们当前发布补丁和小版本更新的方式发布更新。
🌐 Tauri 2.0 will be released and generally available for everyone to build amazing things with. We will also continue fixing bugs and releasing updates in line with our current approach of publishing patches and minor updates.
🌐 Where We Are
在迈向稳定版本的过程中,有很多环节需要处理。两个主要部分是来自安全审计的发现和修复,以及社区的反馈和调整。这两个部分非常重要,我们希望确保能够优先处理这些,同时不牺牲 Tauri 的安全性和质量。
🌐 There are a lot of moving parts in moving towards a stable release. The two main parts are the findings and fixes from the security audit alongside the feedback and adjustments from the community. These two pieces are incredibly important and we want to be sure we can prioritize those without sacrificing the security and quality of Tauri.
由于这些优先事项,我们尚未为 Tauri 2.0 稳定版发布确定具体时间表。我们有内部目标来帮助我们保持进度,但我们希望确保能够灵活应对反馈。
🌐 Because of those priorities we don’t yet have hard timelines for a Tauri 2.0 stable release. We have internal targets that we’re aiming for to keep us on track, but we want to be sure that we’re flexible to accommodate feedback.
我们现在可以分享的是,我们大致计划在2024年初发布 Tauri 2.0 的稳定版本。我们正加快推进,尽快进入测试阶段。
🌐 What we can share right now is that we’re roughly targeting the stable release of Tauri 2.0 in early 2024. We’re driving sharply ahead to enter the beta phase as soon as possible.
随着我们向 Tauri 2.0 迈进,我们会确保向社区分享更新。跟进最新动态的主要方式是关注 Tauri 的发布,这些发布会经过测试版、候选发布版,最后发布稳定版。你也可以关注 Twitter、Mastodon 和 Discord。
🌐 As we make progress towards Tauri 2.0 we’ll be sure to share updates to the community. The primary way to keep up to date is to watch for the Tauri releases as they move through the beta, release candidate, and lastly stable phases. You can also keep an eye on Twitter, Mastodon, and Discord.
🌐 Getting Involved
在我们努力实现 Tauri 2.0 稳定版的同时,社区有很多参与的方式。我们收到的参与和反馈越多,Tauri 2.0 对每个人来说就会越好。以下是参与的一些方式:
🌐 While we’re working towards Tauri 2.0 stable there are a lot of ways for the community to get involved. The more involvement and feedback we have, the better Tauri 2.0 will be for everyone. Here are just a few ways to get involved:
- 测试 Tauri 的预发布版本,并通过 Discord 和 GitHub 问题提供反馈。
- 在 https://v2.tauri.app 上为文档和翻译做出贡献。
- 通过在 Discord 和 GitHub 问题中支持他人,并对出现的重大问题提供反馈,来帮助 Tauri 社区。
- 开始围绕 Tauri 2.0 规划内容(尽管我们建议至少等到 2.0 测试版)。如果你想合作创建诸如视频、博客、课程或其他任何内容的创意,请通过 Discord 联系 Tauri 工作组。
我们希望这能让大家对我们的现状、发展方向以及你能做些什么来帮助我们有所了解。请通过加入我们的 Discord 和 参与本帖的 GitHub 讨论 给我们反馈。祝构建愉快!
🌐 We hope this provides a bit of transparency about where we’re at, where we’re headed, and what you can do to help us get there. Give us your feedback by joining us on Discord and joining the GitHub Discussion for this post. Happy building!
Tauri 中文网 - 粤ICP备13048890号
Nodejs.cn 旗下网站