kUML v0.18.0 — CosmWasm, ink!, and Service Blueprints
Two new blockchain chain adapters for CosmWasm/Substrate and ink!/SCALE, plus a first-class User Journey / Service Blueprint language with a Kotlin DSL, five-lane SVG renderer, and the PdV Mitglieder-Journey as a real-world example.
v0.18.0 ships three tracks: two new blockchain chain adapters and a first-class Service Blueprint language.
Chain Adapters — CosmWasm & ink!
kuml-runtime-chain-cosmos adds a chain adapter for CosmWasm smart-contract queries and Substrate RPC endpoints. kUML can now generate architecture diagrams directly from live on-chain state via contract introspection and state diffing — no manual model transcription required.
kuml-runtime-chain-wasm adds a chain adapter for ink! smart contracts. It parses ABI metadata and SCALE codec, decodes deployed contracts into kUML metamodel elements, and produces automatic class and interaction diagrams for any Substrate-based chain.
Both adapters integrate with the existing MultiChainAdapter and support kuml chain connect/verify/events commands alongside the existing Ethereum/L2, Sui, and Aptos adapters.
Service Blueprint / User Journey DSL
v0.18.0 introduces kuml-metamodel-blueprint — a new first-class metamodel module with Actor, Phase, Step, Touchpoint, Emotion, and BackstageAction as core elements.
The blueprint{} Kotlin DSL lets you compose full Service Blueprints inline in .kuml.kts scripts:
blueprint("PdV Mitglieder-Journey") {
val interessent = actor("Interessent", ActorRole.CUSTOMER)
val web = channel("pdv.de", ChannelKind.WEB)
phase("Entdeckung") {
customer("Stößt auf PdV-Inhalt", Sentiment.NEUTRAL)
frontstage("Liefert Content & Werbung", actor = interessent)
}
// …
blueprintDiagram("PdV Service Blueprint", emotionCurve = true)
}
Two new SVG render modes are included:
JourneyMapRenderer— swimlane layout with emotion curve overlayFullBlueprintRenderer— five-lane layout covering Actor, Frontstage, Backstage, Support Processes, and Physical Evidence
CLI: kuml render --type blueprint and kuml render --type journey, with --svg, --png, --pdf, and --format tex output flags.
A BlueprintConstraintChecker validates well-formedness before rendering, and BlueprintTikzRenderer emits compilable .tex for high-quality print output.
PdV Mitglieder-Journey
The release ships a real-world example: the full member onboarding journey of the Partei der Vernunft — six phases from first contact through active membership (Entdeckung → Interessenbekundung → Antragstellung → Beitrittsprozess → Willkommen → Erstes Engagement). It is included in kuml-vault-examples-tests as a smoke-test fixture and available in the Playground.
Full CHANGELOG at github.com/kuml-dev/kUML.