Skip to content

v0.6.0

Choose a tag to compare

@xt765 xt765 released this 02 Feb 12:34
· 49 commits to main since this release

[0.6.0] - 2026-02-02
Added
Enhanced Web Preview (Master Mode): Introduced a brand-new FastAPI-powered Web preview interface.
Interactive Rendering: Integrated mermaid.js for real-time rendering with svg-pan-zoom support for zooming and panning.
Real-time Sync: Implemented Server-Sent Events (SSE) to automatically refresh diagrams when .mmd files change.
Directory Browsing: Built-in sidebar to browse and switch between all Mermaid files in the workspace.
CLI Integration: Simply launch with mermaid-trace serve . --master.
Improved
Layout Optimization: Refactored CSS Flex layout to fix vertical display issues for large diagrams.
Documentation: Synchronized Master mode documentation and code comments across English and Chinese.
[0.5.4] - 2026-02-02
Added
LangChain Integration: Full support for tracing LangChain applications.
Callback Handler: Implemented MermaidTraceCallbackHandler to capture lifecycle events for Chains, LLMs, ChatModels, Tools, and Retrievers.
Participant Stack: Introduced an internal participant stack to correctly track nested calls and return arrows (-->>) in complex RAG and Agent workflows.
Robust Integration: Used conditional imports to ensure langchain-core remains an optional dependency.
Fixed
Empty File Issue: Resolved a critical bug where .mmd files remained empty when using LangChain integration.
Protocol Alignment: Fixed missing flow_event extra parameters in the callback handler to ensure correct event capturing by MermaidFileHandler.