Repository navigation
LayerWeave 0.7.10b2 — Windows preview
Pre-release中文
本次为 0.7.10b2 Windows 预览版(npm:0.7.10-beta.2)。
新增
- 通用 Data / DataLayer:直接继承 Object / Layer,用 information.data 承载 JSON 对象、数组、字符串、数字、布尔值、null 及嵌套组合。外层 information 仍为字典;空值和空容器合法,漏填 data 沿用现有诊断设置,默认 warn。
- 配套 TOML、按需导入、自动发现的使用/开发 help,以及可运行的 数据示例。保存、加载、交换、历史及撤销复用现有接口。
用法文档
- 生命周期声明与顺序管理:补齐两级流程目录、bind 单链、位置排序结果和事务内维护方式。这是应用侧的可复用示例,没有内置生命周期执行器或新增必需服务。
- 收录上一版发布后补充的 MCP 组件目录用法与 project 分区技巧。这些描述如何组合现有能力,不自动加载或执行数据库中的声明。
兼容与更新
没有新增数据库表或改动发号规则,现有接口保持兼容,已有数据无需迁移。使用 Data/DataLayer 的配置发现与 Python 类还原,需要升级到本版或更新版本。基础组件版本为 0.6.2;视图与独立插件版本不变。
任选一种方式更新:
uv tool install --upgrade --python 3.11 "layerweave[mcp]==0.7.10b2"npm install -g layerweave@0.7.10-beta.2若 MCP 配置固定了旧版本,请同步版本号并重启客户端。已有项目与演示修改继续保留。FFmpeg 等媒体工具仍为选装。
下载附件提供 wheel、源码包、npm 启动包及 SHA256SUMS;PyPI 与 GitHub 使用同一份已验收的 Python 发行物。main 保留无视图开发源码,visualization 提供完整应用。
English
0.7.10b2 is a Windows preview release (npm: 0.7.10-beta.2).
Added
- Generic Data / DataLayer types, inheriting directly from Object / Layer. information.data accepts JSON objects, arrays, strings, numbers, booleans, null and nested combinations. information remains a dictionary. Empty values are valid; a missing data field uses the existing diagnostics policy, warning by default.
- Matching TOML definitions, lazy imports, automatically discovered usage/developer help, and a runnable data example. Persistence, loading, exchange, history and undo reuse existing APIs.
Usage documentation
- The lifecycle declaration example (Chinese) now covers two-level flow directories, bind chains, stored ordinal positions and transactional maintenance. It is an application pattern, not a built-in lifecycle executor or required service.
- Includes the MCP component directory pattern and project partitioning technique added since the previous release (Chinese). These compose existing capabilities; declarations are not automatically loaded or executed.
Compatibility and upgrade
No database migration, new tables or numbering changes. Existing APIs remain compatible. Upgrade to this release or later to discover the new configurations and restore Data/DataLayer Python instances. The foundation component is 0.6.2; view and independent plugin versions are unchanged.
Upgrade using either command above. Update pinned MCP versions and restart the client. Existing projects and edited demos are preserved; FFmpeg remains optional. Release assets include the wheel, source archive, npm launcher and SHA256SUMS. GitHub and PyPI receive the same tested Python distributions. main remains the non-visual development source branch; visualization contains the full application.