gitversion breaking changes
gitversion 7.0.0 is its newest release with breaking changes, 34 of them. The first: gitversion 7.0.0 requires .NET 10 or later. Every breaking API change we have recorded in gitversion on Homebrew: 44 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 7.0.1, released November 20, 2026. MIT license. Source repository
Its 7.0.0 release drops .NET 8 and 9. .NET end of life dates.
- From 7.0.0-beta.2 to 7.0.0: 34 breaking changes in 1 version.
gitversion 7.0.0 breaking changes
- Removed
GitVersion v7 targets .NET 10 and .NET 11; users must install a matching runtime for the CLI or global tool. github.com - Removed
The default Docker distribution moves to Ubuntu 26.04; pinned tags for retired distributions no longer receive new builds, so update them to the mapped replacements. github.com - Removed
The package no longer targets .NET 8 and .NET 9, so those runtimes must be upgraded. github.com - Removed
CommitsSinceVersionSource
The obsolete CommitsSinceVersionSource output variable was removed. github.com - Removed
GITVERSION_USE_V6_ARGUMENT_PARSER
Unset the retired variable and use GITVERSION_ARGUMENT_PARSER_VERSION=v6 for the temporary legacy parser. github.com - Removed
GitVersion.<Property>
Dotted variable names no longer exist in v7.0, so consumers must switch to the underscore names. github.com - Removed
NET 8 and .NET 9 target frameworks
GitVersion v7 targets .NET 10 and .NET 11, so the matching runtime must be installed. github.com - Removed
switch
Legacy /switch and -switch arguments are no longer accepted by default; replace them with POSIX --long-name arguments. github.com - Removed
targetpath
Use POSIX-style long names; the legacy parser is available only temporarily via GITVERSION_ARGUMENT_PARSER_VERSION=v6. github.com - Renamed
c
Windows-style and single-dash switches are no longer accepted by default; /c <commit> must become --commit <commit>. github.com - Renamed
GitVersion.SemVer
Build-server and MSBuild outputs now emit GitVersion_<Property>; update macros, expressions and dependent job references. github.com - Renamed
output
Every legacy slash argument has a --long-name replacement, such as /output becoming --output. github.com - Renamed
PreReleaseLabel
PreReleaseTag and PreReleaseLabel were renamed; code using the old names must switch to the new names. github.com - Renamed
PreReleaseTag
PreReleaseTag and PreReleaseLabel were renamed; code using the old names must switch to the new names. github.com - Renamed
PreReleaseTagWithDash
Update consumers to the new variable name. github.com - Behavior changed
The next-version value must include the tag-prefix, which changes how it is written. github.com - Behavior changed
SemVerSource and CommitCountSource are now separate settings, so code relying on the old combined behavior must be updated. github.com - Behavior changed
Bind-mounted repositories must be writable by the image's default user, or the container must be run with a writable --user. github.com - Behavior changed
Dynamic repositories and build-agent normalization need the git executable on PATH. github.com - Behavior changed
-c
Scripts that used -c with a commit id must switch to --commit. github.com - Behavior changed
config migrate
Flat v6 YAML must be converted with gitversion config migrate; the default schema is now nested-only. github.com - Behavior changed
config validate
Both validation and normal execution now reject unknown public keys, invalid types, bad regexes and unresolvable branch relationships; next-version is checked against the selected format. github.com - Behavior changed
Git_Branch
The cross-platform alias now only supplies branch context at the checked-out commit. github.com - Behavior changed
GIT_BRANCH
The variable no longer selects the branch tip; use --branch to select a different branch's history. github.com - Behavior changed
GITVERSION_CONFIGURATION_VERSION
Flat configuration files must be migrated to the nested v7 layout with gitversion config migrate. github.com - Behavior changed
next-version
With Strict format a partial value such as 2.1 is rejected; use a complete version or select Loose. github.com - Behavior changed
PreReleaseLabel
The name retains but its value changes from beta to beta.99; consumers needing only the name must use PreReleaseLabelName. github.com - Behavior changed
PreReleaseLabelWithDash
The value changes from -beta to -beta.99; consumers needing only the name must use PreReleaseLabelNameWithDash. github.com - Behavior changed
VersionSourceIncrement
New integrations should use SemVerSourceIncrement for the increment. github.com - Default changed
The v7 parser, nested configuration and managed Git backend are now the defaults. github.com - Default changed
The default Docker distribution is now Ubuntu 26.04; pinned tags for Ubuntu 22.04, CentOS Stream 9, Debian 12 and Fedora 43 must be updated to their replacements. github.com - Default changed
GITVERSION_GIT_BACKEND
LibGit2Sharp is scheduled for removal in v7.1; use managed or set the variable explicitly if needed. github.com - Configuration changed
Configuration options are now grouped under calculation and output sections; existing configuration files need migrating. github.com - Configuration changed
master
The master config key has breaking changes when upgrading from v5 that were not documented. github.com
gitversion 7.0.0-beta.2 breaking changes
- Removed
GitVersion 7 no longer targets .NET 8 and .NET 9. Use a supported .NET runtime. github.com - Removed
CommitsSinceVersionSource
The CommitsSinceVersionSource output variable is gone in GitVersion 7. Stop reading it in scripts and CI pipelines. github.com - Renamed
PreReleaseLabel
PreReleaseLabel has been renamed in GitVersion 7. Update any scripts or pipelines that read it. github.com - Renamed
PreReleaseTag
PreReleaseTag has been renamed in GitVersion 7. Update any scripts or pipelines that read it. github.com - Behavior changed
The next-version setting must include the tag prefix in GitVersion 7. Add the prefix to existing next-version values. github.com - Behavior changed
GitVersion 7 uses the managed Git backend by default instead of the previous backend. github.com - Behavior changed
SemVerSource and CommitCountSource are now handled separately in GitVersion 7. Review version source configuration. github.com - Behavior changed
GitVersion 7 uses the v7 parser and nested configuration by default. Review your configuration against the migration guide. github.com - Configuration changed
Configuration moves into nested calculation and output sections in GitVersion 7. Migrate your configuration file. github.com - Signature changed
GitVersion 7 ships a new CLI with breaking argument changes. Update command-line invocations in scripts. github.com
Related packages
- gitversion.tool on NuGet
- gitversion.msbuild on NuGet
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.