%PLANTUML_VERSION% no longer working, starting with version 1.2019.6

0 votes
asked Oct 18, 2019 in Bug by Matthias Bolz
Hi & thanks for a great tool!

I like to have the plantuml version in my diagrams like

@startuml

          legend
          <size:8> Rendered with Plantuml Version %PLANTUML_VERSION% </size>
          end legend

@enduml

http://www.plantuml.com/plantuml/png/SoWkIImgAStDuOfsZ5NGLOXsYkNYoabDJyrBuL800PlYpAfKAmixXI2WK6fHQef2UMP9Xa90Jc8UI9j2M6fHSMP-de9gW8-ZNqYehqzyc6jGiAU_dwg2ZJv8hnqNKAC2r4W7807K1G00

Starting with version 1.2019.6 the macro %PLANTUML_VERSION% is no longer replaced with the version. Seems independent of diagram type. With 1.2019.5 it's working perfectly.

Best regards

Matthias

1 Answer

0 votes
answered Oct 23, 2019 by plantuml (294,960 points)

Thanks for the report.

This feature has been forgotten when implementing the new preprocessor (see http://plantuml.com/preprocessing )

However, with last beta http://beta.plantuml.net/plantuml.jar you can now have :

@startuml
legend
<size:8> Rendered with Plantuml Version %version() </size>
end legend
@enduml

Hope this helps!

...