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