Skip to content

v1.3.0

Latest

Choose a tag to compare

@devasishpal devasishpal released this 10 Jun 06:38
· 4 commits to main since this release

v1.3.0 — Batteries-included: native converters for all 18 languages

Breaking changes

  • drawsvg, cairosvg, python-docx moved from optional extras to hard dependencies — single pip install pidraw now covers all 18 languages + PNG + DOCX export

New features

  • TikZ native converter — parses \node, \draw, \path, \scope, matrix of nodes, basic shapes/colors/arrows/styles
  • Mermaid native parserssequenceDiagram, classDiagram, stateDiagram/stateDiagram-v2, erDiagram, pie, gantt
  • Auto-fallback — Mermaid engine tries native first; if SVG is blank, falls back to mmdc CLI

Bug fixes

  • Pie chart regex was matching ""Label"" instead of "Label" — pie SVGs no longer blank
  • BPMN CLI output with only markers (no visible shapes) falls back to native renderer
  • Excalidraw arrows without points field now render properly
  • Excalidraw SVG now includes a <marker> definition — fixes cairosvg PNG crash
  • TikZ nodes get a default size — no more invisible nodes
  • ASCII parser now handles multiple boxes per line, <-- arrows, and scans all content lines for labels
  • Language detection: fixed broken BPMN regex, added Nomnoml/TikZ/WaveDrom patterns

Quality of life

  • ruff check, ruff format, and mypy all clean
  • CI now enforces lint + format + types on every push
  • 529 tests all passing