Releases: mikitex70/plantuml-markdown
Sall fix for the package release
This version has a small fix in the release script to be able to load the source archive into PyPi as well.
Fixed corrupted inline svg images
Sometimes inline SVG images were edited by Markdown who treated them as normal text.
Fixed urllib3 warning about use of insecure connections
When using a PlantUML server with self-signed certificates it is necessary to set the insecure
configuration option to true
, allowing for insecure connections.
But in this case 'urllib3' gives us a warning that it will appear on the rendered page; this release resolves this issue.
It also solves another small problem, when using other types of diagrams (such as plantgantt
) with a PlantUML server.
Added two new configuration options
Added the following configuration options:
config
: set the PlantUML configuration file (as the-config
plantuml command line option)plantuml_cmd
: set the plantuml command to execute (defaults toplantuml
); can be used for passing custom options to java, for examplejava -Dplantuml.include.path=includes -jar plantuml.jar
.
See the README.md
for more details.
Changed value for the insecure setting
The default value for the insecure
setting, which disables the check of SSL certificates, has been changed from "False"
to False
(its now a boolean value).
This does not change the behavior of the settings, but it's more compliant with the session.request
option.
See #86 more more details.
Forced UTF-8 encoding
Forced UTF-8 encoding when files are passed to local plantuml.
Make sure that the diagram files are in utf-8, especially in Windows.
Added option for disabling SSL checks
Added the 'insecureconfiguration option to disable HTTPS SSL certificate validation. Set to
True` when using a custom PlantUML installation with self-signed certificates.
Minor enhancements
- added
preserveAspectRatio
to inline SVGs to keep aspect ratio when the diagram is resized - added
id
attribute to images to simplify referencing in CSS rules or Javascript code - added option to disable the removal of inline SVG size (see #81)
Added support for server-side C4 includes
Added the server_include_whilelist
configuration which is a list of regular expressions used to define which files can be safely included
by the server.
Useful when using a Kroki server for remote diagram rendering.
Added retry on server errors or rate limits
Connection errors can occur when using remote servers to render diagrams, especially in the case of many diagrams.
These are usually connection errors due to limitations on the number of calls.
This release solves these kinds of problems.