Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency GitVersion.MsBuild to v6 #671

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 22, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
GitVersion.MsBuild 5.12.0 -> 6.0.2 age adoption passing confidence

Release Notes

GitTools/GitVersion (GitVersion.MsBuild)

v6.0.2

Compare Source

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

v6.0.1

Compare Source

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

v6.0.0

Compare Source

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 combining hotfix and support 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 on main 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 to develop
  • #​3757 Version not bumped if an irrelevant tag exists in latest commit
  • #​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
  • #​2394 [Bug] GitVersionTask: VersionSource is set to wrong tag

Dependencies

  • #​3044 (deps): Bump Buildalyzer from 3.2.2 to 4.1.2
  • #​3388 (deps): Bump YamlDotNet from 13.0.0 to 13.0.1
  • #​3389 (deps): Bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.5.0
  • #​3411 (deps): Bump Microsoft.Build.Utilities.Core from 17.4.0 to 17.5.0
  • #​3439 (deps): Bump YamlDotNet from 13.0.1 to 13.0.2
  • #​3440 (deps): Bump NUnit.Analyzers from 3.6.0 to 3.6.1
  • #​3475 (deps): Bump LibGit2Sharp from 0.27.0-preview-0182 to 0.27.2
  • #​3482 (deps): Bump YamlDotNet from 13.0.2 to 13.1.0
  • !3728 (deps): Bump YamlDotNet from 13.7.0 to 13.7.1
  • !3784 (deps): Bump Polly from 8.1.0 to 8.2.0 in /src
  • !3798 Remove JetBrains.Annotations dependency
  • !3799 Remove System.Net.Requests package reference
  • !3824 (deps): Bump LibGit2Sharp from 0.28.0 to 0.29.0 in /src
  • !3972 (deps): Bump LibGit2Sharp from 0.29.0 to 0.30.0
  • !4095 (deps): Bump YamlDotNet from 15.3.0 to 16.0.0 in /src

Documentation

  • #​2665 [Docs] issue templates are missing descriptions
  • #​3627 [Docs] Fix "Conventional Commit" commit message format
  • #​3740 [Docs] Git push does not transfer tags
  • !3858 Docker documentation (v6)
  • #​3937 [Docs] Update the docs for Azure Pipelines and Github actions - redirect to the gittools/actions
  • !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
  • #​3918 [Docs] Mark API published before v6.0.0 release

Features

  • #​3131 Implement SemVer strict parsing
  • #​3169 [Feature] Add support for .net 7.0
  • #​2874 [Feature Request] Add JSON schema to help configure 'GitVersion.yml'
  • #​3302 [Feature] Introducing a new branch related property with name track-merge-message
  • #​3305 [Feature] Introducing a new templating mechanism to support different workflows
  • #​3396 Using effective branch configuration
  • #​3400 [Feature] Add an additional command line argument - "-format" to allow to output an expression instead of a singular version variable
  • #​3420 [Feature] Allow the default configuration file to have both yml and yaml extension
  • #​3661 Support Regex for label property
  • !3742 Remove win-x86 support in BuildContext
  • !3752 Add .net 8.0 support
  • #​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
  • #​3461 [Feature] We need to consider somehow the IGitVersionConfiguration::Ignore property

Improvements

  • #​2316 [Improvement] Remove NoMono categories
  • #​3095 Change GitVersionInformation C# template ('const string' instead of 'static string')
  • #​3172 no-bump-message should take precedence over *-version-bump-message
  • #​3226 Feature/3101 rename config to configuration
  • #​3231 [Improvement] Switch to Central Package Management for nuget dependencies
  • #​3284 Fixed typo in image reference commit id
  • #​2193 [Improvement] Chocolatey package 'gitversion' should point to 'gitversion.portable'
  • #​3234 [Improvement] Rename the Cache namespace to Caching
  • #​3244 Refactor next version calculator (get rid of taggedSemanticVersion)
  • #​3334 [Improvement] Target .net6.0 and .net7.0 instead of netstandard2.0
  • #​3337 tracks-release-branches won't track remote release branches without regex mod
  • #​3375 [Improvement] Deprecate GitVersion.Commandline nuget package
  • #​3386 move build agents to a separate lib out of core
  • #​3398 Move output (VersionConverters) to its own module
  • #​2340 GitVersion should only consider tags matching current branch config (was: GitVersion fails to return correct version when tag exists on commit)
  • #​2742 [Improvement] Automatically update Docker Hub README with released version
  • #​3060 Cannot use empty tag in branch specific configuration
  • #​3245 Adds trouble shooting info for #​1627
  • #​3443 [Improvement] The following classes needs to be changed to immutable types: SemanticVersion, SemanticVersionPreReleaseTag and SemanticVersionBuildMetaData
  • #​3454 Use IGitVersionConfiguration instead of GitVersionConfiguration (where possible)
  • #​2885 Improve GitVersion performance
  • #​3432 [Feature] Unknown language detected: 'wix'
  • #​3463 [Improvement] Update the CONTRIBUTING guidelines to match the current state of the code base
  • #​3479 Check that repository isn't a shallow clone and show an error if it is
  • #​3480 [Improvement] Rename back to "tag-pre-release-weight" and "tag-prefix"
  • #​3306 [Improvement] Move serialization and deserialization process of configuration out of the scope of core domain
  • #​3727 [Improvement] Include winget publishing in the release workflow
  • !3768 Re-fixed github actions tag handling
  • !3790 Extract GitVersion Configuration into a separate project
  • !3804 Refactor GitVersion.Core for clear, maintainable methods
  • !3806 Refactor variable serialization and extend serialization tests
  • !3811 Switch to JSON for cache serialization and deserialization
  • #​3831 Better Bitbucket support for gitversion /output buildserver for Powershell
  • !3844 Feature/replace the version mode mainline part i.a
  • #​3308 [Improvement] Replacing the mainline version mode with the continuous deployment mode
  • !3921 Mark dependencies as private assets for GitVersion.MsBuild
  • #​3919 Review Ignored unit tests
  • #​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
  • !4087 Fix path separator for gitversion.dll in MSBuild task
  • #​4017 Verifies the contents of configuration.md against the default serialized configuration
  • !4107 Sunset .net 7.0
SHA256 Hashes of the release artifacts
  • 5fb42c20729a3a4c0ecb0b84a70d1f4a01b89f76d7e1bc39e0b86e3da7ccc868 - gitversion-linux-arm64-6.0.0.tar.gz
  • a9654d447d9bc753c4c107efd726137a756b45249575ff7e2544b0dee34047df - gitversion-linux-musl-arm64-6.0.0.tar.gz
  • 2be9d503181411b4443619675db3cd745fc42bfd11c620dd758f7b8d81960432 - gitversion-linux-musl-x64-6.0.0.tar.gz
  • 99324ad86713606f2e5e81f77a3d034ae1c9b2bc8672ddc0ffcec5150e6e92b4 - gitversion-linux-x64-6.0.0.tar.gz
  • 16d23f586181bc816587ab923a32504b5bf6451d11c86856b3929afd0527c09c - gitversion-osx-arm64-6.0.0.tar.gz
  • f0c5fe2512d918acdea7cd145bff04729c6071f0ccee4bbdf04abcaa14daa219 - gitversion-osx-x64-6.0.0.tar.gz
  • e9897532489586e276cf449aee66e141e675d226d43be12976d8495a8ae12e77 - gitversion-win-arm64-6.0.0.zip
  • 5905dc372acecee526b6e29ee38853fa5f53b36db3812b2de9715f4da8644155 - gitversion-win-x64-6.0.0.zip

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label Jul 22, 2024
@renovate renovate bot force-pushed the renovate/gitversion.msbuild-6.x branch from cb5df7c to c9a96d0 Compare August 5, 2024 12:48
@renovate renovate bot force-pushed the renovate/gitversion.msbuild-6.x branch from c9a96d0 to 713f40b Compare August 12, 2024 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants