Skip to content
figular v0.0.11 - 2022-09-29

Added

* Support for PNG output from the API and website so users can download in
  format they choose. Webpges default to PNG now as it's got wider support than
  SVG on base OS's e.g. Windows. Breaking change to API.
* Small extra test on our asy cleanse code, no meaningful change though.

Changed

* Website: better file names for downloads - based on the example media's name
  from the widget page. So downloading the circle figure gives a file called
  'circle.png'.
* Use a StreamingResponse in the API as suggested by FastAPI for serving
  performant media
* Detect the state where Asy produced no files and give user a 422 status code
  with a custom msg. This can occur where user has entered meaningless
  whitespace.
* Our API testing now uses the FastAPI testclient which is much more sane then
  calling path methods directly.

Fixed

* Orgchart bug fixed where it produced empty graphic even with no valid data