Skip to content

v3.4.4

Latest

Choose a tag to compare

@Agents365-ai Agents365-ai released this 06 Nov 03:55
· 1 commit to main since this release
053600a

Fixed

  • Native Windows: the draw.io CLI is found again. The Windows installer names the executable draw.io.exe (with the dot), while the scripts used the bare name drawio. drawio2pptx.py, drawiohtml.py, svgflow.py, and timelapse.py crashed with FileNotFoundError; buildup.py and prdiff.py reported the CLI as missing and skipped images. All of them, plus diagramctl.py doctor, now share one drawio_cli.resolve_drawio() resolver. It tries drawio and draw.io on PATH, then the macOS app bundle and the Windows %ProgramFiles%, %ProgramFiles(x86)%, and %LOCALAPPDATA%\Programs install directories, and passes the absolute path to subprocess. That also rules out .cmd shims, which Windows CreateProcess cannot launch (#143).
  • explain.py on Windows: redirected Markdown is written as UTF-8, so arrows and other non-ASCII text no longer fail under a legacy code page.

Changed

  • SVG text labels: documented the per-cell convertToSvg=1; style for web-destined diagrams, its conversion limits and version gate, and the re-export caveat; the SVG and HTML exporter docs link to it.
  • PPTX export: documented that drawio2pptx.py embeds a raster image per slide rather than individually editable PowerPoint shapes.
  • Installation docs: corrected the manual placement recipe and the update attribution; the website install tabs match.
  • Japanese README: README_JA.md added, linked from the language row.

Tests

  • 255 tests pass, 4 skipped. Seven new tests cover the resolver: PATH priority, the dotted name, the macOS app-bundle fallback, both Windows install directories, the nothing-installed case, and PATH hits winning over install locations.
  • The --embed-svg-images regression test now asserts that the resolved absolute path reaches argv, not a bare name.
  • CI runs on Ubuntu without draw.io installed, so the resolver is also exercised on the negative path.