Files
iAs/ias-db/migrations/20260707013000_insert_upgrade_log_0_2_15.sql
T
wunianxiao 7deae286ca feat: 0.2.27 - 抽离数据库基础设施模块
- 新增 ias-db crate,集中管理 PostgreSQL 连接池和 SQLx 迁移
- 迁移 ias-service/migrations 到 ias-db/migrations
- ias-main 改用 ias_db::connect_db(),ias-service 只接 PgPool
- 新增操作日志 HTTP 查询接口 (GET /v1/logs, GET /v1/logs/{id})
- 新增操作日志 Web 前端页面,支持按级别/模块/关键词筛选
- 消息队列关键节点增加操作日志写入
- ias-mail 新增 mark_remote_message_seen,IMAP 已读同步
- 工作流配置加载改为文件级容错 (load_configs_with_warnings)
- ias-context 工具调用说明更新为 query_api_docs + call_http_api
- 新增高德地图地理编码 HTTP 能力配置

模块版本: ias-db 0.1.0, ias-ai 0.1.14, ias-context 0.1.6, ias-http 0.1.15, ias-mail 0.1.16, ias-service 0.1.25, ias-main 0.2.27
2026-07-08 17:44:21 +08:00

36 lines
1.7 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
INSERT INTO ias_upgrade_logs (
version,
released_at,
title,
description,
changes,
modules
) VALUES (
'0.2.15',
'2026-07-07T00:00:00+08:00',
'新增 Markdown 预览页面能力',
'新增 Markdown 预览页面和 AI 创建工具,使模型可以把长篇 Markdown 内容生成可分享链接,避免聊天平台消息长度限制。',
'[
"新增 Markdown 预览页面能力:page_type=markdown 的动态页面公开路径为 /md/{slug}React 前端按 Markdown/GFM 渲染标题、列表、表格、引用、链接和代码块。",
"新增内置 AI 工具 create_markdown_preview,模型可把长篇 Markdown、报告、代码说明或结构化答复创建成预览页,并只在聊天中发送简短摘要和链接,避免平台消息长度限制。",
"query_web_pages 支持查询 markdown 页面类型,并会返回 /md/{slug} 链接;普通动态页面和邮件页面路径保持不变。",
"API 文档补充 Markdown 动态页面说明;HTTP 模块仍只负责 JSON API 与静态资源托管,Markdown 渲染由 React 前端负责。",
"无数据库结构变化;ias-ai 升级至 0.1.5ias-http 升级至 0.1.9ias-service 升级至 0.1.12。"
]'::jsonb,
'{
"ias-common": "0.1.1",
"ias-ai": "0.1.5",
"ias-wechat": "0.1.0",
"ias-context": "0.1.2",
"ias-http": "0.1.9",
"ias-mail": "0.1.15",
"ias-service": "0.1.12",
"ias-main": "0.2.15"
}'::jsonb
) ON CONFLICT (version) DO UPDATE SET
released_at = EXCLUDED.released_at,
title = EXCLUDED.title,
description = EXCLUDED.description,
changes = EXCLUDED.changes,
modules = EXCLUDED.modules;