Skip to content

Releases: yuzutech/kroki

v0.16.0

17 Dec 09:51
Compare
Choose a tag to compare

Changelog

This release includes a bug fix regarding how the Accept header being wrongly parsed and two new features from two new contributors!
@derlin added PNG support for Mermaid and @amirabramovich added support for SSL. To learn more about how to enable SSL on the Kroki server, please read the documentation: https://docs.kroki.io/kroki/setup/configuration/#_enabling_ssl_on_the_server

It also contains the latest available versions of:

  • BlockDiag (BlockDiag, SeqDiag, ActDiag, NwDiag, PacketDiag, RackDiag)
  • BPMN
  • Mermaid
  • PlantUML
  • Structurizr DSL
  • Vega-Lite
  • WaveDrom

Bug Fixes

  • Use HeaderParser to parse Accept header by @Mogztter in #956

Improvements

Infrastructure

Documentation

  • Add an example on how to encode using Kotlin by @derlin in #950
  • Fix a typo in "the tools (...) that rely on Kroki" by @cmorty in #972
  • Use Python-version agnostic oneliner to encode/decode diagram by @jamietanna in #974
  • Extend the list of tools integrating Kroki by @cmorty in #973

New Contributors

πŸ“„ Full diff
πŸ“– Documentation

v0.15.1

05 Oct 16:08
Compare
Choose a tag to compare

Changelog

This minor patch release comes with the latest version of Structurizr DSL.
This version does not include scripting libraries (Ruby, Kotlin, Groovy) and, as a result, the size of the "fat-jar" is now back to ~25Mb.

Improvements

  • Disable script feature and upgrade Structurizr DSL to version 1.15.0 - thanks @simonbrowndotje
  • Replace structurizr-plantuml in favour of structurizr-export - thanks @simonbrowndotje

Infrastructure

  • Bump jinja2 from 3.0.1 to 3.0.2 in /blockdiag (#940)
  • Bump flask from 2.0.1 to 2.0.2 in /blockdiag (#941)
  • Update development dependencies
    • Bump standard from 16.0.3 to 16.0.4 in /bpmn (#934)
    • Bump standard from 16.0.3 to 16.0.4 in /nomnoml (#931)
    • Bump standard from 16.0.3 to 16.0.4 in /bytefield (#937)
    • Bump standard from 16.0.3 to 16.0.4 in /vega (#933)
    • Bump standard from 16.0.3 to 16.0.4 in /mermaid (#932)
    • Bump standard from 16.0.3 to 16.0.4 in /wavedrom (#938)
    • Bump standard from 16.0.3 to 16.0.4 in /excalidraw (#939)

πŸ“„ Full diff
πŸ“– Documentation

v0.15.0

02 Oct 13:03
Compare
Choose a tag to compare

Changelog

This release includes a new diagram library: Structurizr! πŸŽ‰
It also contains a bug fix regarding Vega and Vega-Lite and the latest available versions of:

  • BPMN
  • Bytefield
  • C4 PlantUML
  • Erd
  • Mermaid
  • PlantUML
  • Svgbob
  • Vega
  • Vega-Lite

Thanks to @hason, @twoi, @cowboy, @DaveJarvis, @Gowa2017 and @sturtison for their contributions!

Bug fixes

  • Fix PNG and PDF output on Vega and Vega-Lite (#824)
  • Return valid XML when generating a Mermaid diagram as SVG (for instance, when using <br>) (#926) - thanks @cowboy

Improvements

  • Upgrade BPMN from 8.7.1 to 8.7.3 in /bpmn (#874) (#881)
  • Upgrade Bytefield SVG from 1.5.0 to 1.6.0 in /bytefield (#896) - thanks @twoi
  • Upgrade C4 PlantUML definition files to 2.3.0 (#927) - thanksΒ @Gowa2017
  • Upgrade Erd to 0.2.1.0 (#843)
  • Upgrade Mermaid from 8.11.0 to 8.13.2 in /mermaid (#866) (#889) (#925)
  • Upgrade PlantUML from 1.2021.8 to 1.2021.10 (#835) (#885)
  • Upgrade Svgbob from 0.4.2 to 0.5.3 (#370) - thanks @hason
  • Upgrade Vega from 5.20.2 to 5.21.0 (#914)
  • Upgrade Vega-Lite from 5.1.0 to 5.1.1 in /vega (#890)
  • Integrate Structurizr (#510)
  • Pass options to the underlying diagram libraries (#827)
    • Support BlockDiag, GraphViz, PlantUML, Structurizr and Svgbob
  • Print an explicit error message when the URI is too long (#853)
  • Create SVG and PNG error images (#842)

Infrastructure

  • Bump vertx.version from 4.1.1 to 4.1.4 (#831) (#887) (#905)
  • Bump logback.version from 1.2.3 to 1.2.6 (#830) (#837) (#895)
  • Bump slf4j-api from 1.7.31 to 1.7.32 (#832)
  • Bump structurizr-dsl from 1.12.0 to 1.14.0 (#911)
  • Bump pillow from 8.3.1 to 8.3.2 in /blockdiag (#888)
  • Bump yargs from 17.0.1 to 17.1.1 in /vega (#845) (#865) (#922)
  • Bump reportlab from 3.5.68 to 3.6.1 in /blockdiag (#852)
  • Bump puppeteer from 10.1.0 to 10.4.0 in /mermaid (#847) (#913)
  • Bump puppeteer from 10.1.0 to 10.4.0 in /bpmn (#848) (#915)
  • Bump puppeteer from 10.1.0 to 10.4.0 in /excalidraw (#849) (#916)
  • Bump pillow from 8.3.0 to 8.3.1 in /blockdiag (#825)
  • Add workflow_dispatch to manually run the workflow
  • Update development dependencies
    • Bump junit.jupiter.version from 5.7.2 to 5.8.1
    • Bump tar from 6.1.4 to 6.1.11 in /vega (#886)
    • Bump tar from 6.1.0 to 6.1.4 in /vega (#844)
    • Bump mocha from 9.0.1 to 9.1.2 in /vega (#823) (#834) (#873) (#880) (#923)
    • Bump mocha from 9.0.1 to 9.1.2 (#822) (#833) (#879) (#872) (#921)
    • Bump mockito-core from 3.11.2 to 3.12.4 (#868) (#877)
    • Bump path-parse from 1.0.6 to 1.0.7 in /vega (#863)
    • Bump path-parse from 1.0.6 to 1.0.7 in /mermaid (#859)
    • Bump path-parse from 1.0.6 to 1.0.7 in /bytefield (#860)
    • Bump path-parse from 1.0.6 to 1.0.7 in /bpmn (#861)
    • Bump path-parse from 1.0.6 to 1.0.7 in /excalidraw (#862)
    • Bump path-parse from 1.0.6 to 1.0.7 in /wavedrom (#864)
    • Bump path-parse from 1.0.6 to 1.0.7 in /nomnoml (#858)
    • Bump git-commit-id-plugin from 4.0.5 to 4.9.10 (#841)
    • Bump sinon from 11.1.1 to 11.1.2 in /vega (#838)
    • Bump assertj-core from 3.20.2 to 3.21.0 (#910)

Documentation

  • Split install page (#828) - thanks @sturtison
  • Fix the port when using docker-compose (#821)
  • Fix the deflate implementation in Java (#912) - thanks @DaveJarvis

πŸ“„ Full diff
πŸ“– Documentation

v0.14.0

03 Jul 13:49
Compare
Choose a tag to compare

Changelog

This release includes a bug fix regarding Vega and Vega-Lite where warning messages were included in the image output (resulting in corrupted data).
It also contains the latest available versions of:

  • BPMN
  • Mermaid
  • PlantUML
  • WaveDrom

Thanks to @jekkel, @lind and @sturtison for their contributions!

Bug fixes

  • Suppress warning messages from Vega(lite) otherwise resulting image is corrupt (#771) - thanks @jekkel

Improvements

  • Bump BPMN from 8.6.0 to 8.7.1 in /bpmn (#780) (#813)
  • Bump Mermaid from 8.10.1 to 8.11.0 in /mermaid (#779) (#812)
  • Bump PlantUML from 1.2021.6 to 1.2021.8 (#763) (#814)
  • Bump WaveDrom from 2.6.9 to 2.8.1 in /wavedrom (#782) (#805)
  • Do not redirect stderr to stdout when running command-line (#790) - thanks @jekkel

Infrastructure

  • Bump vertx.version from 4.0.3 to 4.1.1 (#776) (#820)
  • Build against Node.js 14 (#772)
  • Bump puppeteer from 9.1.1 to 10.1.0 in /excalidraw
  • Bump puppeteer from 9.1.1 to 10.1.0 in /bpmn
  • Bump puppeteer from 9.1.1 to 10.1.0 in /mermaid
  • Bump pillow from 8.2.0 to 8.3.0 in /blockdiag (#819)
  • Update development dependencies
    • Bump mockito-core from 3.10.0 to 3.11.2 (#778) (#806)
    • Bump assertj-core from 3.19.0 to 3.20.2 (#804) (#795)
    • Bump mocha from 8.4.0 to 9.0.1 in /vega (#791)
    • Bump mocha from 8.4.0 to 9.0.1 (#781)
    • Bump slf4j-api from 1.7.30 to 1.7.31 (#803)
    • Bump flask from 1.1.2 to 2.0.1 in /blockdiag (#762)
    • Bump yargs from 16.2.0 to 17.0.1 in /vega (#714)
    • Bump jinja2 from 2.11.3 to 3.0.1 in /blockdiag (#757)
    • Bump itsdangerous from 1.1.0 to 2.0.1 in /blockdiag (#756)
    • Bump werkzeug from 1.0.1 to 2.0.1 in /blockdiag (#754)
    • Bump click from 7.1.2 to 8.0.1 in /blockdiag (#760)
    • Bump markupsafe from 1.1.1 to 2.0.1 in /blockdiag (#758)
    • Bump reportlab from 3.5.67 to 3.5.68 in /blockdiag (#811)
    • Bump git-commit-id-plugin from 4.0.4 to 4.0.5 (#783)
    • Bump glob-parent from 5.1.1 to 5.1.2 in /mermaid (#784)
    • Bump glob-parent from 5.1.1 to 5.1.2 in /vega (#785)
    • Bump glob-parent from 5.1.1 to 5.1.2 in /nomnoml (#786)
    • Bump glob-parent from 5.1.1 to 5.1.2 in /bpmn (#788)
    • Bump glob-parent from 5.1.1 to 5.1.2 in /bytefield (#789)
    • Bump ws from 7.4.5 to 7.4.6 in /excalidraw (#770)
    • Bump ws from 7.4.5 to 7.4.6 in /bpmn (#769)
    • Bump ws from 7.4.5 to 7.4.6 in /mermaid (#766)

Document

  • Correct port for Excalidraw k8s service (#808) - thanks @lind
  • Add Podman installation guide (#798) - thanks @sturtison
  • Replace Gitter chat badge by Zulip on README

πŸ“„ Full diff
πŸ“– Documentation

v0.13.0

23 May 14:14
Compare
Choose a tag to compare

Changelog

This release includes two important fix regarding CORS and C4 diagrams behind a firewall.
It also contains the latest available versions of:

  • BPMN
  • Mermaid
  • Nomnoml
  • PlantUML
  • Vega-Lite
  • WaveDrom

Thanks to @Gjacquenot, @jerojasro and @lind for their contributions!

Bug fixes

  • Workaround to fix a bug in Vert.x web where requests with Origin: null are rejected (#711) - thanks @jerojasro
  • Remove remote includes in local C4 definition files (#718) - thanks @lind

Improvements

  • Upgrade BPMN from 8.3.0 to 8.6.0
  • Upgrade Mermaid from 8.9.2 to 8.10.1
  • Upgrade Nomnoml from 1.3.1 to 1.4.0
  • Upgrade PlantUML from 1.2021.4 to 1.2021.6
  • Upgrade Vega-Lite from 5.0.0 to 5.1.0
  • Upgrade WaveDrom from 2.6.8 to 2.6.9
  • Upgrade C4 PlantUML definition files to 2.2.0

Infrastructure

  • Update images description on hub.docker.com using GitHub Actions (#753 & #737) - thanks @lind
  • Unified Python usage and improvements in Makefile - thanks @Gjacquenot
  • Use -static option to tell GCC to build a static binary for Pikchr - thanks @jerojasro
  • Bump gunicorn from 20.0.4 to 20.1.0 in /blockdiag
  • Bump reportlab from 3.5.59 to 3.5.67 in /blockdiag
  • Bump pillow from 8.1.2 to 8.2.0 in /blockdiag
  • Bump alpine from 3.13.4 to 3.13.5 in /bpmn
  • Bump alpine from 3.13.4 to 3.13.5 in /mermaid
  • Bump alpine from 3.13.4 to 3.13.5 in /excalidraw
  • Bump puppeteer from 8.0.0 to 9.1.1 in /mermaid
  • Bump puppeteer from 8.0.0 to 9.1.1 in /bpmn
  • Bump puppeteer from 8.0.0 to 9.1.1 in /excalidraw
  • Bump imageio-batik from 3.6.4 to 3.7.0
  • Update development dependencies
    • Bump lodash from 4.17.20 to 4.17.21 in /bpmn
    • Bump lodash from 4.17.20 to 4.17.21 in /bytefield
    • Bump lodash from 4.17.19 to 4.17.21 in /mermaid
    • Bump lodash from 4.17.19 to 4.17.21 in /nomnoml
    • Bump lodash from 4.17.20 to 4.17.21 in /vega
    • Bump hosted-git-info from 2.8.8 to 2.8.9 in /bpmn
    • Bump hosted-git-info from 2.8.8 to 2.8.9 in /bytefield
    • Bump hosted-git-info from 2.8.8 to 2.8.9 in /excalidraw
    • Bump hosted-git-info from 2.8.8 to 2.8.9 in /mermaid
    • Bump hosted-git-info from 2.8.8 to 2.8.9 in /nomnoml
    • Bump hosted-git-info from 2.8.8 to 2.8.9 in /vega
    • Bump junit.jupiter.version from 5.7.1 to 5.7.2
    • Bump canvas from 2.7.0 to 2.8.0 in /vega
    • Bump mockito-core from 3.9.0 to 3.10.0
    • Bump mocha from 8.3.2 to 8.4.0

πŸ“„ Full diff
πŸ“– Documentation

v0.12.1

13 Apr 17:08
Compare
Choose a tag to compare

Changelog

This is a patch release to process ditaa diagrams with ditaamini (i.e., an optimized version of ditaa) when sent through the /plantuml endpoint.
In fact, PlantUML includes an obsolete version of ditaa that causes various issues. When possible, we highly recommend to use the /ditaa endpoint directly.

Bug fixes

  • Process ditaa diagrams with an optimized version of ditaa when sent through the /plantuml endpoint (#689)

Infrastructure

  • Automate Docker push on release

πŸ“„ Full diff
πŸ“– Documentation

v0.12.0

10 Apr 12:46
Compare
Choose a tag to compare

Changelog

This release includes a new diagram library: Pikchr! πŸŽ‰
Notable changes include using a faster ditaa, adding Noto CJK font and using non-root user in the Docker images, and upgrading to Vert.xΒ 4.
It also contains the latest available versions of:

  • BPMN
  • ditaa
  • Mermaid
  • PlantUML
  • Vega
  • Vega-Lite
  • WaveDrom

Bug fixes

  • Remove the extra call to the delegate handler (#609)
  • Fix classpath conflicts on PlantUML and ditaa (#631)

Improvements

  • Add support for Pikchr (#515)
  • Install CJK font (#579)
  • Upgrade BPMN from 8.2.0 to 8.3.0
  • Upgrade ditaa mini to 0.14 (#631)
  • Upgrade Mermaid from 8.9.0 to 8.9.2
  • Upgrade PlantUML from 1.2021.1 to 1.2021.4
  • Upgrade Vega from 5.19.1 to 5.20.2
  • Upgrade Vega-Lite from 4.17.0 to 5.0.0
  • Upgrade WaveDrom from 2.3.2 to 2.6.8
  • Upgrade Vert.x from 3.9.4 to 4.0.3
  • Update C4 definition files (#675) - thanks @sladkoff & @koriit-kontakt
  • Use non-root user (kroki) in the Docker images - thanks @lind
  • Make the max URI length configurable (#626) - thanks @lind

Infrastructure

  • Upgrade dependencies
    • Bump alpine from 3.13.0 to 3.13.4 in /excalidraw
    • Bump alpine from 3.13.1 to 3.13.4 in /bpmn
    • Bump alpine from 3.13.1 to 3.13.4 in /mermaid
    • Bump puppeteer from 5.5.0 to 8.0.0 in /bpmn
    • Bump puppeteer from 5.5.0 to 8.0.0 in /mermaid
    • Bump puppeteer from 5.4.1 to 8.0.0 in /excalidraw
    • Bump json5 from 2.1.1 to 2.2.0 in /wavedrom
    • Bump onml from 1.2.0 to 2.1.0 in /wavedrom
    • Bump canvas from 2.6.1 to 2.7.0 in /vega
  • Upgrade development dependencies
    • Bump chai from 4.3.0 to 4.3.4
    • Bump mockito-core from 3.7.7 to 3.9.0
    • Bump pillow from 8.1.1 to 8.1.2 in /blockdiag
    • Bump mocha from 8.3.0 to 8.3.2
    • Bump imageio-batik from 3.6.2 to 3.6.4
    • Bump pillow from 8.1.0 to 8.1.1 in /blockdiag
    • Bump git-commit-id-plugin from 4.0.3 to 4.0.4
    • Bump standard from 14.3.1 to 16.0.3 in /wavedrom
    • Bump standard from 16.0.2 to 16.0.3 in /excalidraw
    • Bump node from 12.18.4-alpine3.11 to 12.22.1-alpine3.11 in /excalidraw
    • Bump node from 10.20.0-alpine3.11 to 12.22.1-alpine3.11 in /wavedrom
  • Add GitHub Actions to test the documentation
  • Enable Dependabot on missing modules
  • Publish jar on tag/release (#649)
  • Make sure that bitfield diagrams (WaveDrom) are supported
  • Fix version of pkg and pkg-fetch to improve build reliability

Documentation

πŸ“„ Full diff
πŸ“– Documentation

v0.11.0

14 Feb 18:41
31b5c02
Compare
Choose a tag to compare

Changelog

This release includes stability improvements by running tasks off the event loop thread.
It also contains the latest available versions of:

  • BPMN
  • PlantUML
  • Mermaid
  • Vega

Deprecation warnings

Bug fixes

  • Preserve PlantUML stdlib: archimate, logos and elastic (#578) - thanks @romkavt
  • Install a Chinese font, otherwise text length is incorrect on PlantUML (#574) -thanks @wangqian0306

Improvements

  • Upgrade BPMN from 8.0.1 to 8.2.0
  • Upgrade PlantUML from 1.2021.0 to 1.2021.1
  • Upgrade Mermaid from 8.8.4 to 8.9.0
  • Upgrade Vega from 5.17.3 to 5.19.1
  • Configure timeout and use executeBlocking on PlantUML to avoid blocking the event loop thread
  • Use an async handler in the convert method
  • Introduce KROKI_LISTEN which superseded KROKI_PORT; KROKI_LISTEN can:
    • bind to a specific IPv4 or IPv6 address
    • bind to all network interfaces and accept connections from both IPv6 or IPv4 hosts
    • bind to loopback address (127.0.0.1)
    • bind to local address (192.168.0.1)
    • bind to a specific port
    • Many thanks to @jkroepke for his feedback on this feature!
  • Ignore KROKI_PORT when the value starts with tcp:// and Kroki is running inside a container; workaround for k8s (#595)

Infrastructure

  • Upgrade dependencies
    • Bump adoptopenjdk/openjdk11 image from jre-11.0.6_10-alpine to jre-11
    • Bump alpine from 3.12.2 to 3.13.1 in /bpmn
    • Bump alpine from 3.12.2 to 3.13.1 in /mermaid
    • Bump pillow from 7.2.0 to 8.1.0 in /blockdiag
  • Upgrade development dependencies
    • Bump mockito-core from 3.6.28 to 3.7.7
    • Bump batik-transcoder from 1.13 to 1.14
    • Bump imageio-batik from 3.6.1 to 3.6.2
    • Bump jinja2 from 2.11.2 to 2.11.3 in /blockdiag
    • Bump chai from 4.2.0 to 4.3.0
    • Bump junit.jupiter.version from 5.7.0 to 5.7.1
    • Bump assertj-core from 3.18.1 to 3.19.0
  • Notify docs.kroki.io when documentation changed

Documentation

  • Add depends_on and KROKI_EXCALIDRAW_HOST on docker-compose.yml - thanks @marcelstoer

πŸ“„ Full diff
πŸ“– Documentation

v0.10.0

21 Jan 17:04
Compare
Choose a tag to compare

Changelog

This release includes a few improvements regarding /c4plantuml and /plantuml.
It also contains the latest available versions of:

  • BPMN
  • PlantUML
  • Vega

Breaking changes

Bug fixes

  • Use executeBlocking block to avoid blocking the event loop thread (#508)

Improvements

  • Consolidate PlantUML and C4 PlantUML service
    • Upgrade C4 definition files (see breaking changes)
    • Add c4_dynamic and c4_deployment definition files
    • Use the same service for both /c4plantuml and /plantuml
  • Upgrade BPMN from 7.5.0 to 8.0.1
  • Upgrade PlantUML from 1.2020.23 to 1.2021.0
  • Upgrade Vega from 5.17.0 to 5.17.3

Infrastructure

  • Specify the logging backend on Vertx using the vertx.logger-delegate-factory-class-name variable
  • Upgrade dependencies
    • Bump python from 3.8.6-alpine3.11 to 3.8.7-alpine3.11 in /blockdiag
    • Bump reportlab from 3.5.56 to 3.5.59 in /blockdiag

Documentation

  • Add missing KROKI_EXCALIDRAW_HOST in the README

πŸ“„ Full diff
πŸ“– Documentation

v0.9.0

20 Dec 13:22
Compare
Choose a tag to compare

Changelog

This release includes a new diagram library, welcome Excalidraw! πŸŽ‰
This diagram library is available at /excalidraw

This release also contains the latest available versions of:

  • BPMN
  • Mermaid
  • Nomnoml
  • PlantUML

Bug fixes

  • Make sure that exceptions are correctly translated to errors (#508)

Improvements

  • Upgrade BPMN from 7.4.0 to 7.4.1
  • Upgrade Mermaid from 8.8.2 to 8.8.3
  • Upgrade Nomnoml from 1.2.0 to 1.3.1
  • Upgrade PlantUML from 1.2020.19 to 1.2020.23

Infrastructure

  • Add dependabot config file
  • Add diagram library licenses under /licenses directory
  • Remove CodeQL integration as it does not produce any meaningful result
  • Enable GitHub Sponsor
  • Limit GitHub Actions events
  • Upgrade dependencies
    • Bump alpine from 3.12.1 to 3.12.2 in /mermaid
    • Bump alpine from 3.12.1 to 3.12.2 in /bpmn
    • Bump puppeteer from 5.3.1 to 5.4.1 in /mermaid
    • Bump puppeteer from 5.3.1 to 5.4.1 in /bpmn
    • Bump reportlab from 3.5.53 to 3.5.56 in /blockdiag
    • Bump yargs from 16.0.3 to 16.1.0 in /vega
  • Upgrade development dependencies
    • Bump mocha from 8.2.0 to 8.2.1
    • Bump mockito-core from 3.5.15 to 3.6.0
    • Bump assertj-core from 3.17.2 to 3.18.0
    • Bump standard from 15.0.0 to 16.0.1 in /bpmn
    • Bump standard from 15.0.0 to 16.0.1 in /vega
    • Bump standard from 15.0.0 to 16.0.1 in /nomnoml
    • Bump standard from 15.0.0 to 16.0.1 in /mermaid
    • Bump standard from 15.0.0 to 16.0.1 in /bytefield
    • Bump git-commit-id-plugin from 4.0.2 to 4.0.3
    • Bump ini from 1.3.5 to 1.3.8 in /vega

Documentation

πŸ“„ Full diff
πŸ“– Documentation