Skip to content

Releases

v0.1.0

Choose a tag to compare

@johanneslatzel johanneslatzel released this 18 Oct 12:59

initial release with:

Features

  • export_drawio tool renders a .drawio or .xml file to an SVG or PNG image
  • renders headlessly with maxGraph on a jsdom DOM, with PNG output rasterised by @resvg/resvg-js
  • format is optional and defaults to svg, or the first configured format when svg is disabled
  • output defaults to the input path with the format extension
  • page selects a page by zero-based index or by page name (default: the first page)
  • input and output paths resolve through the workspace, with read and write access enforced
  • parses both compressed and uncompressed .drawio files
  • DrawioConfiguration sets the format allowlist and the raster scale factor
  • package exports DrawioToolPackage, ExportDrawioTool, DrawioConfiguration, the SUPPORTED_DRAWIO_FORMATS enum, and the DrawioFormat and DrawioConfigurationOptions types

Internal

  • docs: MkDocs Material documentation site with an architecture diagram
  • CI: build, tsc, eslint, check-line-limits, check-mkdocs, tests with coverage, Codecov upload
  • publish workflow: npm publish --provenance runs when a GitHub release is published
  • pages workflow: the docs site deploys to GitHub Pages on push to main

Full Changelog: https://github.com/johanneslatzel/llm-chat-drawio/commits/v0.1.0