Problem with !include using relative paths in v1.2026.0?

0 votes
asked Jan 28 in Question / help by captainwhippet (120 points)

I have just upgraded from v1.2025.10 to v1.2026.0 and all the punl files I have that us !include with a relative path now fail, for example:

@startuml 
!include ../../.theme/theme.puml

Is this a known issue, or a deliberate change?

1 Answer

0 votes
answered Jan 28 by plantuml (297,680 points)
selected Jan 28 by captainwhippet
 
Best answer
Does you "theme.puml" starts or contains "@startuml" ?

In that case, this issue have been fixed in V1.2026.2beta2 https://github.com/plantuml/plantuml/releases/tag/snapshot

Hope this helps!
commented Jan 28 by captainwhippet (120 points)
Perfect! Yes, that works again now.

Many thanks
...