Просмотр исходного кода

chore: auto bump version and changelog [skip ci]

iwt 2 недель назад
Родитель
Сommit
acb965ff23

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-49d863622e986e17a99d1e0854d569f9390c82c1
+fa53b3758da7dd051b121bae65df18bc7a673c74

+ 2 - 2
cfc-web/package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "cfc-web",
-  "version": "1.0.1820",
+  "version": "1.0.1821",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cfc-web",
-      "version": "1.0.1820",
+      "version": "1.0.1821",
       "dependencies": {
         "@wangeditor/editor": "^5.1.23",
         "@wangeditor/editor-for-vue": "^1.0.2",

+ 1 - 1
cfc-web/package.json

@@ -1,6 +1,6 @@
 {
   "name": "cfc-web",
-  "version": "1.0.1821",
+  "version": "1.0.1822",
   "private": true,
   "scripts": {
     "dev": "vue-cli-service serve",

+ 46 - 0
cfc-web/public/CHANGELOG-v1.0.md

@@ -4,6 +4,52 @@
 
 ---
 
+## v1.0.1822 (2026-10-29)
+
+### 测试
+- 接口冒烟闭环 2026-10-29 22:26 — 通过率 44% (fix=0 reg=0)
+
+### Bug 修复
+- 暴露接口冒烟真实通过率并修复 set -u 下 commit 失败
+- 闭环默认测试目标切到 cfc.iwintrue.com(原 192.168.16.251 已失效)并放宽超时至 8s
+- 修复小程序健康报告列表点详情崩溃(MP 内联事件传对象导致 undefined)
+
+### 其他
+-   interface_test_metrics.env,供 bash 提交信息使用
+- - bash 提交前读取该文件并初始化默认值,消除 set -u 下 $fixed/$regressed
+-   unbound variable 导致整条 git commit 命令展开失败(曾使测试结果无法提交)
+- - 提交信息由假 '?%' 改为真实通过率,例如 '通过率 45% (fix=0 reg=0)'
+- 
+- 
+- - 删除 pages/diet/food-query.vue 及 pages.json 路由,recommendation 标题改「食材推荐」
+- - 饮食首页:移除「食材查询」入口,「食谱推荐」改名「食材推荐」指向 recommendation
+- - 成长页:仅保留「饮食推荐」入口(指向 recommendation),移除「食材戒备匹配」卡片及相关数据/方法/接口导入
+- - 肠道菌群报告详情:移除「食材戒备」卡片、goToCaution、cautionCount 及 getFoodCautionList 导入
+- 任务:饮食模块整合-去食材查询合并食材推荐
+- 验证:verify-vue-compile 全站 PASS(389/390,mp-html 跳过);audit-mp-antipatterns ERROR 0;audit-duplicate-api-calls 0 error;npm run build:mp-weixin 构建成功
+- 
+- 扩展核验发现 1 项真实 a11y 缺陷(星图 Canvas 缺 ARIA/文字替代,建议合入前修复)
+- 及 2 项门禁 FAIL 为误报/既有约束(lint_hardcodes、slop_tells)。
+- 
+- 微信小程序运行时该参数解析为 undefined,触发 Cannot read properties of undefined (reading 'id'),
+- 报告列表无法进入详情。H5 正常,仅 MP 端复现。
+- 修复:模板内联事件改传基本类型 id / reportType / subjectId,同步调整 7 个处理方法签名
+- (onRowClick / onTouchStart / adjustBinding / confirmDelete / doDelete / approveTransfer /
+- denyTransfer / selectMemberAdjust)。模板 :class/:style/:key 的 item.x 绑定不受影响,保持原样。
+- 验证:
+- - scripts/verify-vue-compile.js report-list.vue → PASS(模板/样式/脚本)
+- - scripts/audit-mp-antipatterns.js --error-only → ERROR 0(含全站回归扫描)
+- - npm run build:mp-weixin → DONE exit 0;编译后 wxml 确认各 handler 改为从列表数据提取基本字段
+-   (onRowClick: item.m10,'id' + item.m11,'reportType' 等),不再传递整个对象
+- 
+
+### 新功能
+- 饮食模块整合-去食材查询合并食材推荐
+
+### 文档
+- B2 能量沙盘独立核验报告(wuxing-sandbox.vue)
+
+
 ## v1.0.1821 (2026-10-29)
 
 ### Bug 修复

+ 47 - 1
cfc-web/public/CHANGELOG.md

@@ -1,6 +1,6 @@
 # 更新日志
 
-> 当前版本: v1.0.1821
+> 当前版本: v1.0.1822
 
 ## 历史版本
 
@@ -8,6 +8,52 @@
 
 ---
 
+## v1.0.1822 (2026-10-29)
+
+### 测试
+- 接口冒烟闭环 2026-10-29 22:26 — 通过率 44% (fix=0 reg=0)
+
+### Bug 修复
+- 暴露接口冒烟真实通过率并修复 set -u 下 commit 失败
+- 闭环默认测试目标切到 cfc.iwintrue.com(原 192.168.16.251 已失效)并放宽超时至 8s
+- 修复小程序健康报告列表点详情崩溃(MP 内联事件传对象导致 undefined)
+
+### 其他
+-   interface_test_metrics.env,供 bash 提交信息使用
+- - bash 提交前读取该文件并初始化默认值,消除 set -u 下 $fixed/$regressed
+-   unbound variable 导致整条 git commit 命令展开失败(曾使测试结果无法提交)
+- - 提交信息由假 '?%' 改为真实通过率,例如 '通过率 45% (fix=0 reg=0)'
+- 
+- 
+- - 删除 pages/diet/food-query.vue 及 pages.json 路由,recommendation 标题改「食材推荐」
+- - 饮食首页:移除「食材查询」入口,「食谱推荐」改名「食材推荐」指向 recommendation
+- - 成长页:仅保留「饮食推荐」入口(指向 recommendation),移除「食材戒备匹配」卡片及相关数据/方法/接口导入
+- - 肠道菌群报告详情:移除「食材戒备」卡片、goToCaution、cautionCount 及 getFoodCautionList 导入
+- 任务:饮食模块整合-去食材查询合并食材推荐
+- 验证:verify-vue-compile 全站 PASS(389/390,mp-html 跳过);audit-mp-antipatterns ERROR 0;audit-duplicate-api-calls 0 error;npm run build:mp-weixin 构建成功
+- 
+- 扩展核验发现 1 项真实 a11y 缺陷(星图 Canvas 缺 ARIA/文字替代,建议合入前修复)
+- 及 2 项门禁 FAIL 为误报/既有约束(lint_hardcodes、slop_tells)。
+- 
+- 微信小程序运行时该参数解析为 undefined,触发 Cannot read properties of undefined (reading 'id'),
+- 报告列表无法进入详情。H5 正常,仅 MP 端复现。
+- 修复:模板内联事件改传基本类型 id / reportType / subjectId,同步调整 7 个处理方法签名
+- (onRowClick / onTouchStart / adjustBinding / confirmDelete / doDelete / approveTransfer /
+- denyTransfer / selectMemberAdjust)。模板 :class/:style/:key 的 item.x 绑定不受影响,保持原样。
+- 验证:
+- - scripts/verify-vue-compile.js report-list.vue → PASS(模板/样式/脚本)
+- - scripts/audit-mp-antipatterns.js --error-only → ERROR 0(含全站回归扫描)
+- - npm run build:mp-weixin → DONE exit 0;编译后 wxml 确认各 handler 改为从列表数据提取基本字段
+-   (onRowClick: item.m10,'id' + item.m11,'reportType' 等),不再传递整个对象
+- 
+
+### 新功能
+- 饮食模块整合-去食材查询合并食材推荐
+
+### 文档
+- B2 能量沙盘独立核验报告(wuxing-sandbox.vue)
+
+
 ## v1.0.1821 (2026-10-29)
 
 ### Bug 修复