diff --git a/common/config/rush/version-policies.json b/common/config/rush/version-policies.json index 498f8ca54..163acd0a3 100644 --- a/common/config/rush/version-policies.json +++ b/common/config/rush/version-policies.json @@ -1 +1 @@ -[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"0.18.0","mainProject":"@visactor/vtable","nextBump":"minor"}] +[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"0.18.1","mainProject":"@visactor/vtable","nextBump":"patch"}] diff --git a/docs/assets/changelog/en/release.md b/docs/assets/changelog/en/release.md index 34cb16830..37416e5c2 100644 --- a/docs/assets/changelog/en/release.md +++ b/docs/assets/changelog/en/release.md @@ -1,3 +1,25 @@ +# v0.18.0 + +2024-01-19 + + +**🆕 New feature** + +- **@visactor/vtable**: pivotchart support pie +- **@visactor/vtable**: add customLayout & customRander in customMergeCell +- **@visactor/vtable**: add eventOptions [#914](https://github.com/VisActor/VTable/issues/914) + +**🐛 Bug fix** + +- **@visactor/vtable**: handle with chartSpec barWidth set string type +- **@visactor/vtable**: addRecords api call when body no data [#953](https://github.com/VisActor/VTable/issues/953) +- **@visactor/vtable**: mouse drag to move Header position has error when column has multi-levels [#957](https://github.com/VisActor/VTable/issues/957) +- **@visactor/vtable**: when resize column width bottomFrozenRow height should update [#954](https://github.com/VisActor/VTable/issues/954) + + + +[more detail about v0.18.0](https://github.com/VisActor/VTable/releases/tag/v0.18.0) + # v0.17.10 2024-01-18 diff --git a/docs/assets/changelog/zh/release.md b/docs/assets/changelog/zh/release.md index 86271dbe1..87d0f6364 100644 --- a/docs/assets/changelog/zh/release.md +++ b/docs/assets/changelog/zh/release.md @@ -1,3 +1,25 @@ +# v0.18.0 + +2024-01-19 + + +**🆕 新增功能** + +- **@visactor/vtable**: 支持 pivotchart 中配置显示饼图 +- **@visactor/vtable**: 在 customMergeCell 中添加 customLayout & customRander +- **@visactor/vtable**: 添加 eventOptions [#914](https://github.com/VisActor/VTable/issues/914) + +**🐛 功能修复** + +- **@visactor/vtable**: 处理 chartSpec barWidth 设置为字符串类型的情况 +- **@visactor/vtable**: 修复当 body 没有数据时调用 addRecords api报错问题 [#953](https://github.com/VisActor/VTable/issues/953) +- **@visactor/vtable**: 修复当列有多级时,鼠标拖动移动 Header 位置有误 [#957](https://github.com/VisActor/VTable/issues/957) +- **@visactor/vtable**: 修复当调整列宽时,应更新 bottomFrozenRow 的高度 [#954](https://github.com/VisActor/VTable/issues/954) + + + +[更多详情请查看 v0.18.0](https://github.com/VisActor/VTable/releases/tag/v0.18.0) + # v0.17.10 2024-01-18 diff --git a/packages/react-vtable/package.json b/packages/react-vtable/package.json index 6cd5a63d3..419282ef2 100644 --- a/packages/react-vtable/package.json +++ b/packages/react-vtable/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/react-vtable", - "version": "0.18.0", + "version": "0.18.1", "description": "The react version of VTable", "keywords": [ "react", diff --git a/packages/vtable-editors/package.json b/packages/vtable-editors/package.json index 86327653f..f46875aea 100644 --- a/packages/vtable-editors/package.json +++ b/packages/vtable-editors/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vtable-editors", - "version": "0.18.0", + "version": "0.18.1", "description": "", "sideEffects": false, "main": "cjs/index.js", diff --git a/packages/vtable-export/package.json b/packages/vtable-export/package.json index c39e9c0ff..3263e7a3c 100644 --- a/packages/vtable-export/package.json +++ b/packages/vtable-export/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vtable-export", - "version": "0.18.0", + "version": "0.18.1", "description": "The export util of VTable", "author": { "name": "VisActor", diff --git a/packages/vtable/CHANGELOG.json b/packages/vtable/CHANGELOG.json index 27c776a45..8c5793eea 100644 --- a/packages/vtable/CHANGELOG.json +++ b/packages/vtable/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@visactor/vtable", "entries": [ + { + "version": "0.18.1", + "tag": "@visactor/vtable_v0.18.1", + "date": "Fri, 19 Jan 2024 11:43:14 GMT", + "comments": { + "none": [ + { + "comment": "fix: fix funciton updateColumnWidth occor error\n\n" + } + ] + } + }, { "version": "0.18.0", "tag": "@visactor/vtable_v0.18.0", diff --git a/packages/vtable/CHANGELOG.md b/packages/vtable/CHANGELOG.md index d26c753b6..b210fa8cc 100644 --- a/packages/vtable/CHANGELOG.md +++ b/packages/vtable/CHANGELOG.md @@ -1,6 +1,15 @@ # Change Log - @visactor/vtable -This log was last generated on Fri, 19 Jan 2024 10:43:47 GMT and should not be manually modified. +This log was last generated on Fri, 19 Jan 2024 11:43:14 GMT and should not be manually modified. + +## 0.18.1 +Fri, 19 Jan 2024 11:43:14 GMT + +### Updates + +- fix: fix funciton updateColumnWidth occor error + + ## 0.18.0 Fri, 19 Jan 2024 10:43:47 GMT diff --git a/packages/vtable/package.json b/packages/vtable/package.json index 19b70ac87..fcce5d93c 100644 --- a/packages/vtable/package.json +++ b/packages/vtable/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vtable", - "version": "0.18.0", + "version": "0.18.1", "description": "canvas table width high performance", "keywords": [ "grid", diff --git a/packages/vtable/src/scenegraph/layout/update-width.ts b/packages/vtable/src/scenegraph/layout/update-width.ts index 09cf42800..b6281fb46 100644 --- a/packages/vtable/src/scenegraph/layout/update-width.ts +++ b/packages/vtable/src/scenegraph/layout/update-width.ts @@ -203,7 +203,7 @@ function updateColunmWidth( const leftBottomFrozenColumnGroup = scene.getColGroupInLeftBottomCorner(col); // reset cell y let y = 0; - leftBottomFrozenColumnGroup.forEachChildren((cellGroup: Group) => { + leftBottomFrozenColumnGroup?.forEachChildren((cellGroup: Group) => { cellGroup.setAttribute('y', y); y += scene.table.getRowHeight(cellGroup.row); }); @@ -212,7 +212,7 @@ function updateColunmWidth( const rightBottomFrozenColumnGroup = scene.getColGroupInRightBottomCorner(col); // reset cell y let y = 0; - rightBottomFrozenColumnGroup.forEachChildren((cellGroup: Group) => { + rightBottomFrozenColumnGroup?.forEachChildren((cellGroup: Group) => { cellGroup.setAttribute('y', y); y += scene.table.getRowHeight(cellGroup.row); }); @@ -222,7 +222,7 @@ function updateColunmWidth( const rightBottomFrozenColumnGroup = scene.getColGroupInBottom(col); // reset cell y let y = 0; - rightBottomFrozenColumnGroup.forEachChildren((cellGroup: Group) => { + rightBottomFrozenColumnGroup?.forEachChildren((cellGroup: Group) => { cellGroup.setAttribute('y', y); y += scene.table.getRowHeight(cellGroup.row); });