@spaceflow/review 0.77.0 → 0.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,72 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.78.0](https://github.com/Lydanne/spaceflow/compare/@spaceflow/review@0.77.0...@spaceflow/review@0.78.0) (2026-04-07)
4
+
5
+ ### 新特性
6
+
7
+ * **review:** 新增 code-* 代码结构过滤语法,支持按函数/类/接口等类型审查新增代码 ([f3b17d3](https://github.com/Lydanne/spaceflow/commit/f3b17d36c6360269a2fd4075311ae764e85cf428))
8
+
9
+ ### 代码重构
10
+
11
+ * **ci:** 将 PR 审查工作流日志级别从 -vv 提升至 -vvv ([43bd563](https://github.com/Lydanne/spaceflow/commit/43bd5632dbd7151e11977520ca0634fdbc393279))
12
+ * **review:** 优化 syncReactionsToIssues 中的 issue 匹配逻辑,优先使用 issue-key 精确匹配并回退到 path+position 匹配 ([eb8ea47](https://github.com/Lydanne/spaceflow/commit/eb8ea47c56466aa25d58358a09f1e0c9094aa28d))
13
+ * **review:** 修改 buildLinesWithNumbers 忽略占位符格式,从 `...... ..| ignore X-Y code` 改为 `....... ignore X-Y line .......` ([a45dc1a](https://github.com/Lydanne/spaceflow/commit/a45dc1a5b92d50f75682782cec24b0100732e434))
14
+ * **review:** 将 code-* 语法从 includes 迁移至独立 filterCodeBlocks 配置项 ([ed4b921](https://github.com/Lydanne/spaceflow/commit/ed4b9217a563d992b76d1e55af21f9b364329737))
15
+ * **review:** 将 filterCodeBlocks 重命名为 whenModifiedCode,简化代码结构过滤语法 ([951c570](https://github.com/Lydanne/spaceflow/commit/951c570ceb7c04d25265d043c3948687bbb230f1))
16
+ * **review:** 将 prompt 构建逻辑提取到独立的 prompt 模块,新增类型验证和 schema 定义 ([5f21356](https://github.com/Lydanne/spaceflow/commit/5f21356964ad4f08004e229ac7bd538c0301b37d))
17
+ * **review:** 将 review-pr-comment-utils 重构为 utils/review-pr-comment,新增完整测试覆盖 ([29041b6](https://github.com/Lydanne/spaceflow/commit/29041b635e3a6ecbd2b2ae49ad1b657aa1a66e9c))
18
+ * **review:** 将 skipDuplicateWorkflow 重构为 duplicateWorkflowResolved,支持 skip/delete 两种处理模式 ([37238f9](https://github.com/Lydanne/spaceflow/commit/37238f9ae8ed38c67f46acb963e3ebb795c0ef71))
19
+ * **review:** 将无效 commit hash 的 issue 标记为 invalid 并清除 commit 字段,移除 code-* 前缀语法支持 ([0a89136](https://github.com/Lydanne/spaceflow/commit/0a89136b32cf49a70dbdfa26683e97ee13dc207e))
20
+ * **review:** 提前检测无效 commit hash,在 fillIssueAuthors 中对已有 author 的 issue 也进行校验 ([c166496](https://github.com/Lydanne/spaceflow/commit/c1664966066bca032bd936b6c1d2c8f320949f9c))
21
+ * **review:** 新增 systemRules 静态规则系统,支持 maxLinesPerFile 限制并跳过超限文件的 LLM 审查 ([3721d0f](https://github.com/Lydanne/spaceflow/commit/3721d0f46d40f71230aceb060350682a3d5642d7))
22
+ * **review:** 新增 whenModifiedCode 过滤逻辑,跳过无匹配代码块的文件并记录日志 ([3d0c1e1](https://github.com/Lydanne/spaceflow/commit/3d0c1e1a4b492e62104af92d16208c206934ad10))
23
+ * **review:** 简化 includes glob 模式,移除冗余的 `*/**` 前缀 ([56cf145](https://github.com/Lydanne/spaceflow/commit/56cf145fbf8f1311df9d538fffc61581d4ead400))
24
+
25
+ ### 测试用例
26
+
27
+ * **review:** 新增全量 diff 语义测试,验证 added| 对分支首次引入文件的持续匹配行为 ([5b72577](https://github.com/Lydanne/spaceflow/commit/5b725772091d1d4fe5207af1b7d176e705bdb8d3))
28
+
29
+ ### 其他修改
30
+
31
+ * **review-summary:** released version 0.46.0 [no ci] ([72fa783](https://github.com/Lydanne/spaceflow/commit/72fa783ef5c104d654a29481300d791b333df0ee))
32
+ * **scripts:** released version 0.32.0 [no ci] ([7871aa9](https://github.com/Lydanne/spaceflow/commit/7871aa94a7f1227d6f09fc43ea69fb7d4e193ec4))
33
+ * **shell:** released version 0.32.0 [no ci] ([88bdc81](https://github.com/Lydanne/spaceflow/commit/88bdc81cb0ec7809fbd76c7b157e0177b2f4db20))
34
+
35
+ ## [0.77.0](https://github.com/Lydanne/spaceflow/compare/@spaceflow/review@0.76.0...@spaceflow/review@0.77.0) (2026-04-07)
36
+
37
+ ### 新特性
38
+
39
+ * **review:** 新增 failOnIssues 选项,支持根据未解决问题状态控制工作流退出 ([6139538](https://github.com/Lydanne/spaceflow/commit/6139538008af8247ffccdf5aad94d6fa980b73de))
40
+ * **review:** 新增 PullRequestModel 封装 PR 数据访问层 ([3292f1f](https://github.com/Lydanne/spaceflow/commit/3292f1f7d0713ffbb1cdac9e3d3660a013a16fe1))
41
+ * **review:** 新增 ReviewContext 和 ReviewIssueFilter 核心模块 ([dd3c2ce](https://github.com/Lydanne/spaceflow/commit/dd3c2ce107088a17255c19ee1becfa4090d84be6))
42
+
43
+ ### 修复BUG
44
+
45
+ * **review:** 修正 issue 统计中 resolved 状态的重复计数问题 ([b61f95e](https://github.com/Lydanne/spaceflow/commit/b61f95e92300dd9c508f3063b3174df1c10a90ad))
46
+
47
+ ### 代码重构
48
+
49
+ * **review:** 优化 PR Review 提交流程,避免重复创建同轮次评论 ([c6977e0](https://github.com/Lydanne/spaceflow/commit/c6977e0ef4497aa3100281b76281e97dc313ab1a))
50
+ * **review:** 优化 PullRequestModel 缓存返回和依赖注入 ([9537a58](https://github.com/Lydanne/spaceflow/commit/9537a587f7ccc900de589aa38bc45a05d73f3f8f))
51
+ * **review:** 优化参数传递和代码组织 ([a1c165e](https://github.com/Lydanne/spaceflow/commit/a1c165ed6a804d6c683bada65f0eafd705d02dac))
52
+ * **review:** 提取 LLM 审查相关类型和工具函数到独立模块 ([78cff32](https://github.com/Lydanne/spaceflow/commit/78cff327459c377c57486b4322c5a29f9bedf162))
53
+ * **review:** 提取公共工具函数并优化代码复用 ([936bd6f](https://github.com/Lydanne/spaceflow/commit/936bd6f5e1b70c397696ed67ec64b77f63445eb1))
54
+ * **review:** 提取自动批准消息构建逻辑并支持 @PR 作者通知 ([0e6ad66](https://github.com/Lydanne/spaceflow/commit/0e6ad66b3d38d811ecbfb1da2a0426b2eb21b6fd))
55
+ * **review:** 新增 includes 模式的变更类型前缀语法支持 ([d0aacad](https://github.com/Lydanne/spaceflow/commit/d0aacada1f3144bac2934d50d547df17f4e9d305))
56
+ * **review:** 新增 ReviewResultModel 封装审查结果数据访问层 ([a4be34a](https://github.com/Lydanne/spaceflow/commit/a4be34aaa1f722ea0748efb67bd4999bff08b769))
57
+ * **review:** 重构类型定义位置并导出公共常量 ([0293f02](https://github.com/Lydanne/spaceflow/commit/0293f0220d4b7604b44d53c3fa547ca01961cc2d))
58
+ * **tsconfig:** 重命名 tsconfig.skill.json 为 tsconfig.extension.json ([16c80f9](https://github.com/Lydanne/spaceflow/commit/16c80f98ccffafeac06261f94341298523cebd93))
59
+
60
+ ### 文档更新
61
+
62
+ * **review:** 更新文档,补充 includes 变更类型过滤和 failOnIssues 选项说明 ([6389048](https://github.com/Lydanne/spaceflow/commit/63890487e330909e4e30c392de723c052ee5fa23))
63
+
64
+ ### 其他修改
65
+
66
+ * **core:** released version 0.30.0 [no ci] ([7a94a63](https://github.com/Lydanne/spaceflow/commit/7a94a632cd246d3d58c0e8cb85dd1c361ed39b6c))
67
+ * **publish:** released version 0.54.0 [no ci] ([64b467d](https://github.com/Lydanne/spaceflow/commit/64b467d663caa2ec5b793f609c01f150ab416bea))
68
+ * **review-summary:** released version 0.45.0 [no ci] ([640e71d](https://github.com/Lydanne/spaceflow/commit/640e71dd6da42ff055fc925767418f9ba742c8b1))
69
+
3
70
  ## [0.76.0](https://github.com/Lydanne/spaceflow/compare/@spaceflow/review@0.75.0...@spaceflow/review@0.76.0) (2026-04-03)
4
71
 
5
72
  ### 修复BUG