v0.4.16

bytedance/flowgram.aiv0.4.16Sep 17, 2025by louisyoungx

AI Summary

This release focuses on security fixes and auto-layout improvements. Key changes include fixing a prototype pollution vulnerability, enhancing URL parameter security, and adding a new feature to support auto-layout for specified container nodes. The release also includes performance optimizations and various bug fixes.

Key Highlights

  • Security fixes: prototype pollution attack vulnerability and enhanced URL parameter handling
  • Auto-layout feature: support layout for specified container nodes
  • Performance improvement: autolayout and fitview execute simultaneously
  • Refactoring: removed resize-polling in core
  • Multiple auto-layout bug fixes: padding handling, animation consistency, node bounce-back, and offset calculations

New Features

  • feat(auto-layout): support layout for specified container nodes

Full Release Notes

## What's Changed
* fix: running finished with loading by @JxJuly in https://github.com/bytedance/flowgram.ai/pull/829
* refactor(core): remove resize-polling by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/831
* fix(core): prototype pollution attack by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/830
* docs(readme): add certimate to adoption by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/832
* fix(auto-layout): update position delta.y consider padding by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/834
* fix: typescript for typedoc by @dragooncjw in https://github.com/bytedance/flowgram.ai/pull/836
* fix(security): codescan fails to scan fix by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/837
* fix(auto-layout): inconsistent auto-layout animation by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/838
* fix(security): enhance get url params by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/839
* perf(auto-layout): autolayout and fitview excute simultaneously by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/840
* fix(auto-layout): autolayout container node bounce-back by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/841
* fix(auto-layout): offset x should depend on layout node size by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/842
* feat(auto-layout): support layout for specified container nodes by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/844
* chore(material): upgrade coze editor by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/843

https://github.com/user-attachments/assets/98e0a936-99a4-459f-98f3-f1c1fa3311c8

https://github.com/user-attachments/assets/f0ba0bd0-6e4f-4bc6-9d97-7346b8d45727


**Full Changelog**: https://github.com/bytedance/flowgram.ai/compare/v0.4.15...v0.4.16