TrustRAG v0.2.7-beta.1
Pre-release
Pre-release
·
38 commits
to master
since this release
TrustRAG 0.2.7-beta.1
发布日期 / Release Date: 2026-06-01
📥 下载 / Downloads
| 平台 / Platform | 文件 / File | 说明 / Description |
|---|---|---|
| 🪟 Windows | TrustRAG-Setup-Windows-x64.exe | Windows 安装包 / Installer |
| 🪟 Windows | trustrag-windows-x64-portable.zip | 便携版 / Portable |
| 🍎 macOS | trustrag-macos.tar.gz | macOS 安装包 |
| 🐧 Linux | trustrag-linux-x64.tar.gz | Linux x64 |
| 🤖 Android | app-release.apk | Android APK |
| 📱 iOS | trustrag-ios.tar.gz | iOS App (unsigned) |
| 🌐 Web | trustrag-web.tar.gz | Web 静态资源 / Static files |
🔄 更新内容 / What's Changed
Fixed / 修复
- 🏷️ 客户端版本号动态化 — 移除
main.dart中硬编码的appVersion = '0.2.2',改用package_info_plus从pubspec.yaml动态读取版本号。关于页面、更新检查、版本显示现在始终与发布版本一致。(Issue #18) - 🔄 多账号切换架构修复 —
switchToAccount重构为事务式操作:切换前保存当前账号状态,切换失败时自动回滚。返回ok/need_login/failed三种结果,UI 针对性提示。(Issue #19) - 🔐 登录/注册时后端数据目录同步 — 修复关键架构缺陷:登录或注册新账号时,嵌入式后端现在会先切换到目标账号的数据目录再处理请求,避免跨账号数据库导致的"Invalid email or password"误判。(Issue #19)
- 🛡️ Token-账号绑定时序修正 —
setActiveAccount现在在saveToken之前调用,确保 token 正确关联到对应账号。(Issue #19) - 🏠 本地模式优化 —
local@trustrag.desktop不再强制覆盖已登录的远程账号会话,登录页新增"进入本地模式"按钮和说明文字。(Issue #19)
Added / 新增
- ✨
appVersionProvider— 新增 Riverpod FutureProvider,全局提供运行时版本号。 - 🗑️ 账号管理增强 — 支持删除已保存的失效账号,新增"重置登录状态"和"清除所有账号数据"危险操作入口。
- 📊 账号状态可视化 — 账号列表区分显示活跃、可切换、需重新登录等状态。
Infrastructure / 基础设施
- 新增
app_version_test.dart、account_management_test.dart单元测试 - 更新
account_isolation_test.dart适配新的switchToAccount返回类型
📖 使用说明 / Usage
- 下载对应平台的安装包 / Download the package for your platform
- 安装并启动 TrustRAG / Install and launch TrustRAG
- 创建工作区,上传文档,开始提问 / Create a workspace, upload documents, start asking questions
⚠️ macOS 用户注意:应用未经 Apple 签名,首次打开需右键选择"打开",或在"系统设置 > 隐私与安全性"中允许运行。
⚠️ macOS users: The app is not signed by Apple. Right-click and select "Open" for first launch, or allow in "System Settings > Privacy & Security".
Full Changelog: v0.2.5-beta.6...v0.2.7-beta.1