Browse Source

chore: auto bump version and changelog [skip ci]

iwt 2 months ago
parent
commit
0862e26483
4 changed files with 41 additions and 3 deletions
  1. 1 1
      cfc-web/.last_build_commit
  2. 1 1
      cfc-web/package.json
  3. 19 0
      cfc-web/public/CHANGELOG-v1.0.md
  4. 20 1
      cfc-web/public/CHANGELOG.md

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-fd9df5db51ab368550918da2221ec3f1a72a45e5
+f057162c0b1510630e08e3e80b6c8c776ea97d7c

+ 1 - 1
cfc-web/package.json

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

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

@@ -4,6 +4,25 @@
 
 ---
 
+## v1.0.851 (2026-08-07)
+
+### Bug 修复
+- 统一 SKU specs 存库为数组格式,修复规格名丢失
+
+### 其他
+- 对象 Map、后端 DTO 只认对象),导致规格名记录不进去:
+- - ProductSkuEditor.normalizeSpecsToJson 改为输出数组格式,空值默认 '[]'
+- - ProductSkuDTO.from 兼容数组格式(数组→Map),旧数组数据可正常回显
+- - formatSpecsForInput/parseSpecs 数组分支正确解析 {name,value},不再显示 [object Object]
+- - CartService 兼容对象格式(旧数据兜底),修复购物车规格描述丢失
+- - ProductSkuService 空 specs 默认 '[]'
+- 同步修复预存编译错误:HealthReportController 缺 HttpServletRequest import、
+- HealthReportService reportMapper 应为 healthReportMapper、HealthReportDraft
+- 补 remark 字段(含 schema.sql + DatabaseInitializer 迁移180)。
+- Reviewed-by: Sisyphus
+- 
+
+
 ## v1.0.850 (2026-08-07)
 
 ### Bug 修复

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

@@ -1,6 +1,6 @@
 # 更新日志
 
-> 当前版本: v1.0.850
+> 当前版本: v1.0.851
 
 ## 历史版本
 
@@ -8,6 +8,25 @@
 
 ---
 
+## v1.0.851 (2026-08-07)
+
+### Bug 修复
+- 统一 SKU specs 存库为数组格式,修复规格名丢失
+
+### 其他
+- 对象 Map、后端 DTO 只认对象),导致规格名记录不进去:
+- - ProductSkuEditor.normalizeSpecsToJson 改为输出数组格式,空值默认 '[]'
+- - ProductSkuDTO.from 兼容数组格式(数组→Map),旧数组数据可正常回显
+- - formatSpecsForInput/parseSpecs 数组分支正确解析 {name,value},不再显示 [object Object]
+- - CartService 兼容对象格式(旧数据兜底),修复购物车规格描述丢失
+- - ProductSkuService 空 specs 默认 '[]'
+- 同步修复预存编译错误:HealthReportController 缺 HttpServletRequest import、
+- HealthReportService reportMapper 应为 healthReportMapper、HealthReportDraft
+- 补 remark 字段(含 schema.sql + DatabaseInitializer 迁移180)。
+- Reviewed-by: Sisyphus
+- 
+
+
 ## v1.0.850 (2026-08-07)
 
 ### Bug 修复