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
KROKI_PORT
option is now deprecated, please useKROKI_LISTEN
instead. To learn more about this change, please read: https://docs.kroki.io/kroki/setup/configuration/#_server_listening
Bug fixes
- Preserve PlantUML stdlib:
archimate
,logos
andelastic
(#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 theconvert
method - Introduce
KROKI_LISTEN
which supersededKROKI_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 withtcp://
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
andKROKI_EXCALIDRAW_HOST
ondocker-compose.yml
- thanks @marcelstoer