Skip to content

v10.1.0

Choose a tag to compare

@gimlichael gimlichael released this 03 Jul 21:22
· 5 commits to main since this release
cf312b0

What's Changed

This release introduces Semantic Versioning support to the Codebelt.Extensions.Asp.Versioning package, enabling APIs to advertise and map API versions using the major.minor.patch format with optional pre-release and build metadata.

The implementation includes five new public types for semantic versioning: SemanticApiVersion provides the core semantic version representation, SemanticApiVersionParser handles parsing of semantic version strings, SemanticApiVersionFormatter formats semantic versions for output, SemanticApiVersionAttribute enables declarative semantic version advertising on controller actions, and MapToSemanticApiVersionAttribute supports mapping semantic versions to internal .NET Version objects. The new VersionConversionOptions type provides fine-grained control over how .NET Version objects are translated into SemanticApiVersion instances, including folding the revision component into build metadata.

Documentation improvements include comprehensive DocFX-generated API reference pages for all new semantic versioning types with detailed usage examples, and updated namespace documentation that clarifies how semantic versioning integrates with existing API versioning patterns.

Additionally, this release updates several dependencies to their latest compatible versions, including Codebelt.Extensions.Xunit.App, Cuemon packages, and Microsoft.NET.Test.Sdk.

Note

Semantic versioning is now available as a first-class feature in the ASP.NET Core versioning library, enabling modern API versioning strategies with pre-release and build metadata support.

Sources:

Full Changelog: v10.0.9...v10.1.0