A full-featured download manager.
chore(release): prepare 2.0.0-beta.40 (#2177)
Dr_rOot40817bb547b4
diff --git a/README.md b/README.mdindex 395a1061..722c8a2a 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.39 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.39)-and read the [full release notes](./docs/release-notes/2.0.0-beta.39.md) before+download [v2.0.0-beta.40 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.40)+and read the [full release notes](./docs/release-notes/2.0.0-beta.40.md) beforeinstalling it.Back up your existing Motrix data and downloads before testing. Migration from@@ -180,7 +180,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.39'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.40'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 81ed6551..929cda20 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.39](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.39),-并在安装前阅读[完整发布说明](./docs/release-notes/2.0.0-beta.39.zh-CN.md)。+下载 [v2.0.0-beta.40](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.40),+并在安装前阅读[完整发布说明](./docs/release-notes/2.0.0-beta.40.zh-CN.md)。测试前请备份现有 Motrix 数据和下载文件。Motrix v1 数据的迁移路径尚未经过验证,请勿让本 beta 使用您唯一一份 v1 数据。条件允许时,建议通过独立的系统@@ -170,7 +170,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.39'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.40'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.40.md b/docs/release-notes/2.0.0-beta.40.mdnew file mode 100644index 00000000..01e483a8--- /dev/null+++ b/docs/release-notes/2.0.0-beta.40.md@@ -0,0 +1,109 @@+# Motrix 2.0.0-beta.40++English | [简体中文](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.40/docs/release-notes/2.0.0-beta.40.zh-CN.md)++Motrix 2.0.0-beta.40 improves Dashboard monitoring and download controls,+defaults desktop file removal to the system Trash, and adds verified Flatpak+application bundles. It also fixes media progress, Server task updates,+browser-provided filenames, and NAT socket lifecycle errors.++## Highlights++- Upload and download charts scroll continuously with stable vertices and+ continue moving back to zero after transfers finish. Dashboard task rows+ provide inline pause, resume, and retry actions; reduced-motion preferences+ remain supported ([#2176](https://github.com/agalwood/Motrix/pull/2176)).+- Desktop task-file removal now defaults to the system Trash. Download settings+ offer an explicit permanent-deletion preference. Shift-remove preselects file+ deletion while keeping the confirmation dialog, and failed file cleanup+ preserves the task and torrent metadata for retry+ ([#2176](https://github.com/agalwood/Motrix/pull/2176)).+- Dashboard controls, engine diagnostics, tray speed displays, and download+ labels are clearer. Speed columns fit the minimum window size while custom+ column layouts are retained. Clearing a selection closes its task inspector+ ([#2168](https://github.com/agalwood/Motrix/pull/2168),+ [#2174](https://github.com/agalwood/Motrix/pull/2174),+ [#2175](https://github.com/agalwood/Motrix/pull/2175),+ [#2176](https://github.com/agalwood/Motrix/pull/2176)).+- Media download progress follows the full segment plan and keeps download+ progress separate from processing. Segment metadata is stored outside the+ task database, and the file list exposes all segments. FFmpeg support can+ refresh without restarting ongoing downloads+ ([#2156](https://github.com/agalwood/Motrix/pull/2156),+ [#2158](https://github.com/agalwood/Motrix/pull/2158),+ [#2160](https://github.com/agalwood/Motrix/pull/2160)).+- Download sources are validated before side effects. URL entry preserves+ source bytes, explains malformed input, and requires confirmation for+ ambiguous corrections. Browser handoff preserves the proposed filename+ ([#2154](https://github.com/agalwood/Motrix/pull/2154),+ [#2155](https://github.com/agalwood/Motrix/pull/2155)).+- Server recovers task updates and preserves magnet file selection. Shared+ navigation handles task links and notifications for removed tasks, Linux tray+ icons support color preferences, and NAT avoids UDP socket lifecycle crashes+ ([#2162](https://github.com/agalwood/Motrix/pull/2162),+ [#2163](https://github.com/agalwood/Motrix/pull/2163),+ [#2166](https://github.com/agalwood/Motrix/pull/2166),+ [#2167](https://github.com/agalwood/Motrix/pull/2167)).+- The release pipeline now builds and validates Flatpak application bundles+ for `x86_64` and `aarch64` before publication. Browser integration uses the+ separately installed Native Host companion from the same release+ ([#2172](https://github.com/agalwood/Motrix/pull/2172)).++## 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. Check speed charts after a download finishes, task+actions, Trash and permanent file removal, media download/processing progress,+and Server recovery after a connection interruption.++After the protected Snap workflow completes, testers can install the strictly+confined build with `sudo snap install motrix --edge`. Existing installations+tracking `latest/edge` should upgrade to the same beta.40 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.40-<arch>.flatpak` |+| Flatpak Native Host companion | `linux/x64`, `linux/arm64` | `Motrix-Native-Host-2.0.0-beta.40-linux-<arch>.tar.gz` |+| Docker Hub / GHCR | `linux/amd64`, `linux/arm64` | Immutable `2.0.0-beta.40` tag in both registries |+| Snap Store | `amd64`, `arm64` | Verified build set on `latest/edge` |++After every container gate passes, the versioned image references will be+`docker.io/motrixapp/motrix-server:2.0.0-beta.40` and+`ghcr.io/agalwood/motrix-server:2.0.0-beta.40`. See the+[Docker Server guide](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.40/docs/docker-server.md)+for storage, networking, and upgrades.++## Distribution notes++- Flatpak bundles use application ID `app.motrix.native` and the `beta` branch.+ Download each new bundle and install it with `flatpak install --user+ --or-update`; no Motrix update remote is configured by these single-file+ bundles. Update the Native Host companion separately when using browser+ integration. See the+ [Flatpak guide](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.40/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 with a saved pairing also requires a compatible Extension.+- Windows `arm64` and all 32-bit packages are unavailable. Windows packages are+ unsigned and may trigger Windows SmartScreen warnings; download them only+ from the official published GitHub prerelease.+- Beta container tags are immutable and do not update `latest`, `stable`, or+ other stable-channel aliases.+- Snap packages use strict confinement. The approved `personal-files`+ interface is limited to Native Messaging host registration for supported+ browsers. Beta 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.40.zh-CN.md b/docs/release-notes/2.0.0-beta.40.zh-CN.mdnew file mode 100644index 00000000..84c0a66d--- /dev/null+++ b/docs/release-notes/2.0.0-beta.40.zh-CN.md@@ -0,0 +1,88 @@+# Motrix 2.0.0-beta.40++[English](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.40/docs/release-notes/2.0.0-beta.40.md) | 简体中文++Motrix 2.0.0-beta.40 改进 Dashboard 监控与下载操作,将桌面版文件删除默认改为+移入系统废纸篓,并新增经过验证的 Flatpak 主程序包。本版还修复媒体进度、+Server 任务更新、浏览器提供的文件名,以及 NAT socket 生命周期错误。++## 主要更新++- 上传与下载图表保留稳定的折线顶点并连续滚动,传输结束后继续向零速率滚动。+ Dashboard 任务行可直接暂停、继续与重试,并支持减少动态效果偏好+ ([#2176](https://github.com/agalwood/Motrix/pull/2176))。+- 桌面版删除任务文件时默认移入系统废纸篓,下载设置中可明确选择永久删除。+ Shift 删除会预选删除文件,但仍保留确认对话框;文件清理失败时保留任务与+ 种子元数据,便于重试([#2176](https://github.com/agalwood/Motrix/pull/2176))。+- 改进 Dashboard 控件、引擎诊断、托盘速度与下载标签。最小窗口下仍能完整+ 显示速度列,同时保留自定义列布局;清空选择时关闭对应的任务详情面板+ ([#2168](https://github.com/agalwood/Motrix/pull/2168)、+ [#2174](https://github.com/agalwood/Motrix/pull/2174)、+ [#2175](https://github.com/agalwood/Motrix/pull/2175)、+ [#2176](https://github.com/agalwood/Motrix/pull/2176))。+- 媒体下载进度按完整分片计划计算,区分下载进度与处理阶段。分片元数据独立于+ 任务数据库保存,文件列表展示全部分片;刷新 FFmpeg 支持时无需重启正在+ 进行的下载([#2156](https://github.com/agalwood/Motrix/pull/2156)、+ [#2158](https://github.com/agalwood/Motrix/pull/2158)、+ [#2160](https://github.com/agalwood/Motrix/pull/2160))。+- 下载源在产生副作用前完成校验。URL 输入保留原始字节,说明格式错误,对+ 存在歧义的修正要求确认;浏览器交接下载时保留建议文件名+ ([#2154](https://github.com/agalwood/Motrix/pull/2154)、+ [#2155](https://github.com/agalwood/Motrix/pull/2155))。+- Server 可恢复任务更新并保留磁力任务的文件选择。共享导航统一处理任务链接+ 及已删除任务的通知,Linux 托盘图标支持颜色偏好,NAT 避免 UDP socket+ 生命周期导致的崩溃([#2162](https://github.com/agalwood/Motrix/pull/2162)、+ [#2163](https://github.com/agalwood/Motrix/pull/2163)、+ [#2166](https://github.com/agalwood/Motrix/pull/2166)、+ [#2167](https://github.com/agalwood/Motrix/pull/2167))。+- 发布流程在公开发布前构建并验证 `x86_64` 与 `aarch64` Flatpak 主程序包。+ 浏览器集成使用同一 Release 中单独安装的 Native Host companion+ ([#2172](https://github.com/agalwood/Motrix/pull/2172))。++## 测试前须知++这是预发布软件。安装前请备份现有 Motrix 应用数据和下载文件。Motrix v1 数据的+迁移路径尚未经过验证,请勿让本 beta 使用您唯一的一份 v1 数据。++条件允许时,请使用独立的操作系统账号、设备或 Docker 数据目录并行测试 v2。+请重点检查下载结束后的速度图表、任务操作、移入废纸篓与永久删除、媒体下载及+处理阶段进度,以及 Server 在连接中断后的恢复。++受保护的 Snap 工作流完成后,可使用 `sudo snap install motrix --edge` 安装+严格限制的构建。已跟踪 `latest/edge` 的安装应升级到同一组 beta.40 revision。++## 发布门禁通过后计划提供的下载++| 分发方式 | 架构 | 计划产物 |+|---------|------|---------|+| 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.40-<arch>.flatpak` |+| Flatpak Native Host companion | `linux/x64`、`linux/arm64` | `Motrix-Native-Host-2.0.0-beta.40-linux-<arch>.tar.gz` |+| Docker Hub / GHCR | `linux/amd64`、`linux/arm64` | 两个仓库中的不可变 `2.0.0-beta.40` 标签 |+| Snap Store | `amd64`、`arm64` | `latest/edge` 上的已验证构建集 |++所有容器门禁通过后,可使用以下带版本镜像:+`docker.io/motrixapp/motrix-server:2.0.0-beta.40` 和+`ghcr.io/agalwood/motrix-server:2.0.0-beta.40`。存储、网络与升级说明请参阅+[Docker Server 部署指南](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.40/docs/docker-server.zh-CN.md)。++## 分发说明++- Flatpak 主程序使用应用 ID `app.motrix.native` 和 `beta` 分支。每次升级需+ 下载新包并执行 `flatpak install --user --or-update`;这些单文件包没有配置+ Motrix 更新 remote。使用浏览器集成时,还需单独更新 Native Host companion。+ 详见 [Flatpak 指南](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.40/docs/flatpak.zh-CN.md)。+- AppImage 桌面集成仍需主动启用。浏览器冷启动需要单独启用 Native Messaging+ host 并注册 AppImage 路径;使用已保存配对重连还需要兼容的配套 Extension。+- 不提供 Windows `arm64` 和所有 32 位安装包。Windows 安装包未签名,可能触发+ Windows SmartScreen 警告,请仅从已发布的官方 GitHub 预发布版下载。+- Beta 容器标签不可变,也不会更新 `latest`、`stable` 或其他稳定通道浮动标签。+- Snap 安装包使用严格限制。已批准的 `personal-files` interface 仅用于为支持的+ 浏览器注册 Native Messaging host manifest。Beta 发布只会更新 `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 7e292ebf..155a99b1 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.40" date="2026-09-21">+ <description>+ <p>+ Improves Dashboard charts and task controls, defaults desktop file+ removal to Trash, publishes verified Flatpak bundles, and fixes media+ progress, Server task updates, browser filenames, and NAT lifecycle errors.+ </p>+ </description>+ </release><release version="2.0.0-beta.39" date="2026-09-15"><description><p>diff --git a/package.json b/package.jsonindex 72d05095..aabe5524 100644--- a/package.json+++ b/package.json@@ -3,7 +3,7 @@"type": "module","productName": "Motrix","homepage": "https://motrix.app",- "version": "2.0.0-beta.39",+ "version": "2.0.0-beta.40","packageManager": "[email protected]+sha512.08adc6613180275c7c9edada39dcf08c9c61ad4e7eaf330a4f3461f102b0f907423454d117f98e72d47fef0616070644d7bffc973a6a57f5090a6d7c368b07c9","description": "A full-featured download manager","keywords": [],