Skip to content

Bump GitVersion.MsBuild from 6.8.2 to 7.0.0 - #155

Merged
dorssel merged 1 commit into
mainfrom
dependabot/nuget/GitVersion.MsBuild-7.0.0
Nov 19, 2026
Merged

dorssel merged 1 commit into
mainfrom
dependabot/nuget/GitVersion.MsBuild-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 18, 2026

Copy link
Copy Markdown
Contributor

Updated GitVersion.MsBuild from 6.8.2 to 7.0.0.

Release notes

Sourced from GitVersion.MsBuild's releases.

7.0.0

As part of this release we had 833 commits which resulted in 165 issues being closed.

Package manager and schema updates

Links added by Codex on behalf of Artur (@​arturcic).

Breaking changes

Bugs

Dependencies

  • !5079 (build deps): bump actions/checkout from 7.0.0 to 7.0.1 in /.github/workflows in the actions group across 1 directory by dependabot[bot]
  • !5086 (deps): Bump Serilog from 4.3.0 to 4.4.0 by dependabot[bot]
  • !5097 (deps): Bump LibGit2Sharp from 0.31.0 to 0.32.0 by dependabot[bot]
  • !5099 (build deps): Bump actions/stale from 10.4.0 to 11.0.0 in /.github/workflows in the actions group across 1 directory by dependabot[bot]
    ... (truncated)

7.0.0-beta.2

GitVersion 7.0.0-beta.2

The second beta of GitVersion 7 is ready for testing. It restores Intel macOS support while retaining Apple Silicon packages.

Changes since beta.1

  • Restore Intel macOS (osx-x64) .NET tool packages and standalone archives alongside Apple Silicon (osx-arm64). #​5490, #​5491.
  • Update JsonSchema.Net to 9.7.0 and JsonSchema.Net.Generation to 7.5.0. #​5487, #​5488.
  • Improve release README publication and refresh hosted CI runner images. #​5485, #​5486.

Before upgrading

This is a prerelease intended for evaluation. GitVersion 7 introduces breaking CLI, configuration and output changes. Read the v6-to-v7 migration guide and test against your repositories and CI pipelines before adopting it.

The .NET tool supports .NET 10 and .NET 11. Standalone archives include the .NET 10 runtime. Both Intel and Apple Silicon macOS distributions are included.

Install the exact beta in a separate directory:

dotnet tool install GitVersion.Tool --tool-path ./.gitversion-beta2 --version 7.0.0-beta.2

Please report reproducible issues, including your configuration and representative Git history.

Consolidated v7 changelog

The following changes are tracked in the final 7.0.0 milestone. Build-only changes are excluded from the categorized list.

Breaking changes

  • [ISSUE]: next-version must include tag-prefix (#​5228)
  • Discuss replacing dotted Azure Pipelines output variable names (#​5219)
  • v7.0: default to v7 parser, nested configuration and managed Git (#​5135)
  • Implement versioned calculation and output configuration (#​5132)
  • [Feature] Group configuration under calculation and output sections with migration support (#​5131)
  • Use the managed Git backend by default (#​5039)
  • Drop .NET 8 and .NET 9 target frameworks (end of support 2026-11-10) (#​4997)
  • Remove obsolete CommitsSinceVersionSource output variable (#​4996)
  • Rename PreReleaseTag and PreReleaseLabel (#​4603)
  • [Improvement] Separate SemVerSource from CommitCountSource (#​3041)
  • New CLI (#​2272)

Features

  • [FEATURE]: Add privacy-preserving CLI usage telemetry (#​5426)
  • [Feature] Add a repository-independent config validate command for v7 (#​5360)
  • [Feature] Export an OpenCLI-compliant command description with --cli-schema (#​5263)
  • Query an individual effective configuration property (#​5253)
  • Use managed Git backend for package builds (#​5175)
  • feat: support regex tag exclusions (#​5147)
    ... (truncated)

7.0.0-beta.1

The first beta of GitVersion 7 is ready for testing. Please try it against your repositories and CI pipelines and report unexpected version calculations or compatibility issues.

Highlights

  • POSIX-style CLI arguments and nested calculation / output configuration, with migration support.
  • Managed Git backend enabled by default.
  • New configuration validation and property lookup commands.
  • .NET 10 and .NET 11 support, alongside version-calculation fixes and performance improvements.

Before upgrading

This major release includes breaking changes to CLI arguments, configuration, and output variables. .NET 8/9 targets and Intel macOS artifacts are no longer provided. Review the v6-to-v7 migration guide before testing.

This is a prerelease intended for evaluation. Please report issues, including your configuration and a reproducible Git history where possible.

The full consolidated changelog will accompany 7.0.0.

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 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 dorssel as a code owner November 18, 2026 10:05
@dependabot dependabot Bot added .NET Pull requests that update .net code dependencies labels Nov 18, 2026
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

✅MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Max errors Warnings Elapsed time
✅ ACTION actionlint 8 0 0 0.11s
✅ ACTION zizmor 8 0 0 4.01s
✅ EDITORCONFIG editorconfig-checker 58 0 0 0.05s
✅ JSON jsonlint 3 0 0 0.09s
✅ JSON prettier 3 0 0 0.31s
✅ JSON v8r 3 0 0 4.16s
✅ MARKDOWN markdownlint 3 0 0 0.47s
✅ MARKDOWN markdown-table-formatter 3 0 0 0.21s
✅ REPOSITORY betterleaks yes no no 0.8s
✅ REPOSITORY checkov yes no no 19.96s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY grype yes no no 87.69s
✅ REPOSITORY osv-scanner yes no no 0.51s
✅ REPOSITORY secretlint yes no no 1.11s
✅ REPOSITORY syft yes no no 2.22s
✅ REPOSITORY trivy-sbom yes no no 1.16s
✅ REPOSITORY trufflehog yes no no 3.39s
✅ XML xmllint 15 0 0 0.17s
✅ YAML prettier 13 0 0 0.67s
✅ YAML v8r 13 0 0 11.55s
✅ YAML yamllint 13 0 0 0.67s

See detailed reports in MegaLinter artifacts

MegaLinter is provided by OX Security
Show us your support by starring ⭐ the repository

@codecov

codecov Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (6a983a4) to head (2c5e7e5).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #155   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           40        51   +11     
  Branches         1         2    +1     
=========================================
+ Hits            40        51   +11     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@dorssel
dorssel force-pushed the dependabot/nuget/GitVersion.MsBuild-7.0.0 branch from f53dfc0 to 9ea7c60 Compare November 19, 2026 13:53
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
nuget/GitVersion.MsBuild 7.0.0 🟢 7
Details
CheckScoreReason
Code-Review⚠️ 0Found 0/10 approved changesets -- score normalized to 0
Dependency-Update-Tool🟢 10update tool detected
Security-Policy🟢 10security policy file detected
Maintained🟢 1030 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies🟢 9dependency not pinned by hash detected -- score normalized to 9
License🟢 10license file detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Vulnerabilities🟢 100 existing vulnerabilities detected
Fuzzing⚠️ 0project is not fuzzed
SAST🟢 10SAST tool is run on all commits
Branch-Protection⚠️ 1branch protection is not maximal on development and all release branches
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
CI-Tests🟢 1013 out of 13 merged PRs checked by a CI test -- score normalized to 10
Contributors🟢 10project has 67 contributing companies or organizations
nuget/GitVersion.MsBuild 7.0.0 🟢 7
Details
CheckScoreReason
Code-Review⚠️ 0Found 0/10 approved changesets -- score normalized to 0
Dependency-Update-Tool🟢 10update tool detected
Security-Policy🟢 10security policy file detected
Maintained🟢 1030 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies🟢 9dependency not pinned by hash detected -- score normalized to 9
License🟢 10license file detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Vulnerabilities🟢 100 existing vulnerabilities detected
Fuzzing⚠️ 0project is not fuzzed
SAST🟢 10SAST tool is run on all commits
Branch-Protection⚠️ 1branch protection is not maximal on development and all release branches
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
CI-Tests🟢 1013 out of 13 merged PRs checked by a CI test -- score normalized to 10
Contributors🟢 10project has 67 contributing companies or organizations
nuget/GitVersion.MsBuild 7.0.0 🟢 7
Details
CheckScoreReason
Code-Review⚠️ 0Found 0/10 approved changesets -- score normalized to 0
Dependency-Update-Tool🟢 10update tool detected
Security-Policy🟢 10security policy file detected
Maintained🟢 1030 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies🟢 9dependency not pinned by hash detected -- score normalized to 9
License🟢 10license file detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Vulnerabilities🟢 100 existing vulnerabilities detected
Fuzzing⚠️ 0project is not fuzzed
SAST🟢 10SAST tool is run on all commits
Branch-Protection⚠️ 1branch protection is not maximal on development and all release branches
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
CI-Tests🟢 1013 out of 13 merged PRs checked by a CI test -- score normalized to 10
Contributors🟢 10project has 67 contributing companies or organizations

Scanned Files

  • FuzzingTests/FuzzingTests.csproj
  • GitVersion.MsBuild/GitVersion.MsBuild.csproj
  • UnitTests/UnitTests.csproj

@dorssel
dorssel force-pushed the dependabot/nuget/GitVersion.MsBuild-7.0.0 branch from 9ea7c60 to da8f2cb Compare November 19, 2026 14:13
dorssel
dorssel previously approved these changes Nov 19, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A critical deserialization issue still prevents normal builds from processing GitVersion 7 JSON, and a remaining diagnostic uses the wrong package name.

2 open issues
What changed in this PR

Updates GitVersion.MsBuild from 6.8.2 to 7.0.0 and adapts the repository for GitVersion 7 configuration and output changes.

Changes:

  • Updates the centrally managed dependency and all affected package lock files.
  • Migrates GitVersion.yml to the GitVersion 7 schema and nested output configuration.
  • Extends the MSBuild task with GitVersion 7 output mappings and forward-compatibility test fixtures.
File Description
UnitTests/​UnitTests.csproj Copies additional GitVersion test data files to the unit-test output directory.
UnitTests/​TaskTests.cs Adds forward-compatibility coverage and test-data path handling for GitVersion 7.
UnitTests/​packages.lock.json Updates the unit-test dependency lock for GitVersion.MsBuild 7.0.0.
UnitTests/​data/​future-gitversion.json.license Adds licensing metadata for the future GitVersion output fixture.
UnitTests/​data/​future-gitversion.json Provides fixture data containing an unmapped future output variable.
GitVersion.yml Migrates the configuration schema and output settings to GitVersion 7.
GitVersion.MsBuild/​packages.lock.json Updates the MSBuild project dependency lock to GitVersion.MsBuild 7.0.0.
GitVersion.MsBuild/​GetVersion.cs Adds GitVersion 7 output mappings and handling for unmapped output variables.
FuzzingTests/​packages.lock.json Updates the fuzzing-test dependency lock for GitVersion.MsBuild 7.0.0.
Example/​packages.lock.json Updates the example project dependency lock for GitVersion.MsBuild 7.0.0.
Directory.Packages.props Bumps the centrally managed GitVersion.MsBuild version to 7.0.0.

Review effort: Lite

Comment thread GitVersion.MsBuild/GetVersion.cs Resolved
Comment thread GitVersion.MsBuild/GetVersion.cs Resolved
@dorssel
dorssel force-pushed the dependabot/nuget/GitVersion.MsBuild-7.0.0 branch from da8f2cb to 378e4b4 Compare November 19, 2026 14:21
@dorssel
dorssel requested a lite review from Copilot November 19, 2026 14:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The GitVersion 7 upgrade introduces breaking configuration, output, parser, and managed-Git changes that the limited fixture tests do not validate across real MSBuild, WiX, version-calculation, and consumer-project scenarios.

No open issues 🎉

2 resolved since last review

Review effort: Lite

---
updated-dependencies:
- dependency-name: GitVersion.MsBuild
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dorssel
dorssel force-pushed the dependabot/nuget/GitVersion.MsBuild-7.0.0 branch from 378e4b4 to 2c5e7e5 Compare November 19, 2026 14:40
@dorssel
dorssel requested a lite review from Copilot November 19, 2026 14:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approved

No actionable review findings were identified, so the change is considered ready for approval.

No open issues 🎉

Review effort: Lite

@dorssel
dorssel merged commit 63a1b51 into main Nov 19, 2026
10 checks passed
@dorssel
dorssel deleted the dependabot/nuget/GitVersion.MsBuild-7.0.0 branch November 19, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants