A full-featured download manager.
chore(release): prepare 2.0.0-beta.48
Dr_rOotc541042e3815
diff --git a/README.md b/README.mdindex eae5c4d9..77ec566e 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.47 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.47)-and read the [full release notes](./docs/release-notes/2.0.0-beta.47.md) before+download [v2.0.0-beta.48 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.48)+and read the [full release notes](./docs/release-notes/2.0.0-beta.48.md) beforeinstalling it.Back up your existing Motrix data and downloads before testing. The desktop@@ -182,7 +182,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.47'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.48'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 a030a0d7..25081f55 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.47](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.47),-并在安装前阅读[完整发布说明](./docs/release-notes/2.0.0-beta.47.zh-CN.md)。+下载 [v2.0.0-beta.48](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.48),+并在安装前阅读[完整发布说明](./docs/release-notes/2.0.0-beta.48.zh-CN.md)。测试前请备份现有 Motrix 数据和下载文件。桌面端迁移助手会将选中的 v1 任务导入为暂停记录,并保留原文件;恢复下载需要单独明确操作,Windows 暂不支持@@ -171,7 +171,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.47'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.48'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.48.md b/docs/release-notes/2.0.0-beta.48.mdnew file mode 100644index 00000000..39ef56fe--- /dev/null+++ b/docs/release-notes/2.0.0-beta.48.md@@ -0,0 +1,124 @@+# Motrix 2.0.0-beta.48++English | [简体中文](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.48/docs/release-notes/2.0.0-beta.48.zh-CN.md)++Motrix 2.0.0-beta.48 adds declarative plugin operations, task re-download,+manual renderer recovery, compact desktop layouts, persistent speed-limit+units, and dedicated plugin proxy support. It also improves download+diagnostics, login-launch behavior, settings layout, and startup feedback.++## Highlights++- Plugins can declare bounded, localized operation forms that run through the+ existing QuickJS sandbox on desktop and Server. Host-owned jobs provide+ progress, cancellation, reconnect and resume, resource limits, and+ invocation-scoped file grants. Media merge now uses this generic interface;+ compatible operation plugins require Motrix `2.0.0-beta.48` or later+ ([#2350](https://github.com/agalwood/Motrix/pull/2350)).+- Completed regular downloads have a Re-download action in the inspector and+ context menu. It reuses saved task options, asks before using an existing+ output path, and lets Alt-click open the options for editing. Plugin startup+ and optional-hook failures are isolated so they cannot block normal download+ finalization ([#2363](https://github.com/agalwood/Motrix/pull/2363)).+- Motrix detects a failed or unresponsive renderer while downloads continue in+ the main process. Users can manually recover the affected window from the+ recovery surface, native menu, or tray without restarting the engine. This+ release observes renderer health but does not enable automatic recovery+ ([#2349](https://github.com/agalwood/Motrix/pull/2349)).+- Configuration-only `app.mainWindowMinWidth` and+ `app.mainWindowMinHeight` settings allow compact desktop layouts while+ retaining the existing 914 × 672 defaults. Downloads, Settings, the sidebar,+ and the independent recovery screen adapt to narrow windows; operating-system+ minimums can still apply ([#2356](https://github.com/agalwood/Motrix/pull/2356),+ [#2359](https://github.com/agalwood/Motrix/pull/2359)).+- Upload and download limits can be entered independently in KB/s or MB/s, or+ KiB/s and MiB/s with binary units. Switching units preserves the exact byte+ limit, and each field remembers its unit after saving and restarting+ ([#2362](https://github.com/agalwood/Motrix/pull/2362)).+- Plugin catalogs, packages, builtin updates, and security-policy requests now+ use a dedicated Plugin installation and updates proxy scope on desktop and+ Server. Last-good catalog data remains available during network failures,+ with sanitized diagnostics and retry controls+ ([#2360](https://github.com/agalwood/Motrix/pull/2360)).+- Production logs retain bounded, redacted aria2 warning and error details,+ including HTTP status and aria2 error codes that could previously be hidden+ behind a generic `No URI available.` message. User-visible errors and retry+ behavior are unchanged ([#2361](https://github.com/agalwood/Motrix/pull/2361)).+- Repeated Windows login launches preserve a running app's current visibility+ when Show window at login is disabled, while explicit launches still restore+ and focus the window ([#2348](https://github.com/agalwood/Motrix/pull/2348)).+- The Mo startup logo has a reduced-motion-aware shimmer while the main+ renderer loads ([#2364](https://github.com/agalwood/Motrix/pull/2364)).++## Before testing++This is prerelease software. Back up existing Motrix application data and+downloads before installing it. When practical, test v2 using a separate OS+account, machine, or Docker data directory.++Renderer recovery is manual in this beta. Automatic crash or hang recovery is+disabled pending broader cross-platform soak testing. Windows and Linux sleep,+GPU-fault, and long-running recovery scenarios have not completed the same+acceptance coverage as macOS.++Declarative operations depend on separately distributed compatible plugins.+File access remains scoped to the plugin invocation, and Web operation access+is additionally controlled by Server operator policy. Review every requested+file and output location before starting an operation.++The plugin proxy transport safely refuses unsupported IPv6-literal SOCKS target+URLs rather than falling back to a direct connection. Plugin catalog and package+hosts normally use domain names. Windows proxy behavior has not been manually+reverified for this beta.++Copied diagnostics redact signed URL queries, credentials, sensitive headers,+and raw request targets, but review logs before sharing because arbitrary plugin+text or URL paths may still contain sensitive data.++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 same beta.48 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.48-<arch>.flatpak` |+| Flatpak Native Host companion | `linux/x64`, `linux/arm64` | `Motrix-Native-Host-2.0.0-beta.48-linux-<arch>.tar.gz` |+| Docker Hub / GHCR | `linux/amd64`, `linux/arm64` | Immutable `2.0.0-beta.48` 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.48` or+`ghcr.io/agalwood/motrix-server:2.0.0-beta.48`. See the+[Docker Server guide](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.48/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`; these single-file bundles do not configure a Motrix update+ remote. Update the Native Host companion separately for browser integration.+ See the+ [Flatpak guide](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.48/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.+- Motrix application packages for Windows `arm64` and all 32-bit targets are+ unavailable. Windows app packages are unsigned and may trigger SmartScreen;+ 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 uses strict confinement. Its 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.48.zh-CN.md b/docs/release-notes/2.0.0-beta.48.zh-CN.mdnew file mode 100644index 00000000..be0f3196--- /dev/null+++ b/docs/release-notes/2.0.0-beta.48.zh-CN.md@@ -0,0 +1,101 @@+# Motrix 2.0.0-beta.48++[English](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.48/docs/release-notes/2.0.0-beta.48.md) | 简体中文++Motrix 2.0.0-beta.48 新增声明式插件操作、任务重新下载、手动渲染器恢复、紧凑+桌面布局、持久化限速单位和独立插件代理。本版本还改进下载诊断、登录启动行为、+设置布局与启动反馈。++## 主要更新++- 插件现在可以声明有边界且支持本地化的操作表单,并通过现有 QuickJS 沙箱在+ 桌面端和 Server 中运行。由宿主管理的任务支持进度、取消、重连恢复、资源限制+ 和绑定到单次调用的文件授权。媒体合并已迁移到这套通用界面;兼容的操作插件+ 需要 Motrix `2.0.0-beta.48` 或更高版本+ ([#2350](https://github.com/agalwood/Motrix/pull/2350))。+- 已完成的普通下载在详情区和上下文菜单中新增“重新下载”。它会复用已保存的+ 任务选项,输出路径已有文件时请求确认;按住 Alt 点击可先编辑选项。插件启动+ 与可选 hook 的故障相互隔离,不会阻止普通下载完成收尾+ ([#2363](https://github.com/agalwood/Motrix/pull/2363))。+- 下载仍在主进程中继续时,Motrix 可以发现失败或无响应的渲染器。用户可从恢复+ 界面、原生菜单或托盘手动恢复受影响的窗口,无需重启下载引擎。本版本只观察+ 渲染器健康状态,尚未启用自动恢复+ ([#2349](https://github.com/agalwood/Motrix/pull/2349))。+- 仅通过配置使用的 `app.mainWindowMinWidth` 和 `app.mainWindowMinHeight`+ 支持紧凑桌面布局,同时保留原有 914 × 672 默认值。下载页、设置页、侧栏和+ 独立恢复界面会适配窄窗口;操作系统自身的最小尺寸限制仍可能生效+ ([#2356](https://github.com/agalwood/Motrix/pull/2356)、+ [#2359](https://github.com/agalwood/Motrix/pull/2359))。+- 上传和下载限速可以分别使用 KB/s 或 MB/s 输入;使用二进制单位时可选择+ KiB/s 和 MiB/s。切换单位会保留精确字节限制,每个字段也会在保存和重启后+ 记住所选单位([#2362](https://github.com/agalwood/Motrix/pull/2362))。+- 插件目录、安装包、内置插件更新和安全策略请求现在在桌面端与 Server 中使用+ 独立的“插件安装与更新”代理用途。网络失败时保留最近一次可用目录,并提供+ 脱敏诊断和重试操作([#2360](https://github.com/agalwood/Motrix/pull/2360))。+- 生产日志会保留有边界且已脱敏的 aria2 警告与错误细节,包括过去可能被通用+ `No URI available.` 消息掩盖的 HTTP 状态和 aria2 错误码。面向用户的错误+ 提示和重试行为没有变化([#2361](https://github.com/agalwood/Motrix/pull/2361))。+- Windows 上 Motrix 已运行时,如果关闭了“登录时显示窗口”,重复的登录启动+ 会保留当前可见状态;用户明确启动应用时仍会恢复并聚焦窗口+ ([#2348](https://github.com/agalwood/Motrix/pull/2348))。+- 主渲染器加载时,Mo 启动标志新增遵循减少动态效果偏好的微光动画+ ([#2364](https://github.com/agalwood/Motrix/pull/2364))。++## 测试前须知++这是预发布软件。安装前请备份现有 Motrix 应用数据和下载文件。条件允许时,+请使用独立的操作系统账号、设备或 Docker 数据目录测试 v2。++本 beta 仅支持手动渲染器恢复。在更广泛的跨平台长时间测试完成前,崩溃或卡死+后的自动恢复保持禁用。Windows 和 Linux 的睡眠、GPU 故障及长时间恢复场景+尚未达到与 macOS 相同的验收覆盖。++声明式操作依赖单独分发的兼容插件。文件访问仍限制在单次插件调用内,Web 操作+还会受到 Server 管理员策略限制。开始操作前,请检查每个申请访问的文件和输出+位置。++插件代理会安全拒绝当前不支持的 IPv6 字面地址 SOCKS 目标,不会回退为直连。+插件目录与安装包主机通常使用域名。本 beta 尚未在 Windows 上手动复验代理行为。++复制的诊断会隐藏签名 URL 查询参数、凭据、敏感请求头和原始请求目标;分享前+仍应检查日志,因为任意插件文本或 URL 路径中仍可能包含敏感数据。++受保护的 Snap 工作流完成后,可使用 `sudo snap install motrix --edge` 安装+严格限制的构建。跟踪 `latest/edge` 的安装应升级到同一组 beta.48 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.48-<arch>.flatpak` |+| Flatpak Native Host companion | `linux/x64`、`linux/arm64` | `Motrix-Native-Host-2.0.0-beta.48-linux-<arch>.tar.gz` |+| Docker Hub / GHCR | `linux/amd64`、`linux/arm64` | 两个仓库中的不可变 `2.0.0-beta.48` 标签 |+| Snap Store | `amd64`、`arm64` | `latest/edge` 上的已验证构建集 |++所有容器门禁通过后,可使用+`docker.io/motrixapp/motrix-server:2.0.0-beta.48` 或+`ghcr.io/agalwood/motrix-server:2.0.0-beta.48`。存储、网络与升级说明请参阅+[Docker Server 部署指南](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.48/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.48/docs/flatpak.zh-CN.md)。+- AppImage 桌面集成仍需主动启用。浏览器冷启动需要单独启用 Native Messaging+ host 并注册 AppImage 路径;使用已保存配对重连还需要兼容的配套 Extension。+- 不提供 Windows `arm64` 和所有 32 位应用安装包。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 c66a63e8..163aa8dd 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.48" date="2026-10-15">+ <description>+ <p>+ Adds declarative plugin operations, task re-download, renderer+ recovery, compact layouts, persistent speed-limit units, plugin+ proxy support, and improved download diagnostics.+ </p>+ </description>+ </release><release version="2.0.0-beta.47" date="2026-10-10"><description><p>diff --git a/package.json b/package.jsonindex 5792fb63..e1787ca4 100644--- a/package.json+++ b/package.json@@ -3,7 +3,7 @@"type": "module","productName": "Motrix","homepage": "https://motrix.app",- "version": "2.0.0-beta.47",+ "version": "2.0.0-beta.48","packageManager": "[email protected]+sha512.ba40a37eb1a370d60fea8c4cf1d364c13bcccef518e98ad2bcee954f539d38da37458e58261a3fa55e06523450ea0ffff9f497b135be41f2c15c1642bacace6c","description": "A full-featured download manager","keywords": [],