Debian Codegraph @

.chloggen/summary.tmpl

raw
1 {{- define "entry" -}}
2 - `{{ .Component }}`: {{ .Note }} (
3 {{- range $i, $issue := .Issues }}
4 {{- if $i }}, {{ end -}}
5 #{{ $issue }}
6 {{- end -}}
7 )
8
9 {{- if .SubText }}
10 {{ .SubText | indent 2 }}
11 {{- end }}
12 {{- end }}
13 ## {{ .Version }}
14
15 {{- if .BreakingChanges }}
16
17 ### 🛑 Breaking changes 🛑
18
19 {{- range $i, $change := .BreakingChanges }}
20 {{- if eq $i 0}}
21 {{end}}
22 {{ template "entry" $change }}
23 {{- end }}
24 {{- end }}
25
26 {{- if .Deprecations }}
27
28 ### 🚩 Deprecations 🚩
29
30 {{- range $i, $change := .Deprecations }}
31 {{- if eq $i 0}}
32 {{end}}
33 {{ template "entry" $change }}
34 {{- end }}
35 {{- end }}
36
37 {{- if .NewComponents }}
38
39 ### 🚀 New components 🚀
40
41 {{- range $i, $change := .NewComponents }}
42 {{- if eq $i 0}}
43 {{end}}
44 {{ template "entry" $change }}
45 {{- end }}
46 {{- end }}
47
48 {{- if .Enhancements }}
49
50 ### 💡 Enhancements 💡
51
52 {{- range $i, $change := .Enhancements }}
53 {{- if eq $i 0}}
54 {{end}}
55 {{ template "entry" $change }}
56 {{- end }}
57 {{- end }}
58
59 {{- if .BugFixes }}
60
61 ### 🧰 Bug fixes 🧰
62
63 {{- range $i, $change := .BugFixes }}
64 {{- if eq $i 0}}
65 {{end}}
66 {{ template "entry" $change }}
67 {{- end }}
68 {{- end }}
69
70 <!-- previous-version -->