@mermaid-js/parser@0.5.0

mermaid-js/mermaid@mermaid-js/parser@0.5.0Jun 20, 2025by github-actions[bot]

AI Summary

Adds support for the shorter packet diagram syntax to the parser.

Key Highlights

  • Adds support for shorter `+<count>: Label` syntax in packet diagrams.

New Features

  • Shorter packet diagram syntax.

Full Release Notes

### Minor Changes

-   [#5980](https://github.com/mermaid-js/mermaid/pull/5980) [`df9df9d`](https://github.com/mermaid-js/mermaid/commit/df9df9dc32b80a8c320cc0efd5483b9485f15bde) Thanks [@BryanCrotazGivEnergy](https://github.com/BryanCrotazGivEnergy)! - feat: Add shorter `+<count>: Label` syntax in packet diagram

### Patch Changes

-   [#6407](https://github.com/mermaid-js/mermaid/pull/6407) [`cdbd3e5`](https://github.com/mermaid-js/mermaid/commit/cdbd3e58a3a35d63a79258115dedca4a535c1038) Thanks [@thomascizeron](https://github.com/thomascizeron)! - Refactor grammar so that title don't break Architecture Diagrams