Skip to content

Commit a161c31

Browse files
authored
Update D2 to 0.7.0 & add new C4 theme (#1890)
1 parent 398bb15 commit a161c31

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

docs/antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ asciidoc:
88
bpmn-version: 18.6.1
99
bytefield-version: 1.11.0
1010
c4plantuml-version: 1.2025.0
11-
d2-version: 0.6.9
11+
d2-version: 0.7.0
1212
dbml-version: 1.0.30
1313
diagramsnet-version: 16.2.4
1414
ditaa-version: 1.0.3

server/ops/docker/jdk17-noble/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ FROM ghcr.io/yuzutech/erd:v0.2.3 AS erd
179179
FROM eclipse-temurin:17.0.14_7-jre-noble
180180

181181
ARG BLOCKDIAG_VERSION="3.1.0"
182-
ARG D2_VERSION="0.6.9"
182+
ARG D2_VERSION="0.7.0"
183183
ARG DITAA_VERSION="1.0.3"
184184
ARG DVISVGM_VERSION="3.2.1+ds-1build1"
185185
ARG GRAPHVIZ_VERSION="9.0.0"

server/src/main/java/io/kroki/server/service/D2.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ public class D2 implements DiagramService {
4646
entry("dark-flagship-terrastruct", 201),
4747
entry("terminal", 300),
4848
entry("terminal-grayscale", 301),
49-
entry("origami", 302)
49+
entry("origami", 302),
50+
entry("c4", 303)
5051
);
5152

5253
public D2(Vertx vertx, JsonObject config, Commander commander) {
@@ -73,7 +74,7 @@ public SourceDecoder getSourceDecoder() {
7374

7475
@Override
7576
public String getVersion() {
76-
return "0.6.9";
77+
return "0.7.0";
7778
}
7879

7980
@Override

0 commit comments

Comments
 (0)