Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .nuget/Codebelt.Extensions.Asp.Versioning/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
Version: 10.2.0
Availability: .NET 10 and .NET 9

# New Features
- ADDED ApiVersionAliasParser to resolve friendly API version aliases before delegating to another parser, enabling callers to request versions by shortened or compatibility-oriented tokens,
- ADDED AddApiVersionParser<T> extension method for registering custom IApiVersionParser implementations as the singleton parser for API versioning services.

# Improvements
- EXTENDED AddRestfulApiVersioning to automatically register semantic version aliases when the default API version is a SemanticApiVersion, enabling alias formats such as major, major.minor, and major.minor.patch without explicit configuration,
- CHANGED Documentation updated to clarify semantic version alias registration behavior and guidance for exposing additional semantic versions.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Every other CHANGED entry in this file uses the pattern CHANGED [Subject] [active verb]... (e.g., "CHANGED Dependencies have been upgraded…", "CHANGED RestfulApiVersioningOptions class … to include…"). The documentation line diverges with passive voice and is also missing the closing phrase "through custom parsers" that appears in the equivalent CHANGELOG.md entry at line 22.

Suggested change
- CHANGED Documentation updated to clarify semantic version alias registration behavior and guidance for exposing additional semantic versions.
- CHANGED Documentation to clarify semantic version alias registration behavior and guidance for exposing additional semantic versions through custom parsers.
Prompt To Fix With AI
This is a comment left during a code review.
Path: .nuget/Codebelt.Extensions.Asp.Versioning/PackageReleaseNotes.txt
Line: 10

Comment:
Every other `CHANGED` entry in this file uses the pattern `CHANGED [Subject] [active verb]...` (e.g., "CHANGED Dependencies have been upgraded…", "CHANGED RestfulApiVersioningOptions class … to include…"). The documentation line diverges with passive voice and is also missing the closing phrase "through custom parsers" that appears in the equivalent `CHANGELOG.md` entry at line 22.

```suggestion
- CHANGED Documentation to clarify semantic version alias registration behavior and guidance for exposing additional semantic versions through custom parsers.
```

How can I resolve this? If you propose a fix, please make it concise.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!


Version: 10.1.0
Availability: .NET 10 and .NET 9

Expand Down
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ For more details, please refer to `PackageReleaseNotes.txt` on a per assembly ba
> [!NOTE]
> Changelog entries prior to version 8.4.0 was migrated from previous versions of Cuemon.Extensions.Asp.Versioning.

## [10.2.0] - 2026-07-07

This is a minor release adding API version aliasing support and automatic semantic version alias registration. Callers can now request versions by shortened or compatibility-oriented tokens (e.g., `1`, `1.0`, `1.0.0`), and applications using `SemanticApiVersion` as their default API version benefit from automatic alias registration without explicit configuration.

### Added

- `ApiVersionAliasParser` type for resolving friendly API version aliases before delegating to another `IApiVersionParser`, enabling callers to request versions by shortened or compatibility-oriented tokens,
- `AddApiVersionParser<T>` extension method for registering custom `IApiVersionParser` implementations as the singleton parser used by API versioning services.

### Changed

- `AddRestfulApiVersioning` now automatically registers semantic version aliases when the default API version is a `SemanticApiVersion`, eliminating boilerplate configuration for common semantic versioning scenarios,
- Documentation updated to clarify semantic version alias registration behavior and guidance for exposing additional semantic versions through custom parsers.

## [10.1.0] - 2026-07-03

This is a minor release introducing Semantic Versioning support for APIs that require major.minor.patch versioning with pre-release and build metadata beyond standard Asp.Versioning.ApiVersion. The release also includes dependency service updates and enhanced CI/CD safety.
Expand Down Expand Up @@ -166,7 +180,8 @@ This major release is first and foremost focused on ironing out any wrinkles tha
- RestfulApiVersionReader class in the Codebelt.Extensions.Asp.Versioning namespace that represents a RESTful API version reader that reads the value from a filtered list of HTTP Accept headers in the request
- RestfulProblemDetailsFactory class in the Codebelt.Extensions.Asp.Versioning namespace that represents a RESTful implementation of the IProblemDetailsFactory which throws variants of HttpStatusCodeException that needs to be translated accordingly

[Unreleased]: https://github.com/codebeltnet/asp-versioning/compare/v10.1.0...HEAD
[Unreleased]: https://github.com/codebeltnet/asp-versioning/compare/v10.2.0...HEAD
[10.2.0]: https://github.com/codebeltnet/asp-versioning/compare/v10.1.0...v10.2.0
[10.1.0]: https://github.com/codebeltnet/asp-versioning/compare/v10.0.9...v10.1.0
[10.0.9]: https://github.com/codebeltnet/asp-versioning/compare/v10.0.8...v10.0.9
[10.0.8]: https://github.com/codebeltnet/asp-versioning/compare/v10.0.7...v10.0.8
Expand Down
Loading