2669861af1
- 删除旧邮件查询兼容路由 GET /mail-api/messages、/mail-api/messages/{id}、/mail-api/search
- 所有 JSON API 统一使用 /v1/...:邮件、上下文记忆、动态页面创建和健康检查接口
- 页面路由保持非 /v1 地址:/mail、/mail/messages/{id}、/mail/{slug}、/web/{page_type}/{slug}、/updates
- AI 内部工具调用同步改用 /v1/web/pages 与 /v1/context/memories...
- 无数据库结构变化,新增 0.1.14 升级日志记录
35 lines
1.3 KiB
SQL
35 lines
1.3 KiB
SQL
INSERT INTO ias_upgrade_logs (
|
|
version,
|
|
released_at,
|
|
title,
|
|
description,
|
|
changes,
|
|
modules
|
|
) VALUES (
|
|
'0.1.11',
|
|
'2026-07-06T00:00:00+08:00',
|
|
'手动邮件拉取同步最近 20 封',
|
|
'修正手动邮件拉取命令的语义,使其抓取最近 20 封邮件并入库,同时保留后台轮询只提醒未读邮件的行为。',
|
|
'[
|
|
"修正 ias mail pull [id] 的手动拉取语义:现在会抓取最近 20 封邮件并入库,不再只处理未读邮件。",
|
|
"ias mail pull 输出新增扫描数量,便于确认 IMAP 确实返回了最近邮件;同时继续显示其中未读、新增和已存在数量。",
|
|
"后台邮件轮询保持只处理未读邮件并发送微信提醒,手动拉取不发送微信提醒。",
|
|
"无数据库结构变化。"
|
|
]'::jsonb,
|
|
'{
|
|
"ias-common": "0.1.0",
|
|
"ias-ai": "0.1.0",
|
|
"ias-wechat": "0.1.0",
|
|
"ias-context": "0.1.0",
|
|
"ias-http": "0.1.0",
|
|
"ias-mail": "0.1.4",
|
|
"ias-service": "0.1.1",
|
|
"ias-main": "0.1.11"
|
|
}'::jsonb
|
|
) ON CONFLICT (version) DO UPDATE SET
|
|
released_at = EXCLUDED.released_at,
|
|
title = EXCLUDED.title,
|
|
description = EXCLUDED.description,
|
|
changes = EXCLUDED.changes,
|
|
modules = EXCLUDED.modules;
|