Releases: GitTools/GitVersion
6.0.5
This is the last version supporting .net 6.0 as it's now End Of Support
As part of this release we had 12 commits which resulted in 5 issues being closed.
Documentation
- !4229 Update msbuild.md: Visual Studio is no longer supported
- #4244 [ISSUE]: dotnet tool install docs should not use an explicit --version arg
- !4288 Mention new config parameter
semantic-version-format
SHA256 Hashes of the release artifacts
0b4186c884bc4859a44f633141d2492838ad631e49b18aca2e5422d8b5f1fecf - gitversion-linux-arm64-6.0.5.tar.gz
cf74d02985e3cfa6deee2ccfd7b320fb02e9348efca91333bf380c30eb83a88f - gitversion-linux-musl-arm64-6.0.5.tar.gz
2c8468f1fffed3c5e07e273d894119a470a594d7a41ed53bb8fb9e44a52d5da0 - gitversion-linux-musl-x64-6.0.5.tar.gz
1eebc15c291e911dcf36a986e213d8143d3dbcc84bcc4b43e0ef3bc0a5758635 - gitversion-linux-x64-6.0.5.tar.gz
39de64876a52155e97aaba06eb4dd3df24fe26fdeb3203170063cf487ab64efd - gitversion-osx-arm64-6.0.5.tar.gz
fb839cc85e0448b320a17984fe817d7b9811099f889f54cd1894d7bd3afdba45 - gitversion-osx-x64-6.0.5.tar.gz
816280d721b890ff8e0268a0605104926b715ce87677efb38aca5e3e8c10f414 - gitversion-win-arm64-6.0.5.zip
fc5db3b31d666b90e464e525b682625bcebaaa03f8d01b94832428987eb5f596 - gitversion-win-x64-6.0.5.zip
6.0.4
As part of this release we had 26 commits which resulted in 6 issues being closed.
Bugs
- #4159 [ISSUE]: GitVersion tool is slow / stalls
- #4192 [ISSUE]: Building with target framework net8.0-windows requires a
<GitVersionTargetFramework>
Dependencies
- !4263 (deps): Bump MSBuild.ProjectCreation to 13.0.0
Documentation
SHA256 Hashes of the release artifacts
1da9499b4a6333954fc9a39e84720a29ab6164e27a6041a28bc7aef2e3d79a0a - gitversion-linux-arm64-6.0.4.tar.gz
08e4c312ce761c5e87e79be6844286762b160ed217cf48385cf92d771a6ed614 - gitversion-linux-musl-arm64-6.0.4.tar.gz
47f9bd03cdf6852957994b36b1c2f232ab40fb5803a3f8dcc3c0b339b99cbdae - gitversion-linux-musl-x64-6.0.4.tar.gz
a9e696b354b69e9584ce5ce83788fdd62833ab71689ed835cbd2490de314ae6b - gitversion-linux-x64-6.0.4.tar.gz
a5bba2126045d35f85dfbe97f6c239b58d34dcd293ad2fc299eeb56b36d09a61 - gitversion-osx-arm64-6.0.4.tar.gz
b82a1f0f981528926d0ae87996f66d6be0da826f1fbb8139f671c5f45a2cd4c8 - gitversion-osx-x64-6.0.4.tar.gz
b8161edff12692fcf7450335fc680a92cc9fea77c2973748ee766f263252a4f4 - gitversion-win-arm64-6.0.4.zip
d99906426c3cc02ef60dfd58446784537cc69733e5b2d95e841e493a2786af35 - gitversion-win-x64-6.0.4.zip
6.0.3
As part of this release we had 88 commits which resulted in 8 issues being closed.
Bug
- #4196 [ISSUE]: Syntax error in generated GitVersionInformation class when using project namespace
Documentation
Improvements
- !4202 Move regex patterns to a common file
- !4246 Move creation of Regex to a central location
- !4259 Moved direct usages of IGitRepository to IRepositoryStore
SHA256 Hashes of the release artifacts
156f12880e13beec58cac3a2b10c695c81bc608facc94e246914369a5ad07061 - gitversion-linux-arm64-6.0.3.tar.gz
dbe6e2d565056c2dd98bcee6ad03c286510fa2075394f0a298c50090d6b0b2f6 - gitversion-linux-musl-arm64-6.0.3.tar.gz
18e7c587a75b4d0ef1e394626061c1af69d443c05a635b5ac72f602744571be6 - gitversion-linux-musl-x64-6.0.3.tar.gz
3633b523db80c0412b65cded86eacd27b570f243febceb5a23c7c160242ce8f9 - gitversion-linux-x64-6.0.3.tar.gz
2702d0f36bc471028f31384ab7440972bcd96ee16b7416acfecd8db7fb01e30e - gitversion-osx-arm64-6.0.3.tar.gz
f00c4650d6d64b9c218ef61f2c9a0185523bc6d6f593e2d9311d93f44e56cdd9 - gitversion-osx-x64-6.0.3.tar.gz
afefd0e9dfd84cd5eebe06c97f9950af4fda76f3247275d3a0aebbf0f13dbb2f - gitversion-win-arm64-6.0.3.zip
0748656ffd0685e3879511c2f9abe193f65f85e2a42a2d342666f7ff4ccde5d2 - gitversion-win-x64-6.0.3.zip
6.0.2
As part of this release we had 8 commits which resulted in 5 issues being closed.
Bugs
- #4140 [ISSUE]: gitversion.msbuild v6.0.1 breaks build
- #4148 [ISSUE]: GitVersion.MsBuild - GitVersion.MsBuild.targets and GitVersion.MsBuild.props: Error MSB3073 (gitversion.dll not found) in Version 6.0.1
- #4157 [ISSUE]: dotnet build fails after GitVersion.MsBuild nuget package added to C# project
Documentation
- #4120 [ISSUE]: Errors with NugetVersionV2 variable and FullSemVer
Improvements
- !4147 Remove dependency on "git" executable
SHA256 Hashes of the release artifacts
3ebe826cf258c70f17c5e6213a42c410dabe373f7aec7f6a3359e714d7733c70 - gitversion-linux-arm64-6.0.2.tar.gz
e40dc5aa2e650ba1d3254e78aac65996f2f7b364aa64c08dff6dcca1ca76a162 - gitversion-linux-musl-arm64-6.0.2.tar.gz
f17e63e427ac7c38880c5a30112d4d06c0acff0468c6eb9cd3ded86df5a54c1d - gitversion-linux-musl-x64-6.0.2.tar.gz
cbfce8d0641d091cecb016edf0d52d4090612096f253e0ddd5691651c89beb7e - gitversion-linux-x64-6.0.2.tar.gz
c62cab0d1a1dd1a0cc6f5db3ec7dea3688f3ddc7250732b59b51ed1d00e56de4 - gitversion-osx-arm64-6.0.2.tar.gz
6b3ecdbdd06d49c4aeca7cce8fd50d0cd368e582009860a6d5f8620e98bfd20e - gitversion-osx-x64-6.0.2.tar.gz
4435876d1954d55d1751329e58e4c7a6f612f145018dec299f9bc65954344409 - gitversion-win-arm64-6.0.2.zip
45fe1d55772f85e3bc39c70e3b18cd0e06c75cc24d4d6f60a7a0401f924f2ea0 - gitversion-win-x64-6.0.2.zip
6.0.1
As part of this release we had 1374 commits which resulted in 3 issues being closed.
Bugs
- #4110 GitVersion.MSBuild with Packable .NET 8 project does not get valid SemVer
- #4125 [ISSUE]: "gitversion /version" fails if not run from a git repository
Improvements
- #4093 [ISSUE]: gitversion.properties is written to more than once when
TargetFrameworks
is supplied in .csproj
SHA256 Hashes of the release artifacts
66a02fe38519204203a23bbc07f4071a8de0add32f1598f58a2c3d899126bea3 - gitversion-linux-arm64-6.0.1.tar.gz
8c4dd3e91534edcc8f044f173c602488514d00f34bf36923747b167ef8b41be9 - gitversion-linux-musl-arm64-6.0.1.tar.gz
cc2748b60364b2da10089c505670b177978475f604da2c4ef8c34f845b89c1c5 - gitversion-linux-musl-x64-6.0.1.tar.gz
03518a77225339cd4435d259ff2d143aa877ccb26e1b405e3dcb5fa1ab4040f7 - gitversion-linux-x64-6.0.1.tar.gz
22d6d6f4bf64e18c86c3693e13e4c80031f18cdb8696d2765a0ab92c5803c6b5 - gitversion-osx-arm64-6.0.1.tar.gz
019fe335184f6ca9f44ea10cd1b7d5b0406eb85f48427042d6f10d63d8105595 - gitversion-osx-x64-6.0.1.tar.gz
521452d572f591c08592a5036c203ff86eca27e3e5e53311174ceb54c1b2b613 - gitversion-win-arm64-6.0.1.zip
cb3081b89d5b75bb70899762ad39b5a83747d9f6a16bfe5bd38eb12edbfa5f5e - gitversion-win-x64-6.0.1.zip
6.0.0
As part of this release we had 1594 commits.
The changes that were introduced can be found within each of the pre-releases:
6.0.0-alpha.1
6.0.0-beta.1
6.0.0-beta.2
6.0.0-beta.3
6.0.0-beta.4
6.0.0-beta.5
6.0.0-beta.6
6.0.0-beta.7
6.0.0-rc.1
6.0.0-rc.2
For additional information check the BREAKING_CHANGES.md
Breaking changes
- #1054 Rename tag to label
- #2210 Remove Verbosity old values parsing
- #2325 [Improvement] Remove legacy version variables and related configuration options in v6
- #2997 Sunset support for .NET Framework 4.8
- #2998 Sunset support for .net50
- #3166 [Feature] Sunset .net core 3.1
- #3190 Change the logic inheriting BranchConfiguration from parent branch if the IncrementStrategy is set to Inherit
- #2848 [Bug] Default configuration is used when config file specified via -config not found
- #3235 Create new fallback and unknown section in GitVersionConfiguration an…
- !3805 Refactor caching system in GitVersion
- #3229 [Breaking Change] Remove init wizard for v6
Bugs
- #3020 [Bug] Closing pull request from hotfix to support failed to inherit Increment branch configuration
- #3101 [Bug] Version not generated correct when creating a feature branch from a release branch
- #3105 [Bug] Version of commit in develop merged to master changes if master is tagged
- #3151 [Bug] SemVer of a feature branch started from a release branch gets decremented
- #3154 [Bug] Merging develop to release branch makes alpha version jump back
- #3187 [Bug] Wrong semver calculation when making a PR from a hotfix branch to main branch
- #3282 [Bug] tag-prefix still seems to be optionally considered
- #964 When assembly-versioning-scheme is set to none, AssemblyInfoBulider should not emit AssemblyVersion attribute
- #1518 Stack overflow due to infinite loop falling back to branch config
- #1789 track-merge-target in branch config not working
- #2336 [Bug] Hotfix branch name not taken as version source
- #3052 [Bug]
track-merge-changes
produces unexpected result when combininghotfix
andsupport
branches - #3341 [Bug] Failed to parse 0.1 into a Semantic Version (v 6.0.0-alpha.1)
- #1579 Azure Pipelines - Pull Request Inheritance
- #2134 [Appveyor] InvalidSpecificationException: the given reference name '[branch]' is not valid
- #2285 [Bug] Incrementing steps does not occur when I expect them
- #2287 [Bug] Wrong version calculation
- #2347 [Bug] When PreleaseLabel is empty, the PreleaseTag is not correctly generated
- #2597 [Bug] gitversion seems to pick the wrong base version, when using git flow while tagging on develop.
- #2667 Commit message can bump major version twice in GitFlow
- #2693 [Bug] VersionInBranchNameVersionStrategy only considers the release branch
- #2821 Pull Request Version Calculation Not Based on source branch
- #2917 Manually incrementing the version
- #3103 [Bug] GitLab: Branch names cannot contain the word 'refs'
- #3137 [Bug] Minor version increased instead of the prerelease tag
- #3183 [Bug]? no minor version detected on pull request that contains organization name
- #3397 [Bug] Normalization takes a very long time
- #3422 [Bug] wrong patch count after merging Release branch
- #3436 [Bug] GitVersion behaves different if it is used the first time where the fallback version strategy applies
- #3438 [Bug] Consider pre-release tags only when they matching with the label name on branch
- #2533 In GitVersion.MsBuild 5.6.3, AfterTargets="GetVersion" causes msbuild warning '"WriteVersionInfoToBuildLog" task could not be loaded'
- #2595 [Bug] GitVersion.MSBuild broken for WiX setup projects
- #2606 [Bug] The 'Documentation', 'Failing test', and 'Improvement request' issue templates lack proper descriptions.
- #2881 [Bug] GitVersion is extremely slow (25 minutes)
- #3212 [Bug]Regression perfomance since 5.2.4
- #3442 [Bug] Performance issue in pre 6.0.0-beta.1
- #3450 GitVersion 6.0-beta.1 : Error on WriteVersionInfoToBuildLog with can't load System.Runtime 6.0.0.0 on a .NET 7 project
- #3487 [Bug] Regression: GitVersion 5.12.0 uses only MajorMinorPatch from tag instead of SemVer
- #2462 [Bug] Using output of showconfig for config file results in invalid config
- #3606 [Bug] CS0436 may be present with InternalsVisibleTo
- #3654 [Bug] GitVersion forces a C# language for projects that aren't C#
- #3704 [Bug] MSB4062 The "WriteVersionInfoToBuildLog" task could not be loaded
- #3716 [Bug] Error when trying to set "Branch Increment mode"
- #3739 [Bug] The configuration JSON schemas use the wrong properties for default values and assign bad regex patterns
- #3832 [Bug] 6.0 Beta 4 gitversion.msbuild with dotnet build
- #3108 [Bug] Version not generated correct when creating a feature branch from a develop branch
- #3316 [Bug] BUILD_SOURCEBRANCH is assumed to be relevant
- #3570 [Bug] Incrementing
patch
version automatically onmain
without tags nor specific commit messages - #3644 [Bug] 5.12 bumps major based on the previous merges instead of the last tag and branch convention
- #3656 [Bug] CommitsSinceVersionSource is counting from latest minor tag or first tag instead of latest tag
- #3699 [Bug] GitVersion calculates the wrong version after
main
is merged back todevelop
- #3757 Version not bumped if an irrelevant tag exists in latest commit
- #3074 [Bug] ignore parameter does not ignore everything
- [#3206](#32...
6.0.0-rc.2
As part of this release we had 1579 commits which resulted in 8 issues being closed.
Dependencies
- !4095 (deps): Bump YamlDotNet from 15.3.0 to 16.0.0 in /src
Documentation
- !4041 Fix typo in track-merge-target and track-merge-message
- #4042 gitversion from container image default behaviour differs from other installation methods
- #4043 [Documentation]: Documenting the GitFlow workflow and create sequence diagrams
- #4060 [ISSUE]:
init
command still shown in the help output - #4063 [Documentation]: Documenting the GitHubFlow workflow and create sequence
- #4078 [ISSUE]: Update the docs on DockerHub and specify the usage when running in a CI environment
Improvements
- !4087 Fix path separator for gitversion.dll in MSBuild task
SHA256 Hashes of the release artifacts
159e486094dc2393e718686615710e36295742cdba5becc4a4fea9eb05bb2dc1 - gitversion-linux-arm64-6.0.0-rc.2.tar.gz
8eddbe2d41de3f1ceff29f58a2f21155e13f8c39b770c7d01a7a6bc5dd098153 - gitversion-linux-musl-arm64-6.0.0-rc.2.tar.gz
9923a8f4725dcd57bbb7e7d09a2f67b7e2e3fda2053720346efcb5077e263cec - gitversion-linux-musl-x64-6.0.0-rc.2.tar.gz
d954c0f3a5c04d789dd356a9f87621f5d023639fdc2c06ee6c00820089fcb114 - gitversion-linux-x64-6.0.0-rc.2.tar.gz
e696f3ca57c56992fc6e63ab50625cb91ec8e3bf9078bac7226889167a4c1fd1 - gitversion-osx-arm64-6.0.0-rc.2.tar.gz
39b88c22156ef73d09861f668496c2cee17fabf722530788fb5125fc0988603e - gitversion-osx-x64-6.0.0-rc.2.tar.gz
a2cdf28ec89f0fc7737762272cac1b5613108857091b86c1eed820cbe8d73ab9 - gitversion-win-arm64-6.0.0-rc.2.zip
a07b70722b47a1e579cf18200891b5980b94e3cc22e8c3d1bfae3bc6e45105e6 - gitversion-win-x64-6.0.0-rc.2.zip
6.0.0-rc.1
As part of this release we had 1513 commits which resulted in 10 issues being closed.
Bug
- #2394 [Bug] GitVersionTask: VersionSource is set to wrong tag
Dependencies
- !3972 (deps): Bump LibGit2Sharp from 0.29.0 to 0.30.0
Documentation
- #3937 [Docs] Update the docs for Azure Pipelines and Github actions - redirect to the gittools/actions
Improvements
- #3689 [Improvement] Increment version as per source branch
- #3916 [Improvement] Refator BaseVersionV2 into BaseVersion
- !3975 cleanups & refactorings
- !3984 Add support for Squash Commit releases
- #4000 [Improvement]: Rename TrunkBased Version Strategy to Mainline
- #4002 [Improvement]: Create TaggedSemanticVersionService class
- #4005 [Improvement]: Finalizing the configuration of GitFlow and GitHubFlow workflow and align with the Mainline version strategy
SHA256 Hashes of the release artifacts
f8badc2221aa22553f4c3ed680eb53a91c71c62e3efac9f0c8f0180e5aa932c3 - gitversion-linux-arm64-6.0.0-rc.1.tar.gz
d280c5ca8086e181e5dbb6df823740c84cd47f3740e344ffade975aaa8bfa47b - gitversion-linux-musl-arm64-6.0.0-rc.1.tar.gz
99b2b17c3758363191996548d5fc3909e3cd26bb6af53cc6a4330efeec8ebc75 - gitversion-linux-musl-x64-6.0.0-rc.1.tar.gz
dc93734a1fe05425a1e0879befc727ce53137ac41d234abd4f0aa83b07385447 - gitversion-linux-x64-6.0.0-rc.1.tar.gz
bd873b150fafa7f7a3906bfe77397f2436a232473db6abb4486a52280b3bb928 - gitversion-osx-arm64-6.0.0-rc.1.tar.gz
532e05cd51713fd2b89db52b31cd73a79fcb4ede5304063f3105db33fa57c3b5 - gitversion-osx-x64-6.0.0-rc.1.tar.gz
90fdb1431345460348780b223cd7c6bea85df970f9305346fab0a90de888dc45 - gitversion-win-arm64-6.0.0-rc.1.zip
9b0f6a50307cbd03917f3c8f378be7b476cc387e728980b776529e1ac3ba5e5c - gitversion-win-x64-6.0.0-rc.1.zip
6.0.0-beta.7
As part of this release we had 1398 commits which resulted in 6 issues being closed.
Bugs
- #3074 [Bug] ignore parameter does not ignore everything
- #3206 [Bug] GitVersion mainline always returns latest version based on master branch history, even if building for an older commit
- #3427 [Bug] Ignoring a SHA in the configuration does not seem to exclude it from the version calculation
Features
- #3461 [Feature] We need to consider somehow the IGitVersionConfiguration::Ignore property
Improvements
- #3919 Review Ignored unit tests
SHA256 Hashes of the release artifacts
5508faca62bd3880004c64850ba4022093bdd07f319879748212fc4ecc3e1fe2 - gitversion-linux-arm64-6.0.0-beta.7.tar.gz
3cf98754192da2d438597572e0b6ab55174a92846f8d19d82961d739a6c444f1 - gitversion-linux-musl-arm64-6.0.0-beta.7.tar.gz
e302d12584acb79c2b46b54ae090e3e573878994d4bcd650303c8983dfac3ced - gitversion-linux-musl-x64-6.0.0-beta.7.tar.gz
745a044cec9ec53030c8df5cce04c397ca6460a8c6f2ad61f724a6ab5235f1ae - gitversion-linux-x64-6.0.0-beta.7.tar.gz
a2064d4779d904f8a1e290f0a00b64e08af78c0c6e852721975b311c586301fe - gitversion-osx-arm64-6.0.0-beta.7.tar.gz
2326dc489c50d01bdfa065b4be14be443c976e5173eeacca2d92f04d7844c770 - gitversion-osx-x64-6.0.0-beta.7.tar.gz
944ea90dbcd006e4b501a0b5825945eb72f91bd98d4a44d5064783356e01b601 - gitversion-win-arm64-6.0.0-beta.7.zip
ec579dc9d094f6ce01056c1b12b644b53a73f85e649be5e8902159a0472d1e52 - gitversion-win-x64-6.0.0-beta.7.zip
6.0.0-beta.6
As part of this release we had 1365 commits which resulted in 14 issues being closed.
Breaking change
- #3229 [Breaking Change] Remove init wizard for v6
Bugs
- #3108 [Bug] Version not generated correct when creating a feature branch from a develop branch
- #3316 [Bug] BUILD_SOURCEBRANCH is assumed to be relevant
- #3570 [Bug] Incrementing
patch
version automatically onmain
without tags nor specific commit messages - #3644 [Bug] 5.12 bumps major based on the previous merges instead of the last tag and branch convention
- #3656 [Bug] CommitsSinceVersionSource is counting from latest minor tag or first tag instead of latest tag
- #3699 [Bug] GitVersion calculates the wrong version after
main
is merged back todevelop
- #3757 Version not bumped if an irrelevant tag exists in latest commit
Features
- #1839 Configurable next-version strategies and mode
- #3453 [Feature] Same version computed on different branches
- #3877 Add configuration option to disable branch name version calculation
- #3922 [Feature] The increment of the branch will be ignored when prevent-increment is set to true on the branch
Improvements
- #3308 [Improvement] Replacing the mainline version mode with the continuous deployment mode
- !3921 Mark dependencies as private assets for GitVersion.MsBuild
SHA256 Hashes of the release artifacts
c90ed372a226c957857a687a64149e720cd00d0851e4813c52896b1d9364bbd8 - gitversion-linux-arm64-6.0.0-beta.6.tar.gz
7d8596cd13c8585294283f42ebf2267483e52217d43c6136f5dd0354a9c074cc - gitversion-linux-musl-arm64-6.0.0-beta.6.tar.gz
33ce37eaf9a877cbcea6743ea52c15f8e0553c3987f10f675879f3a8bfca3527 - gitversion-linux-musl-x64-6.0.0-beta.6.tar.gz
9488b77c0e59fc3feac92c888ce1933bae181dad5024880f3b96e8df678d51dd - gitversion-linux-x64-6.0.0-beta.6.tar.gz
f40b19438db6cfdc27b0f440498048b9397f5abe5d07ea4e880ef38e6a3255ae - gitversion-osx-arm64-6.0.0-beta.6.tar.gz
7f4218b0d5a6c807bc3735eacaa5dfbd2bc42b0320db958140b1a3759b86fa91 - gitversion-osx-x64-6.0.0-beta.6.tar.gz
cfc6b55ab158e567caee23782bd1016f3cce9a4e1439e1eb163742c4b43dfa0d - gitversion-win-arm64-6.0.0-beta.6.zip
5f5f4a48b1a94dd3161122d20784f9f109e8d52de9f8308829551f3b99c740f6 - gitversion-win-x64-6.0.0-beta.6.zip