A full-featured download manager.
chore(release): prepare 2.0.0-beta.47 (#2345)
Dr_rOotd9049a932425
diff --git a/README.md b/README.mdindex 12166a39..eae5c4d9 100644--- a/README.md+++ b/README.md@@ -22,14 +22,16 @@ 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.46 from GitHub Releases](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.46)-and read the [full release notes](./docs/release-notes/2.0.0-beta.46.md) before+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) beforeinstalling it.-Back up your existing Motrix data and downloads before testing. 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.+Back up your existing Motrix data and downloads before testing. The desktop+Migration Assistant imports selected v1 tasks as paused records and preserves+the original files. Resuming downloads requires a separate explicit action;+legacy progress import is unavailable on Windows. 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.## Screenshots@@ -180,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.46'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.47'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 2d3e4097..a030a0d7 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -22,12 +22,13 @@ Motrix 是一款界面简洁、功能丰富的桌面下载管理器,可处理## 🧪 Beta 测试Motrix Turbo v2 目前仍处于 beta 阶段。剩余发布门禁通过后,请从 GitHub Releases-下载 [v2.0.0-beta.46](https://github.com/agalwood/Motrix/releases/tag/v2.0.0-beta.46),-并在安装前阅读[完整发布说明](./docs/release-notes/2.0.0-beta.46.zh-CN.md)。+下载 [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)。-测试前请备份现有 Motrix 数据和下载文件。Motrix v1 数据的迁移路径尚未经过-验证,请勿让本 beta 使用您唯一一份 v1 数据。条件允许时,建议通过独立的系统-账户、设备或 Docker 数据目录与现有环境并行测试 v2。+测试前请备份现有 Motrix 数据和下载文件。桌面端迁移助手会将选中的 v1 任务+导入为暂停记录,并保留原文件;恢复下载需要单独明确操作,Windows 暂不支持+旧下载进度导入。请保留 v1 配置和引擎升级前数据库快照的备份。条件允许时,+建议通过独立的系统账户、设备或 Docker 数据目录与现有环境并行测试 v2。## 应用截图@@ -170,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.46'+export MOTRIX_IMAGE='docker.io/motrixapp/motrix-server:2.0.0-beta.47'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.47.md b/docs/release-notes/2.0.0-beta.47.mdnew file mode 100644index 00000000..b57f8fcf--- /dev/null+++ b/docs/release-notes/2.0.0-beta.47.md@@ -0,0 +1,143 @@+# Motrix 2.0.0-beta.47++English | [简体中文](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.47/docs/release-notes/2.0.0-beta.47.zh-CN.md)++Motrix 2.0.0-beta.47 adds a desktop Migration Assistant for v1 tasks, signed+official optional plugin installation, and host support for manual audio/video+merging. It includes all updates since beta.46, with improved permission review,+download finalization and storage recovery, window restoration, diagnostic logs,+and the bundled aria2 `1.37.0-motrix.17` engine.++## Highlights++- The desktop Migration Assistant discovers a v1 profile or accepts a chosen+ folder, previews tasks, and imports selected records in a paused state while+ preserving the original files. It supports metadata backups, duplicate+ detection, interrupted runs, retry, and report export. Compatible BitTorrent+ tasks can be verified and activated separately with explicit directory+ authorization ([#2331](https://github.com/agalwood/Motrix/pull/2331)).+- The bundled aria2 `1.37.0-motrix.17` provides native legacy checkpoint import+ and durable paused BitTorrent recovery. It preserves a complete pre-upgrade+ SQLite snapshot before upgrading the engine database to schema 5+ ([#2342](https://github.com/agalwood/Motrix/pull/2342)).+- Signed official optional plugins can be installed from the marketplace on+ desktop and Server. Motrix verifies their signed archives, retains normal+ permission consent and uninstall behavior, and explains incompatible host+ versions before installation+ ([#2312](https://github.com/agalwood/Motrix/pull/2312)).+- Manual media merging can combine separate local video and audio files into+ MP4 or MKV through a compatible, enabled `motrix.media-merge` plugin and+ configured FFmpeg. The form appears in the plugin's Operations tab and in the+ action menu for two completed single-file downloads. Source files are+ preserved, and existing output files are not replaced. The companion plugin+ is installed separately; this host release does not bundle it or automatically+ merge downloads ([#2308](https://github.com/agalwood/Motrix/pull/2308)).+- Plugin package preparation stays in the install button until permissions are+ ready to review. Required and optional permissions are grouped, optional+ access starts disabled, and consent remains stable during confirmation,+ cancellation, and dialog exit+ ([#2333](https://github.com/agalwood/Motrix/pull/2333),+ [#2335](https://github.com/agalwood/Motrix/pull/2335)).+- Download finalization handles macOS exFAT suffix removal, actual cross-mount+ move failures, and unavailable storage recovery more reliably. Pending+ journals survive offline storage while other tasks can recover; changed or+ uncertain files retain conflict protection+ ([#2330](https://github.com/agalwood/Motrix/pull/2330),+ [#2339](https://github.com/agalwood/Motrix/pull/2339)).+- Startup activation and minimized-window restoration are preserved. The+ Downloads scrollbar stays below its column header, signed macOS releases+ restore the permission needed for shutdown after completion, and production+ bundles and deferred desktop loading are optimized+ ([#2325](https://github.com/agalwood/Motrix/pull/2325),+ [#2323](https://github.com/agalwood/Motrix/pull/2323),+ [#2337](https://github.com/agalwood/Motrix/pull/2337),+ [#2316](https://github.com/agalwood/Motrix/pull/2316)).+- Plugin diagnostics preserve ordinary URL query values while masking common+ credential names. Correlated task-creation entries make URL rewrites easier+ to inspect. Verbose mode expires after one hour, and copying logs applies+ stricter redaction ([#2340](https://github.com/agalwood/Motrix/pull/2340)).+- Signed plugin security policy enforcement is implemented, but production+ trust and the signed feed remain unconfigured in this release. Synchronization+ is dormant; this beta does not provide live security advisory blocking+ ([#2326](https://github.com/agalwood/Motrix/pull/2326)).+- Electron, pnpm, packaging tools, dependency locks, GitHub Actions, and+ regression coverage are refreshed+ ([#2336](https://github.com/agalwood/Motrix/pull/2336),+ [#2341](https://github.com/agalwood/Motrix/pull/2341),+ [#2344](https://github.com/agalwood/Motrix/pull/2344)).++## 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.++Migration imports records without automatically resuming them. HTTP tasks use+the explicit new-download flow in a separate destination. In-place BitTorrent+continuation requires compatible original metadata, file selection, engine+support, and explicit authorization. The assistant is desktop-only; Windows+explicitly refuses unsupported legacy progress import. Keep the v1 profile and+original files backed up. Older engines refuse schema 5, so an engine downgrade+requires the compatible pre-upgrade database snapshot.++Manual media merging requires a separately published signed companion plugin+compatible with beta.47 and configured FFmpeg. Availability depends on its+signed release and registry listing. To install FFmpeg, open Settings →+Integration → Media tools. Active plugins need a Motrix restart to detect a new+managed installation. See the [FFmpeg manual](https://motrix.app/manual/ffmpeg/).++The macOS exFAT publication fallback assumes application ownership of the+reserved target name during publication; it cannot guarantee atomic no-overwrite+against an external process replacing that reservation. Unsupported or+ambiguous filesystem operations remain safe refusals or conflicts.++Copied diagnostics mask all URL query values and omit structured headers and+bodies. Review logs before sharing: arbitrary plugin text or URL paths may still+contain sensitive data, and existing verbose log files remain after expiry.++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.47 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.47-<arch>.flatpak` |+| Flatpak Native Host companion | `linux/x64`, `linux/arm64` | `Motrix-Native-Host-2.0.0-beta.47-linux-<arch>.tar.gz` |+| Docker Hub / GHCR | `linux/amd64`, `linux/arm64` | Immutable `2.0.0-beta.47` 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.47` or+`ghcr.io/agalwood/motrix-server:2.0.0-beta.47`. See the+[Docker Server guide](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.47/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.47/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.47.zh-CN.md b/docs/release-notes/2.0.0-beta.47.zh-CN.mdnew file mode 100644index 00000000..5e764142--- /dev/null+++ b/docs/release-notes/2.0.0-beta.47.zh-CN.md@@ -0,0 +1,113 @@+# Motrix 2.0.0-beta.47++[English](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.47/docs/release-notes/2.0.0-beta.47.md) | 简体中文++Motrix 2.0.0-beta.47 新增桌面端 v1 任务迁移助手、签名官方可选插件安装,以及+手动音视频合并的主程序支持。本版本包含 beta.46 之后的全部更新,改进权限审查、+下载收尾与存储恢复、窗口恢复和诊断日志,并内置 aria2 `1.37.0-motrix.17` 引擎。++## 主要更新++- 桌面端迁移助手可发现 v1 配置或使用指定目录,预览任务并将选中的记录导入为+ 暂停状态,保留原文件。支持元数据备份、重复检测、中断恢复、重试和报告导出。+ 兼容的 BT 任务可在明确授权目录后,单独验证并启用+ ([#2331](https://github.com/agalwood/Motrix/pull/2331))。+- 内置 aria2 `1.37.0-motrix.17` 提供原生旧版 checkpoint 导入,以及暂停 BT+ 任务的持久恢复。引擎数据库升级至 schema 5 前,会保留完整的 SQLite 升级前+ 快照([#2342](https://github.com/agalwood/Motrix/pull/2342))。+- 桌面端和 Server 可从插件市场安装签名官方可选插件。Motrix 会验证签名包,+ 保留常规权限确认和卸载方式,并在安装前说明不兼容的主程序版本+ ([#2312](https://github.com/agalwood/Motrix/pull/2312))。+- 配置 FFmpeg 并启用兼容的 `motrix.media-merge` 插件后,可将独立的本地视频+ 和音频文件手动合并为 MP4 或 MKV。入口位于插件“操作”页,以及两个已完成+ 单文件下载的操作菜单。原文件保留,已有输出文件不会被覆盖。配套插件需单独+ 安装,本次主程序发布不内置该插件,也不会自动合并下载+ ([#2308](https://github.com/agalwood/Motrix/pull/2308))。+- 插件包准备期间直接在安装按钮中显示状态,权限就绪后再打开审查窗口。必需和+ 可选权限分组显示,可选权限默认关闭,确认、取消和窗口退出期间保持授权稳定+ ([#2333](https://github.com/agalwood/Motrix/pull/2333)、+ [#2335](https://github.com/agalwood/Motrix/pull/2335))。+- 改进 macOS exFAT 上的下载后缀移除、实际跨挂载点移动失败,以及存储离线后的+ 收尾恢复。离线存储对应的待处理日志得以保留,其他任务可继续恢复;文件已变化+ 或状态不明确时,仍保留冲突保护+ ([#2330](https://github.com/agalwood/Motrix/pull/2330)、+ [#2339](https://github.com/agalwood/Motrix/pull/2339))。+- 保留启动激活并恢复最小化窗口;下载页滚动条保持在列标题下方;macOS 签名版+ 恢复下载完成后关机所需的权限;优化生产包和桌面延迟加载+ ([#2325](https://github.com/agalwood/Motrix/pull/2325)、+ [#2323](https://github.com/agalwood/Motrix/pull/2323)、+ [#2337](https://github.com/agalwood/Motrix/pull/2337)、+ [#2316](https://github.com/agalwood/Motrix/pull/2316))。+- 插件诊断保留普通 URL 查询参数值,同时遮蔽常见凭据名称。关联任务创建日志+ 便于检查 URL 改写。详细日志模式一小时后到期,复制日志时使用更严格的脱敏+ ([#2340](https://github.com/agalwood/Motrix/pull/2340))。+- 已实现签名插件安全策略执行机制,但本版本尚未配置生产信任和签名数据源。+ 同步保持休眠,本 beta 不提供实时安全公告阻断+ ([#2326](https://github.com/agalwood/Motrix/pull/2326))。+- 更新 Electron、pnpm、打包工具、依赖锁文件、GitHub Actions 和回归测试+ ([#2336](https://github.com/agalwood/Motrix/pull/2336)、+ [#2341](https://github.com/agalwood/Motrix/pull/2341)、+ [#2344](https://github.com/agalwood/Motrix/pull/2344))。++## 测试前须知++这是预发布软件。安装前请备份现有 Motrix 应用数据和下载文件。条件允许时,+请使用独立的操作系统账号、设备或 Docker 数据目录测试 v2。++迁移仅导入记录,不会自动恢复下载。HTTP 任务通过明确的新建下载流程使用独立+目录;BT 原位续传需要兼容的原始元数据、文件选择、引擎支持和明确授权。迁移助手+仅用于桌面端;Windows 会明确拒绝不受支持的旧下载进度导入。请保留 v1 配置和+原文件的备份。旧引擎拒绝 schema 5,因此引擎降级必须使用兼容的升级前数据库快照。++手动音视频合并需要单独发布、签名且兼容 beta.47 的配套插件,以及已配置的+FFmpeg;能否安装取决于该插件的签名发布和 registry 上架。安装 FFmpeg 请打开+“设置 → 集成 → 媒体工具”。正在运行的插件需要重启 Motrix,才能识别新安装的+托管 FFmpeg。详见[FFmpeg 手册](https://motrix.app/zh/manual/ffmpeg/)。++macOS exFAT 收尾兼容路径假设发布期间预留目标名称由应用持有;若外部进程在+验证后替换该预留文件,无法保证原子不覆盖。不支持或状态不明确的文件系统操作+仍会安全拒绝或报告冲突。++复制诊断日志时会遮蔽全部 URL 查询参数值,并省略结构化请求头和正文。分享前+仍需检查日志:插件任意文本或 URL 路径可能包含敏感信息;已写入的详细日志文件+也不会随模式到期而删除。++受保护的 Snap 工作流完成后,可使用 `sudo snap install motrix --edge` 安装+严格限制的构建。已跟踪 `latest/edge` 的安装应升级到同一组 beta.47 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.47-<arch>.flatpak` |+| Flatpak Native Host companion | `linux/x64`、`linux/arm64` | `Motrix-Native-Host-2.0.0-beta.47-linux-<arch>.tar.gz` |+| Docker Hub / GHCR | `linux/amd64`、`linux/arm64` | 两个仓库中的不可变 `2.0.0-beta.47` 标签 |+| Snap Store | `amd64`、`arm64` | `latest/edge` 上的已验证构建集 |++所有容器门禁通过后,可使用以下带版本镜像:+`docker.io/motrixapp/motrix-server:2.0.0-beta.47` 或+`ghcr.io/agalwood/motrix-server:2.0.0-beta.47`。存储、网络与升级说明请参阅+[Docker Server 部署指南](https://github.com/agalwood/Motrix/blob/v2.0.0-beta.47/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.47/docs/flatpak.zh-CN.md)。+- AppImage 桌面集成仍需主动启用。浏览器冷启动需要单独启用 Native Messaging+ host 并注册 AppImage 路径;使用已保存配对重连还需要兼容的配套 Extension。+- 不提供 Windows `arm64` 和所有 32 位 Motrix 主程序安装包。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 cac64b4e..c66a63e8 100644--- a/flatpak/app.motrix.native.metainfo.xml+++ b/flatpak/app.motrix.native.metainfo.xml@@ -68,6 +68,16 @@</screenshots><releases>+ <release version="2.0.0-beta.47" date="2026-10-10">+ <description>+ <p>+ Adds the desktop v1 Migration Assistant, signed official optional+ plugin installation, and manual media merging with a separate plugin.+ Improves permission review, download finalization and storage recovery,+ window restoration, diagnostic logs, and bundles aria2 motrix.17.+ </p>+ </description>+ </release><release version="2.0.0-beta.46" date="2026-10-02"><description><p>diff --git a/package.json b/package.jsonindex 54668378..b35720b6 100644--- a/package.json+++ b/package.json@@ -3,7 +3,7 @@"type": "module","productName": "Motrix","homepage": "https://motrix.app",- "version": "2.0.0-beta.46",+ "version": "2.0.0-beta.47","packageManager": "[email protected]+sha512.ba40a37eb1a370d60fea8c4cf1d364c13bcccef518e98ad2bcee954f539d38da37458e58261a3fa55e06523450ea0ffff9f497b135be41f2c15c1642bacace6c","description": "A full-featured download manager","keywords": [],