A full-featured download manager.
chore(release): prepare 2.0.0-beta.24 (#1940)
Dr_rOot7a6f381cd19a
diff --git a/README.md b/README.mdindex efc18346..c4efe700 100644--- a/README.md+++ b/README.md@@ -22,8 +22,8 @@ The same core powers two ways to run Motrix:## 🧪 Beta testingMotrix Turbo v2 is currently in beta. After its remaining release gates pass,-download [v2.0.0-beta.23 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.23)-and read the [full release notes](./docs/release-notes/2.0.0-beta.23.md) before+download [v2.0.0-beta.24 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.24)+and read the [full release notes](./docs/release-notes/2.0.0-beta.24.md) beforeinstalling it.Back up your existing Motrix data and downloads before testing. Migration from@@ -162,7 +162,7 @@ downloaded resources:```bashmkdir -p motrix-data downloadssudo chown 1000:1000 motrix-data downloads-export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.23'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.24'export MOTRIX_PUBLIC_URL='http://nas.example.lan:8080'docker compose pull serverdocker compose up -d --waitdiff --git a/README.zh-CN.md b/README.zh-CN.mdindex 73a171c8..904b3dd8 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -22,8 +22,8 @@ Motrix 是一款界面简洁、功能丰富的桌面下载管理器,可处理## 🧪 Beta 测试Motrix Turbo v2 目前仍处于 beta 阶段。剩余发布门禁通过后,请从 GitHub Releases-下载 [v2.0.0-beta.23](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.23),-并在安装前阅读[完整发布说明](./docs/release-notes/2.0.0-beta.23.zh-CN.md)。+下载 [v2.0.0-beta.24](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.24),+并在安装前阅读[完整发布说明](./docs/release-notes/2.0.0-beta.24.zh-CN.md)。测试前请备份现有 Motrix 数据和下载文件。Motrix v1 数据的迁移路径尚未经过验证,请勿让本 beta 使用您唯一一份 v1 数据。条件允许时,建议通过独立的系统@@ -153,7 +153,7 @@ Beta 只发布不可变的版本 tag,不会更新 `latest`;仓库的 `compos```bashmkdir -p motrix-data downloadssudo chown 1000:1000 motrix-data downloads-export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.23'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.24'export MOTRIX_PUBLIC_URL='http://nas.example.lan:8080'docker compose pull serverdocker compose up -d --waitdiff --git a/docs/release-notes/2.0.0-beta.24.md b/docs/release-notes/2.0.0-beta.24.mdnew file mode 100644index 00000000..e4f153bd--- /dev/null+++ b/docs/release-notes/2.0.0-beta.24.md@@ -0,0 +1,100 @@+# Motrix 2.0.0-beta.24++English | [简体中文](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.24/docs/release-notes/2.0.0-beta.24.zh-CN.md)++Motrix 2.0.0-beta.24 strengthens BitTorrent and Magnet task identity, recovery,+and storage safety; modernizes AppImage distribution; and refines several+desktop controls. It is intended for public distribution only after every+protected release gate passes.++## Highlights++- BitTorrent payloads now use a fixed-length internal staging workspace with+ validated per-file output mappings. Final names are restored after+ completion, and failed Magnet metadata resolution can be retried safely with+ a fresh engine task ([#1930](https://github.com/agalwood/Motrix/issues/1930),+ [#1932](https://github.com/agalwood/Motrix/pull/1932)).+- Magnet-to-BT conversion immediately persists aria2's authoritative file+ paths, sizes, and selection state. Domain file indexes consistently remain+ zero-based, including restore and reseed paths+ ([#1934](https://github.com/agalwood/Motrix/issues/1934),+ [#1937](https://github.com/agalwood/Motrix/pull/1937)).+- Re-adding the same torrent now compares its info hash, destination, and file+ selection. Motrix reuses or focuses a compatible task, verifies completed+ data before reuse, and reports explicit conflicts for incompatible copies or+ leftover files instead of silently downloading a numbered duplicate. The+ internal staging path no longer leaks a bare aria2 GID+ ([#1939](https://github.com/agalwood/Motrix/pull/1939)).+- AppImages now use static x64 and arm64 runtimes, include native zsync update+ metadata, and support extraction on current Linux systems without depending+ on FUSE 2 ([#1898](https://github.com/agalwood/Motrix/issues/1898),+ [#1899](https://github.com/agalwood/Motrix/issues/1899),+ [#1933](https://github.com/agalwood/Motrix/pull/1933)).+- Windows caption controls use compact Chromium-inspired glyphs and stay in+ sync when the window is maximized, restored, or resized+ ([#1925](https://github.com/agalwood/Motrix/issues/1925),+ [#1935](https://github.com/agalwood/Motrix/pull/1935)).+- The activity heatmap omits a partial leading month label when it would+ overlap the next month ([#1936](https://github.com/agalwood/Motrix/issues/1936),+ [#1938](https://github.com/agalwood/Motrix/pull/1938)).+- New Task file-type filters now show consistent tooltips+ ([#1939](https://github.com/agalwood/Motrix/pull/1939)).++## Before testing++This is prerelease software. Back up existing Motrix application data and+downloads before installing it. Migration from Motrix v1 data has not yet been+validated, so do not use your only copy of v1 data with this beta.++When practical, test v2 in parallel using a separate OS account, machine, or+Docker data directory. Do not rely on this beta for your only copy of important+downloads.++For BitTorrent testing, add the same Magnet link more than once with matching+and different destinations or file selections. Confirm that compatible tasks+are reused, incompatible copies require an explicit choice, and completed data+is checked before reuse. Historical tasks with empty file metadata can only be+repaired while aria2 still retains their result; otherwise remove the old task+and re-add the Magnet link. On Linux, also verify AppImage extraction, desktop+integration, and update checks on the architectures you use.++## Planned downloads after release gates pass++| Distribution | Architectures | Planned output |+|--------------|---------------|----------------|+| macOS 12 or later | `arm64` (Apple Silicon), `x64` (Intel) | DMG and ZIP |+| Windows | `x64` | Unsigned NSIS installer (`.exe`) and ZIP |+| Linux | `x64`, `arm64` | AppImage, DEB, and RPM |+| Flatpak Native Host companion | `linux/x64`, `linux/arm64` | `Motrix-Native-Host-2.0.0-beta.24-linux-<arch>.tar.gz` |+| Docker Hub / GHCR | `linux/amd64`, `linux/arm64` | Immutable `2.0.0-beta.24` tag in both registries |+| Snap Store | — | Not published for this beta |++After every container gate passes, the versioned image references will be+`docker.io/motrixapp/motrix-server:2.0.0-beta.24` and+`ghcr.io/agalwood/motrix-server:2.0.0-beta.24`. See the+[Docker Server deployment guide](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.24/docs/docker-server.md)+for storage, networking, and upgrade guidance.++## Distribution notes++- AppImage desktop integration is opt-in and confined to the current user's+ XDG data directory. Browser-extension hand-off is not yet available from the+ AppImage package because its Native Messaging host does not have a stable+ path outside the mounted image.+- Flatpak is validated separately and is not published by the release tag; the+ GitHub prerelease includes its Native Host companion archives.+- Windows `arm64` and all 32-bit packages are not available.+- Windows packages are unsigned and may trigger a Windows SmartScreen warning.+ Download them only from the official GitHub prerelease after it is published.+- Beta container tags are immutable and do not update `latest`, `stable`, or+ other stable floating tags.+- Snap is not published for this beta. Prerelease Snap runs stop after source+ validation, so they do not build Snap artifacts, upload Store revisions, or+ change `latest/edge`.++## Feedback++Please report reproducible problems through+[GitHub Issues](https://github.com/agalwood/Motrix/issues). Include your+operating system, architecture, package type, and the steps needed to reproduce+the issue.diff --git a/docs/release-notes/2.0.0-beta.24.zh-CN.md b/docs/release-notes/2.0.0-beta.24.zh-CN.mdnew file mode 100644index 00000000..029c9dd1--- /dev/null+++ b/docs/release-notes/2.0.0-beta.24.zh-CN.md@@ -0,0 +1,84 @@+# Motrix 2.0.0-beta.24++[English](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.24/docs/release-notes/2.0.0-beta.24.md) | 简体中文++Motrix 2.0.0-beta.24 强化了 BitTorrent 与 Magnet 任务的身份识别、恢复和存储安全,+更新了 AppImage 分发方式,并改进了多处桌面控件。只有在全部受保护发布门禁通过后,+本版本才适合公开分发。++## 主要改进++- BitTorrent 内容现在使用长度固定的内部暂存工作区,并通过经过验证的逐文件输出映射+ 避免过长路径。任务完成后会恢复最终名称;Magnet 元数据解析失败时,也可以使用新的+ 引擎任务安全重试([#1930](https://github.com/agalwood/Motrix/issues/1930)、+ [#1932](https://github.com/agalwood/Motrix/pull/1932))。+- Magnet 转换为 BT 后,会立即持久化 aria2 返回的真实文件路径、大小和选择状态。+ 领域层文件索引统一为从零开始,恢复和重新做种路径也遵循相同约定+ ([#1934](https://github.com/agalwood/Motrix/issues/1934)、+ [#1937](https://github.com/agalwood/Motrix/pull/1937))。+- 再次添加相同种子时,Motrix 会综合比较 info hash、下载目录和选中文件集合。+ 兼容的现有任务会被复用或聚焦,已完成的数据会先经过完整性校验;目录、选择集合不兼容+ 或磁盘仍有遗留文件时,会显示明确冲突,而不是静默创建带编号的重复下载。内部暂存路径+ 也不会再向用户暴露裸 aria2 GID([#1939](https://github.com/agalwood/Motrix/pull/1939))。+- AppImage 现在使用 x64 与 arm64 静态运行时,包含原生 zsync 更新元数据,并可在当前+ Linux 系统上不依赖 FUSE 2 完成提取+ ([#1898](https://github.com/agalwood/Motrix/issues/1898)、+ [#1899](https://github.com/agalwood/Motrix/issues/1899)、+ [#1933](https://github.com/agalwood/Motrix/pull/1933))。+- Windows 标题栏按钮改用紧凑的 Chromium 风格图标,并会在窗口最大化、还原和手动调整+ 大小时保持状态同步([#1925](https://github.com/agalwood/Motrix/issues/1925)、+ [#1935](https://github.com/agalwood/Motrix/pull/1935))。+- 活动热力图会在月初残缺标签与下一个月份重叠时省略该标签+ ([#1936](https://github.com/agalwood/Motrix/issues/1936)、+ [#1938](https://github.com/agalwood/Motrix/pull/1938))。+- 新建任务中的文件类型筛选按钮增加了统一的悬停提示+ ([#1939](https://github.com/agalwood/Motrix/pull/1939))。++## 测试前须知++这是预发布软件。安装前请备份现有 Motrix 应用数据和下载文件。Motrix v1 数据的迁移路径+尚未经过验证,请勿让本 beta 使用您唯一的一份 v1 数据。++条件允许时,请使用独立的操作系统账号、设备或 Docker 数据目录并行测试 v2。不要依赖+本 beta 保存唯一一份重要下载内容。++测试 BitTorrent 时,请使用相同与不同的下载目录或文件选择,重复添加同一个 Magnet。+确认兼容任务会被复用,不兼容副本需要明确选择,并且已完成的数据会在复用前接受校验。+历史任务如果只保存了空文件元数据,只有在 aria2 仍保留对应结果时才能修复;否则需要+删除旧任务并重新添加 Magnet。Linux 用户还应在实际使用的架构上验证 AppImage 提取、+桌面集成和更新检查。++## 发布门禁通过后计划提供的下载++| 分发方式 | 架构 | 计划产物 |+|---------|------|---------|+| macOS 12 或更高版本 | `arm64`(Apple Silicon)、`x64`(Intel) | DMG 和 ZIP |+| Windows | `x64` | 未签名 NSIS 安装程序(`.exe`)和 ZIP |+| Linux | `x64`、`arm64` | AppImage、DEB 和 RPM |+| Flatpak Native Host companion | `linux/x64`、`linux/arm64` | `Motrix-Native-Host-2.0.0-beta.24-linux-<arch>.tar.gz` |+| Docker Hub / GHCR | `linux/amd64`、`linux/arm64` | 两个仓库中的不可变 `2.0.0-beta.24` 标签 |+| Snap Store | — | 本 beta 不发布 |++所有容器门禁通过后,可使用以下带版本镜像:+`docker.io/motrixapp/motrix-server:2.0.0-beta.24` 和+`ghcr.io/agalwood/motrix-server:2.0.0-beta.24`。存储、网络与升级说明请参阅+[Docker Server 部署指南](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.24/docs/docker-server.zh-CN.md)。++## 分发说明++- AppImage 桌面集成需要用户主动启用,且只会写入当前用户的 XDG 数据目录。由于 Native+ Messaging host 在挂载镜像之外没有稳定路径,浏览器扩展暂时无法向 AppImage 安装包+ 转交下载任务。+- Flatpak 单独验证,不由 release tag 发布;GitHub 预发布版会包含它的 Native Host+ companion 压缩包。+- 不提供 Windows `arm64` 和所有 32 位安装包。+- Windows 安装包未签名,可能触发 Windows SmartScreen 警告。请仅从官方 GitHub+ 预发布版下载。+- Beta 容器标签不可变,也不会更新 `latest`、`stable` 或其他稳定通道浮动标签。+- 本 beta 不发布 Snap。预发布 Snap 流程会在 source validation 后停止,不会构建或+ 上传 Snap 产物,也不会改动 `latest/edge`。++## 反馈++如遇到可复现的问题,请通过 [GitHub Issues](https://github.com/agalwood/Motrix/issues)+反馈,并附上操作系统、架构、安装包类型和复现步骤。diff --git a/flatpak/app.motrix.native.metainfo.xml b/flatpak/app.motrix.native.metainfo.xmlindex 3e98ee3a..b7ae919c 100644--- a/flatpak/app.motrix.native.metainfo.xml+++ b/flatpak/app.motrix.native.metainfo.xml@@ -76,6 +76,17 @@<releases><!-- Update this list on every release; Flathub linter requires the mostrecent version listed here to match the manifest's source tag. -->+ <release version="2.0.0-beta.24" date="2026-08-24">+ <description>+ <p>+ BitTorrent and Magnet tasks now preserve authoritative file metadata,+ avoid long staging paths, and reuse compatible existing content while+ reporting explicit destination or selection conflicts. AppImage+ delivery, Windows caption controls, activity labels, and New Task+ file-filter tooltips are also improved.+ </p>+ </description>+ </release><release version="2.0.0-beta.23" date="2026-08-23"><description><p>diff --git a/package.json b/package.jsonindex 633b0f14..edc55a2c 100644--- a/package.json+++ b/package.json@@ -3,7 +3,7 @@"type": "module","productName": "Motrix","homepage": "https://motrix.app",- "version": "2.0.0-beta.23",+ "version": "2.0.0-beta.24","packageManager": "[email protected]+sha512.1ff870c4c6133dfd88fb2afc46dd13d47f09c9794b438c6fdb47ca98caf3bc16381ee0be93a091b8e3824cf01f889f46d7d9e20910fb0be1ab0fb5baa80dd621","description": "A full-featured download manager","keywords": [],