v0.2.21

bytedance/flowgram.aiv0.2.21Jul 8, 2025by sanmaopep

AI Summary

This minor release (v0.2.21) introduces several new editor components including a prompt editor with inputs, code-editor, and json-editor-with-variables, along with a new isNodeChildrenPrivate variable feature and LLM template syntax support in the runtime.

Key Highlights

  • New isNodeChildrenPrivate variable feature for node child privacy control
  • New prompt editor component with input support
  • New code-editor and json-editor-with-variables materials added
  • LLM template syntax support added to runtime
  • Bug fix: node property order is now maintained during updates

New Features

  • isNodeChildrenPrivate variable feature for controlling node child visibility
  • Prompt editor with inputs for enhanced material creation
  • Code-editor material for code editing capabilities
  • json-editor-with-variables material for JSON editing with variable support
  • LLM template syntax support in runtime environment
  • Beautified sidebar styling in the demo

Full Release Notes

## What's Changed
* fix(demo): 节点内更新属性时保持原有顺序 by @qppq54s in https://github.com/bytedance/flowgram.ai/pull/469
* feat(variable): isNodeChildrenPrivate by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/472
* fix(demo): no isNodeChildrenPrivate default config in demo by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/473
* feat(demo): beautify sidebar style by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/476
* feat(material): prompt editor with inputs by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/478
* feat(materials): code-editor & json-editor-with-variables by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/479
* feat(runtime): support llm template syntax by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/480


## New Contributors
* @qppq54s made their first contribution in https://github.com/bytedance/flowgram.ai/pull/469

**Full Changelog**: https://github.com/bytedance/flowgram.ai/compare/v0.2.20...v0.2.21