Skip to content

Commit 612c2cb

Browse files
committed
release: v10.0.2
1 parent 51d447a commit 612c2cb

3 files changed

Lines changed: 47 additions & 17 deletions

File tree

docs/en-US/guide/changelog.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,30 @@
11
# 📠 Change Log
22

3+
## 10.0.2
4+
`2026-08-06`
5+
+ 💄 Optimize path figure parsing and caching to reduce the overhead of repeatedly parsing SVG paths. [@NemeZZiZZ](https://github.com/NemeZZiZZ) [@liihuu](https://github.com/liihuu)
6+
+ 💄 Optimize value lookup performance for simple fields during formatting. [@NemeZZiZZ](https://github.com/NemeZZiZZ)
7+
+ 🐞 Fix an incorrect middle-price formula in the built-in `CR` indicator. [@NemeZZiZZ](https://github.com/NemeZZiZZ)
8+
+ 🐞 Fix the lookback period and moving average start position in the built-in `ROC` indicator. [@NemeZZiZZ](https://github.com/NemeZZiZZ)
9+
+ 🐞 Fix the built-in `SAR` indicator resetting its acceleration factor incorrectly on a downtrend-to-uptrend reversal. [@NemeZZiZZ](https://github.com/NemeZZiZZ)
10+
+ 🐞 Fix `formatBigNumber` incorrectly formatting negative values and exact magnitude boundaries. [@NemeZZiZZ](https://github.com/NemeZZiZZ)
11+
+ 🐞 Fix the percentage y-axis potentially producing `NaN` for flat data or a zero base price. [@NemeZZiZZ](https://github.com/NemeZZiZZ)
12+
+ 🐞 Fix dragging an overlay control point potentially replacing a valid timestamp with an invalid value. [@NemeZZiZZ](https://github.com/NemeZZiZZ)
13+
+ 🐞 Fix y-axis tick label collision detection incorrectly using the x-axis text size. [@NemeZZiZZ](https://github.com/NemeZZiZZ)
14+
+ 🐞 Fix repeated `init` calls failing to identify a chart already initialized on the same container. [@NemeZZiZZ](https://github.com/NemeZZiZZ)
15+
+ 🐞 Fix the horizontal position of crosshair path features not accounting for padding. [@liihuu](https://github.com/liihuu)
16+
17+
318
## 10.0.1
419
`2026-08-01`
5-
+ 💄 Improve mobile inertial scrolling for smoother and more consistent animations.
6-
+ 💄 Improve mobile touch handling to prevent page scrolling and browser navigation gestures while dragging the chart.
7-
+ 💄 Improve the state and lifecycle management of area chart ripple animations.
8-
+ 💄 Improve Canvas rendering scheduling, resizing, and device pixel ratio handling.
9-
+ 🐞 Fix an incorrect formula in the built-in `PVT` indicator.
10-
+ 🐞 Fix `rgbToHex` incorrectly using the red channel value when converting the green and blue channels.
11-
+ 🐞 Fix regular expression errors in `hsla` color validation and transparent color detection.
12-
+ 🐞 Fix declaration file builds failing in some environments.
20+
+ 💄 Improve mobile inertial scrolling for smoother and more consistent animations. [@liihuu](https://github.com/liihuu)
21+
+ 💄 Improve mobile touch handling to prevent page scrolling and browser navigation gestures while dragging the chart. [@liihuu](https://github.com/liihuu)
22+
+ 💄 Improve the state and lifecycle management of area chart ripple animations. [@liihuu](https://github.com/liihuu)
23+
+ 💄 Improve Canvas rendering scheduling, resizing, and device pixel ratio handling. [@liihuu](https://github.com/liihuu)
24+
+ 🐞 Fix an incorrect formula in the built-in `PVT` indicator. [@snoofox](https://github.com/snoofox)
25+
+ 🐞 Fix `rgbToHex` incorrectly using the red channel value when converting the green and blue channels. [@0-v-0](https://github.com/0-v-0)
26+
+ 🐞 Fix regular expression errors in `hsla` color validation and transparent color detection. [@0-v-0](https://github.com/0-v-0)
27+
+ 🐞 Fix declaration file builds failing in some environments. [@asfand987](https://github.com/asfand987)
1328

1429

1530
## 10.0.0

docs/guide/changelog.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,30 @@
11
# 📠 更新日志
22

3+
## 10.0.2
4+
`2026-08-06`
5+
+ 💄 优化路径图形的解析和缓存,减少重复解析 SVG 路径带来的性能开销。[@NemeZZiZZ](https://github.com/NemeZZiZZ) [@liihuu](https://github.com/liihuu)
6+
+ 💄 优化简单字段的格式化取值性能。[@NemeZZiZZ](https://github.com/NemeZZiZZ)
7+
+ 🐞 修复内置指标 `CR` 的中间价计算公式错误。[@NemeZZiZZ](https://github.com/NemeZZiZZ)
8+
+ 🐞 修复内置指标 `ROC` 的回看周期和移动平均起始位置错误。[@NemeZZiZZ](https://github.com/NemeZZiZZ)
9+
+ 🐞 修复内置指标 `SAR` 在由下跌趋势反转为上涨趋势时加速因子重置错误。[@NemeZZiZZ](https://github.com/NemeZZiZZ)
10+
+ 🐞 修复 `formatBigNumber` 无法正确格式化负数和临界值的问题。[@NemeZZiZZ](https://github.com/NemeZZiZZ)
11+
+ 🐞 修复数据持平或基准价格为 0 时百分比 y 轴可能出现 `NaN` 的问题。[@NemeZZiZZ](https://github.com/NemeZZiZZ)
12+
+ 🐞 修复拖动覆盖物控制点时可能将有效时间戳覆盖为无效值的问题。[@NemeZZiZZ](https://github.com/NemeZZiZZ)
13+
+ 🐞 修复 y 轴刻度文字防重叠计算错误使用 x 轴文字尺寸的问题。[@NemeZZiZZ](https://github.com/NemeZZiZZ)
14+
+ 🐞 修复重复调用 `init` 时无法正确识别已初始化图表的问题。[@NemeZZiZZ](https://github.com/NemeZZiZZ)
15+
+ 🐞 修复十字光标路径类型功能按钮的水平位置未计入内边距的问题。[@liihuu](https://github.com/liihuu)
16+
17+
318
## 10.0.1
419
`2026-08-01`
5-
+ 💄 优化移动端惯性滚动,使滚动动画更平滑、稳定。
6-
+ 💄 优化移动端触摸事件处理,避免拖动图表时触发页面滚动或浏览器导航手势。
7-
+ 💄 优化面积图涟漪动画的状态和生命周期管理。
8-
+ 💄 优化 Canvas 的渲染调度、尺寸变化和设备像素比处理。
9-
+ 🐞 修复内置指标 `PVT` 的计算公式错误。
10-
+ 🐞 修复 `rgbToHex` 转换绿色和蓝色通道时错误使用红色通道值的问题。
11-
+ 🐞 修复 `hsla` 颜色校验和透明色判断中的正则表达式错误。
12-
+ 🐞 修复部分环境下类型声明文件构建失败的问题。
20+
+ 💄 优化移动端惯性滚动,使滚动动画更平滑、稳定。[@liihuu](https://github.com/liihuu)
21+
+ 💄 优化移动端触摸事件处理,避免拖动图表时触发页面滚动或浏览器导航手势。[@liihuu](https://github.com/liihuu)
22+
+ 💄 优化面积图涟漪动画的状态和生命周期管理。[@liihuu](https://github.com/liihuu)
23+
+ 💄 优化 Canvas 的渲染调度、尺寸变化和设备像素比处理。[@liihuu](https://github.com/liihuu)
24+
+ 🐞 修复内置指标 `PVT` 的计算公式错误。[@snoofox](https://github.com/snoofox)
25+
+ 🐞 修复 `rgbToHex` 转换绿色和蓝色通道时错误使用红色通道值的问题。[@0-v-0](https://github.com/0-v-0)
26+
+ 🐞 修复 `hsla` 颜色校验和透明色判断中的正则表达式错误。[@0-v-0](https://github.com/0-v-0)
27+
+ 🐞 修复部分环境下类型声明文件构建失败的问题。[@asfand987](https://github.com/asfand987)
1328

1429

1530
## 10.0.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "klinecharts",
3-
"version": "10.0.1",
3+
"version": "10.0.2",
44
"description": "Lightweight k-line chart built with html5 canvas",
55
"type": "module",
66
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)