INSERT INTO ias_upgrade_logs (
    version,
    released_at,
    title,
    description,
    changes,
    modules
) VALUES (
    '0.2.24',
    '2026-07-08T00:00:00+08:00',
    'HTTP YAML 能力加载文件级容错',
    'HTTP YAML 能力加载改为文件级容错，单个配置解析失败只会跳过该文件并返回 warning，不再影响其它 HTTP 能力展示和调用。',
    '[
        "HTTP YAML 能力加载改为文件级容错：单个 YAML 配置读取或解析失败时只跳过该文件并返回 warning，不再导致其它 HTTP 能力全部为空。",
        "query_capabilities 会继续展示成功加载的 HTTP 能力，并在 warnings 中标明被跳过的配置文件和错误原因，便于定位坏配置。",
        "call_capability 调用 HTTP YAML 能力时同样继承文件级容错，坏配置不会影响其它可用 YAML 能力执行。",
        "数据库无结构变化；已验证 cargo fmt 和 cargo test。"
    ]'::jsonb,
    '{
        "ias-common": "0.1.2",
        "ias-ai": "0.1.13",
        "ias-wechat": "0.1.1",
        "ias-context": "0.1.5",
        "ias-http": "0.1.13",
        "ias-mail": "0.1.15",
        "ias-service": "0.1.21",
        "ias-main": "0.2.24"
    }'::jsonb
) ON CONFLICT (version) DO UPDATE SET
    released_at = EXCLUDED.released_at,
    title = EXCLUDED.title,
    description = EXCLUDED.description,
    changes = EXCLUDED.changes,
    modules = EXCLUDED.modules;
