Skip to main content

Provides an object model around semver strings.

Total Downloads
683
683
Published
Mar 1, 2024
2y ago

Get Started

dotnet add package Pitchfork.SemanticVersioning --version 1.0.1
ProductVersions
.NET
net6.0net8.0
.NET Standard
netstandard2.0
Other
.NETFramework4.6.2

README

Pitchfork.SemanticVersioning

Helpers for parsing SemVer strings.

This library implements version 2.0.0 of the SemVer specification. See https://semver.org/ for more information. Strings are parsed strictly according to the specification and must have <major>.<minor>.<patch>[-<prerelease>][+<build>] format.

Sample usage:

using Pitchfork.SemanticVersioning;

SemanticVersion a = new SemanticVersion("1.2.3-preview.1");
SemanticVersion b = new SemanticVersion("1.2.3");
Console.WriteLine(a < b); // prints "True"

Downloads by Version

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.