Skip to content

Commit d739b11

Browse files
authored
chore: v4.1.33 & changelog (#3698)
* chore: v4.1.33 & changelog * fix: 尝试修复 delay 问题导致单测失败
1 parent f43bf9d commit d739b11

File tree

5 files changed

+18
-4
lines changed

5 files changed

+18
-4
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
#### 4.1.33 (2021-10-28)
2+
3+
##### Documentation Changes
4+
5+
* 修复链接 404 ([#3692](https://github.com/antvis/g2/pull/3692)) ([6582738a](https://github.com/antvis/g2/commit/6582738a756824f74f2abc404579d012e205860b))
6+
7+
##### New Features
8+
9+
* export utils of shape ([#3693](https://github.com/antvis/g2/pull/3693)) ([8dea465f](https://github.com/antvis/g2/commit/8dea465fca651aa242c4bec9d4c978ff318b0bff))
10+
11+
##### Bug Fixes
12+
13+
* 自动 lint fix ([#3697](https://github.com/antvis/g2/pull/3697)) ([f43bf9d5](https://github.com/antvis/g2/commit/f43bf9d5408eec7ac8cbec9a24ca6dc078fc8494))
14+
115
#### 4.1.32 (2021-10-21)
216

317
##### Documentation Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g2",
3-
"version": "4.1.32",
3+
"version": "4.1.33",
44
"description": "the Grammar of Graphics in Javascript",
55
"main": "lib/index.js",
66
"module": "esm/index.js",

src/core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* G2 的一个壳子,不包含 Geometry,由开发者自己定义和引入 */
22

3-
export const VERSION = '4.1.32';
3+
export const VERSION = '4.1.33';
44

55
// 核心基类导出
66
export { Chart, View, Event } from './chart'; // Chart, View 类

tests/bugs/pie-update-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ describe('Pie update animation', () => {
150150
chart.filter('sex', (val) => val === '男');
151151
chart.render(true);
152152

153-
await delay(500);
153+
await delay(800);
154154
const interval = chart.geometries[0];
155155
const labelContainer = interval.labelsContainer;
156156
expect(labelContainer.getCount()).toBe(1);

tests/unit/geometry/base-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ describe('Geometry', () => {
881881
geometry.once(GEOMETRY_LIFE_CIRCLE.AFTER_DRAW_ANIMATE, () => afterFn(3));
882882
chart.changeSize(400, 400);
883883

884-
await delay(500);
884+
await delay(800);
885885

886886
// 自定义的 animate callback 也需要调用
887887
expect(fn).toBeCalled();

0 commit comments

Comments
 (0)