# What changed in beautiful-mermaid

> 6 changes in beautiful-mermaid 0.1 to 1 from its official release notes, upgrade guides and advisories: 1 security, 3 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/beautiful-mermaid/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## beautiful-mermaid 1

### New APIs and options

- Adds inline styling for individual edges by index or default, supporting stroke and stroke-width in flowcharts and state diagrams. (1.1.0) — [release notes](https://github.com/lukilabs/beautiful-mermaid/releases/tag/v1.1.0)
- Adds text-embedded label syntax for flowchart edges as an alternative to pipe syntax. (1.1.0) — [release notes](https://github.com/lukilabs/beautiful-mermaid/releases/tag/v1.1.0)
- Adds full support for bar, line, and combined XY charts, including interactive tooltips, horizontal orientation, terminal rendering, and theme support. (1.1.0) — [release notes](https://github.com/lukilabs/beautiful-mermaid/releases/tag/v1.1.0)

### Behavior and default changes

- Conditional exports route Bun to raw TypeScript and Node, webpack, and Vite to pre-built ESM from dist/, so consumers need no config and webpack works without transpiling node_modules. (1.1.2) — [release notes](https://github.com/lukilabs/beautiful-mermaid/releases/tag/v1.1.2)

### Fixes and other changes

- State diagrams now correctly parse Chinese, Japanese, Korean, and other Unicode characters in state names, transitions, and descriptions. (1.1.0) — [release notes](https://github.com/lukilabs/beautiful-mermaid/releases/tag/v1.1.0)

## beautiful-mermaid 0.1

### Security

- beautiful-mermaid contains an SVG attribute injection issue that can lead to cross-site scripting (XSS) (0.1.3) — [security advisory](https://github.com/advisories/GHSA-CGMM-X5WW-Q5CR)
