Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #1829

Merged
merged 2 commits into from
Nov 11, 2024
Merged

Release #1829

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions packages/g-canvas/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @antv/g-canvas

## 2.0.24

### Patch Changes

- Updated dependencies [92b43d13]
- @antv/[email protected]
- @antv/[email protected]
- @antv/[email protected]

## 2.0.23

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-canvas/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-canvas",
"version": "2.0.23",
"version": "2.0.24",
"description": "A renderer implemented by Canvas 2D API",
"keywords": [
"antv",
Expand Down
9 changes: 9 additions & 0 deletions packages/g-canvaskit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @antv/g-canvaskit

## 1.0.23

### Patch Changes

- Updated dependencies [92b43d13]
- @antv/[email protected]
- @antv/[email protected]
- @antv/[email protected]

## 1.0.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-canvaskit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-canvaskit",
"version": "1.0.22",
"version": "1.0.23",
"description": "A renderer implemented by CanvasKit",
"keywords": [
"antv",
Expand Down
9 changes: 9 additions & 0 deletions packages/g-mobile-canvas/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @antv/g-mobile-canvas

## 1.0.21

### Patch Changes

- Updated dependencies [92b43d13]
- @antv/[email protected]
- @antv/[email protected]
- @antv/[email protected]

## 1.0.20

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-mobile-canvas/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-mobile-canvas",
"version": "1.0.20",
"version": "1.0.21",
"description": "A renderer implemented with Canvas2D API in mobile environment",
"keywords": [
"antv",
Expand Down
8 changes: 8 additions & 0 deletions packages/g-mobile-webgl/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @antv/g-mobile-webgl

## 1.0.28

### Patch Changes

- Updated dependencies [92b43d13]
- @antv/[email protected]
- @antv/[email protected]

## 1.0.27

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-mobile-webgl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-mobile-webgl",
"version": "1.0.27",
"version": "1.0.28",
"description": "A renderer implemented by WebGL1/2 in mobile environment",
"keywords": [
"antv",
Expand Down
6 changes: 6 additions & 0 deletions packages/g-plugin-3d/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @antv/g-plugin-3d

## 2.0.26

### Patch Changes

- @antv/[email protected]

## 2.0.25

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-plugin-3d/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-plugin-3d",
"version": "2.0.25",
"version": "2.0.26",
"description": "Provide 3D extension for G",
"keywords": [
"antv",
Expand Down
6 changes: 6 additions & 0 deletions packages/g-plugin-canvas-picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @antv/g-plugin-canvas-picker

## 2.1.3

### Patch Changes

- @antv/[email protected]

## 2.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-plugin-canvas-picker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-plugin-canvas-picker",
"version": "2.1.2",
"version": "2.1.3",
"description": "A G plugin for picking in canvas",
"keywords": [
"antv",
Expand Down
7 changes: 7 additions & 0 deletions packages/g-plugin-canvas-renderer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @antv/g-plugin-canvas-renderer

## 2.2.3

### Patch Changes

- Updated dependencies [92b43d13]
- @antv/[email protected]

## 2.2.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-plugin-canvas-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-plugin-canvas-renderer",
"version": "2.2.2",
"version": "2.2.3",
"description": "A G plugin of renderer implementation with Canvas2D API",
"keywords": [
"antv",
Expand Down
7 changes: 7 additions & 0 deletions packages/g-plugin-canvaskit-renderer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @antv/g-plugin-canvaskit-renderer

## 2.1.3

### Patch Changes

- Updated dependencies [92b43d13]
- @antv/[email protected]

## 2.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-plugin-canvaskit-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-plugin-canvaskit-renderer",
"version": "2.1.2",
"version": "2.1.3",
"description": "A G plugin of renderer implementation with CanvasKit",
"keywords": [
"antv",
Expand Down
7 changes: 7 additions & 0 deletions packages/g-plugin-device-renderer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @antv/g-plugin-device-renderer

## 2.2.3

### Patch Changes

- Updated dependencies [92b43d13]
- @antv/[email protected]

## 2.2.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-plugin-device-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-plugin-device-renderer",
"version": "2.2.2",
"version": "2.2.3",
"description": "A G plugin of renderer implementation with GPUDevice",
"keywords": [
"antv",
Expand Down
6 changes: 6 additions & 0 deletions packages/g-plugin-image-loader/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @antv/g-plugin-image-loader

## 2.1.3

### Patch Changes

- 92b43d13: fix: when image src is an image instance, rendering will not be triggered by default

## 2.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-plugin-image-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-plugin-image-loader",
"version": "2.1.2",
"version": "2.1.3",
"description": "A G plugin for loading image",
"keywords": [
"antv",
Expand Down
26 changes: 12 additions & 14 deletions packages/g-plugin-image-loader/src/LoadImagePlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,19 @@ export class LoadImagePlugin implements RenderingPlugin {
if (nodeName === Shape.IMAGE) {
const { src, keepAspectRatio } = attributes;

if (isString(src)) {
imagePool.getImageSync(
src,
object as DisplayObject,
({ img: { width, height } }) => {
if (keepAspectRatio) {
calculateWithAspectRatio(object, width, height);
}
imagePool.getImageSync(
src,
object as DisplayObject,
({ img: { width, height } }) => {
if (keepAspectRatio) {
calculateWithAspectRatio(object, width, height);
}

// set dirty rectangle flag
object.renderable.dirty = true;
renderingService.dirtify();
},
);
}
// set dirty rectangle flag
object.renderable.dirty = true;
renderingService.dirtify();
},
);
}
};

Expand Down
6 changes: 6 additions & 0 deletions packages/g-plugin-rough-canvas-renderer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @antv/g-plugin-rough-canvas-renderer

## 2.0.24

### Patch Changes

- @antv/[email protected]

## 2.0.23

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-plugin-rough-canvas-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-plugin-rough-canvas-renderer",
"version": "2.0.23",
"version": "2.0.24",
"description": "A G plugin of renderer implementation with rough.js",
"keywords": [
"antv",
Expand Down
6 changes: 6 additions & 0 deletions packages/g-plugin-zdog-canvas-renderer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @antv/g-plugin-zdog-canvas-renderer

## 2.0.23

### Patch Changes

- @antv/[email protected]

## 2.0.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-plugin-zdog-canvas-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-plugin-zdog-canvas-renderer",
"version": "2.0.22",
"version": "2.0.23",
"description": "A G plugin of renderer implementation with Zdog",
"keywords": [
"antv",
Expand Down
7 changes: 7 additions & 0 deletions packages/g-web-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @antv/g-web-components

## 2.0.29

### Patch Changes

- @antv/[email protected]
- @antv/[email protected]

## 2.0.28

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-web-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-web-components",
"version": "2.0.28",
"version": "2.0.29",
"description": "A declarative usage for G implemented with WebComponents",
"keywords": [
"antv",
Expand Down
8 changes: 8 additions & 0 deletions packages/g-webgl/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @antv/g-webgl

## 2.0.28

### Patch Changes

- Updated dependencies [92b43d13]
- @antv/[email protected]
- @antv/[email protected]

## 2.0.27

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-webgl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-webgl",
"version": "2.0.27",
"version": "2.0.28",
"description": "A renderer implemented by WebGL1/2",
"keywords": [
"antv",
Expand Down
8 changes: 8 additions & 0 deletions packages/g-webgpu/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @antv/g-webgpu

## 2.0.28

### Patch Changes

- Updated dependencies [92b43d13]
- @antv/[email protected]
- @antv/[email protected]

## 2.0.27

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/g-webgpu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-webgpu",
"version": "2.0.27",
"version": "2.0.28",
"description": "A renderer implemented by WebGPU",
"keywords": [
"antv",
Expand Down
Loading