Skip to content

Commit fdb1819

Browse files
Release (#1804)
* fix: fix issue canvas cannot destroy (#1803) * fix: fix issue canvas cannot destroy * chore: commit changeset * chore(release): bump version (#1805) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 46a5109 commit fdb1819

File tree

95 files changed

+434
-49
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+434
-49
lines changed

packages/g-camera-api/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @antv/g-camera-api
22

3+
## 2.0.17
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
310
## 2.0.16
411

512
### Patch Changes

packages/g-camera-api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-camera-api",
3-
"version": "2.0.16",
3+
"version": "2.0.17",
44
"description": "A simple implementation of Camera API.",
55
"keywords": [
66
"antv",

packages/g-canvas/CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @antv/g-canvas
22

3+
## 2.0.19
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
- @antv/g-plugin-canvas-path-generator@2.0.14
10+
- @antv/g-plugin-canvas-picker@2.0.16
11+
- @antv/g-plugin-canvas-renderer@2.1.3
12+
- @antv/g-plugin-dom-interaction@2.1.3
13+
- @antv/g-plugin-html-renderer@2.1.3
14+
- @antv/g-plugin-image-loader@2.0.14
15+
316
## 2.0.18
417

518
### Patch Changes

packages/g-canvas/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-canvas",
3-
"version": "2.0.18",
3+
"version": "2.0.19",
44
"description": "A renderer implemented by Canvas 2D API",
55
"keywords": [
66
"antv",

packages/g-canvaskit/CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @antv/g-canvaskit
22

3+
## 1.0.18
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
- @antv/g-plugin-canvas-path-generator@2.0.14
10+
- @antv/g-plugin-canvas-picker@2.0.16
11+
- @antv/g-plugin-canvaskit-renderer@2.0.15
12+
- @antv/g-plugin-dom-interaction@2.1.3
13+
- @antv/g-plugin-html-renderer@2.1.3
14+
- @antv/g-plugin-image-loader@2.0.14
15+
316
## 1.0.17
417

518
### Patch Changes

packages/g-canvaskit/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-canvaskit",
3-
"version": "1.0.17",
3+
"version": "1.0.18",
44
"description": "A renderer implemented by CanvasKit",
55
"keywords": [
66
"antv",

packages/g-components/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @antv/g-components
22

3+
## 2.0.14
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
310
## 2.0.13
411

512
### Patch Changes

packages/g-components/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-components",
3-
"version": "2.0.13",
3+
"version": "2.0.14",
44
"description": "Components for g",
55
"keywords": [
66
"antv",

packages/g-dom-mutation-observer-api/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @antv/g-dom-mutation-observer-api
22

3+
## 2.0.14
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
310
## 2.0.13
411

512
### Patch Changes

packages/g-dom-mutation-observer-api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-dom-mutation-observer-api",
3-
"version": "2.0.13",
3+
"version": "2.0.14",
44
"description": "A simple implementation of DOM MutationObserver API.",
55
"keywords": [
66
"antv",

packages/g-gesture/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @antv/g-gesture
22

3+
## 3.0.14
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
310
## 3.0.13
411

512
### Patch Changes

packages/g-gesture/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-gesture",
3-
"version": "3.0.13",
3+
"version": "3.0.14",
44
"description": "G Gesture",
55
"keywords": [
66
"antv",

packages/g-image-exporter/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @antv/g-image-exporter
22

3+
## 1.0.14
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
310
## 1.0.13
411

512
### Patch Changes

packages/g-image-exporter/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-image-exporter",
3-
"version": "1.0.13",
3+
"version": "1.0.14",
44
"description": "A image exporter for G using DOM API",
55
"keywords": [
66
"antv",

packages/g-lite/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @antv/g-lite
22

3+
## 2.1.3
4+
5+
### Patch Changes
6+
7+
- e10b8679: fix canvas cannot destroy
8+
39
## 2.1.2
410

511
### Patch Changes

packages/g-lite/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-lite",
3-
"version": "2.1.2",
3+
"version": "2.1.3",
44
"description": "A core module for rendering engine implements DOM API.",
55
"keywords": [
66
"antv",

packages/g-lite/src/utils/canvas.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ export function cleanExistedCanvas(
1515
typeof container === 'string'
1616
? document.getElementById(container)
1717
: container;
18-
1918
if (CANVAS_Map.has($dom)) CANVAS_Map.get($dom).destroy(cleanUp);
20-
else CANVAS_Map.set($dom, canvas);
19+
CANVAS_Map.set($dom, canvas);
2120
}
2221
}
2322

packages/g-lottie-player/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @antv/g-lottie-player
22

3+
## 1.0.14
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
310
## 1.0.13
411

512
### Patch Changes

packages/g-lottie-player/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-lottie-player",
3-
"version": "1.0.13",
3+
"version": "1.0.14",
44
"description": "A lottie player for G",
55
"keywords": [
66
"antv",

packages/g-mobile-canvas-element/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @antv/g-mobile-canvas-element
22

3+
## 1.0.14
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
310
## 1.0.13
411

512
### Patch Changes

packages/g-mobile-canvas-element/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-mobile-canvas-element",
3-
"version": "1.0.13",
3+
"version": "1.0.14",
44
"description": "Create a CanvasLike element from existed context in mobile environment",
55
"keywords": [
66
"antv",

packages/g-mobile-canvas/CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @antv/g-mobile-canvas
22

3+
## 1.0.16
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
- @antv/g-plugin-canvas-path-generator@2.0.14
10+
- @antv/g-plugin-canvas-picker@2.0.16
11+
- @antv/g-plugin-canvas-renderer@2.1.3
12+
- @antv/g-plugin-dragndrop@2.0.14
13+
- @antv/g-plugin-gesture@2.0.14
14+
- @antv/g-plugin-image-loader@2.0.14
15+
- @antv/g-plugin-mobile-interaction@1.0.14
16+
317
## 1.0.15
418

519
### Patch Changes

packages/g-mobile-canvas/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-mobile-canvas",
3-
"version": "1.0.15",
3+
"version": "1.0.16",
44
"description": "A renderer implemented with Canvas2D API in mobile environment",
55
"keywords": [
66
"antv",

packages/g-mobile-svg/CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @antv/g-mobile-svg
22

3+
## 1.0.16
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
- @antv/g-plugin-dragndrop@2.0.14
10+
- @antv/g-plugin-gesture@2.0.14
11+
- @antv/g-plugin-mobile-interaction@1.0.14
12+
- @antv/g-plugin-svg-picker@2.0.16
13+
- @antv/g-plugin-svg-renderer@2.1.3
14+
315
## 1.0.15
416

517
### Patch Changes

packages/g-mobile-svg/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-mobile-svg",
3-
"version": "1.0.15",
3+
"version": "1.0.16",
44
"description": "A renderer implemented by SVG in mobile environment",
55
"keywords": [
66
"antv",

packages/g-mobile-webgl/CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @antv/g-mobile-webgl
22

3+
## 1.0.23
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
- @antv/g-plugin-device-renderer@2.1.3
10+
- @antv/g-plugin-dragndrop@2.0.14
11+
- @antv/g-plugin-gesture@2.0.14
12+
- @antv/g-plugin-html-renderer@2.1.3
13+
- @antv/g-plugin-image-loader@2.0.14
14+
- @antv/g-plugin-mobile-interaction@1.0.14
15+
316
## 1.0.22
417

518
### Patch Changes

packages/g-mobile-webgl/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-mobile-webgl",
3-
"version": "1.0.22",
3+
"version": "1.0.23",
44
"description": "A renderer implemented by WebGL1/2 in mobile environment",
55
"keywords": [
66
"antv",

packages/g-pattern/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @antv/g-pattern
22

3+
## 2.0.14
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
310
## 2.0.13
411

512
### Patch Changes

packages/g-pattern/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-pattern",
3-
"version": "2.0.13",
3+
"version": "2.0.14",
44
"description": "A pattern libs for G",
55
"keywords": [
66
"antv",

packages/g-plugin-3d/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @antv/g-plugin-3d
22

3+
## 2.0.21
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
- @antv/g-plugin-device-renderer@2.1.3
10+
311
## 2.0.20
412

513
### Patch Changes

packages/g-plugin-3d/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-plugin-3d",
3-
"version": "2.0.20",
3+
"version": "2.0.21",
44
"description": "Provide 3D extension for G",
55
"keywords": [
66
"antv",

packages/g-plugin-a11y/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @antv/g-plugin-a11y
22

3+
## 1.1.3
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
310
## 1.1.2
411

512
### Patch Changes

packages/g-plugin-a11y/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-plugin-a11y",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "A G plugin for accessibility",
55
"keywords": [
66
"antv",

packages/g-plugin-annotation/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @antv/g-plugin-annotation
22

3+
## 1.0.14
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e10b8679]
8+
- @antv/g-lite@2.1.3
9+
310
## 1.0.13
411

512
### Patch Changes

packages/g-plugin-annotation/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g-plugin-annotation",
3-
"version": "1.0.13",
3+
"version": "1.0.14",
44
"description": "A G plugin for annotation",
55
"keywords": [
66
"antv",

0 commit comments

Comments
 (0)