73 lines
1.3 KiB
Cheetah
73 lines
1.3 KiB
Cheetah
{{/*
|
|
Based on the default template:
|
|
https://github.com/open-telemetry/opentelemetry-go-build-tools/blob/v0.15.0/chloggen/internal/chlog/summary.tmpl
|
|
*/}}
|
|
{{- define "entry" -}}
|
|
- `{{ .Component }}`: {{ .Note }} (
|
|
{{- range $i, $issue := .Issues }}
|
|
{{- if $i }}, {{ end -}}
|
|
[#{{ $issue }}](https://github.com/open-telemetry/semantic-conventions/issues/{{ $issue }})
|
|
{{- end -}}
|
|
)
|
|
|
|
{{- if .SubText }}
|
|
{{ .SubText | indent 2 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
## {{ .Version }}
|
|
|
|
{{- if .BreakingChanges }}
|
|
|
|
### 🛑 Breaking changes 🛑
|
|
|
|
{{- range $i, $change := .BreakingChanges }}
|
|
{{- if eq $i 0}}
|
|
{{end}}
|
|
{{ template "entry" $change }}
|
|
{{- end }}
|
|
{{- end }}
|
|
|
|
{{- if .Deprecations }}
|
|
|
|
### 🚩 Deprecations 🚩
|
|
|
|
{{- range $i, $change := .Deprecations }}
|
|
{{- if eq $i 0}}
|
|
{{end}}
|
|
{{ template "entry" $change }}
|
|
{{- end }}
|
|
{{- end }}
|
|
|
|
{{- if .NewComponents }}
|
|
|
|
### 🚀 New components 🚀
|
|
|
|
{{- range $i, $change := .NewComponents }}
|
|
{{- if eq $i 0}}
|
|
{{end}}
|
|
{{ template "entry" $change }}
|
|
{{- end }}
|
|
{{- end }}
|
|
|
|
{{- if .Enhancements }}
|
|
|
|
### 💡 Enhancements 💡
|
|
|
|
{{- range $i, $change := .Enhancements }}
|
|
{{- if eq $i 0}}
|
|
{{end}}
|
|
{{ template "entry" $change }}
|
|
{{- end }}
|
|
{{- end }}
|
|
|
|
{{- if .BugFixes }}
|
|
|
|
### 🧰 Bug fixes 🧰
|
|
|
|
{{- range $i, $change := .BugFixes }}
|
|
{{- if eq $i 0}}
|
|
{{end}}
|
|
{{ template "entry" $change }}
|
|
{{- end }}
|
|
{{- end }}
|