Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

release: bump Peach to 0.3.0

Peach local maintenanceb39af8a881b0
diff --git a/docs/STATUS.md b/docs/STATUS.md
index 21f3bdbf2..d291cbb99 100644
--- a/docs/STATUS.md
+++ b/docs/STATUS.md
@@ -4,7 +4,7 @@
## 运行态
-- 生产入口:Windows 当前用户 Startup 中的 `Peach.lnk`,启动 `R:\peach-app\.venv\Scripts\pythonw.exe -m peach.tray`。当前版本 `0.2.1`。
+- 生产入口:Windows 当前用户 Startup 中的 `Peach.lnk`,启动 `R:\peach-app\.venv\Scripts\pythonw.exe -m peach.tray`。当前版本 `0.3.0`。
- HTTP:`0.0.0.0:80`;HTTPS:`192.168.50.162:443`。`peach.local` 是唯一正式局域网名称,发布为 `192.168.50.162`。
- mDNS 使用 Python zeroconf 的全合格网卡监听;生产显式固定发布地址,避免隧道网卡误选。没有发布 `lmd-dst.local`。
- Stash 仍运行于 `127.0.0.1:9999`,只作为过渡期可替换适配器。
@@ -22,7 +22,7 @@
- `FeedAdapter` 已支持显式、有界 RSS/Atom 发现、条件请求和不可变快照;尚未配置真实订阅,也不会启动时自动写 ledger。
- AI Provider 已拆为推理与 Agent 两层。`/api/providers` 无副作用且不泄露凭据;OpenCode Go 模型清单只在显式访问时拉取,当前不发推理请求。
- Windows 托盘已部署:单击打开 Peach,右键提供状态、重启、日志、版本/更新和退出;Per-Monitor V2 DPI 在创建窗口前启用,更新检查在后台线程执行并使用非模态通知。
-- 版本唯一来源为 `src/peach/__init__.py::__version__`。当前 `0.2.1`,本地 tag `v0.2.1`;没有 Git remote 时只报告本地开发版,不伪造更新能力。
+- 版本唯一来源为 `src/peach/__init__.py::__version__`。本批删除旧公共 `/entity/...` 路由,按 pre-1.0 破坏性接口变更规则升至 `0.3.0`;没有 Git remote 时只报告本地开发版,不伪造更新能力。
- 本地 CA HTTPS 已部署。CA 包含 critical `CA:TRUE` 和签名用途并通过 OpenSSL 链验证。macOS/iOS 只安装 `peach-local-ca.crt`;不得传播任何私钥。
- 项目代码、运行数据、本地媒体已分离为 `R:\peach-app`、`R:\peach-data`、`R:\media`。旧空 Inbox 和 `Resources/Tools` 兼容表面已移除。
@@ -57,7 +57,7 @@
- 前一生产版本已分别通过 HTTP/HTTPS health、`peach.local` 解析、真实 CloudDrive Range、桌面 1280×720 和手机 390×844 检查。
- 浏览器验收不得写真实喜欢、反馈或播放数据;需要交互写入时使用隔离 ledger 副本。
- 并行 worktree 测试必须设置 `PYTHONPATH=<当前工作树>\src` 并核对 `peach.__file__`,否则 editable install 可能误加载主目录旧代码。
-- 本批已重启生产托盘。HTTP/HTTPS health 均返回 `0.2.1`;新语义路由返回 200,旧 `/entity/...` 返回 404;`peach.local` 解析为 `192.168.50.162`,zeroconf health 正常;真实作品 4289 的 1 KiB Range 返回 `206 video/mp4`。
+- 本批已重启生产托盘。HTTP/HTTPS health 均返回 `0.3.0`;新语义路由返回 200,旧 `/entity/...` 返回 404;`peach.local` 解析为 `192.168.50.162`,zeroconf health 正常;真实作品 4289 的 1 KiB Range 返回 `206 video/mp4`。
- 生产桌面 1280×720:无横向溢出,选中内描边未裁切,标签圆角一致,侧栏/抽屉透明渐变生效。生产手机 390×844:无横向溢出,侧栏隐藏、内容零左缩进、标签圆角一致。浏览器控制台无 warning/error。
- 详情播放释放和 sticky 遮挡在隔离 ledger 浏览器中验收;生产浏览器只做无写入首页/样式检查,未污染真实播放、喜欢或反馈数据。
diff --git a/src/peach/__init__.py b/src/peach/__init__.py
index 179111232..58e836b7a 100644
--- a/src/peach/__init__.py
+++ b/src/peach/__init__.py
@@ -1,3 +1,3 @@
"""Peach application package."""
-__version__ = "0.2.1"
+__version__ = "0.3.0"
diff --git a/tests/test_fastapi_api.py b/tests/test_fastapi_api.py
index 8f0730a21..c953085c8 100644
--- a/tests/test_fastapi_api.py
+++ b/tests/test_fastapi_api.py
@@ -110,7 +110,7 @@ class FastApiContractTests(unittest.IsolatedAsyncioTestCase):
response = await self.client.get("/healthz")
self.assertEqual(response.status_code, 200)
self.assertEqual(response.json()["mode"], "fastapi")
- self.assertEqual(response.json()["version"], "0.2.1")
+ self.assertEqual(response.json()["version"], "0.3.0")
async def test_auth_and_items_contract(self):
denied = await self.client.get("/api/items")