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

chore(deps): bump GitVersion.MsBuild from 5.12.0 to 6.0.2 #64

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 13, 2024

Bumps GitVersion.MsBuild from 5.12.0 to 6.0.2.

Release notes

Sourced from GitVersion.MsBuild's releases.

6.0.2

As part of this release we had 8 commits which resulted in 5 issues being closed.

Bugs

Documentation

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

Improvements

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

... (truncated)

Changelog

Sourced from GitVersion.MsBuild's changelog.

v6.0.0

Platforms

  • Drop support for .NET Framework 4.8, .NET Core 3.1 and .NET 5.0. Changed the project targets to .NET 6.0 or later.

Caching

  • Refactor caching system in GitVersion to use json files instead of yaml files. This change is not backwards compatible with the old caching system.

Configuration changes:

  • The configuration properties continuous-delivery-fallback-tag, tag-number-pattern, and tag were renamed to continuous-delivery-fallback-label, label-number-pattern, and label respectively. tag-pre-release-weight and tag-prefix remained as they were as they are referring to a Git tag.

  • When using a commit message that matches both *-version-bump-message and no-bump-message, there is no increment for that commit. In other words, no-bump-message now takes precedence over *-version-bump-message.

  • The fallback version strategy now returns 0.0.0 and is flagged with ShouldIncrement equal to true. This yields the version 0.1.0 on the develop branch (IncrementStrategy.Minor by default) and 0.0.1 on the main branch (IncremetnStrategy.Patch by default).

  • The current branch (child) inherits its configuration from the source (parent) branch if the increment strategy is set to Inherit. This makes branch configuration recursive, simpler, more intuitive, more flexible, and more robust.

  • Instead of having a single effective configuration, we now have one effective configuration per branch where the increment strategy is not set to inherit.

  • The new implementation of the branch configuration inheritance affects per default only the pull-requests, hotfix and feature branches. In this case the next version will be generated like the child branch is not existing and the commits have been made on the source branch.

    • The following example illustrates this behavior. On the feature branch the semantic version 1.1.0-just-a-test.1+2 will now be generated instead of version 1.0.0-just-a-test.1+3 previously:

      * 1f1cfb4 52 minutes ago  (HEAD -> feature/just-a-test)
      * 1f9654d 54 minutes ago  (release/1.1.0)
      * be72411 56 minutes ago  (develop)
      * 14800ff 58 minutes ago  (tag: 1.0.0, main)
      
  • A new unknown branch magic string has been introduced to give the user the possibility to specify the branch configuration for a branch which is not known. A branch is not known if only the regular expression of the branch configuration with the name unknown is matching. Please notice that this branch configuration behaves like any other branch configurations.

  • Additional fallback branch configuration properties have been introduced at the root to define base properties which will be inherit to the branch configurations. That means if no other branch configuration in the inheritance line defines the given property the fallback property applies. Notice that the inheritance tree can be controlled using the increment strategy property in the branch configuration section.

    • The following example illustrates this behavior. The hotfix branch configuration overrides the main branch configuration and the result overrides the fallback branch configuration.

      * 1f1cfb4 52 minutes ago  (HEAD -> hotfix/just-a-test)
      * 14800ff 58 minutes ago  (tag: 1.0.0, main)
      
  • When overriding the configuration with e.g. GitVersion.yaml the software distinguishes between properties who are not existent and properties who are null. This is especially important if the user wants to define branch related configuration which are marked with increment strategy Inherit.

  • Following root configuration properties have been removed:

    • continuous-delivery-fallback-tag
  • A new branch related property with name track-merge-message has been introduced. Consider we have a main branch and a release/1.0.0 branch and merge changes from release/1.0.0 to the main branch. In this scenario the merge message will be interpreted as a next version 1.0.0 when track-merge-message is set to true otherwise 0.0.1.

  • The pre-release tags are only considered when they are matching with the label name of the branch. This has an effect on the way how the CommitCountSource will be determined.

  • The process of increasing the version with bump message when CommitMessageIncrementing is enabled and increment strategy is None has been changed.

  • A new configuration property with name version-in-branch-pattern has been introduced. This setting only applies on branches where the option is-release-branch is set to true. Please notice that the branch name needs to be defined after the version number by default (instead of support/lts-2.0.0 please name the branch like support/2.0.0-lts).

  • The is-release-branch property of the hotfix branch setting has been changed from false to true. If present the hotfix number will be considered now by default.

  • In the GitHub and the Git Flow workflows the label property is by default set to an empty string on the main branch. This yields to a pre-release version on main with an empty tag. Instead of for instance 1.0.1+46 GitVersion generates the full semantic version 1.0.1-46 instead. This behavior can be changed to generate only stable versions (no pre-release version) with setting the label to null (Please keep in mind that the label property on root needs to be set to null as well, otherwise the fallback applies). This change is caused by issue #2347.

  • The useBranchName magic string has been removed. Instead use {BranchName} for label.

  • The BranchPrefixToTrim configuration property has been removed. RegularExpression is now used to capture named groups instead.

    • Default RegularExpression for feature branches is changed from ^features?[/-] to ^features?[/-](https://github.com/GitTools/GitVersion/blob/main/?<BranchName>.+) to support using {BranchName} out-of-the-box
    • Default RegularExpression for unknown branches is changed from .* to (?<BranchName>.+) to support using {BranchName} out-of-the-box
  • The Mainline mode and the related implementation has been removed completely. The new Mainline version strategy should be used instead.

... (truncated)

Commits
  • 3021131 Merge pull request #4152 from GitTools/dependabot/nuget/src/analyzers-6e32ee7cee
  • 70ee4e0 (deps): Bump NUnit.Analyzers
  • ad76a5f Merge pull request #4147 from arturcic/main
  • 73c2433 Remove dependency on "git" cmdline
  • 170d3d1 Merge pull request #4145 from arturcic/main
  • 7b741c5 #4120 - update Breaking Changes, adding info about the removed legacy output ...
  • 0a2797f Merge pull request #4142 from Louis9902/bugfix/msbuild_execution_error
  • e0b8ac7 move msbuild properties default evaluation to targets file
  • 0fd23d1 Merge pull request #4135 from vinnyrose/feature/underscore-label-fix
  • 46b0027 replace any underscores that came in through group matches
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner August 13, 2024 01:32
@dependabot dependabot bot added the dependency-nuget NuGet/.NET Dependency Update label Aug 13, 2024
@dependabot dependabot bot requested review from samtrion and removed request for a team August 13, 2024 01:32
@dependabot dependabot bot requested a review from Dakraid August 13, 2024 01:32
@dependabot dependabot bot force-pushed the dependabot/nuget/GitVersion.MsBuild-6.0.2 branch from 56d6924 to 09669c4 Compare August 19, 2024 02:03
@samtrion
Copy link
Member

Merging is not possible at the moment, we have to wait for GitTools/GitVersion#4086.

@dependabot dependabot bot force-pushed the dependabot/nuget/GitVersion.MsBuild-6.0.2 branch from 09669c4 to fb2be9b Compare August 26, 2024 01:42
@samtrion samtrion force-pushed the dependabot/nuget/GitVersion.MsBuild-6.0.2 branch from 4e783a6 to fb2be9b Compare September 9, 2024 10:08
@samtrion samtrion force-pushed the dependabot/nuget/GitVersion.MsBuild-6.0.2 branch from 1aa522b to 6241772 Compare September 11, 2024 05:25
@samtrion
Copy link
Member

@dependabot recreate

Dependabot couldn't find the original pull request head commit, fb2be9b.
@dependabot dependabot bot force-pushed the dependabot/nuget/GitVersion.MsBuild-6.0.2 branch from 6241772 to 4b2bf0a Compare September 11, 2024 06:06
@samtrion samtrion merged commit e42b4ae into main Sep 11, 2024
10 of 12 checks passed
@samtrion samtrion deleted the dependabot/nuget/GitVersion.MsBuild-6.0.2 branch September 11, 2024 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency-nuget NuGet/.NET Dependency Update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant