A full-featured download manager.
chore(release): prepare 2.0.0-beta.51 (#2401)
Dr_rOot4c866298fcdc
diff --git a/README.md b/README.mdindex b376bd12..b014da64 100644--- a/README.md+++ b/README.md@@ -22,15 +22,15 @@ 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.50 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.50)-and read the [full release notes](./docs/release-notes/2.0.0-beta.50.md) before+download [v2.0.0-beta.51 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.51)+and read the [full release notes](./docs/release-notes/2.0.0-beta.51.md) beforeinstalling it.Back up your existing Motrix data and downloads before testing. The desktopMigration Assistant imports selected v1 tasks as paused records and preservesthe original files. Resuming downloads requires a separate explicit action.-Windows in-place BT activation requires a build with the native migration-capable-engine; the beta.50 package does not include it. See the+This beta bundles aria2 1.37.0-motrix.18, enabling Windows in-place BT+activation on supported local NTFS volumes with explicit authorization. See the[migration guide](./docs/legacy-migration.md) for supported volumes, file permissions,and recovery. Keep a backup of the v1 profile and the engine's pre-upgrade databasesnapshot. When practical, test v2 in parallel using a separate OS account,@@ -185,7 +185,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.50'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.51'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 abf3cd73..eb8f78f9 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -22,12 +22,12 @@ Motrix 是一款界面简洁、功能丰富的桌面下载管理器,可处理## 🧪 Beta 测试Motrix Turbo v2 目前仍处于 beta 阶段。剩余发布门禁通过后,请从 GitHub Releases-下载 [v2.0.0-beta.50](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.50),-并在安装前阅读[完整发布说明](./docs/release-notes/2.0.0-beta.50.zh-CN.md)。+下载 [v2.0.0-beta.51](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.51),+并在安装前阅读[完整发布说明](./docs/release-notes/2.0.0-beta.51.zh-CN.md)。测试前请备份现有 Motrix 数据和下载文件。桌面端迁移助手会将选中的 v1 任务-导入为暂停记录,并保留原文件;恢复下载需要单独明确操作。Windows 原位 BT-激活需要使用包含原生迁移能力引擎的构建,beta.50 安装包尚未包含该引擎。+导入为暂停记录,并保留原文件;恢复下载需要单独明确操作。本 beta 捆绑 aria2 1.37.0-motrix.18,+支持在符合条件的 Windows 本地 NTFS 卷上明确授权后原位激活 BT 任务。支持的磁盘类型、文件权限和恢复方式见[迁移指南](./docs/legacy-migration.zh-CN.md)。请保留 v1 配置和引擎升级前数据库快照的备份。条件允许时,建议通过独立的系统账户、设备或 Docker 数据目录与现有环境并行测试 v2。@@ -173,7 +173,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.50'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.51'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.51.md b/docs/release-notes/2.0.0-beta.51.mdnew file mode 100644index 00000000..e7641c37--- /dev/null+++ b/docs/release-notes/2.0.0-beta.51.md@@ -0,0 +1,103 @@+# Motrix 2.0.0-beta.51++English | [简体中文](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.51/docs/release-notes/2.0.0-beta.51.zh-CN.md)++Motrix 2.0.0-beta.51 enables Windows legacy BitTorrent recovery with the bundled+aria2 1.37.0-motrix.18, fixes Windows task paths and closing animations, and adds+terminal-based Extension pairing for Server operators.++## Highlights++- Windows can activate imported legacy BT tasks using native checkpoint and+ torrent metadata recovery. The bundled aria2 1.37.0-motrix.18 provides the+ required capabilities; the app preserves path identity, original file+ selection, durable authorization, and recovery after a lost response or+ restart. Native Windows consumer tests passed on Windows 2022 x64 and+ Windows 2025 x64/ia32; the Motrix desktop package remains x64 only+ ([#2397](https://github.com/agalwood/Motrix/pull/2397),+ [#2399](https://github.com/agalwood/Motrix/pull/2399)).+- Windows task paths use consistent native separators when displayed or copied.+ Opening files and revealing them in Explorer handles repeated separators,+ drive roots, and UNC paths, including existing task records+ ([#2395](https://github.com/agalwood/Motrix/pull/2395)).+- Closing menus, dialogs, and task forms preserves their visible content and+ dimensions through the exit animation while immediately disabling actions.+ Switching activity charts between recent and lifetime ranges no longer+ replays the previous scale animation on the next sample. Rapidly reopened+ plugin input dialogs reject stale file preparation results+ ([#2396](https://github.com/agalwood/Motrix/pull/2396)).+- Server Extension pairing no longer requires `MOTRIX_PUBLIC_URL` when the+ WS/WSS endpoint is fully configured. An authenticated operator can use+ `motrix-admin extension pair` in an interactive local terminal to select a+ pending request and view its short-lived code. Users still enter the code in+ the Extension to authorize pairing. Redirected/JSON code output is refused;+ Web delivery retains its HTTPS or explicit HTTP-consent requirements.+ Operator CLI translations also avoid duplicating complete application+ catalogs in the Server bundle+ ([#2400](https://github.com/agalwood/Motrix/pull/2400)).++## Before testing++Back up the v1 profile and downloads, close the old app, and review the selected+tasks. Migration imports paused records and does not start transfers or change+original files. BT activation requires the original torrent metadata, original+file selection and directory, and explicit authorization. Existing pieces are+checked before transfer; after a restart, explicitly resume the paused task.++Windows progress recovery requires a local fixed NTFS volume and appropriate+file ownership and permissions. Network shares, FAT/exFAT, junctions, symlinks,+cloud reparse points, hard-linked files, alternate data streams, and aliased+paths are refused. HTTP records still download into a separate directory; the+assistant does not reuse historical HTTP bytes in place. See the+[migration guide](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.51/docs/legacy-migration.md)+for the exact requirements and recovery behavior. Retain the engine's+pre-schema5 database backup when upgrading.++Explorer behavior on a real Windows SMB share and native fnOS acceptance remain+unverified. Full Chromium Extension download-submission E2E still encounters a+baseline `download.rejected` failure with the available production Extension;+this release does not claim that suite passes. Server protocol and real HTTP+pairing/reconnect tests passed.++After the protected Snap workflow completes, install the strictly confined build+with `sudo snap install motrix --edge`. Installations tracking `latest/edge`+should upgrade to the beta.51 revision set.++## Planned downloads after release gates pass++| Distribution | Architectures | Planned output |+|--------------|---------------|----------------|+| macOS 13 or later | `arm64` (Apple Silicon), `x64` (Intel) | Signed and notarized DMG and ZIP |+| Windows | `x64` | Unsigned NSIS installer (`.exe`) and ZIP |+| Linux | `x64`, `arm64` | AppImage, DEB, RPM, and pacman |+| Flatpak application | `x86_64`, `aarch64` | `Motrix-2.0.0-beta.51-<arch>.flatpak` |+| Flatpak Native Host companion | `linux/x64`, `linux/arm64` | `Motrix-Native-Host-2.0.0-beta.51-linux-<arch>.tar.gz` |+| Docker Hub / GHCR | `linux/amd64`, `linux/arm64` | Immutable `2.0.0-beta.51` tag in both registries |+| Snap Store | `amd64`, `arm64` | Verified build set on `latest/edge` |++After every container gate passes, use+`docker.io/motrixapp/motrix-server:2.0.0-beta.51` or+`ghcr.io/agalwood/motrix-server:2.0.0-beta.51`. See the+[Docker Server guide](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.51/docs/docker-server.md)+for storage, networking, and upgrades.++## Distribution notes++- Flatpak bundles use application ID `app.motrix.native` and the `beta` branch.+ Install each new bundle with `flatpak install --user --or-update`; these files+ do not configure a Motrix update remote. Update the Native Host companion+ separately. See the [Flatpak guide](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.51/docs/flatpak.md).+- AppImage desktop integration remains opt-in. Browser cold launch requires the+ separately enabled Native Messaging host and a registered AppImage path;+ reconnecting to a saved pairing also requires a compatible Extension.+- Windows `arm64` and all 32-bit app packages are unavailable. Windows packages+ are unsigned and may trigger SmartScreen; use the official published GitHub+ prerelease.+- Beta container tags are immutable and do not change `latest`, `stable`, or+ other stable-channel aliases. Snap publication updates `latest/edge` only.++## Feedback++Report reproducible problems through+[GitHub Issues](https://github.com/agalwood/Motrix/issues), including your OS,+architecture, package type and reproduction steps.diff --git a/docs/release-notes/2.0.0-beta.51.zh-CN.md b/docs/release-notes/2.0.0-beta.51.zh-CN.mdnew file mode 100644index 00000000..4f265693--- /dev/null+++ b/docs/release-notes/2.0.0-beta.51.zh-CN.md@@ -0,0 +1,47 @@+# Motrix 2.0.0-beta.51++[English](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.51/docs/release-notes/2.0.0-beta.51.md) | 简体中文++Motrix 2.0.0-beta.51 捆绑 aria2 1.37.0-motrix.18,支持 Windows 旧版 BitTorrent 进度恢复,修复 Windows 任务路径和关闭动画,并为 Server 管理员增加终端扩展配对。++## 主要改进++- Windows 可通过原生 checkpoint 和 torrent 元数据恢复能力激活已导入的旧版 BT 任务。捆绑的 aria2 1.37.0-motrix.18 提供所需能力,应用保留路径身份、原始文件选择、持久化授权,以及响应丢失或重启后的恢复。原生 Windows 消费端测试已在 Windows 2022 x64、Windows 2025 x64/ia32 上通过;Motrix 桌面安装包仍仅提供 x64([#2397](https://github.com/agalwood/Motrix/pull/2397)、[#2399](https://github.com/agalwood/Motrix/pull/2399))。+- Windows 任务路径在显示和复制时统一使用原生分隔符。打开文件或在资源管理器中定位时,正确处理重复分隔符、磁盘根目录和 UNC 路径,已有任务同样生效([#2395](https://github.com/agalwood/Motrix/pull/2395))。+- 菜单、对话框和任务表单在关闭动画期间保持内容与尺寸稳定,同时立即停用操作。活动图表在最近与完整历史范围之间切换后,下一个样本不会重播旧范围的缩放动画。快速重新打开插件输入对话框时,会拒绝先前会话迟到的文件准备结果([#2396](https://github.com/agalwood/Motrix/pull/2396))。+- 完整配置 WS/WSS 端点后,Server 扩展配对不再强制要求 `MOTRIX_PUBLIC_URL`。经过鉴权的管理员可在本机交互式终端运行 `motrix-admin extension pair`,选择待处理请求并查看短期配对码;用户仍须在扩展中输入该码完成授权。配对码拒绝通过重定向或 JSON 输出,Web 分发仍要求 HTTPS 或明确授权使用 HTTP。管理员 CLI 翻译也不再将完整应用语言目录重复打包进 Server([#2400](https://github.com/agalwood/Motrix/pull/2400))。++## 测试前须知++请备份 v1 配置和下载文件,关闭旧版应用,并核对所选任务。迁移仅导入暂停记录,不会开始传输或修改原文件。BT 激活需要原始 torrent 元数据、原始文件选择和目录,以及明确授权。传输前会校验已有分片;重启后需明确恢复暂停的任务。++Windows 进度恢复要求本地固定 NTFS 卷,以及符合要求的文件所有权和权限。网络共享、FAT/exFAT、junction、符号链接、云盘 reparse point、硬链接文件、备用数据流和别名路径会被拒绝。HTTP 记录仍下载到独立目录,迁移助手不会在原位置复用历史 HTTP 数据。具体要求与恢复行为见[迁移指南](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.51/docs/legacy-migration.zh-CN.md)。升级旧数据库时请保留引擎的 pre-schema5 备份。++真实 Windows SMB 共享上的资源管理器行为和原生 fnOS 验收仍未完成。完整 Chromium 扩展下载提交 E2E 在可用的生产扩展构建上仍遇到基线已有的 `download.rejected` 失败,本版本不宣称该套件通过;Server 协议及真实 HTTP 配对、重连测试已通过。++受保护的 Snap 工作流完成后,可用 `sudo snap install motrix --edge` 安装严格沙箱版本。跟随 `latest/edge` 的安装应更新到 beta.51 对应的修订集合。++## 发布门禁通过后的计划下载++| 发行形式 | 架构 | 计划产物 |+|----------|------|----------|+| macOS 13 及以上 | `arm64`(Apple Silicon)、`x64`(Intel) | 已签名并公证的 DMG 和 ZIP |+| Windows | `x64` | 未签名的 NSIS 安装程序(`.exe`)和 ZIP |+| Linux | `x64`、`arm64` | AppImage、DEB、RPM 和 pacman |+| Flatpak 应用 | `x86_64`、`aarch64` | `Motrix-2.0.0-beta.51-<arch>.flatpak` |+| Flatpak Native Host 配套包 | `linux/x64`、`linux/arm64` | `Motrix-Native-Host-2.0.0-beta.51-linux-<arch>.tar.gz` |+| Docker Hub / GHCR | `linux/amd64`、`linux/arm64` | 两个仓库中的不可变 `2.0.0-beta.51` 标签 |+| Snap Store | `amd64`、`arm64` | `latest/edge` 上经过验证的构建集合 |++容器门禁全部通过后,使用 `docker.io/motrixapp/motrix-server:2.0.0-beta.51` 或 `ghcr.io/agalwood/motrix-server:2.0.0-beta.51`。存储、网络和升级说明见 [Docker Server 指南](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.51/docs/docker-server.zh-CN.md)。++## 发行说明++- Flatpak 使用应用 ID `app.motrix.native` 和 `beta` 分支。新包通过 `flatpak install --user --or-update` 安装;单个包文件不会配置 Motrix 更新源。Native Host 配套包需要单独更新,详见 [Flatpak 指南](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.51/docs/flatpak.zh-CN.md)。+- AppImage 桌面集成仍由用户选择启用。浏览器冷启动需要单独启用 Native Messaging host 并注册 AppImage 路径;恢复已有配对还需要兼容的 Extension。+- 尚无 Windows `arm64` 或任何 32 位应用包。Windows 包未签名,可能触发 SmartScreen,请从官方公开的 GitHub 预发布页面下载。+- beta 容器标签不可变,不更新 `latest`、`stable` 或其他稳定通道别名。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 a38f75d8..eb301327 100644--- a/flatpak/app.motrix.native.metainfo.xml+++ b/flatpak/app.motrix.native.metainfo.xml@@ -68,6 +68,15 @@</screenshots><releases>+ <release version="2.0.0-beta.51" date="2026-10-20">+ <description>+ <p>+ Bundles aria2 motrix.18 for native Windows legacy BT recovery,+ normalizes Windows task paths, prevents overlay exit flicker and+ chart range replay, and adds terminal-based Server extension pairing.+ </p>+ </description>+ </release><release version="2.0.0-beta.50" date="2026-10-20"><description><p>diff --git a/package.json b/package.jsonindex 89a16469..e6ffd3bd 100644--- a/package.json+++ b/package.json@@ -3,7 +3,7 @@"type": "module","productName": "Motrix","homepage": "https://motrix.app",- "version": "2.0.0-beta.50",+ "version": "2.0.0-beta.51","packageManager": "[email protected]+sha512.ba40a37eb1a370d60fea8c4cf1d364c13bcccef518e98ad2bcee954f539d38da37458e58261a3fa55e06523450ea0ffff9f497b135be41f2c15c1642bacace6c","description": "A full-featured download manager","keywords": [],