@mermaid-js/parser@0.6.3

mermaid-js/mermaid@mermaid-js/parser@0.6.3Oct 7, 2025by github-actions[bot]

AI Summary

This patch release improves error handling for pie charts by validating negative values during parsing, which prevents crashes and provides clearer, user-friendly error messages.

Key Highlights

  • Added validation for negative values in pie charts
  • Prevents parsing crashes
  • Provides clearer error messages

New Features

  • Pie chart validation

Full Release Notes

### Patch Changes

-   [#7051](https://github.com/mermaid-js/mermaid/pull/7051) [`63df702`](https://github.com/mermaid-js/mermaid/commit/63df7021462e8dc1f2aaecb9c5febbbbde4c38e3) Thanks [@shubhamparikh2704](https://github.com/shubhamparikh2704)! - Add validation for negative values in pie charts:

    Prevents crashes during parsing by validating values post-parsing.

    Provides clearer, user-friendly error messages for invalid negative inputs.