Skip to content

Latest commit

 

History

History
339 lines (214 loc) · 21.3 KB

CHANGELOG.md

File metadata and controls

339 lines (214 loc) · 21.3 KB

Changelog

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

For more details, please refer to PackageReleaseNotes.txt on a per assembly basis in the .nuget folder.

Note

Changelog entries prior to version 8.4.0 was migrated from previous versions of Cuemon.Extensions.Asp.Versioning.

11.0.0 - 2026-11-12

This is a major release that adds .NET 11 support and drops .NET 9, updates dependencies and development infrastructure, and corrects documentation asset caching.

Added

  • .NET 11 targets for the library and tests,
  • SonarAnalyzer.CSharp 10.36.0.15337 as a private production build dependency.

Changed

  • Updated Cuemon.AspNetCore and the test dependencies Cuemon.Extensions.AspNetCore.Mvc, Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json, and Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml from 10.8.1 to 11.0.0,
  • Updated test dependencies Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json and Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml from 10.1.9 to 11.0.0, and Codebelt.Extensions.Xunit.App from 12.0.2 to 13.0.0,
  • Updated test tooling Codebelt.Coverlet.MTP from 10.1.0 to 11.0.0, Microsoft.NET.Test.Sdk from 18.11.0 to 18.12.0, Microsoft.Testing.Extensions.HangDump from 2.5.1 to 2.5.3, and xunit.v3 and xunit.v3.runner.console from 4.0.2 to 4.0.3,
  • Moved Linux CI and the WSL test environment to Ubuntu 26.04 and configured separate .NET 10 and .NET 11 Docker test environments,
  • Updated and pinned the Scorecard workflow actions to commit SHAs,
  • Service-update automation preserves planned future releases and validates changelog release dates,
  • Updated the documentation sitemap URL and framework availability, and enforced file-scoped namespaces in repository code.

Removed

  • The .NET 9 target; consumers must target .NET 10 or later,
  • The .NET 9-specific Asp.Versioning 8.1.x declarations; the Asp.Versioning packages remain dependencies for supported targets,
  • The repository benchmark prompt.

Fixed

  • Fingerprinted documentation assets are cached immutably only for successful or 304 responses; other responses use no-store, and range requests are disabled for these assets.

10.2.5 - 2026-10-17

This is a patch release updating dependencies, documentation hosting, and repository agent guidance.

Added

  • Added "Codebelt.Coverlet.MTP" 10.1.0 for MTP coverage and "Microsoft.Testing.Extensions.HangDump" 2.5.1 for hang diagnostics,
  • Added an nginx configuration serving documentation on port 8080, caching fingerprinted assets, and disabling caching for stable URLs.

Changed

  • Updated "Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json" from 10.1.8 to 10.1.9,
  • Updated "Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml" from 10.1.8 to 10.1.9,
  • Updated "Codebelt.Extensions.Xunit.App" from 12.0.1 to 12.0.2,
  • Updated "Cuemon.AspNetCore" from 10.7.1 to 10.8.1,
  • Updated "Cuemon.Extensions.AspNetCore.Mvc" from 10.7.1 to 10.8.1,
  • Updated "Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json" from 10.7.1 to 10.8.1,
  • Updated "Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml" from 10.7.1 to 10.8.1,
  • Updated "Microsoft.NET.Test.Sdk" from 18.10.0 to 18.11.0,
  • Updated "xunit.v3" from 4.0.1 to 4.0.2,
  • Updated "xunit.v3.runner.console" from 4.0.1 to 4.0.2,
  • Updated "xunit.runner.visualstudio" from 4.0.0 to 4.0.1,
  • Updated the DocFX container to use dhi.io/nginx and codebeltnet/docfx:2, with separate API member pages, the ms-style template, and a repository-specific sitemap,
  • Consolidated the full test, benchmark, and XML documentation guidance from .github/copilot-instructions.md into AGENTS.md with explicit path scopes, and updated guidance references.

Removed

  • Removed the direct "Microsoft.Testing.Extensions.CodeCoverage" test dependency in favor of "Codebelt.Coverlet.MTP".

10.2.4 - 2026-09-12

This is a patch release focused on test infrastructure modernization, dependency updates, and development tooling improvements. The release upgrades xUnit to v4, migrates test coverage from coverlet to Microsoft.Testing.Extensions.CodeCoverage, introduces Microsoft.Testing.Platform configuration, and updates development dependencies to their latest stable versions.

Added

  • global.json with Microsoft.Testing.Platform configuration for unified test execution,
  • Microsoft.Testing.Extensions.CodeCoverage package for improved code coverage reporting in test projects.

Changed

  • Test runner upgraded to xUnit v4 with all related runners: xunit.v3, xunit.v3.runner.console, and xunit.runner.visualstudio all updated from v3 series to 4.0.0,
  • Test tooling migration from coverlet (coverlet.collector, coverlet.msbuild) to Microsoft.Testing.Extensions.CodeCoverage for modern coverage integration,
  • Dependencies upgraded to latest stable versions: Codebelt.Extensions.Xunit.App (11.2.1 → 12.0.1), Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json (10.1.7 → 10.1.8), Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml (10.1.6 → 10.1.8), Cuemon packages (10.7.0 → 10.7.1), Microsoft.NET.Test.Sdk (18.9.0 → 18.10.0), MinVer (7.0.0 → 8.0.0), and Asp.Versioning.Http (10.2.2 → 10.2.3),
  • Documentation updated in CONTRIBUTING.md with improved contributor onboarding and repository structure guidance.

Removed

  • Removed coverlet.collector and coverlet.msbuild from test project dependencies.

10.2.3 - 2026-08-16

This is a patch release focused on package dependencies, development infrastructure improvements, and project-level configuration standardization. The release upgrades core dependencies to their latest compatible versions, introduces project-level code style enforcement and Git behavior configuration, and consolidates Docker test environments for simplified multi-framework testing.

Added

  • .editorconfig for project-level code style enforcement with UTF-8 encoding, indentation rules, and analyzer suppressions,
  • .gitattributes for Git behavior configuration with line ending normalization and merge strategy standardization.

Changed

  • Dependencies upgraded to latest compatible versions: Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json (10.1.6 → 10.1.7), Codebelt.Extensions.Xunit.App (11.1.2 → 11.2.1), Cuemon.AspNetCore and related packages (10.5.5 → 10.7.0), and Microsoft.NET.Test.Sdk (18.8.1 → 18.9.0),
  • Asp.Versioning packages for .NET 10 targets upgraded from 10.0.0 to 10.2.x series: Abstractions and Mvc to 10.2.1, Http to 10.2.2, and Mvc.ApiExplorer to 10.2.1,
  • Docker test environments consolidated from separate net9 and net10 images to single multi-version codebeltnet/ubuntu-testrunner:8-9-10-11 image for simplified test infrastructure.

10.2.2 - 2026-07-24

This is a patch release focused on dependency updates, build toolchain improvements, and documentation quality. The release upgrades core development dependencies to their latest stable patches, enables recommended .NET code analyzers with code style enforcement, configures consistent git tag naming, and refines XML documentation.

Changed

  • Dependencies upgraded to latest stable patches for all supported target frameworks: Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json (10.1.5 → 10.1.6), Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml (10.1.5 → 10.1.6), Codebelt.Extensions.Xunit.App (11.1.1 → 11.1.2), Cuemon.AspNetCore and related packages (10.5.4 → 10.5.5), and Microsoft.NET.Test.Sdk (18.7.0 → 18.8.1),
  • Build configuration now enables recommended .NET code analyzers with latest analysis level and enforces code style compliance during build,
  • DocFX Dockerfile base image updated from nginx 1.31.2-alpine to nginx 1.31-alpine,
  • MinVerTagPrefix configured to v for consistent semantic version tag naming.

Fixed

  • XML documentation improved in RestfulApiVersionReader with simplified and modernized parameter documentation using modern type references.

10.2.1 - 2026-07-09

This is a minor release focused on normalizing semantically equivalent API version formats to ensure consistent routing and version matching. Version strings like 1, 1.0, and 1.0.0 are now normalized to identical canonical forms, with automatic enabling when using SemanticApiVersion as the default API version.

Changed

  • RestfulApiVersioningOptions includes a new ApiVersionReader property for advanced version reader customization,
  • Automatic version normalization is enabled by default when the default API version is a SemanticApiVersion; otherwise it retains its previous behavior.

Fixed

  • RestfulApiVersionReader now normalizes semantically equivalent API version formats (1, 1.0, 1.0.0) to identical values for consistent routing and version matching.

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.

Added

  • SemanticApiVersion, SemanticApiVersionParser, SemanticApiVersionFormatter, SemanticApiVersionAttribute, and MapToSemanticApiVersionAttribute types for APIs requiring Semantic Versioning compliance including full build-metadata awareness and pre-release support,
  • VersionConversionOptions to control how .NET four-part Version objects are translated into SemanticApiVersion instances,
  • Comprehensive DocFX documentation for all semantic versioning types with usage examples,
  • Full test coverage for semantic version parsing, formatting, comparison, and integration within the API explorer.

Changed

  • Dependencies upgraded to the latest compatible versions: Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json to 10.1.5, Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml to 10.1.5, Codebelt.Extensions.Xunit.App to 11.1.1, Cuemon packages to 10.5.4, and Microsoft.NET.Test.Sdk to 18.7.0.

10.0.9 - 2026-07-01

This is a patch release focused on package dependency upgrades, comprehensive public API documentation, and CI/CD pipeline refinements to strengthen deployment safety and maintainability.

Added

  • DocFX overwrite files for all four public non-abstraction types (ApplicationBuilderExtensions, RestfulApiVersionReader, RestfulApiVersioningOptions, ServiceCollectionExtensions) in the Codebelt.Extensions.Asp.Versioning namespace, including usage examples and availability notes,
  • dotnet-docfx-digest maintenance block in AGENTS.md to persist documentation rules for the public API surface.

Changed

  • Dependencies upgraded to the latest compatible versions: Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json to 10.1.5, Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml to 10.1.5, Codebelt.Extensions.Xunit.App to 11.1.1, Cuemon packages to 10.5.4, and Microsoft.NET.Test.Sdk to 18.7.0,
  • DocFX Dockerfile base image advanced to nginx 1.31.2-alpine for latest security and stability fixes,
  • docfx.json configuration split so namespace and type overwrite files are scoped under build.overwrite while remaining excluded from build.content,
  • CI/CD pipeline deployment condition tightened to require the build, pack, test-quality-gate, SonarCloud, Codecov, and CodeQL jobs to succeed before the NuGet deploy step runs, ensuring a skipped optional job can no longer suppress deployment,
  • Namespace overview documentation rewritten to lead with the developer problem and provide start-here guidance.

10.0.8 - 2026-06-06

This is a service update that focuses on package dependencies.

10.0.7 - 2026-05-23

This is a service update that focuses on package dependencies and explicit dual-framework support through conditionally-targeted Asp.Versioning package versions, ensuring compatibility with .NET 9 (Asp.Versioning 8.1.1) and .NET 10 (Asp.Versioning 10.0.0).

Changed

  • Directory.Packages.props to conditionally target Asp.Versioning package versions: version 8.1.1 for .NET 9 target framework and version 10.0.0 for .NET 10 target framework, providing version-appropriate behavior for each framework,
  • Dependencies upgraded to the latest compatible versions for all supported target frameworks (.NET 10 and .NET 9).

10.0.6 - 2026-04-18

This is a service update that focuses on package dependencies.

10.0.5 - 2026-03-28

This is a patch release that upgrades package dependencies and delivers several ALM refinements: a cleaner PackageReleaseNotes.txt generation pipeline, improved Directory.Build.targets file reading, an expanded test-environment matrix, and a documentation toolchain bump.

Changed

  • Dependencies upgraded to the latest compatible versions for all supported target frameworks (.NET 10 and .NET 9),
  • Directory.Build.targets to read PackageReleaseNotes.txt via File.ReadAllText instead of the line-by-line ReadLinesFromFile / @(…, '%0A') approach, ensuring newlines are preserved faithfully in NuGet metadata,
  • service-update.yml workflow to emit clean newlines (no trailing space) in generated PackageReleaseNotes.txt entries,
  • testenvironments.json Docker test entry split into separate Docker-Ubuntu (net9) and Docker-Ubuntu (net10) environments using versioned image tags (9 / 10) for cleaner per-TFM test isolation,
  • DocFX image bumped from 2.78.4 to 2.78.5 in Dockerfile.docfx,
  • bump-nuget.py extended with a carter → Codebelt.Extensions.Carter source-package mapping.

10.0.4 - 2026-02-28

This is a service update that focuses on package dependencies.

10.0.3 - 2026-02-20

This is a service update that focuses on package dependencies.

10.0.2 - 2026-02-15

This is a service update that focuses on package dependencies.

10.0.1 - 2026-01-22

This is a service update that focuses on package dependencies.

10.0.0 - 2025-11-13

This is a major release that focuses on adapting the latest .NET 10 release (LTS) in exchange for current .NET 8 (LTS).

To ensure access to current features, improvements, and security updates, and to keep the codebase clean and easy to maintain, we target only the latest long-term (LTS), short-term (STS) and (where applicable) cross-platform .NET versions.

9.0.8 - 2025-10-20

This is a service update that focuses on package dependencies.

9.0.7 - 2025-09-15

This is a service update that focuses on package dependencies.

9.0.6 - 2025-08-20

This is a service update that focuses on package dependencies.

9.0.5 - 2025-07-11

This is a service update that focuses on package dependencies.

9.0.4 - 2025-06-16

This is a service update that focuses on package dependencies.

9.0.3 - 2025-05-25

This is a service update that focuses on package dependencies.

9.0.2 - 2025-04-16

This is a service update that focuses on package dependencies.

9.0.1 - 2025-01-30

This is a service update that primarily focuses on package dependencies and minor improvements.

9.0.0 - 2024-11-13

This major release is first and foremost focused on ironing out any wrinkles that have been introduced with .NET 9 preview releases so the final release is production ready together with the official launch from Microsoft.

8.4.0 - 2024-09-21

8.1.0 - 2024-02-11

Changed

  • RestfulApiVersioningOptions class in the Codebelt.Extensions.Asp.Versioning namespace to include non-official MIME-types in the ValidAcceptHeaders property

7.1.0 2022-12-11

Added

Removed

Fixed

Changed

7.0.0 2022-11-09

Added

  • RestfulApiVersioningOptions class in the Codebelt.Extensions.Asp.Versioning namespace that provides programmatic configuration for the ServiceCollectionExtensions.AddRestfulApiVersioning method
  • ServiceCollectionExtensions class in the Codebelt.Extensions.Asp.Versioning namespace that consist of extension methods for the IServiceCollection interface: AddRestfulApiVersioning
  • ApplicationBuilderExtensions class in the Codebelt.Extensions.Asp.Versioning namespace that consist of extension methods for the IApplicationBuilder interface: UseRestfulApiVersioning
  • 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