Skip to content
Open
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

This file was deleted.

36 changes: 18 additions & 18 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.1.11","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vrenderMain","version":"1.1.12","nextBump":"patch"}]
11 changes: 11 additions & 0 deletions docs/agent/VRENDER_RUNTIME_AND_ENTRIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@ Stage 创建属于 app:
- handle 的 `release()` 减少引用计数;最后一个 handle 释放后 app 释放。
- 直接调用 shared app 的 `app.release()` 会走同一 record release 逻辑。

### 跨 bundle 的内部 ID

`vrender-core/src/common/generator.ts` 在同一 JavaScript realm 内通过
`Symbol.for('@visactor/vrender-core/generator-state')` 共享数字 ID 计数器。
多个 bundle 的节点可能经 shared app / runtime service 进入同一棵树,
因此 ID 不能按模块副本或 app 独立计数,也不能随 app release 重置。
模块初始化时缓存计数器对象,分配 ID 的热路径只做一次递增。

旧版本的模块独立计数器不会自动接入此机制;发布时仍需覆盖共存的依赖版本。
回归入口:core 的 `common/generator.test.ts` 和 `graphic/node-tree-cross-bundle.test.ts`。

## `shared` / `shared-browser` / `shared-lynx` / `shared-browser-lite`

- `./entries/shared`:通用 env shared entry,支持 `browser`、`node`、`taro`、`feishu`、`tt`、`wx`、`lynx`、`harmony`。package exports 中 `browser` condition 路由到 `shared-browser.js`,`lynx` condition 路由到 `shared-lynx.js`。
Expand Down
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.12",
"@visactor/vgrammar": "~0.5.7",
"@visactor/vrender": "workspace:1.1.11",
"@visactor/vrender": "workspace:1.1.12",
"markdown-it": "^13.0.0",
"highlight.js": "^11.8.0",
"axios": "^1.4.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/react-vrender-utils/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/react-vrender-utils",
"entries": [
{
"version": "1.1.12",
"tag": "@visactor/react-vrender-utils_v1.1.12",
"date": "Tue, 13 Oct 2026 08:17:49 GMT",
"comments": {}
},
{
"version": "1.1.11",
"tag": "@visactor/react-vrender-utils_v1.1.11",
Expand Down
7 changes: 6 additions & 1 deletion packages/react-vrender-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log - @visactor/react-vrender-utils

This log was last generated on Thu, 17 Sep 2026 07:31:09 GMT and should not be manually modified.
This log was last generated on Tue, 13 Oct 2026 08:17:49 GMT and should not be manually modified.

## 1.1.12
Tue, 13 Oct 2026 08:17:49 GMT

_Version update only_

## 1.1.11
Thu, 17 Sep 2026 07:31:09 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.1.11",
"version": "1.1.12",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -27,8 +27,8 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:1.1.11",
"@visactor/react-vrender": "workspace:1.1.11",
"@visactor/vrender": "workspace:1.1.12",
"@visactor/react-vrender": "workspace:1.1.12",
"@visactor/vutils": "~1.0.12",
"react-reconciler": "^0.29.0",
"tslib": "^2.3.1"
Expand Down
6 changes: 6 additions & 0 deletions packages/react-vrender/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/react-vrender",
"entries": [
{
"version": "1.1.12",
"tag": "@visactor/react-vrender_v1.1.12",
"date": "Tue, 13 Oct 2026 08:17:48 GMT",
"comments": {}
},
{
"version": "1.1.11",
"tag": "@visactor/react-vrender_v1.1.11",
Expand Down
7 changes: 6 additions & 1 deletion packages/react-vrender/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log - @visactor/react-vrender

This log was last generated on Thu, 17 Sep 2026 07:31:09 GMT and should not be manually modified.
This log was last generated on Tue, 13 Oct 2026 08:17:49 GMT and should not be manually modified.

## 1.1.12
Tue, 13 Oct 2026 08:17:48 GMT

_Version update only_

## 1.1.11
Thu, 17 Sep 2026 07:31:09 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.1.11",
"version": "1.1.12",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -26,7 +26,7 @@
"react": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:1.1.11",
"@visactor/vrender": "workspace:1.1.12",
"@visactor/vutils": "~1.0.12",
"react-reconciler": "^0.29.0",
"tslib": "^2.3.1"
Expand Down
6 changes: 6 additions & 0 deletions packages/vrender-animate/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/vrender-animate",
"entries": [
{
"version": "1.1.12",
"tag": "@visactor/vrender-animate_v1.1.12",
"date": "Tue, 13 Oct 2026 08:17:49 GMT",
"comments": {}
},
{
"version": "1.1.11",
"tag": "@visactor/vrender-animate_v1.1.11",
Expand Down
7 changes: 6 additions & 1 deletion packages/vrender-animate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log - @visactor/vrender-animate

This log was last generated on Thu, 17 Sep 2026 07:31:09 GMT and should not be manually modified.
This log was last generated on Tue, 13 Oct 2026 08:17:49 GMT and should not be manually modified.

## 1.1.12
Tue, 13 Oct 2026 08:17:49 GMT

_Version update only_

## 1.1.11
Thu, 17 Sep 2026 07:31:09 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.1.11",
"version": "1.1.12",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand Down Expand Up @@ -37,7 +37,7 @@
},
"dependencies": {
"@visactor/vutils": "~1.0.12",
"@visactor/vrender-core": "workspace:1.1.11"
"@visactor/vrender-core": "workspace:1.1.12"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
6 changes: 6 additions & 0 deletions packages/vrender-components/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/vrender-components",
"entries": [
{
"version": "1.1.12",
"tag": "@visactor/vrender-components_v1.1.12",
"date": "Tue, 13 Oct 2026 08:17:49 GMT",
"comments": {}
},
{
"version": "1.1.11",
"tag": "@visactor/vrender-components_v1.1.11",
Expand Down
7 changes: 6 additions & 1 deletion packages/vrender-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log - @visactor/vrender-components

This log was last generated on Thu, 17 Sep 2026 07:31:09 GMT and should not be manually modified.
This log was last generated on Tue, 13 Oct 2026 08:17:49 GMT and should not be manually modified.

## 1.1.12
Tue, 13 Oct 2026 08:17:49 GMT

_Version update only_

## 1.1.11
Thu, 17 Sep 2026 07:31:09 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.1.11",
"version": "1.1.12",
"description": "components library for dp visualization",
"sideEffects": false,
"main": "cjs/index.js",
Expand Down Expand Up @@ -69,9 +69,9 @@
"dependencies": {
"@visactor/vutils": "~1.0.12",
"@visactor/vscale": "~1.0.12",
"@visactor/vrender-core": "workspace:1.1.11",
"@visactor/vrender-kits": "workspace:1.1.11",
"@visactor/vrender-animate": "workspace:1.1.11"
"@visactor/vrender-core": "workspace:1.1.12",
"@visactor/vrender-kits": "workspace:1.1.12",
"@visactor/vrender-animate": "workspace:1.1.12"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
12 changes: 12 additions & 0 deletions packages/vrender-core/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@visactor/vrender-core",
"entries": [
{
"version": "1.1.12",
"tag": "@visactor/vrender-core_v1.1.12",
"date": "Tue, 13 Oct 2026 08:17:49 GMT",
"comments": {
"none": [
{
"comment": "Fix font variant and style measurements for wrapped, clipped and vertical text."
}
]
}
},
{
"version": "1.1.11",
"tag": "@visactor/vrender-core_v1.1.11",
Expand Down
9 changes: 8 additions & 1 deletion packages/vrender-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - @visactor/vrender-core

This log was last generated on Thu, 17 Sep 2026 07:31:09 GMT and should not be manually modified.
This log was last generated on Tue, 13 Oct 2026 08:17:49 GMT and should not be manually modified.

## 1.1.12
Tue, 13 Oct 2026 08:17:49 GMT

### Updates

- Fix font variant and style measurements for wrapped, clipped and vertical text.

## 1.1.11
Thu, 17 Sep 2026 07:31:09 GMT
Expand Down
Loading
Loading