v0.1.21
bytedance/flowgram.aiv0.1.21Apr 10, 2025by xiamidaxia
AI Summary
This release (v0.1.21) adds Next.js demo support and a new ASTMatch API in variable-core, along with several bug fixes for canvas dragging, form validation, and editor client service registration. The release also includes refactoring work to decouple the node panel from node creation.
Key Highlights
- Added Next.js demo with CLI create support
- New ASTMatch API in variable-core for pattern matching
- Fixed FormModel.validateIn to match multiple patterns instead of just one
- Fixed card DOM resolution when drag is not allowed in canvas
- Refactored node panel to decouple from node creation logic
New Features
- Next.js demo support with CLI create functionality
- ASTMatch API in variable-core for advanced pattern matching
Full Release Notes
π v0.1.21 - Feature & Fix π dateοΌ2025-04-10 π [Compare Changes](https://github.com/bytedance/flowgram.ai/compare/v0.1.18...v0.1.21) π Feature * feat: nextjs demo by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/125 * feat: add ASTMatch API in variable-core by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/127 π Fix * fix(canvas): resolve card dom when drag is not allowed by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/128 * fix: fix FormModel.validateIn only match one pattern by @YuanHeDx in https://github.com/bytedance/flowgram.ai/pull/124 * fix(free-demo): drag node to container selected style by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/134 * fix(editor-client): postpone the sequence of custom service registration by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/135 * fix: demo-nextjs publish config by @dragooncjw in https://github.com/bytedance/flowgram.ai/pull/138 π Chore & refactor * chore: nextjs demo support cli create by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/137 * refactor: decoupling node panel and create node by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/129 π Contributors to this release [GitHub contributors page for this release](https://github.com/bytedance/flowgram.ai/graphs/contributors?from=2025.4.3&to=2025.4.10&type=c)