Releases: antvis/G
Releases · antvis/G
5.18.7
Patch Changes
-
1b0901b: Make FillMesh instanced to enhance perf.
-
1b0901b: ConvertToPath should account for Rect with undefined x/y.
-
1b0901b: Make textBaseline in SVG the same with Canvas.
-
1b0901b: Add a fixed offset for Text.
-
1b0901b: ConvertToPath should be compatible with empty coords.
-
Updated dependencies [1b0901b]
- @antv/g-lite@1.2.6
- @antv/g-camera-api@1.2.6
- @antv/g-dom-mutation-observer-api@1.2.6
- @antv/g-web-animations-api@1.2.6
5.18.6
5.18.5
5.18.5
Patch Changes
- 6757ccb: Return an unprecise bound of HTML before it appending to document.
const html = new HTML({
style: {
x: 100,
y: 100,
width: 100,
height: 100,
innerHTML: '<h1>This is Title</h1>',
},
});
// Use x/y/width/height defined by user.
const bounds = html.getBounds();
expect(bounds.halfExtents[0]).toBe(50);
expect(bounds.halfExtents[1]).toBe(50);
expect(bounds.center[0]).toBe(150);
expect(bounds.center[1]).toBe(150);
- Updated dependencies [6757ccb]
- @antv/g-lite@1.2.4
- @antv/g-camera-api@1.2.4
- @antv/g-dom-mutation-observer-api@1.2.4
- @antv/g-web-animations-api@1.2.4
5.18.4
5.18.3
Patch Changes
-
0eb5142: Avoid overriding defXY when parsing path
-
7199054: Make picking process async for WebGL2 & WebGPU implementations
-
Updated dependencies [0eb5142]
-
Updated dependencies [7199054]
- @antv/g-lite@1.2.2
- @antv/g-camera-api@1.2.2
- @antv/g-dom-mutation-observer-api@1.2.2
- @antv/g-web-animations-api@1.2.2
5.18.2
@antv/g@5.18.1
@antv/react-g@1.9.0
@antv/react-g-v1.9.0 (2023-06-27)
Bug Fixes
- antialias line #1352 (#1355) (84eb6d5), closes #1356
- change canvas' init hook frin async to sync #1117 (#1368) (037f76e)
- check if object is already existed before pushing to dirty sorte… (#1361) (3c21f94)
- typo README demo attribute spelling error (#1364) (f3db22c)
Features
@antv/g@5.17.0
@antv/g-webgpu@1.8.0
@antv/g-webgpu-v1.8.0 (2023-06-27)
Bug Fixes
- antialias line #1352 (#1355) (84eb6d5), closes #1356
- change canvas' init hook frin async to sync #1117 (#1368) (037f76e)
- check if object is already existed before pushing to dirty sorte… (#1361) (3c21f94)
- WebGPU HAL & handle lost context #863 & #1362 (#1372) (79c6ee1), closes #1094 #1369