Check framework compatibility for SemVer
masterAs of v3.0.0, the semver package is multi-targeted to support a wide range of .NET environments. You can use this package in projects targeting:
- .NET Standard 2.0: For compatibility with older .NET Framework versions (e.g., 4.6.1 through 4.8.X) and projects requiring serialization support.
- .NET Standard 2.1: For projects that want to benefit from C# 8.0 features, specifically nullable reference types, allowing the package to provide better type information regarding nullability.
- .NET 5+: For modern .NET applications. Targeting .NET 5 directly allows the package to use the built-in
MemberNotNullWhenAttributefor improved null handling in range types without the overhead of external dependency types used in older versions.