github yuzutech/kroki v0.0.4

latest releases: v0.25.0, v0.24.1, v0.24.0...
5 years ago

This release introduces a new request format. It’s now possible to send your diagram as plain text using the Content-Type header. The output format will be specified using the Accept header and the diagram source will be sent as the request body:

POST /graphviz
Accept: image/svg+xml
Content-Type: text/plain

digraph G {
  Hello->World
}

Changelog

Improvements

  • Diagrams can be sent as plain text using the Content-Type header
  • Improve the error messages (for instance when the diagram contains a syntax error)
  • Integrate a Logging library (slf4j with logback)
  • Add HTTP headers to force the browser to cache the image

Documentation

  • Use a new syntax highlighter
  • Fix links to HTTP client and Kroki CLI pages
  • Improve the documentation structure
  • Add a section on Kroki CLI

📖 docs.kroki.io

Don't miss a new kroki release

NewReleases is sending notifications on new releases.