{{ define "title" }} {{ .Title }} | {{ site.Title }} {{ end }} {{ define "main" }} {{ $version := .File.BaseFileName }} {{ $release := index site.Data.docs.releases $version }} {{ $highlights := where (where site.RegularPages "Section" "highlights") ".Params.release" "eq" $version }} {{ $groups := dict "enhancement" "enhancements" "feat" "new features" "fix" "bug fixes" "deprecation" "deprecations"}}
{{ partial "breadcrumb.html" . }}
{{ partial "hero.html" . }}
{{ with $release.codename }}

Code name {{ . }}

{{ end }} {{ with $release.description }}
{{ . | markdownify }}
{{ end }}
Upgrading Vector
When upgrading, we recommend stepping through minor versions as these can each contain breaking changes while Vector is pre-1.0. These breaking changes are noted in their respective upgrade guides.
{{ with $highlights }}
{{ partial "heading.html" (dict "text" "Highlights" "level" 2) }}
{{ range . }} {{ .Render "li" }} {{ end }}
{{ end }} {{ with $release.known_issues }} {{ if gt (len $release.known_issues) 0 }}
{{ partial "heading.html" (dict "text" "Known issues" "level" 2) }}
    {{ range . }}
  • {{ .| markdownify }}
  • {{ end }}
{{ end }}
{{ end }} {{ if gt (len $release.changelog) 0 }}
{{ partial "heading.html" (dict "text" "Changelog" "level" 2) }}
{{ range $k, $v := $groups }} {{ $changes := where $release.changelog ".type" "eq" $k }} {{ if $changes }} {{ $numChanges := len $changes }} {{ $heading := printf "%d %s" $numChanges $v }}
{{ partial "heading.html" (dict "text" $heading "level" 3 "icon" false) }}
    {{ range $changes }}
  • {{ .description | markdownify }} {{ if gt (len .contributors) 0 }} Thanks to {{ range .contributors}} {{ . }} {{ end }} for contributing this change! {{ end }}
  • {{ end }}
{{ end }} {{ end }}
{{ else }} {{ if gt (len $release.commits) 0 }}
{{ partial "heading.html" (dict "text" "Changelog" "level" 2) }}
{{ range $k, $v := $groups }} {{ $commits := where $release.commits ".type" "eq" $k }} {{ if $commits }} {{ $numCommits := len $commits }} {{ $heading := printf "%d %s" $numCommits $v }}
{{ partial "heading.html" (dict "text" $heading "level" 3 "icon" false) }}
{{ range $commits }} {{ template "commit" . }} {{ end }}
{{ end }} {{ end }}
{{ end }} {{ end }} {{ with $release.whats_next }}
{{ partial "heading.html" (dict "text" "What's next" "level" 2) }}
{{ range . }}
{{ .title }}
{{ .description | markdownify }}
{{ end }}
{{ end }}
{{ partial "heading.html" (dict "text" (print "Download Version " $version) "level" 2) }}
{{ partial "download/download-matrix.html" (dict "version" $version) }}
{{ end }} {{ define "changelog_entry" }} {{/* Description */}} {{ .description | markdownify }} {{ end }} {{ define "commit" }} {{/* Scopes */}} {{ range .scopes }} {{ partial "badge.html" (dict "word" . "color" "blue") }} {{ end }} {{/* Description */}} {{ .description | markdownify }} {{/* Pull request chip */}} {{ with .pr_number }} {{ $link := printf "https://github.com/vectordotdev/vector/pull/%v" . }} {{ . }} {{ end }} {{ end }} {{ define "below" }} {{ partial "releases/pagination.html" . }} {{ end }}