8000 [Auto release] release 1.0.3 by github-actions[bot] · Pull Request #1863 · VisActor/VRender · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Auto release] release 1.0.3 #1863

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

Merged
merged 12 commits into from
Jun 10, 2025
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: node common/scripts/install-run-rush.js publish --publish --include-all
run: node common/scripts/install-run-rush.js publish --publish --include-all --tag latest

- name: Update shrinkwrap
run: node common/scripts/install-run-rush.js update
Expand Down
34 changes: 17 additions & 17 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/config/rush/version-policies.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"definitionName":"lockStepVersion","policyName":"vrenderMain","version":"1.0.1","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vrenderMain","version":"1.0.3","nextBump":"patch"}]
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@visactor/vchart": "1.3.0",
"@visactor/vutils": "1.0.6",
"@visactor/vgrammar": "~0.5.7",
"@visactor/vrender": "workspace:1.0.1",
"@visactor/vrender": "workspace:1.0.3",
"markdown-it": "^13.0.0",
"highlight.js": "^11.8.0",
"axios": "^1.4.0",
Expand Down
12 changes: 12 additions & 0 deletions packages/react-vrender-utils/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@visactor/react-vrender-utils",
"entries": [
{
"version": "1.0.3",
"tag": "@visactor/react-vrender-utils_v1.0.3",
"date": "Tue, 10 Jun 2025 09:32:32 GMT",
"comments": {
"none": [
{
"comment": "fix: fix rele"
}
]
}
},
{
"version": "1.0.1",
"tag": "@visactor/react-vrender-utils_v1.0.1",
Expand Down
9 changes: 8 additions & 1 deletion packages/react-vrender-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - @visactor/react-vrender-utils

This log was last generated on Mon, 09 Jun 2025 07:29:07 GMT and should not be manually modified.
This log was last generated on Tue, 10 Jun 2025 09:32:32 GMT and should not be manually modified.

## 1.0.3
Tue, 10 Jun 2025 09:32:32 GMT

### Updates

- fix: fix rele

## 1.0.1
Mon, 09 Jun 2025 07:29:07 GMT
Expand Down
6 changes: 3 additions & 3 deletions packages/react-vrender-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/react-vrender-utils",
"version": "1.0.1",
"version": "1.0.3",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -24,8 +24,8 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:1.0.1",
"@visactor/react-vrender": "workspace:1.0.1",
"@visactor/vrender": "workspace:1.0.3",
"@visactor/react-vrender": "workspace:1.0.3",
"@visactor/vutils": "1.0.6",
"react-reconciler": "^0.29.0",
"tslib": "^2.3.1"
Expand Down
12 changes: 12 additions & 0 deletions packages/react-vrender/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@visactor/react-vrender",
"entries": [
{
"version": "1.0.3",
"tag": "@visactor/react-vrender_v1.0.3",
"date": "Tue, 10 Jun 2025 09:32:32 GMT",
"comments": {
"none": [
{
"comment": "fix: fix release version"
}
]
}
},
{
"version": "1.0.1",
"tag": "@visactor/react-vrender_v1.0.1",
Expand Down
9 changes: 8 additions & 1 deletion packages/react-vrender/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - @visactor/react-vrender

This log was last generated on Mon, 09 Jun 2025 07:29:07 GMT and should not be manually modified.
This log was last generated on Tue, 10 Jun 2025 09:32:32 GMT and should not be manually modified.

## 1.0.3
Tue, 10 Jun 2025 09:32:32 GMT

### Updates

- fix: fix release version

## 1.0.1
Mon, 09 Jun 2025 07:29:07 GMT
Expand Down
4 changes: 2 additions & 2 deletions packages/react-vrender/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/react-vrender",
"version": "1.0.1",
"version": "1.0.3",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -23,7 +23,7 @@
"react": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:1.0.1",
"@visactor/vrender": "workspace:1.0.3",
"@visactor/vutils": "1.0.6",
"react-reconciler": "^0.29.0",
"tslib": "^2.3.1"
Expand Down
15 changes: 15 additions & 0 deletions packages/vrender-animate/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{
"name": "@visactor/vrender-animate",
"entries": [
{
"version": "1.0.3",
"tag": "@visactor/vrender-animate_v1.0.3",
"date": "Tue, 10 Jun 2025 09:32:32 GMT",
"comments": {
"none": [
{
"comment": "fix: fix aniamtion of dx, dy and customParameters\n\n"
},
{
"comment": "fix: fix rele"
}
]
}
},
{
"version": "1.0.1",
"tag": "@visactor/vrender-animate_v1.0.1",
Expand Down
12 changes: 11 additions & 1 deletion packages/vrender-animate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Change Log - @visactor/vrender-animate

This log was last generated on Mon, 09 Jun 2025 07:29:07 GMT and should not be manually modified.
This log was last generated on Tue, 10 Jun 2025 09:32:32 GMT and should not be manually modified.

## 1.0.3
Tue, 10 Jun 2025 09:32:32 GMT

### Updates

- fix: fix aniamtion of dx, dy and customParameters


- fix: fix rele

## 1.0.1
Mon, 09 Jun 2025 07:29:07 GMT
Expand Down
4 changes: 2 additions & 2 deletions packages/vrender-animate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vrender-animate",
"version": "1.0.1",
"version": "1.0.3",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -21,7 +21,7 @@
},
"dependencies": {
"@visactor/vutils": "1.0.6",
"@visactor/vrender-core": "workspace:1.0.1"
"@visactor/vrender-core": "workspace:1.0.3"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/vrender-animate/src/custom/fromTo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ export class FromTo extends ACustomAnimate<Record<string, number>> {
onBind(): void {
super.onBind();

const finalAttribute = this.target.getFinalAttribute();
// 如果存在from,不存在to,那么需要设置给props
Object.keys(this.from).forEach(key => {
if (this.props[key] == null) {
this.props[key] = finalAttribute[key];
this.props[key] = this.target.getGraphicAttribute(key);
}
});

const finalAttribute = this.target.getFinalAttribute();
// 如果入场动画,那么需要设置属性
if (this.target.context?.animationState === 'appear') {
if (finalAttribute) {
Expand Down
5 changes: 4 additions & 1 deletion packages/vrender-animate/src/executor/animate-executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,10 @@ export class AnimateExecutor implements IAnimateExecutor {
) {
// 处理自定义动画
if (custom && customType) {
const customParams = this.resolveValue(customParameters, graphic, {});
const customParams = this.resolveValue(customParameters, graphic, {
width: graphic.stage.width,
height: graphic.stage.height
});
const objOptions = isFunction(options)
? options.call(
null,
Expand Down
10 changes: 10 additions & 0 deletions packages/vrender-animate/src/interpolate/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,16 @@ export class InterpolateUpdateStore {
target.addUpdateBoundTag();
target.addUpdatePositionTag();
};
dx = (key: string, from: number, to: number, ratio: number, step: IStep, target: IGraphic) => {
target.attribute.dx = interpolateNumber(from, to, ratio);
target.addUpdateBoundTag();
target.addUpdatePositionTag();
};
dy = (key: string, from: number, to: number, ratio: number, step: IStep, target: IGraphic) => {
target.attribute.dy = interpolateNumber(from, to, ratio);
target.addUpdateBoundTag();
target.addUpdatePositionTag();
};
angle = (key: string, from: number, to: number, ratio: number, step: IStep, target: IGraphic) => {
target.attribute.angle = interpolateNumber(from, to, ratio);
target.addUpdateBoundTag();
Expand Down
15 changes: 15 additions & 0 deletions packages/vrender-components/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{
"name": "@visactor/vrender-components",
"entries": [
{
"version": "1.0.3",
"tag": "@visactor/vrender-components_v1.0.3",
"date": "Tue, 10 Jun 2025 09:32:32 GMT",
"comments": {
"none": [
{
"comment": "fix: disable sampling when label is rich text\n\n"
},
{
"comment": "fix: fix rele"
}
]
}
},
{
"version": "1.0.1",
"tag": "@visactor/vrender-components_v1.0.1",
Expand Down
12 changes: 11 additions & 1 deletion packages/vrender-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Change Log - @visactor/vrender-components

This log was last generated on Mon, 09 Jun 2025 07:29:07 GMT and should not be manually modified.
This log was last generated on Tue, 10 Jun 2025 09:32:32 GMT and should not be manually modified.

## 1.0.3
Tue, 10 Jun 2025 09:32:32 GMT

### Updates

- fix: disable sampling when label is rich text


- fix: fix rele

## 1.0.1
Mon, 09 Jun 2025 07:29:07 GMT
Expand Down
8 changes: 4 additions & 4 deletions packages/vrender-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vrender-components",
"version": "1.0.1",
"version": "1.0.3",
"description": "components library for dp visualization",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -27,9 +27,9 @@
"dependencies": {
"@visactor/vutils": "1.0.6",
"@visactor/vscale": "1.0.6",
"@visactor/vrender-core": "workspace:1.0.1",
"@visactor/vrender-kits": "workspace:1.0.1",
"@visactor/vrender-animate": "workspace:1.0.1"
"@visactor/vrender-core": "workspace:1.0.3",
"@visactor/vrender-kits": "workspace:1.0.3",
"@visactor/vrender-animate": "workspace:1.0.3"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
Loading
Loading
0