Skip to content

chore: release 1.0.0 - #912

Merged
sunerpy merged 2 commits into
mainfrom
release-please--branches--main--components--pt-tools
Nov 19, 2026
Merged

sunerpy merged 2 commits into
mainfrom
release-please--branches--main--components--pt-tools

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

🤖 I have created a release beep boop

1.0.0 (2026-11-19)

1.0 是 0.48.0 之后的第一个正式版,包含其间全部预览版(0.49.0-rc.1 到 rc.6、1.0.0-rc.1 到 rc.60)的改动,以及 rc.60 之后加入的飞书应用机器人与新标志。每项功能的说明见 1.0 新功能。

主要变化

  • 刷流与辅种:刷流任务从站点的种子列表里按条件挑免费的新种做种,按做种时长、分享率与上传速度删除,每一轮做了什么都记在运行记录里;IYUU 辅种校验到 100% 才开始做种,数据只存一份;下完的种子可以转移到另一台下载器继续做种。
  • 追剧与媒体库:订阅电影、追剧集的一季;追剧按每一集的播出时间到各站点搜同一个版本,打开洗版的订阅会接着换更好的;下载完按命名模板硬链接进媒体库,写好 NFO 与海报,通知 Emby、Jellyfin 或 Plex 扫描;还有条目详情页、订阅日历与按条目搜索,也能导入已有的媒体库。
  • 手机 App 与远程访问:Android App 扫码配对,先试直连,连不上经 relay 连回 pt-tools,连接端到端加密;安装包和服务端在同一个 Release 里。
  • AI 助手与 MCP:接一个 OpenAI 兼容的大模型,在网页、App、Telegram、QQ 或飞书里用自然语言查数据、推送种子、管理订阅,改动类操作每次都要你确认;Claude、Cursor 这类 MCP 客户端也能调用同一套工具。
  • 首页与 NAS 监控:首页放今天播出的集、待处理的事、下载器与存储;NAS 概览读本机(Linux)、TrueNAS 与 Glances 的数据,群晖与飞牛是实验性的来源。
  • 飞书应用机器人:和 Telegram、QQ 一样,私聊机器人或在群里 @ 它发命令、和 AI 助手对话,每日战报、签到、追剧这些后台通知也能发到飞书;扫码就能建好机器人,不用去开发者后台开权限、发布版本(企业要求管理员审核应用时可能建不成,那时改用手动创建)。
  • 通知:新增钉钉、飞书群机器人、Bark、Server 酱与 ntfy;Webhook 通道可以自定义请求方法与请求体模板,内置 Discord、Slack、Gotify 等预设;每类事件的标题与正文都能用模板改写;每日战报、签到与追剧这类后台通知的投递都记进操作审计。
  • 站点:内置站点增加到 72 个;新增每日签到(HDSky、OpenCD 的验证码与 PTCHDBits、52PT 的签到题可以交给 AI)与 CookieCloud 导入,封号提醒发出前先补探测一次;多个站点的数据解析已修正。
  • 兼容入口:qB 兼容入口让 MoviePilot、Sonarr 这类工具把 pt-tools 当成 qBittorrent,加的种子照常经过磁盘空间与做种容量的检查;Servarr 兼容入口让 Seerr 把它当成 Radarr 与 Sonarr。
  • 可靠性:每天定时备份数据库,换成新版本第一次启动时先自动备份;推送前对免费资格、磁盘空间与站点做种容量的检查更严;系统体检一次检查各项配置并写明怎么修。
  • 新标志:种子徽标取代原来的终端提示符,浅色界面用墨黑版,深色界面用纯白版。

从 0.48 升级

换成新的镜像或二进制直接启动:数据库结构在启动时自动迁移,迁移以前先自动备份一次(数据目录 backups/ 下的 pt-tools-backup-<时间>-pre-upgrade.tar.gz)。这份备份没做成时照常启动和迁移,结果写在「全局设置 → 备份设置」和首页「待处理」里;想稳妥,升级前先停掉 pt-tools,自己复制一份数据目录。

有几项设置在升级时自动换算:只开了做种竞争度、没开自动删种的安装会打开自动删种,只按竞争度处理;全局「免费结束自动删除」改成每条 RSS 自己选;自动删种的「免费到期仍未下完的种子自动删除」(1.0 里叫「其他免费种子免费过了没下完就删」)不再受最短保种时间限制,开着它时,加进来不满最短保种时间(默认 24 小时)的种子免费一过也会被删。详见 1.0 新功能。

要回到 0.48.0,不要直接换回旧镜像:0.48.0 没有恢复功能,会照常打开升级后的数据库,按换算后的设置运行。先停掉 pt-tools,把升级前备份里的 torrents.db 与 secret.key 放回数据目录,删掉 torrents.db-wal 与 torrents.db-shm,再启动 0.48.0,步骤见升级与备份。升级前备份只保留最新 3 份,要长期留着就复制到别处。

Docker 的 latest 标签从这一版起指向 1.0。


This PR was generated with Release Please. See documentation.

@github-actions
github-actions Bot requested a review from sunerpy as a code owner November 18, 2026 09:34
@github-actions github-actions Bot added the autorelease: pending release-please 发布 PR 待合并 / Release PR not merged yet label Nov 18, 2026
@github-actions
github-actions Bot force-pushed the release-please--branches--main--components--pt-tools branch from be87974 to 8d896e1 Compare November 18, 2026 18:47
@github-actions
github-actions Bot force-pushed the release-please--branches--main--components--pt-tools branch from 8d896e1 to 8794c77 Compare November 19, 2026 00:42
release-please 生成的 1.0.0 一节只列了 rc.60 以后的三个提交;1.0.0 是 0.48.0 之后的第一个正式版,
换成和发布 PR 正文同一份的发版说明,版本标题行保留,对比链接改成从 v0.48.0 起。
@codecov

codecov Bot commented Nov 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 11 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sunerpy
sunerpy merged commit b82be5e into main Nov 19, 2026
19 of 20 checks passed
@sunerpy
sunerpy deleted the release-please--branches--main--components--pt-tools branch November 19, 2026 02:53
@github-actions

Copy link
Copy Markdown
Contributor Author

🤖 Created releases:

🌻

@github-actions github-actions Bot added autorelease: tagged release-please 已发布并打 tag / Released and tagged and removed autorelease: pending release-please 发布 PR 待合并 / Release PR not merged yet labels Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autorelease: tagged release-please 已发布并打 tag / Released and tagged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant