A full-featured download manager.
chore(release): prepare 2.0.0 (#2408)
Dr_rOot954e62cef481
diff --git a/README.md b/README.mdindex d1e3c750..de6dee20 100644--- a/README.md+++ b/README.md@@ -19,23 +19,19 @@ The same core powers two ways to run Motrix:- **Desktop app:** Runs on macOS, Windows, and Linux- **Headless server:** Runs without a desktop environment, either directly on Node.js or in Docker, and includes a web UI for NAS devices and home servers-## 🧪 Beta testing+## Motrix 2.0.0-Motrix Turbo v2 is currently in beta. After its remaining release gates pass,-download [v2.0.0-beta.52 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.52)-and read the [full release notes](./docs/release-notes/2.0.0-beta.52.md) before-installing it.+Motrix 2.0.0 is the first stable release of the rebuilt desktop app and+headless server. Download [v2.0.0 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.0.0)+and read the [full release notes](./docs/release-notes/2.0.0.md).-Back up your existing Motrix data and downloads before testing. The desktop+Back up your existing Motrix profile and downloads before upgrading. The desktopMigration Assistant imports selected v1 tasks as paused records and preservesthe original files. Resuming downloads requires a separate explicit action.-This beta adds native Windows ARM64 packages with aria2 1.37.0-motrix.19.-Windows in-place BT activation remains available 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 database-snapshot. When practical, test v2 in parallel using a separate OS account,-machine, or Docker data directory.+Windows in-place BitTorrent activation requires a supported local NTFS volume+and explicit authorization. See the [migration guide](./docs/legacy-migration.md)+for supported volumes, file permissions, and recovery. Keep the v1 profile and+the engine's pre-upgrade database backup.## Screenshots@@ -139,17 +135,17 @@ For installation and pairing, see the [browser extension guide](https://motrix.aDownload Motrix from [motrix.app](https://motrix.app) and choose the package for your operating system. Most Mac users should choose the Apple Silicon build; Intel builds are available for older Macs with Intel processors.-After the remaining release gates pass, the current beta desktop packages-will be distributed through the GitHub prerelease linked above. The protected-release tag also publishes verified Snap builds to `latest/edge`. Choose the-package that matches your operating system and architecture:+Desktop packages are available from the GitHub Release linked above. Snap+builds pass through `latest/edge` and `latest/candidate` before promotion to+`latest/stable`. Choose the package that matches your operating system and+architecture:| Platform | Architectures | Packages / channel | Recommendation ||----------|---------------|--------------------|----------------|| macOS 13+ | `arm64` (Apple Silicon), `x64` (Intel) | `.dmg` / `.zip` | Use the `.dmg` matching your Mac; choose `x64` only for an Intel-based Mac |-| Windows | `x64`, `arm64` | `.exe` (NSIS installer) / `.zip` | Use the `.exe` installer for a normal installation or `.zip` for a manually extracted copy |+| Windows 10+ | `x64`, `arm64` | `.exe` (NSIS installer) / `.zip` | Use the `.exe` installer for a normal installation or `.zip` for a manually extracted copy || Linux | `x64`, `arm64` | `.AppImage` / `.deb` / `.rpm` | Use the portable `.AppImage` on any distribution, `.deb` on Debian or Ubuntu, or `.rpm` on Fedora or openSUSE |-| Linux (Snap Store) | `amd64`, `arm64` | `latest/edge` | Install the strictly confined beta with `sudo snap install motrix --edge` |+| Linux (Snap Store) | `amd64`, `arm64` | `latest/stable` | Install the strictly confined package with `sudo snap install motrix` after stable promotion || Linux (Flatpak) | `x86_64`, `aarch64` | `.flatpak` | Install a versioned bundle from a release that includes it; see the [Flatpak guide](docs/flatpak.md) || Arch Linux / Omarchy | `x64`, `arm64` | `.pacman` | Install the native Arch package with `sudo pacman -U ./Motrix-<version>-<arch>.pacman`; see the [Arch installation guide](docs/arch-linux.md) |@@ -180,14 +176,14 @@ You can also install it from Settings → Integration → Command-line tools in### Headless server with DockerTagged releases publish a multi-architecture Server image to Docker Hub and-GHCR. Beta releases publish only the immutable version tag and do not update-`latest`; the included `compose.yaml` keeps Server state separate from-downloaded resources:+GHCR. Stable releases also update `2.0`, `2`, `stable`, and `latest` after runtime+verification; beta releases publish only their immutable version tag. The+included `compose.yaml` keeps Server state separate from 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.52'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0'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 e7177031..7f3024e2 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -19,19 +19,17 @@ Motrix 是一款界面简洁、功能丰富的桌面下载管理器,可处理- **桌面应用**:可在 macOS、Windows 和 Linux 上运行;- **Headless server**:无需桌面环境,可直接使用 Node.js 运行或通过 Docker 部署,并提供 Web 界面,适合安装在 NAS 和家庭服务器上。-## 🧪 Beta 测试+## Motrix 2.0.0-Motrix Turbo v2 目前仍处于 beta 阶段。剩余发布门禁通过后,请从 GitHub Releases-下载 [v2.0.0-beta.52](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.52),-并在安装前阅读[完整发布说明](./docs/release-notes/2.0.0-beta.52.zh-CN.md)。+Motrix 2.0.0 是重新开发的桌面应用和 Headless server 的首个正式版。+从 GitHub Releases 下载 [v2.0.0](https://github.com/agalwood/Motrix/releases/tag/v2.0.0),+并阅读[完整发布说明](./docs/release-notes/2.0.0.zh-CN.md)。-测试前请备份现有 Motrix 数据和下载文件。桌面端迁移助手会将选中的 v1 任务-导入为暂停记录,并保留原文件;恢复下载需要单独明确操作。本 beta 新增 Windows-ARM64 原生安装包,捆绑 aria2 1.37.0-motrix.19。符合条件的 Windows 本地 NTFS 卷-仍支持在明确授权后原位激活 BT 任务。+升级前请备份现有 Motrix 配置和下载文件。桌面端迁移助手会将选中的 v1 任务+导入为暂停记录,并保留原文件;恢复下载需要单独明确操作。+Windows 原位激活 BitTorrent 任务要求使用受支持的本地 NTFS 卷,并明确授权。支持的磁盘类型、文件权限和恢复方式见[迁移指南](./docs/legacy-migration.zh-CN.md)。-请保留 v1 配置和引擎升级前数据库快照的备份。条件允许时,建议通过独立的系统-账户、设备或 Docker 数据目录与现有环境并行测试 v2。+请保留 v1 配置和引擎升级前数据库快照的备份。## 应用截图@@ -135,16 +133,16 @@ Motrix Extension 已上架官方浏览器扩展商店,配合 Motrix 2 使用访问 Motrix 官网 [motrix.app](https://motrix.app),选择对应操作系统的安装包。macOS 用户通常下载 Apple Silicon 版本即可;如果使用较早的 Intel 芯片 Mac,请选择 Intel 版本。-剩余发布门禁通过后,当前 beta 桌面安装包将通过上方链接的 GitHub 预发布版-提供。受保护的发布 tag 也会把验证过的 Snap 构建发布到-`latest/edge`。请根据操作系统和架构选择安装包:+桌面安装包通过上方链接的 GitHub Release 提供。Snap 构建先经过+`latest/edge` 和 `latest/candidate` 验证,再晋级到 `latest/stable`。+请根据操作系统和架构选择安装包:| 平台 | 架构 | 安装包 / 通道 | 选择建议 ||------|------|---------------|----------|| macOS 13+ | `arm64`(Apple Silicon)、`x64`(Intel) | `.dmg` / `.zip` | 选择与 Mac 架构匹配的 `.dmg`;仅 Intel Mac 使用 `x64` |-| Windows | `x64`、`arm64` | `.exe`(NSIS 安装包)/ `.zip` | 常规安装使用 `.exe`;`.zip` 可解压后手动运行 |+| Windows 10+ | `x64`、`arm64` | `.exe`(NSIS 安装包)/ `.zip` | 常规安装使用 `.exe`;`.zip` 可解压后手动运行 || Linux | `x64`、`arm64` | `.AppImage` / `.deb` / `.rpm` | 任意发行版可使用便携的 `.AppImage`,Debian 或 Ubuntu 使用 `.deb`,Fedora 或 openSUSE 使用 `.rpm` |-| Linux(Snap Store) | `amd64`、`arm64` | `latest/edge` | 使用 `sudo snap install motrix --edge` 安装严格限制的 beta |+| Linux(Snap Store) | `amd64`、`arm64` | `latest/stable` | 晋级 stable 后,使用 `sudo snap install motrix` 安装严格限制的安装包 || Linux(Flatpak) | `x86_64`、`aarch64` | `.flatpak` | 从包含该格式的 Release 下载对应版本的安装包,详见 [Flatpak 安装指南](docs/flatpak.zh-CN.md) || Arch Linux / Omarchy | `x64`、`arm64` | `.pacman` | 使用 `sudo pacman -U ./Motrix-<version>-<arch>.pacman` 安装原生 Arch 包,详见 [Arch 安装指南](docs/arch-linux.zh-CN.md) |@@ -169,13 +167,13 @@ npm install -g @motrix/cli### Headless server(Docker)带 tag 的版本会把多架构 Server 镜像发布到 Docker Hub 和 GHCR。-Beta 只发布不可变的版本 tag,不会更新 `latest`;仓库的 `compose.yaml`-会分别持久化 Server 状态与用户下载资源:+正式版通过运行验证后还会更新 `2.0`、`2`、`stable` 和 `latest`,beta 仅发布+不可变的版本 tag。仓库的 `compose.yaml` 会分别持久化 Server 状态与用户下载资源:```bashmkdir -p motrix-data downloadssudo chown 1000:1000 motrix-data downloads-export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.52'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0'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.md b/docs/release-notes/2.0.0.mdnew file mode 100644index 00000000..e01e07c3--- /dev/null+++ b/docs/release-notes/2.0.0.md@@ -0,0 +1,93 @@+# Motrix 2.0.0++English | [简体中文](https://github.com/agalwood/Motrix/blob/v2.0.0/docs/release-notes/2.0.0.zh-CN.md)++Motrix 2.0.0 is the first stable release of Motrix v2, rebuilt with Electron,+React, and TypeScript. It brings the desktop download manager and the headless+Server with a Web UI onto a shared download core.++## Highlights++- HTTP, FTP, BitTorrent, and magnet downloads with file selection, persistent+ sessions, tracker management, and configurable speed limits.+- A customizable dashboard, task activity charts, light and dark themes,+ system notifications, and an in-app notification center.+- Sandboxed plugins with explicit capabilities, an in-app plugin marketplace,+ and signed official plugins for filename templates and URL resolution.+- Browser integration through Motrix Extension and Native Messaging, plus the+ `@motrix/cli` command-line client and MDXP protocol for local and remote use.+- A headless Server for Docker, NAS, and home servers, with a Web UI and+ device-code pairing for remote CLI clients.+- Native x64 and ARM64 desktop packages on Windows, macOS, and Linux, bundling+ aria2 1.37.0-motrix.19. No 32-bit desktop packages are provided.++## Changes since beta.52++- New installations follow the system language by default; existing language+ preferences are preserved.+- Ordinary Windows download completion removes the temporary suffix without+ hashing the entire file. Copy and plugin-modified outputs retain content+ verification, and interrupted renames retain recovery checks.+- Updated desktop and Server dependencies, including Electron 45. Maximized+ windows restore their state after being shown, and dashboard transfer bars+ animate width changes.++## Downloads and update channels++| Distribution | Architectures | Output |+|--------------|---------------|--------|+| macOS 13 or later | `arm64`, `x64` | Signed and notarized DMG and ZIP |+| Windows 10+ | `x64`, `arm64` | Unsigned NSIS installer and ZIP |+| Linux | `x64`, `arm64` | AppImage, DEB, RPM, and pacman |+| Flatpak application | `x86_64`, `aarch64` | Versioned `.flatpak` bundle |+| Flatpak Native Host companion | `linux/x64`, `linux/arm64` | Versioned `.tar.gz` archive |+| Docker Hub / GHCR | `linux/amd64`, `linux/arm64` | Immutable `2.0.0` tag |+| Snap Store | `amd64`, `arm64` | Same verified revisions promoted through edge, candidate, and stable |++Windows packages are unsigned and may trigger SmartScreen. Download from the+official GitHub Release. Use `Motrix-Setup-2.0.0.exe` for x64 or+`Motrix-Setup-2.0.0-arm64.exe` for ARM64. An x64 installation on Windows ARM+stays on the x64 update path. Back up your profile and close Motrix before+switching architectures; do not run both builds against the same profile.++Stable publication updates both the `latest*.yml` and `beta*.yml` desktop+feeds to 2.0.0, allowing existing v2 beta installations to move to this release.+Flatpak bundles require manual updates with `flatpak install --user --or-update`;+update the Native Host companion separately. See the+[Flatpak guide](https://github.com/agalwood/Motrix/blob/v2.0.0/docs/flatpak.md).+Snap builds are initially published to `latest/edge` and promoted without+rebuilding. Once `latest/stable` promotion completes, install with+`sudo snap install motrix`.++Use `docker.io/motrixapp/motrix-server:2.0.0` or+`ghcr.io/agalwood/motrix-server:2.0.0`. The `2.0`, `2`, `stable`, and `latest`+aliases are promoted only after the immutable multi-platform images pass their+public runtime checks. See the+[Docker Server guide](https://github.com/agalwood/Motrix/blob/v2.0.0/docs/docker-server.md).++## Upgrading from Motrix v1 or a v2 beta++The stable update feed is also used by Motrix v1. Before accepting an update,+check the platform requirements above. Systems older than macOS 13, Windows 7/8/8.1, and all 32-bit Windows+installations cannot run this release and should keep their compatible version+until the operating system or hardware is upgraded.++Back up the profile and downloads before upgrading, and close the old app.+The desktop Migration Assistant imports selected v1 tasks as paused records;+importing alone does not start downloads or change the original files.+BitTorrent progress reuse requires the original metadata, original directory,+and explicit authorization. On Windows it requires a local fixed NTFS volume+and the ownership, path, and permission checks in the+[migration guide](https://github.com/agalwood/Motrix/blob/v2.0.0/docs/legacy-migration.md).+Imported HTTP records use a separate directory when activated.++Retain the engine's `*.pre-schema5-*.db` backup. An older engine cannot open+the upgraded database; use a verified backup in a separate path if a downgrade+is necessary.++## Verification limits++Real Windows SMB Explorer behavior, native fnOS acceptance, and the complete+Chromium Extension download-submission flow remain outside this release's+verified coverage. Report reproducible issues with your OS, architecture,+package type, and reproduction steps.diff --git a/docs/release-notes/2.0.0.zh-CN.md b/docs/release-notes/2.0.0.zh-CN.mdnew file mode 100644index 00000000..4bc3a59c--- /dev/null+++ b/docs/release-notes/2.0.0.zh-CN.md@@ -0,0 +1,80 @@+# Motrix 2.0.0++[English](https://github.com/agalwood/Motrix/blob/v2.0.0/docs/release-notes/2.0.0.md) | 简体中文++Motrix 2.0.0 是 Motrix v2 的首个正式版,使用 Electron、React 和 TypeScript+重新开发。桌面下载管理器与带 Web 界面的 Headless Server 使用同一套下载内核。++## 主要功能++- 支持 HTTP、FTP、BitTorrent 和磁力链接下载,提供文件选择、会话持久化、+ Tracker 管理和可配置的速度限制。+- 支持自定义仪表盘、任务活动图表、明暗主题、系统通知和应用内通知中心。+- 插件在沙箱中运行,使用明确的能力授权;提供应用内插件市场,以及用于文件名+ 模板和 URL 解析的已签名官方插件。+- 通过 Motrix Extension 和 Native Messaging 集成浏览器;提供 `@motrix/cli`+ 命令行客户端和 MDXP 协议,支持本地与远程使用。+- Headless Server 面向 Docker、NAS 和家庭服务器,提供 Web 界面,并支持远程+ CLI 客户端通过 device-code 配对。+- Windows、macOS 和 Linux 均提供原生 x64 与 ARM64 桌面安装包,捆绑+ aria2 1.37.0-motrix.19。不提供 32 位桌面安装包。++## 相比 beta.52 的变化++- 全新安装默认跟随系统语言,已有语言偏好保持不变。+- Windows 普通下载完成时,移除临时后缀不再需要对整个文件计算哈希。+ 复制和插件修改后的输出仍保留内容校验,中断的重命名仍执行恢复检查。+- 更新桌面端和 Server 依赖,包括 Electron 45。窗口显示后会恢复最大化状态,+ 仪表盘传输条的宽度变化增加过渡动画。++## 下载与更新通道++| 分发方式 | 架构 | 产物 |+|----------|------|------|+| macOS 13 及以上 | `arm64`、`x64` | 已签名并公证的 DMG 和 ZIP |+| Windows 10+ | `x64`、`arm64` | 未签名的 NSIS 安装程序和 ZIP |+| Linux | `x64`、`arm64` | AppImage、DEB、RPM 和 pacman |+| Flatpak 主程序 | `x86_64`、`aarch64` | 带版本号的 `.flatpak` 安装包 |+| Flatpak Native Host 配套程序 | `linux/x64`、`linux/arm64` | 带版本号的 `.tar.gz` 压缩包 |+| Docker Hub / GHCR | `linux/amd64`、`linux/arm64` | 不可变的 `2.0.0` 标签 |+| Snap Store | `amd64`、`arm64` | 同一组已验证 revision 依次晋级 edge、candidate 和 stable |++Windows 安装包未签名,可能触发 SmartScreen。请从官方 GitHub Release 下载。+x64 使用 `Motrix-Setup-2.0.0.exe`,ARM64 使用+`Motrix-Setup-2.0.0-arm64.exe`。Windows ARM 上已有的 x64 安装仍沿 x64 更新路径+升级。切换架构前请备份配置并关闭 Motrix,不要让两种架构同时使用同一份配置。++正式发布将桌面端的 `latest*.yml` 和 `beta*.yml` 更新清单一起更新到 2.0.0,+让已有的 v2 beta 安装也能升级到本版本。+Flatpak 安装包需要使用 `flatpak install --user --or-update` 手动更新,+Native Host 配套程序也需单独更新,详见+[Flatpak 指南](https://github.com/agalwood/Motrix/blob/v2.0.0/docs/flatpak.zh-CN.md)。+Snap 构建最初发布到 `latest/edge`,晋级时不重新构建。+`latest/stable` 晋级完成后,可使用 `sudo snap install motrix` 安装。++容器可使用 `docker.io/motrixapp/motrix-server:2.0.0` 或+`ghcr.io/agalwood/motrix-server:2.0.0`。只有不可变的多平台镜像通过公开运行检查后,+才会更新 `2.0`、`2`、`stable` 和 `latest` 别名。详见+[Docker Server 指南](https://github.com/agalwood/Motrix/blob/v2.0.0/docs/docker-server.zh-CN.md)。++## 从 Motrix v1 或 v2 beta 升级++Motrix v1 也使用同一稳定版更新源。接受更新前,请先确认满足上方的平台要求。+低于 macOS 13 的系统、Windows 7/8/8.1 和所有 32 位 Windows 均无法运行+本版本,请在升级操作系统或硬件前保留兼容版本。++升级前请备份配置和下载文件,并关闭旧应用。+桌面迁移助手会把选中的 v1 任务导入为暂停记录;仅导入不会启动下载或修改原文件。+复用 BitTorrent 进度需要原始元数据、原始目录和明确授权。Windows 要求使用本地+固定 NTFS 卷,并通过+[迁移指南](https://github.com/agalwood/Motrix/blob/v2.0.0/docs/legacy-migration.zh-CN.md)+中的所有权、路径和权限检查。导入的 HTTP 记录激活后会使用独立目录。++请保留引擎的 `*.pre-schema5-*.db` 备份。旧引擎无法打开升级后的数据库;+如需降级,请在独立路径中使用经过验证的备份。++## 验证范围限制++真实 Windows SMB Explorer 行为、原生 fnOS 验收和完整 Chromium Extension+下载提交流程仍不在本次发布已验证的覆盖范围内。反馈可复现问题时,请附上+操作系统、架构、安装包类型和复现步骤。diff --git a/flatpak/app.motrix.native.metainfo.xml b/flatpak/app.motrix.native.metainfo.xmlindex eb983af3..873c106f 100644--- a/flatpak/app.motrix.native.metainfo.xml+++ b/flatpak/app.motrix.native.metainfo.xml@@ -68,7 +68,19 @@</screenshots><releases>- <release version="2.0.0-beta.52" date="2026-10-21">+ <release version="2.0.0" date="2026-10-24">+ <description>+ <p>+ First stable release of the rebuilt desktop app and headless server,+ with native x64 and ARM64 packages, sandboxed plugins, browser and+ CLI integration, and an explicit migration path from Motrix v1.+ Improves Windows download finalization, system language selection,+ and maximized window restoration since beta.52.+ </p>+ </description>+ </release>+ <!-- AppStream uses ~ for prerelease ordering; Git tags retain -beta.N. -->+ <release type="development" version="2.0.0~beta.52" date="2026-10-21"><description><p>Adds native Windows ARM64 installers and portable archives with@@ -77,7 +89,7 @@</p></description></release>- <release version="2.0.0-beta.51" date="2026-10-20">+ <release type="development" version="2.0.0~beta.51" date="2026-10-20"><description><p>Bundles aria2 motrix.18 for native Windows legacy BT recovery,@@ -86,7 +98,7 @@</p></description></release>- <release version="2.0.0-beta.50" date="2026-10-20">+ <release type="development" version="2.0.0~beta.50" date="2026-10-20"><description><p>Adds live task activity charts and history navigation, torrent file@@ -96,7 +108,7 @@</p></description></release>- <release version="2.0.0-beta.49" date="2026-10-16">+ <release type="development" version="2.0.0~beta.49" date="2026-10-16"><description><p>Allows plugin installation before FFmpeg is configured, adds runtime@@ -105,7 +117,7 @@</p></description></release>- <release version="2.0.0-beta.48" date="2026-10-15">+ <release type="development" version="2.0.0~beta.48" date="2026-10-15"><description><p>Adds declarative plugin operations, task re-download, renderer@@ -114,7 +126,7 @@</p></description></release>- <release version="2.0.0-beta.47" date="2026-10-10">+ <release type="development" version="2.0.0~beta.47" date="2026-10-10"><description><p>Adds the desktop v1 Migration Assistant, signed official optional@@ -124,7 +136,7 @@</p></description></release>- <release version="2.0.0-beta.46" date="2026-10-02">+ <release type="development" version="2.0.0~beta.46" date="2026-10-02"><description><p>Adds verified FFmpeg installation with button progress and clearer@@ -134,7 +146,7 @@</p></description></release>- <release version="2.0.0-beta.45" date="2026-10-02">+ <release type="development" version="2.0.0~beta.45" date="2026-10-02"><description><p>Adds verified one-click FFmpeg installation, safe Motrix deep links,@@ -143,7 +155,7 @@</p></description></release>- <release version="2.0.0-beta.44" date="2026-09-29">+ <release type="development" version="2.0.0~beta.44" date="2026-09-29"><description><p>Distinguishes zero, unknown, and inapplicable download metrics,@@ -152,7 +164,7 @@</p></description></release>- <release version="2.0.0-beta.43" date="2026-09-29">+ <release type="development" version="2.0.0~beta.43" date="2026-09-29"><description><p>Packages the Safari desktop bootstrap in signed macOS builds,@@ -161,7 +173,7 @@</p></description></release>- <release version="2.0.0-beta.42" date="2026-09-29">+ <release type="development" version="2.0.0~beta.42" date="2026-09-29"><description><p>Adds recoverable Tracker refreshes and task updates, fixes desktop@@ -170,7 +182,7 @@</p></description></release>- <release version="2.0.0-beta.41" date="2026-09-27">+ <release type="development" version="2.0.0~beta.41" date="2026-09-27"><description><p>Adds 25 interface languages with right-to-left support, improves@@ -180,7 +192,7 @@</p></description></release>- <release version="2.0.0-beta.40" date="2026-09-21">+ <release type="development" version="2.0.0~beta.40" date="2026-09-21"><description><p>Improves Dashboard charts and task controls, defaults desktop file@@ -189,7 +201,7 @@</p></description></release>- <release version="2.0.0-beta.39" date="2026-09-15">+ <release type="development" version="2.0.0~beta.39" date="2026-09-15"><description><p>Adds a Server directory picker and application menu, improves download@@ -198,7 +210,7 @@</p></description></release>- <release version="2.0.0-beta.38" date="2026-09-13">+ <release type="development" version="2.0.0~beta.38" date="2026-09-13"><description><p>Preserves macOS menu-bar icon position, supports Windows SMB download@@ -207,7 +219,7 @@</p></description></release>- <release version="2.0.0-beta.36" date="2026-09-11">+ <release type="development" version="2.0.0~beta.36" date="2026-09-11"><description><p>Improves interrupted download finalization recovery, adds opt-in@@ -218,7 +230,7 @@</p></description></release>- <release version="2.0.0-beta.35" date="2026-09-08">+ <release type="development" version="2.0.0~beta.35" date="2026-09-08"><description><p>Improves download task controls, completion progress, and inspector@@ -227,7 +239,7 @@</p></description></release>- <release version="2.0.0-beta.34" date="2026-09-08">+ <release type="development" version="2.0.0~beta.34" date="2026-09-08"><description><p>Improves BitTorrent resilience when HTTP Web Seeds fail, gives slow@@ -237,7 +249,7 @@</p></description></release>- <release version="2.0.0-beta.33" date="2026-09-07">+ <release type="development" version="2.0.0~beta.33" date="2026-09-07"><description><p>Settings links to the published Chrome and Edge extensions, Firefox@@ -250,7 +262,7 @@</release><!-- 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.32" date="2026-09-05">+ <release type="development" version="2.0.0~beta.32" date="2026-09-05"><description><p>Restores Windows desktop and browser-extension startup after an@@ -259,7 +271,7 @@</p></description></release>- <release version="2.0.0-beta.31" date="2026-09-04">+ <release type="development" version="2.0.0~beta.31" date="2026-09-04"><description><p>Improves durable download finalization, Docker Extension startup,@@ -268,7 +280,7 @@</p></description></release>- <release version="2.0.0-beta.30" date="2026-09-03">+ <release type="development" version="2.0.0~beta.30" date="2026-09-03"><description><p>Closes five security advisories across Fastify and development@@ -278,7 +290,7 @@</p></description></release>- <release version="2.0.0-beta.29" date="2026-09-02">+ <release type="development" version="2.0.0~beta.29" date="2026-09-02"><description><p>Adds secure local and remote Motrix Extension pairing, completes@@ -288,7 +300,7 @@</p></description></release>- <release version="2.0.0-beta.28" date="2026-08-28">+ <release type="development" version="2.0.0~beta.28" date="2026-08-28"><description><p>Direct-download naming and finalization are more reliable, empty RPC@@ -300,7 +312,7 @@</p></description></release>- <release version="2.0.0-beta.27" date="2026-08-27">+ <release type="development" version="2.0.0~beta.27" date="2026-08-27"><description><p>Protected beta tags now publish verified amd64 and arm64 Snap builds@@ -311,7 +323,7 @@</p></description></release>- <release version="2.0.0-beta.26" date="2026-08-25">+ <release type="development" version="2.0.0~beta.26" date="2026-08-25"><description><p>Interrupted HTTP and FTP downloads now resume only after Motrix@@ -322,7 +334,7 @@</p></description></release>- <release version="2.0.0-beta.25" date="2026-08-24">+ <release type="development" version="2.0.0~beta.25" date="2026-08-24"><description><p>Carries the beta.24 user-facing changes and corrects the protected@@ -331,7 +343,7 @@</p></description></release>- <release version="2.0.0-beta.24" date="2026-08-24">+ <release type="development" version="2.0.0~beta.24" date="2026-08-24"><description><p>BitTorrent and Magnet tasks now preserve authoritative file metadata,@@ -342,7 +354,7 @@</p></description></release>- <release version="2.0.0-beta.23" date="2026-08-23">+ <release type="development" version="2.0.0~beta.23" date="2026-08-23"><description><p>Downloads can now use either the local completion time or the@@ -353,7 +365,7 @@</p></description></release>- <release version="2.0.0-beta.22" date="2026-08-22">+ <release type="development" version="2.0.0~beta.22" date="2026-08-22"><description><p>Bundled aria2 is updated to 1.37.0-motrix.10. Motrix now detects@@ -364,7 +376,7 @@</p></description></release>- <release version="2.0.0-beta.21" date="2026-08-22">+ <release type="development" version="2.0.0~beta.21" date="2026-08-22"><description><p>Release assembly now accepts the AppImage-first Linux metadata@@ -376,7 +388,7 @@</p></description></release>- <release version="2.0.0-beta.20" date="2026-08-22">+ <release type="development" version="2.0.0~beta.20" date="2026-08-22"><description><p>Linux HTTPS downloads now use the system CA trust store without@@ -391,7 +403,7 @@</p></description></release>- <release version="2.0.0-beta.19" date="2026-08-19">+ <release type="development" version="2.0.0~beta.19" date="2026-08-19"><description><p>The in-app updater now hands off to the installer reliably even when@@ -405,7 +417,7 @@</p></description></release>- <release version="2.0.0-beta.18" date="2026-08-17">+ <release type="development" version="2.0.0~beta.18" date="2026-08-17"><description><p>The bundled aria2 engine is updated to 1.37.0-motrix.4. Network@@ -418,7 +430,7 @@</p></description></release>- <release version="2.0.0-beta.17" date="2026-08-16">+ <release type="development" version="2.0.0~beta.17" date="2026-08-16"><description><p>Docker Hub repository-description mutation is no longer part of the@@ -431,7 +443,7 @@</p></description></release>- <release version="2.0.0-beta.16" date="2026-08-16">+ <release type="development" version="2.0.0~beta.16" date="2026-08-16"><description><p>The desktop packages, GitHub prerelease, R2 update feed, native@@ -444,7 +456,7 @@</p></description></release>- <release version="2.0.0-beta.15" date="2026-08-16">+ <release type="development" version="2.0.0~beta.15" date="2026-08-16"><description><p>The desktop packages, GitHub prerelease, and R2 update feed completed.@@ -458,7 +470,7 @@</p></description></release>- <release version="2.0.0-beta.14" date="2026-08-16">+ <release type="development" version="2.0.0~beta.14" date="2026-08-16"><description><p>The GitHub prerelease and R2 update feed completed. Native amd64 and@@ -472,7 +484,7 @@</p></description></release>- <release version="2.0.0-beta.13" date="2026-08-16">+ <release type="development" version="2.0.0~beta.13" date="2026-08-16"><description><p>Partially distributed Motrix Turbo beta. All desktop builds,@@ -485,7 +497,7 @@</p></description></release>- <release version="2.0.0-beta.12" date="2026-08-16">+ <release type="development" version="2.0.0~beta.12" date="2026-08-16"><description><p>Published Motrix Turbo beta. All five desktop builds, all three@@ -497,7 +509,7 @@</p></description></release>- <release version="2.0.0-beta.11" date="2026-08-16">+ <release type="development" version="2.0.0~beta.11" date="2026-08-16"><description><p>Unpublished Motrix Turbo beta attempt. All five desktop builds and@@ -510,7 +522,7 @@</p></description></release>- <release version="2.0.0-beta.10" date="2026-08-16">+ <release type="development" version="2.0.0~beta.10" date="2026-08-16"><description><p>Unpublished Motrix Turbo beta attempt. All five desktop builds and@@ -522,7 +534,7 @@</p></description></release>- <release version="2.0.0-beta.9" date="2026-08-16">+ <release type="development" version="2.0.0~beta.9" date="2026-08-16"><description><p>Unpublished Motrix Turbo beta attempt. All five desktop builds@@ -535,7 +547,7 @@</p></description></release>- <release version="2.0.0-beta.8" date="2026-08-16">+ <release type="development" version="2.0.0~beta.8" date="2026-08-16"><description><p>Unpublished Motrix Turbo beta attempt. All five desktop builds and@@ -549,7 +561,7 @@</p></description></release>- <release version="2.0.0-beta.7" date="2026-08-16">+ <release type="development" version="2.0.0~beta.7" date="2026-08-16"><description><p>Unpublished Motrix Turbo beta attempt. The macOS and Windows@@ -560,7 +572,7 @@</p></description></release>- <release version="2.0.0-beta.6" date="2026-08-15">+ <release type="development" version="2.0.0~beta.6" date="2026-08-15"><description><p>Unpublished Motrix Turbo beta attempt. All five desktop builds and@@ -572,7 +584,7 @@</p></description></release>- <release version="2.0.0-beta.5" date="2026-08-15">+ <release type="development" version="2.0.0~beta.5" date="2026-08-15"><description><p>Unpublished Motrix Turbo beta attempt. All five desktop builds and@@ -583,7 +595,7 @@</p></description></release>- <release version="2.0.0-beta.4" date="2026-08-15">+ <release type="development" version="2.0.0~beta.4" date="2026-08-15"><description><p>Unpublished Motrix Turbo beta attempt. All five desktop builds@@ -593,7 +605,7 @@</p></description></release>- <release version="2.0.0-beta.3" date="2026-08-15">+ <release type="development" version="2.0.0~beta.3" date="2026-08-15"><description><p>Unpublished Motrix Turbo beta attempt. Four non-Windows builds anddiff --git a/package.json b/package.jsonindex 82df4ff0..b2eef24f 100644--- a/package.json+++ b/package.json@@ -3,7 +3,7 @@"type": "module","productName": "Motrix","homepage": "https://motrix.app",- "version": "2.0.0-beta.52",+ "version": "2.0.0","packageManager": "[email protected]+sha512.b3951d6d6ff4a9f13dc7cf56cd28d2b8eb37dbcc9c68e52e1e1191873ea9f82a017287ab50baadc5ccc494f036c67c0e47eb13608c2fa36f47711b61ea128e61","description": "A full-featured download manager","keywords": [],diff --git a/tests/scripts/workflow-release-matrix.test.ts b/tests/scripts/workflow-release-matrix.test.tsindex dfd4d5f2..258d619c 100644--- a/tests/scripts/workflow-release-matrix.test.ts+++ b/tests/scripts/workflow-release-matrix.test.ts@@ -25,6 +25,12 @@ import { RELEASE_TARGETS } from '../../scripts/assemble-release-artifacts.mjs'// @ts-expect-error -- JavaScript build hook intentionally has no declarationsimport stagedDependenciesBoundary from '../../scripts/before-build-use-staged-dependencies.mjs'// @ts-expect-error -- JavaScript release script intentionally has no declarations+import {+ CONTAINER_REPOSITORIES,+ containerImageTags,+ resolveContainerReleaseMetadata,+} from '../../scripts/container-release-metadata.mjs'+// @ts-expect-error -- JavaScript release script intentionally has no declarationsimport { resolveReleaseMetadata } from '../../scripts/release-metadata.mjs'interface LooseRecord {@@ -1195,6 +1201,102 @@ describe('release workflow publication contract', () => {])})+ // The production alias step runs in Bash on a Linux runner.+ it.skipIf(process.platform === 'win32')(+ 'promotes every stable container alias and rejects a mismatched digest',+ () => {+ const jobs = workflowJobs(releaseWorkflow)+ const promoteJob = asRecord(+ jobs['promote-container-aliases'],+ 'container alias promotion job'+ )+ const aliasCommand = stringField(+ jobSteps(promoteJob).find(+ (step) =>+ step.name === 'Promote and verify stable container aliases last'+ ) as LooseRecord,+ 'run'+ )+ const metadata = resolveContainerReleaseMetadata('2.0.0')+ const floatingTags = containerImageTags(metadata.floatingTags) as string[]+ const digest = `sha256:${'a'.repeat(64)}`+ const fixture = realpathSync(+ mkdtempSync(path.join(tmpdir(), 'motrix-container-aliases-'))+ )+ const callsPath = path.join(fixture, 'docker-calls.jsonl')+ writeFileSync(+ path.join(fixture, 'docker'),+ [+ `#!${process.execPath}`,+ "const fs = require('node:fs')",+ 'const args = process.argv.slice(2)',+ "fs.appendFileSync(process.env.MOTRIX_FAKE_DOCKER_CALLS, JSON.stringify(args) + '\\n')",+ "if (args[0] !== 'buildx' || args[1] !== 'imagetools') process.exit(2)",+ "if (args[2] === 'create') process.exit(0)",+ "if (args[2] !== 'inspect') process.exit(2)",+ "const digest = args[3] === process.env.MOTRIX_FAKE_MISMATCH_TAG ? 'sha256:' + 'b'.repeat(64) : process.env.PUBLISHED_DIGEST",+ 'process.stdout.write(JSON.stringify({ manifest: { digest } }))',+ ].join('\n'),+ { mode: 0o755 }+ )+ writeFileSync(+ path.join(fixture, 'jq'),+ [+ `#!${process.execPath}`,+ "const fs = require('node:fs')",+ "if (process.argv[2] !== '-er' || process.argv[3] !== '.manifest.digest') process.exit(2)",+ "process.stdout.write(JSON.parse(fs.readFileSync(0, 'utf8')).manifest.digest + '\\n')",+ ].join('\n'),+ { mode: 0o755 }+ )+ const runPromotion = (mismatchTag = '') => {+ writeFileSync(callsPath, '')+ return spawnSync('bash', ['-c', aliasCommand], {+ encoding: 'utf8',+ env: {+ ...process.env,+ DOCKERHUB_REPOSITORY: CONTAINER_REPOSITORIES.dockerHub,+ GHCR_REPOSITORY: CONTAINER_REPOSITORIES.ghcr,+ FLOATING_TAGS: floatingTags.join('\n'),+ MOTRIX_FAKE_DOCKER_CALLS: callsPath,+ MOTRIX_FAKE_MISMATCH_TAG: mismatchTag,+ PATH: `${fixture}:${process.env.PATH ?? ''}`,+ PUBLISHED_DIGEST: digest,+ },+ })+ }++ try {+ const promoted = runPromotion()+ expect(promoted.stderr).toBe('')+ expect(promoted.status).toBe(0)+ const calls = readFileSync(callsPath, 'utf8')+ .trim()+ .split('\n')+ .map((line) => JSON.parse(line) as string[])+ expect(calls.filter((args) => args[2] === 'create')).toEqual(+ Object.values(CONTAINER_REPOSITORIES).map((repository) => [+ 'buildx',+ 'imagetools',+ 'create',+ ...['2.0', '2', 'stable', 'latest'].flatMap((tag) => [+ '--tag',+ `${repository}:${tag}`,+ ]),+ `${repository}@${digest}`,+ ])+ )+ expect(+ calls.filter((args) => args[2] === 'inspect').map((args) => args[3])+ ).toEqual(floatingTags)++ expect(runPromotion(floatingTags.at(-1)).status).toBe(1)+ } finally {+ rmSync(fixture, { force: true, recursive: true })+ }+ }+ )+it('bounds anonymous signature visibility retries and still fails closed', () => {const jobs = workflowJobs(releaseWorkflow)const containerJob = asRecord(