Skip to content

v0.3.1

Choose a tag to compare

@pzfreo pzfreo released this 17 Jul 11:07
· 1217 commits to main since this release

v0.3.1

Added

  • PNG raster export — --format png on the CLI, or Drawing.export(formats=("png",)). Rides the SVG→PDF→PNG chain via pypdfium2 (Google PDFium, BSD-3) + Pillow (HPND) — permissive, pure-wheel, no native cairo, dual-license-clean.

Changed

  • Unified export API — Drawing.export(out, *, formats=…, dpi=…) → {format: path}. Intermediate SVG/PDF are routed through a temp dir, so exporting one format never clobbers another format's existing output.

Deprecated

  • Drawing.export_pdf() (use export(formats=("pdf",))) and the legacy positional export(svg=, dxf=) tuple form.

Also lands the #635 consolidation epic (all six children) — internal, behaviour-preserving (byte-identical golden), no output change.