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/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index b2bd7d2..3460137 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -106,7 +106,7 @@ jobs: if: github.event_name != 'pull_request' name: call-nuget needs: [build, pack, test_linux, test_windows, sonarcloud, codecov, codeql] - uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v2 + uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v3 with: version: ${{ needs.build.outputs.version }} environment: Production 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.SharedKernel/PackageReleaseNotes.txt b/.nuget/Codebelt.SharedKernel/PackageReleaseNotes.txt index 51423ba..49d5b47 100644 --- a/.nuget/Codebelt.SharedKernel/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.SharedKernel/PackageReleaseNotes.txt @@ -1,94 +1,100 @@ +Version: 0.5.5 +Availability: .NET 10 and .NET 9 + +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version: 0.5.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: 0.5.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: 0.5.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: 0.5.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: 0.5.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: 0.4.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: 0.4.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: 0.4.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: 0.4.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: 0.4.2 Availability: .NET 9 and .NET 8 -  + # ALM - CHANGED Dependencies to latest and greatest with respect to TFMs -  + Version: 0.4.1 Availability: .NET 9 and .NET 8 -  + # ALM - CHANGED Dependencies to latest and greatest with respect to TFMs -  + Version: 0.4.0 Availability: .NET 9 and .NET 8 -  + # ALM - CHANGED Dependencies to latest and greatest with respect to TFMs -  + Version: 0.3.0 Availability: .NET 8 -  + # ALM - CHANGED Dependencies to latest and greatest with respect to TFMs -  + Version: 0.2.0 Availability: .NET 8 -  + # New Features - ADDED Token record in the Codebelt.SharedKernel namespace that represents an object that can be used for storing sensitive data - ADDED TokenOptions class in the Codebelt.SharedKernel namespace that specifies options that is related to the Token record - ADDED CorrelationId record in the Codebelt.SharedKernel namespace that represents an object that can be used as unique identifier that help you trace requests across multiple services in a distributed system -  + Version: 0.1.0 Availability: .NET 8 -  + # New Features - ADDED AccessKey record in the Codebelt.SharedKernel.Security namespace that represents an object that can be used for API key-based authentication and similar - ADDED AccessKeyExtensions class in the Codebelt.SharedKernel.Security namespace that consist of extension methods for the AccessKey record: IsValid @@ -98,4 +104,3 @@ Availability: .NET 8 - ADDED ComparableValueObject class in the Codebelt.SharedKernel namespace that provides an implementation of SingleValueObject{T} tailored for handling a single value that implements the IComparable{T} interface - ADDED CoordinatedUniversalTime record in the Codebelt.SharedKernel namespace that represents an object that can be used when you need a timestamp that is based on an absolute time (UTC) - ADDED TimeToLive record in the Codebelt.SharedKernel namespace that represents an object that can be used when issuing authentication tokens or similar (TTL) -  \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c2a61c..be511f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), For more details, please refer to `PackageReleaseNotes.txt` on a per assembly basis in the `.nuget` folder. +## [0.5.5] - 2026-03-29 + +This is a service update that focuses on package dependencies. + +### Changed + +- Dependencies upgraded: `Cuemon.Extensions.IO` to 10.5.0, `Codebelt.Extensions.Xunit.App` to 11.0.8, `Savvyio.Domain`, `Savvyio.Extensions.Newtonsoft.Json`, and `Savvyio.Extensions.Text.Json` to 5.0.5, and `coverlet.collector`/`coverlet.msbuild` to 8.0.1, +- `Directory.Build.targets` now reads `PackageReleaseNotes.txt` via `System.IO.File.ReadAllText` instead of `ReadLinesFromFile`, preserving blank lines in NuGet package release notes, +- `testenvironments.json` Docker test environment split into dedicated `.NET 9` and `.NET 10` entries using versioned image tags (`:9` and `:10`) instead of a single combined image, +- `service-update.yml` fixed spurious trailing whitespace in the `ENTRY` bash template for the service-update workflow, +- `bump-nuget.py` extended `SOURCE_PACKAGE_MAP` with the `carter` → `Codebelt.Extensions.Carter` package mapping. + ## [0.5.4] - 2026-02-28 This is a service update that focuses on package dependencies. @@ -86,3 +98,20 @@ Purely an ALM release. No changes to the codebase. - ComparableValueObject class in the Codebelt.SharedKernel namespace that provides an implementation of SingleValueObject{T} tailored for handling a single value that implements the IComparable{T} interface - CoordinatedUniversalTime record in the Codebelt.SharedKernel namespace that represents an object that can be used when you need a timestamp that is based on an absolute time (UTC) - TimeToLive record in the Codebelt.SharedKernel namespace that represents an object that can be used when issuing authentication tokens or similar (TTL) + +[0.5.5]: https://github.com/codebeltnet/shared-kernel/compare/v0.5.4...v0.5.5 +[0.5.4]: https://github.com/codebeltnet/shared-kernel/compare/v0.5.3...v0.5.4 +[0.5.3]: https://github.com/codebeltnet/shared-kernel/compare/v0.5.2...v0.5.3 +[0.5.2]: https://github.com/codebeltnet/shared-kernel/compare/v0.5.1...v0.5.2 +[0.5.1]: https://github.com/codebeltnet/shared-kernel/compare/v0.5.0...v0.5.1 +[0.5.0]: https://github.com/codebeltnet/shared-kernel/compare/v0.4.6...v0.5.0 +[0.4.6]: https://github.com/codebeltnet/shared-kernel/compare/v0.4.5...v0.4.6 +[0.4.5]: https://github.com/codebeltnet/shared-kernel/compare/v0.4.4...v0.4.5 +[0.4.4]: https://github.com/codebeltnet/shared-kernel/compare/v0.4.3...v0.4.4 +[0.4.3]: https://github.com/codebeltnet/shared-kernel/compare/v0.4.2...v0.4.3 +[0.4.2]: https://github.com/codebeltnet/shared-kernel/compare/v0.4.1...v0.4.2 +[0.4.1]: https://github.com/codebeltnet/shared-kernel/compare/v0.4.0...v0.4.1 +[0.4.0]: https://github.com/codebeltnet/shared-kernel/compare/v0.3.0...v0.4.0 +[0.3.0]: https://github.com/codebeltnet/shared-kernel/compare/v0.2.0...v0.3.0 +[0.2.0]: https://github.com/codebeltnet/shared-kernel/compare/v0.1.0...v0.2.0 +[0.1.0]: https://github.com/codebeltnet/shared-kernel/releases/tag/v0.1.0 diff --git a/Directory.Build.targets b/Directory.Build.targets index ed6077c..00bb68a 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 ea9d6bc..77566bc 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,15 +3,15 @@ true - - + + - - - - - + + + + + diff --git a/testenvironments.json b/testenvironments.json index 325127a..e49a8cd 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" } ] }