Skip to content

Question: Are there plans to support newer versions of PlantUML? #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Oliver-Loeffler opened this issue Feb 3, 2025 · 0 comments
Open

Comments

@Oliver-Loeffler
Copy link

Oliver-Loeffler commented Feb 3, 2025

Hello,

this is a great add-on for Gitbucket and thank you for providing this.
However, the bundled PlantUML version is showing an annoying nag screen instead of the rendered charts.
The nag screen is telling that PlantUML 2022 is somewhat > 1000 days old and should be updated.

Are there any plans to upgrade the PlantUML dependency?
Besides, PlantUML also decided to change the XML encoding from UTF-8 to us-ascii.

Please look at the provided PR - having no Scala background and experience at all I've managed to get it work with latest PlantUML version from 2025 (Gitbucket 4.42, Java 17, PlantUML 2025.0).

Thank you!

PR here: #32

Here an example of the message using PlantUML 1.2022.5:

Image

With PlantUML 1.2025.0:

Image

The actual puml-code is:

    @startuml
     
    start
    partition A {
    :Load something;
    :do something;
    }
     
    partition B. Collecting {
    :collect result;
    :present result;
    }
     
    end
    @enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant