v0.4.3
bytedance/flowgram.aiv0.4.3Aug 21, 2025by sanmaopep
AI Summary
This is a minor bug fix release v0.4.3 for bytedance/flowgram.ai, addressing several issues in material components, variable handling, and layout features. The release includes two new features: exported hooks for material components and a batchAddFromJSON method for free-layout documents.
Key Highlights
- Fixed chain infinite loop issue in variable handling
- Resolved editor-with-variables bugs in materials component
- Fixed slot dash array line style rendering issue
- Added ctx.document.batchAddFromJSON method for free-layout
- Fixed loop expansion bug in demo-free-layout
New Features
- Export hooks for material components
- Add ctx.document.batchAddFromJSON for free-layout documents
Full Release Notes
## What's Changed * chore: REAME.md -> README.md by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/699 * feat(material): export hooks by @sunyuanonly in https://github.com/bytedance/flowgram.ai/pull/701 * fix(variable): chain infinite loop by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/702 * fix(materials): editor-with-variables bugs by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/708 * fix(material): default constant string by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/710 * chore: license-header in lint-staged by @dragooncjw in https://github.com/bytedance/flowgram.ai/pull/711 * fix(slot): slot dash array line style by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/714 * fix(demo-free-layout): loop expanded by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/706 * feat(free-layout): add ctx.document.batchAddFromJSON by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/709 ## New Contributors * @sunyuanonly made their first contribution in https://github.com/bytedance/flowgram.ai/pull/701 **Full Changelog**: https://github.com/bytedance/flowgram.ai/compare/v0.4.2...v0.4.3