diff --git a/.docfx/Dockerfile.docfx b/.docfx/Dockerfile.docfx index f60a543..dc87c70 100644 --- a/.docfx/Dockerfile.docfx +++ b/.docfx/Dockerfile.docfx @@ -3,7 +3,7 @@ FROM --platform=$BUILDPLATFORM nginx:${NGINX_VERSION} AS base RUN rm -rf /usr/share/nginx/html/* -FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2.78.4 AS build +FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2.78.5 AS build ADD [".", "docfx"] diff --git a/.github/scripts/bump-nuget.py b/.github/scripts/bump-nuget.py index 08cf477..82c90f7 100644 --- a/.github/scripts/bump-nuget.py +++ b/.github/scripts/bump-nuget.py @@ -53,6 +53,7 @@ "swashbuckle-aspnetcore": ["Codebelt.Extensions.Swashbuckle"], "savvyio": ["Savvyio."], "shared-kernel": ["Codebelt.SharedKernel"], + "carter": ["Codebelt.Extensions.Carter"], } diff --git a/.github/workflows/service-update.yml b/.github/workflows/service-update.yml index ea92ea5..f9a235e 100644 --- a/.github/workflows/service-update.yml +++ b/.github/workflows/service-update.yml @@ -70,7 +70,7 @@ jobs: for f in .nuget/*/PackageReleaseNotes.txt; do [ -f "$f" ] || continue TFM=$(grep -m1 "^Availability:" "$f" | sed 's/Availability: //' || echo ".NET 10, .NET 9 and .NET Standard 2.0") - ENTRY="Version: ${NEW}\nAvailability: ${TFM}\n \n# ALM\n- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)\n \n" + ENTRY="Version: ${NEW}\nAvailability: ${TFM}\n\n# ALM\n- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)\n\n" { printf "$ENTRY"; cat "$f"; } > "$f.tmp" && mv "$f.tmp" "$f" done diff --git a/.nuget/Codebelt.Extensions.Asp.Versioning/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Asp.Versioning/PackageReleaseNotes.txt index d45353b..16df10f 100644 --- a/.nuget/Codebelt.Extensions.Asp.Versioning/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Asp.Versioning/PackageReleaseNotes.txt @@ -1,133 +1,138 @@ -Version: 10.0.4 +Version: 10.0.5 Availability: .NET 10 and .NET 9 - -# ALM -- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + +Version: 10.0.4 +Availability: .NET 10 and .NET 9 + +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version: 10.0.3 Availability: .NET 10 and .NET 9 - + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) - + Version: 10.0.2 Availability: .NET 10 and .NET 9 -  + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) -  + Version: 10.0.1 Availability: .NET 10 and .NET 9 -  + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) -  + Version: 10.0.0 Availability: .NET 10 and .NET 9 -  + # ALM - ADDED Support for TFM .NET 10 (LTS) - REMOVED Support for TFM .NET 8 (LTS) - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) -  + Version: 9.0.8 Availability: .NET 9 and .NET 8 -  + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) -  + Version: 9.0.7 Availability: .NET 9 and .NET 8 -  + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) -  + Version: 9.0.6 Availability: .NET 9 and .NET 8 -  + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) -  + Version: 9.0.5 Availability: .NET 9 and .NET 8 -  + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) -  + Version: 9.0.4 Availability: .NET 9 and .NET 8 -  + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) -  + Version: 9.0.3 Availability: .NET 9 and .NET 8 -  + # ALM - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) -  + Version: 9.0.2 Availability: .NET 9 and .NET 8 -  + # ALM - CHANGED Dependencies to latest and greatest with respect to TFMs -  + Version: 9.0.1 Availability: .NET 9 and .NET 8 -  + # ALM - CHANGED Dependencies to latest and greatest with respect to TFMs -  + Version: 9.0.0 Availability: .NET 9 and .NET 8 -  + # ALM - CHANGED Dependencies to latest and greatest with respect to TFMs - REMOVED Support for TFM .NET 6 (LTS) -  + Version: 8.4.0 Availability: .NET 8 and .NET 6 -  + # ALM - CHANGED Dependencies to latest and greatest with respect to TFMs -  + Version: 8.3.2 Availability: .NET 8 and .NET 6 -  + # ALM - REMOVED Support for TFM .NET 7 (STS) -  + Version: 8.3.0 Availability: .NET 8, .NET 7 and .NET 6 -  + # ALM - CHANGED Dependencies to latest and greatest with respect to TFMs -  + Version: 8.2.0 Availability: .NET 8, .NET 7 and .NET 6 -  + # ALM - CHANGED Dependencies to latest and greatest with respect to TFMs -  + Version: 8.1.0 Availability: .NET 8, .NET 7 and .NET 6 -  + # ALM - CHANGED Dependencies to latest and greatest with respect to TFMs -  + # Improvements - CHANGED RestfulApiVersioningOptions class in the Codebelt.Extensions.Asp.Versioning namespace to include non-official MIME-types in the ValidAcceptHeaders property -  + Version: 8.0.1 Availability: .NET 8, .NET 7 and .NET 6 -  + # ALM - CHANGED Dependencies to latest and greatest with respect to TFMs -  + Version: 8.0.0 Availability: .NET 8, .NET 7 and .NET 6 -  + # ALM - ADDED TFM for net8.0 - CHANGED Dependencies to latest and greatest with respect to TFMs -  \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b1c01fa..b0722e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,19 @@ 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.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. @@ -102,3 +115,29 @@ This major release is first and foremost focused on ironing out any wrinkles tha - 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 + +[Unreleased]: https://github.com/codebeltnet/asp-versioning/compare/v10.0.5...HEAD +[10.0.5]: https://github.com/codebeltnet/asp-versioning/compare/v10.0.4...v10.0.5 +[10.0.4]: https://github.com/codebeltnet/asp-versioning/compare/v10.0.3...v10.0.4 +[10.0.3]: https://github.com/codebeltnet/asp-versioning/compare/v10.0.2...v10.0.3 +[10.0.2]: https://github.com/codebeltnet/asp-versioning/compare/v10.0.1...v10.0.2 +[10.0.1]: https://github.com/codebeltnet/asp-versioning/compare/v10.0.0...v10.0.1 +[10.0.0]: https://github.com/codebeltnet/asp-versioning/compare/v9.0.8...v10.0.0 +[9.0.8]: https://github.com/codebeltnet/asp-versioning/compare/v9.0.7...v9.0.8 +[9.0.7]: https://github.com/codebeltnet/asp-versioning/compare/v9.0.6...v9.0.7 +[9.0.6]: https://github.com/codebeltnet/asp-versioning/compare/v9.0.5...v9.0.6 +[9.0.5]: https://github.com/codebeltnet/asp-versioning/compare/v9.0.4...v9.0.5 +[9.0.4]: https://github.com/codebeltnet/asp-versioning/compare/v9.0.3...v9.0.4 +[9.0.3]: https://github.com/codebeltnet/asp-versioning/compare/v9.0.2...v9.0.3 +[9.0.2]: https://github.com/codebeltnet/asp-versioning/compare/v9.0.1...v9.0.2 +[9.0.1]: https://github.com/codebeltnet/asp-versioning/compare/v9.0.0...v9.0.1 +[9.0.0]: https://github.com/codebeltnet/asp-versioning/compare/v8.4.0...v9.0.0 +[8.4.0]: https://github.com/codebeltnet/asp-versioning/compare/v8.3.2...v8.4.0 +[8.3.2]: https://github.com/codebeltnet/asp-versioning/compare/v8.3.0...v8.3.2 +[8.3.0]: https://github.com/codebeltnet/asp-versioning/compare/v8.2.0...v8.3.0 +[8.2.0]: https://github.com/codebeltnet/asp-versioning/compare/v8.1.0...v8.2.0 +[8.1.0]: https://github.com/codebeltnet/asp-versioning/compare/v8.0.1...v8.1.0 +[8.0.1]: https://github.com/codebeltnet/asp-versioning/compare/v8.0.0...v8.0.1 +[8.0.0]: https://github.com/codebeltnet/asp-versioning/compare/v7.1.0...v8.0.0 +[7.1.0]: https://github.com/codebeltnet/asp-versioning/compare/v7.0.0...v7.1.0 +[7.0.0]: https://github.com/codebeltnet/asp-versioning/releases/tag/v7.0.0 diff --git a/Directory.Build.targets b/Directory.Build.targets index 0c72407..5f9df1e 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,10 +1,7 @@  - - - - @(PackageReleaseNotesLines, '%0A') + $([System.IO.File]::ReadAllText('$(PackageReleaseNotesFile)')) diff --git a/Directory.Packages.props b/Directory.Packages.props index 7f1e5b5..967d168 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,25 +1,25 @@ - - - true - - - - - - - - - - - - - - - - - - - - - + + + true + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/testenvironments.json b/testenvironments.json index a12cd13..e0b5a26 100644 --- a/testenvironments.json +++ b/testenvironments.json @@ -7,9 +7,14 @@ "wslDistribution": "Ubuntu-24.04" }, { - "name": "Docker-Ubuntu", + "name": "Docker-Ubuntu (net9)", "type": "docker", - "dockerImage": "codebeltnet/ubuntu-testrunner:net8.0.418-9.0.311-10.0.103" + "dockerImage": "codebeltnet/ubuntu-testrunner:9" + }, + { + "name": "Docker-Ubuntu (net10)", + "type": "docker", + "dockerImage": "codebeltnet/ubuntu-testrunner:10" } ] }