As part of this release we had 242 commits which resulted in 41 issues being closed.
Features
- #2157 New Variable: EscapedBranchName
- #2128 GH-2127 - allow json and buildserver output at the same time
- #2060 add JSON Serializer
Bugs
- #2153 The "WriteVersionInfoToBuildLog" task could not be loaded from the assembly
- #2116 GitHub Actions build fails with private GitHub repo and Dependabot PR
- #2101 gitversion /version prints wrong version
- #2100 /config doesn't show message when file doesn't exist
- #2089 GitVersion ignores version tag on the current commit when /nocache is specified
- #2068 Issue with .NET 4.7.2 and dependency on Microsoft.Extensions.DependencyInjection
- #2029 GitVersionTask 5.1.3: Bad Dependency on Microsoft.Extensions.DependencyInjection
- #2016 fix empty xml body
- #2003 Issue-2002 (wrong calculation of pre-release version)
- #1939 Commented out AssemblyVersion tags still causing GitVersion to not generate versions correctly
- #1928 Using /output buildserver does not work when /nocache declared first
Improvements
- #2148 Limit the number of commits searched in tags and merge commits
- #2146 GH2139: GitVersion logging does not include newlines
- #2141 Remove obsolete config file
- #2092 Fix parallel tests execution, fix potential collisions, cache only regexes
- #2080 Formatting
- #2077 set eol to lf to avoid conflicting with editorconfig
- #2051 WIP: Feature/informationalversion
- #2017 remove usage of Newtonsoft.Json
- #2014 Replace special chars in InformationalVersion with dashes
- #2013 Change default for UseFullSemVerForNuGet to true
- #2012 Enable exporting variables across jobs on Azure Pipelines
- #2006 Change GITHUB_ACTION to GITHUB_ACTIONS when detect github actions CI.
- #1929 Exopose NoNormalize property for GitVersionTask
- #1810 Working/repo directories with named configuration throw warning
- #1702 Bugfix/fix only tracked branches parameter implementation
Documentation
- #2132 Incorrect statement regarding version increment with regard to SemVer.
- #2093 Update azure-devops.md
- #2025 Documentation enhanced concerning issue #888
Dependenciess
- #2114 Bump Microsoft.Extensions.* from 3.1.1 to 3.1.2
- #2096 Update nuget.commandline to 5.3.0 and use icon instead of icon_url
- #2083 Bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.5.0
- #2076 Update to latest release of GitReleaseManager
SHA256 Hashes of the release artifacts
8dad2624bdf2be5330ae37ead9aca912322d02e49a82df17c29906a779ba6e93 gitversion-linux-5.2.0.tar.gz
5fa276054e46c21a0b0cc052ded2fc1a598979a887e6b21d17000d0915c42462 gitversion-osx-5.2.0.tar.gz
7e1509e9cbfa8e6ad6e1fde539e42ba36d69c8c4ac60726eafe3dab3c293d01c gitversion-windows-5.2.0.tar.gz