Skip to content

Choose a tag to compare

@github-actions github-actions released this 18 Sep 07:58
· 51 commits to master since this release
373c673

本轮发布包

  • @dependfix/core@0.5.0
  • @dependfix/engine@0.4.0
  • @dependfix/skills@0.2.0
  • dependfix@0.5.0
  • @dependfix/mcp@0.2.0
  • @dependfix/platform@0.3.0

变更日志(根 CHANGELOG)

0.5.0 (2026-09-18)

⚡ 性能优化

  • platform: 优化备份保留策略并支持跳过备份 (58aa7ce)

✨ 新功能

  • api: /api/repos/[id]/scan 加 reuseScanRunId 参数并支持终态复用 (5b81142)
  • api: 引入 createLocalizedError helper 与 i18n serverErrors 字典 (a573df3)
  • core,engine: NormalizedSecurityAlert 接口 + fetcher 透传 GHSA + CVE (b6e7716)
  • docs: M26.3 C69 2 个 summary-sync en-US md 翻译(architecture + platform-ai-integration) (175c709)
  • docs: M26.3 C69 2 个 summary-sync en-US md 翻译(governance/index + spec-and-doc-governance) (d5e6786)
  • docs: M26.3 C69 5 个 must-sync en-US md 翻译 (1b43cf5)
  • docs: M26.3 C69 VitePress 多语言脚手架 (4dfd630)
  • engine,core: NormalizedSecurityAlert 新增 upstreamId 字段(M20.1) (acb2d35)
  • engine: AppAuthProvider + InstallationTokenCache 完整实施 + 单测补强 (adf370a)
  • engine: Code Scanning 真实仓库样本采集脚本 + 报告模板(M28.3 / C15) (99302b5)
  • engine: per-source 错误隔离汇总(M19.5 C8) (a20ea02)
  • engine: 新增 AuthProvider 接口契约 + PatAuthProvider 单测 (e9b9c0a)
  • engine: 新增发现规模上限 max-repos(C23) (c998d58)
  • engine: 重复 PR 自动评论 + duplicate label(B1) (5839771)
  • i18n: i18n-anchor-check 工具脚本 + CI 集成(locale 对称性检查) (80912c2)
  • i18n: M26.3 C69 check:readme-i18n 脚本 + npm script (b31f5a8)
  • mcp: runScan 返回结构 RunResult 对齐 5 字段 (5cf2d22)
  • mcp: 新增 pnpm_audit 本地回退数据源 tool (9207481)
  • platform: /api/alerts 移除 dedupe + dashboard 数活跃告警(M20.5) (170fee1)
  • platform: /api/runs 加 organizationId 隔离并补单测 (8675608)
  • platform: alerts 去重视图 Sidebar 展示运行元数据并接入独立详情对话框 (1112017)
  • platform: alerts 视图 "立即修复此仓库" 入口 + Sidebar 抽出 + utility 抽取 (1dcc531)
  • platform: alerts 视图增加独立 Identifiers 列(GHSA 优先 + 多 CVE 折叠 + fallback CVE) (650a0d2)
  • platform: alerts 视图移除 dedupe 切换 + 改为 includeSuperseded 开关(M20.6) (c7ba014)
  • platform: apps/platform/app/utils/alerts-view 新增 buildAlertsQuery (96c8446)
  • platform: better-auth transaction trace 日志落地(M27.5 候选 ① 诊断) (b252f93)
  • platform: GitHub App 凭据管理接入(实体 + schema + UI tab + PEM 校验) (b3a2cfb)
  • platform: i18n 新增 scans 段 + 布局菜单项 + repos pi-history 跳转 (5a3b31a)
  • platform: M26.1 i18n ai.* 命名空间 (69545c5)
  • platform: M26.1 应用层 4 个 AI 配置 API 端点 (40db65a)
  • platform: M26.1 应用层 Organization + Repository AI 配置 UI (80138b1)
  • platform: M26.1 应用层 RunDetailDialog AI 用量 + alerts AI 评估列 (d7fb63b)
  • platform: M26.1 扫描对话框 AI override 折叠面板 + repos 透传 (6ef2e27)
  • platform: M26.1 补全 GET /api/organizations/[id]/ai-config 端点(re-audit fix B1) (b97babd)
  • platform: M26.2 C67 Credential.ownerLogin 字段 + schema 同步 + migration (10af85c)
  • platform: M26.2 C67 importable.get 单端点重构(include=owners|repos + owner 自动发现) (9ae7c2c)
  • platform: M26.2 C67 Resource owner 选择器 UI + i18n (531c252)
  • platform: M26.3 C69 包 README 双语化 (bb61814)
  • platform: M26.x settings.vue 挂载 ai-config-form + organizations/current 端点 (2fe6d1a)
  • platform: Nuxt 平台 head 扩展 og:image + apple-touch-icon (97024bd)
  • platform: Nuxt 平台 header / auth 页 / favicon 接入 brand 资产 (f276ca4)
  • platform: Organization + Repository + ScanRun AI 配置实体 + migration (1c65582)
  • platform: PR Check 仓库过滤 Dropdown + nav 命名统一 (19037d5)
  • platform: PR Check 状态监测 API 层(4 端点 + i18n 扩展) (89e1344)
  • platform: PR Check 状态监测 service + scheduler 接入 (1068d6e)
  • platform: PR Check 状态监测 UI 层 (e841b82)
  • platform: ScanRequest schema 扩展 + scan-orchestrator service 透传 RuntimeConfig.ai (f174cce)
  • platform: ScanResult backfill 一次性数据迁移脚本(M20.7) (a399323)
  • platform: ScanResult ghsaId/cveIds 列 + migration + reconcile 透传 (f44a527)
  • platform: ScanResult per-alert 模型重构 + reconcile 函数(M20.3) (2e4ab1b)
  • platform: SQLite 数据库启动期自动备份(hard requirement) (2a31597)
  • platform: SQLite 数据库命令式恢复脚本 db-restore (7b8721e)
  • platform: SQLite 数据库自检工具 db-doctor (5835887)
  • platform: TypeORM synchronize 显式 opt-in + 启动日志 (daa255c)
  • platform: zod-helpers parseOptional helper + 应用替换 Phase 3 W2 + Phase 2 W6 (65a8ec1)
  • platform: 三执行器同步透传 ai 字段(container / sandbox / github-action) (7250ec1)
  • platform: 执行日志捕获与展示(Winston + MemoryLogger + Axiom) (59f70d5)
  • platform: 新增 /api/scan-history/summary 聚合端点 (5e9c3c1)
  • platform: 新增 /scans 独立页面 + RepoHistoryDialog 改造 + 三种 query e2e (d656dc3)
  • platform: 新增 PRCheck 实体与依赖更新 PR 监测表 (36ee026)

🐛 Bug 修复

  • deps: 升级 devalue 修复 DoS 漏洞 (f991caf)
  • deps: 回退 @vitest/coverage-v8 到 vitest 4 配套版本 (f9976c7)
  • design: Manifest flow 评估报告修正 GHES 版本断言 + OAuth 认证描述 (700ab28)
  • design: 删除 §2.6 重复小节标题 (ac21f6f)
  • docs: audit W1 修复 auto-merge.md 注册 vitepress sidebar (c9939cb)
  • docs: M26.3 en-US/index.md YAML 半角冒号导致 vitepress build 失败 (4be6e52)
  • docs: 修复 markdown 裸 HTML 标签触发 VitePress build 失败 (9649869)
  • docs: 修复 roadmap.md <code> 裸标签破坏 docs:build (c89c233)
  • docs: 恢复 packages/mcp/README.md 中文源描述 (a461c4c)
  • e2e: 修复 alerts-rowgroup SSR fetch 拦截盲区导致 E2E job timeout (8965baa)
  • engine: execFileSync 替换 fixers/pnpm execRepair(Code Scanning RG-W02) (a77e557)
  • engine: execFileSync 替换 pr-creator.ts execSync(Code Scanning RG-W01) (0a83c74)
  • engine: M18.4 测试层补强 + app-provider auth 字段 bug 修复 (b5c23a0)
  • engine: M24.4 RG-W02 治理债清理(fixers/pnpm execSync 替换) (aaf8e7b)
  • engine: runCodeScanningFixes 批处理 + 测试覆盖 (eaaa997)
  • engine: W3 修复 stageAndCommit host 全局 git config 干扰 bug (6866eb7)
  • engine: 修复 M18.1 commit 1 audit Reject 阻断问题 (0866830)
  • engine: 修复 pr-creator 中的命令注入漏洞 (2d3419b)
  • engine: 修复 quickVerifyProject 在缺少 setup 步骤时 lint OOM (7810ae4)
  • i18n: M26 修复 39 个 i18n key {zh-CN, en} 对象结构 + errors.ownersFetchFailed 字面点号 (a899a5c)
  • i18n: M26 恢复 ai.providerOptions / ai.triggerOptions 嵌套对象(re-audit fix B4 round 2) (8becb80)
  • platform: alerts 视图默认按严重级别降序排序 (e5bf11d)
  • platform: auth 页品牌 mark 跟随 .dark class 动态切换 (b93c853)
  • platform: C38 encryptionKey 标准化统一 NUXT_ENCRYPTION_KEY 路径 (b0d3ac0)
  • platform: clone 优化(超时300s + 重试3次 + partial clone) (293c68a)
  • platform: clone 日志纳入 MemoryLogger + SCSS 变量修复 (6ad4ec5)
  • platform: DataTable 空状态去除 TD 底 border 消除双线 (8d01b36), closes #7
  • platform: e2e/fixtures 端点双门控 + runtimeConfig 兜底(防 esbuild 折叠) (7f84b6e)
  • platform: M18.x 治理批次 — S1 + S2 修复 (fd2a29e)
  • platform: migration raw SQL 必须用 snake_case 列名 (b5ab0b2), closes #6
  • platform: PEM 指纹算法修正 + schema strict + 单测补强 (c6534fe)
  • platform: PR 链接文案改为'查看 PR' + 样式优化 (1774344)
  • platform: repo-history-dialog 添加日志和 PR 链接展示 (a76e006)
  • platform: scans 全运行列表添加仓库列显示 (fcc2a13)
  • platform: SQLite WAL 模式 + busy_timeout 优化(M22.7 ECONNRESET 治本) (2ffaa45)
  • platform: TypeORM migrationsRun 显式 opt-in + 默认改为 false (32bb375)
  • platform: W2 detectServerLocale 大小写兼容 (ad376c8)
  • platform: 修复 auth 页 logo 不居中(max-width 限制下推到 img) (4b9952b)
  • platform: 修复 backfill 脚本入口守卫 TypeScript narrowing 失效 (e77f42b)
  • platform: 修复 CI build 失败:pr-checks SCSS 未定义变量 (ad1ab17)
  • platform: 修复 cron-preview 时区测试跨日边界 flaky 失败 (3597dcf)
  • platform: 修复 git clone 超时误分类与重试机制失效 (50bd426)
  • platform: 修复 pemFingerprintHint 触发 vue-i18n HTML 检测告警 (db79d5f)
  • platform: 修复 run-detail-dialog SCSS 变量未定义错误 (905b553)
  • platform: 修复 ScanRun logsJson 迁移(幂等 + 注册到 DataSource) (206a835)
  • platform: 执行日志与 PR 链接展示修复 (ab88f86)
  • platform: 状态机识别引擎交付类失败 + exitCode 透传 (f381164)
  • standards: 修正经验教训沉淀 commit 引入的断链 (edef93b)
  • 修复 CI3 处失败(check:docs 断链 + E2E batch 断言 + pipeline 覆盖率) (24d02b1)

📦 代码重构

  • api: batch-runs + repos batch 系列 throw 改造使用 createLocalizedError(commit 1/2) (98fd47d)
  • api: credentials 系列 throw 改造使用 createLocalizedError (5f66a08)
  • api: guard 与 repos 系列 throw 改造使用 createLocalizedError (b604f79)
  • api: runs 系列 throw 改造使用 createLocalizedError (e9c406e)
  • api: schedules 系列 throw 改造使用 createLocalizedError (90549a0)
  • e2e: extract authedCookieHeader to helpers/auth-cookie.helper (M17.5 T1705 S-2) (466b142)
  • engine+test+mcp+platform: 调用点改造为 auth 路径 (67a1a2f)
  • engine: commit author 动态化(pr-creator stageAndCommit 接受可选 author) (e84ff58)
  • engine: 引入 AuthProvider 抽象层 + PatAuthProvider 基础实施 (026078a)
  • logger: 重构日志模块以支持可测性和初始化逻辑 (af07189)
  • platform: alerts.vue 迁移 useAsyncData 替代 onMounted (21b2267)
  • platform: audit suggest 1 admin-roles.e2e.test.ts 嵌套 test.use 冗余清理 (0903f06)
  • platform: audit suggest 2 credentials/[id].test.ts 空 beforeAll 钩子清理 (b6d8539)
  • platform: auth 页 logo 改用方形 mark + 同步公共副本 (68e0990)
  • platform: M20.7 backfill 脚本精简(engines Node 22+ + 整合 entity 注册) (ca6a1dc)
  • platform: PR Check 命名一致性 + 守卫 DRY + 样式 util 下沉 (4803372)
  • platform: pushFixBranch 接受 AuthProvider(兼容 token 字符串) (a6a1695)
  • platform: 引擎降级为 fix+commit + 平台接管 push/PR 交付 (3738dbf)
  • platform: 组件命名统一改为小写连字符风格 (acfdc8d)