Repository navigation
Bump GitVersion.MsBuild from 6.8.2 to 7.0.0 - #155
Conversation
✅MegaLinter analysis: Success
See detailed reports in MegaLinter artifacts
|
Codecov Report✅ All modified and coverable lines are covered by tests. 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. |
f53dfc0 to
9ea7c60
Compare
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
9ea7c60 to
da8f2cb
Compare
There was a problem hiding this comment.
🟡 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.ymlto 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
da8f2cb to
378e4b4
Compare
There was a problem hiding this comment.
🔵 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>
378e4b4 to
2c5e7e5
Compare



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
PreReleaseTagandPreReleaseLabelby asbjornu resolved in !5102 by arturcicCommitsSinceVersionSourceoutput variable by arturcic resolved in !5088 by arturcicBugs
masterconfig key has undocumented breaking changes when upgrading from v5 by aloisklink resolved in !5204 by arturcicDependencies
... (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
osx-x64) .NET tool packages and standalone archives alongside Apple Silicon (osx-arm64). #5490, #5491.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:
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
CommitsSinceVersionSourceoutput variable (#4996)PreReleaseTagandPreReleaseLabel(#4603)Features
... (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
calculation/outputconfiguration, with migration support.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 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)