From e2e4dad37fec50f1428df723ad7ddf87feaf39c6 Mon Sep 17 00:00:00 2001 From: "codebelt-aicia[bot]" Date: Thu, 10 Sep 2026 02:40:55 +0000 Subject: [PATCH 1/5] V12.0.1/service update --- .../Codebelt.Extensions.Xunit.App/PackageReleaseNotes.txt | 6 ++++++ .../PackageReleaseNotes.txt | 6 ++++++ .../PackageReleaseNotes.txt | 6 ++++++ .nuget/Codebelt.Extensions.Xunit/PackageReleaseNotes.txt | 6 ++++++ CHANGELOG.md | 4 ++++ Directory.Packages.props | 6 +++--- 6 files changed, 31 insertions(+), 3 deletions(-) diff --git a/.nuget/Codebelt.Extensions.Xunit.App/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Xunit.App/PackageReleaseNotes.txt index 8e209da..b900e91 100644 --- a/.nuget/Codebelt.Extensions.Xunit.App/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Xunit.App/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 12.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: 12.0.0 Availability: .NET 10 and .NET 9 diff --git a/.nuget/Codebelt.Extensions.Xunit.Hosting.AspNetCore/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Xunit.Hosting.AspNetCore/PackageReleaseNotes.txt index c2e7dcc..17e5f7c 100644 --- a/.nuget/Codebelt.Extensions.Xunit.Hosting.AspNetCore/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Xunit.Hosting.AspNetCore/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 12.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: 12.0.0 Availability: .NET 10 and .NET 9 diff --git a/.nuget/Codebelt.Extensions.Xunit.Hosting/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Xunit.Hosting/PackageReleaseNotes.txt index 7390a79..efa28b2 100644 --- a/.nuget/Codebelt.Extensions.Xunit.Hosting/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Xunit.Hosting/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 12.0.1 +Availability: .NET 10, .NET 9 and .NET Standard 2.0 + +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version: 12.0.0 Availability: .NET 10, .NET 9 and .NET Standard 2.0 diff --git a/.nuget/Codebelt.Extensions.Xunit/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Xunit/PackageReleaseNotes.txt index 416936a..b0861a2 100644 --- a/.nuget/Codebelt.Extensions.Xunit/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Xunit/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 12.0.1 +Availability: .NET 10, .NET 9 and .NET Standard 2.0 + +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version: 12.0.0 Availability: .NET 10, .NET 9 and .NET Standard 2.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1605dbe..5228fbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ 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.Xunit, Cuemon.Extensions.Xunit.Hosting, and Cuemon.Extensions.Xunit.Hosting.AspNetCore. +## [12.0.1] - 2026-09-10 + +This is a service update that focuses on package dependencies. + ## [12.0.0] - 2026-08-24 This is a major release driven by the upgrade to xUnit v4.0.0, reflecting the decision to bump this library's major version in alignment with the xUnit framework's major release after careful consideration. The xUnit v4 upgrade introduces breaking changes to the testing framework that may require updates to existing test code. diff --git a/Directory.Packages.props b/Directory.Packages.props index 11d986b..6f45b74 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -10,9 +10,9 @@ - - - + + + From 3a6667755d583745885a8010c62fef701fbc4ddd Mon Sep 17 00:00:00 2001 From: gimlichael Date: Fri, 11 Sep 2026 03:52:50 +0200 Subject: [PATCH 2/5] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20upgrade=20package=20de?= =?UTF-8?q?pendencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update package versions for Microsoft.NET.Test.Sdk, Microsoft.Testing.Extensions.CodeCoverage, MinVer, and framework packages. Migrate from coverlet-based coverage tooling to Microsoft.Testing.Extensions.CodeCoverage for consistency with the xUnit v3 testing framework. --- Directory.Build.props | 8 -------- Directory.Packages.props | 34 ++++++++++++++++------------------ 2 files changed, 16 insertions(+), 26 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 41a8181..00c9024 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -95,14 +95,6 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/Directory.Packages.props b/Directory.Packages.props index 6f45b74..0ab5fcd 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -13,14 +13,12 @@ - - - + + + - - @@ -28,23 +26,23 @@ - + - - - - - - + + + + + + - - - - - - + + + + + + \ No newline at end of file From 918d06b326c698f2a3f27c140629b3a41399bed0 Mon Sep 17 00:00:00 2001 From: gimlichael Date: Fri, 11 Sep 2026 03:52:56 +0200 Subject: [PATCH 3/5] =?UTF-8?q?=F0=9F=90=9B=20implement=20proper=20disposa?= =?UTF-8?q?l=20pattern=20with=20async=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implement standard IDisposable pattern with protected Dispose(bool) method and GC.SuppressFinalize. Add conditional async disposal support for NET9_0_OR_GREATER to properly clean up IAsyncDisposable resources when running on .NET 9 or later. --- .../Internal/DeferredHostBuilder.cs | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/Codebelt.Extensions.Xunit.Hosting/Internal/DeferredHostBuilder.cs b/src/Codebelt.Extensions.Xunit.Hosting/Internal/DeferredHostBuilder.cs index 936d37b..0305a11 100644 --- a/src/Codebelt.Extensions.Xunit.Hosting/Internal/DeferredHostBuilder.cs +++ b/src/Codebelt.Extensions.Xunit.Hosting/Internal/DeferredHostBuilder.cs @@ -137,13 +137,27 @@ public DeferredHost(IHost host, TaskCompletionSource hostStarted, Progra public void Dispose() { - _startedRegistration.Dispose(); - _host.Dispose(); + Dispose(true); + GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) + { + if (disposing) + { + _startedRegistration.Dispose(); + _host.Dispose(); + } } public async ValueTask DisposeAsync() { +#if NET9_0_OR_GREATER + await _startedRegistration.DisposeAsync().ConfigureAwait(false); +#else _startedRegistration.Dispose(); +#endif + if (_host is IAsyncDisposable disposable) { await disposable.DisposeAsync().ConfigureAwait(false); From b7672d22861de9ea3a4a69474c9202cdecd2e8fc Mon Sep 17 00:00:00 2001 From: gimlichael Date: Fri, 11 Sep 2026 03:53:01 +0200 Subject: [PATCH 4/5] =?UTF-8?q?=F0=9F=93=9D=20update=20test=20command=20do?= =?UTF-8?q?cumentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correct test command syntax in contributing guide to use named --project argument instead of positional parameter. This follows dotnet CLI conventions and improves clarity for contributors running the test suite. --- .github/CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index a30dbed..d00cf00 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -35,7 +35,7 @@ Run tests one project at a time so a failing or hanging project is attributable. ```powershell $testProjects = Get-ChildItem test -Filter *.csproj -Recurse foreach ($project in $testProjects) { - dotnet test $project.FullName --configuration Release --no-restore + dotnet test --project $project.FullName --configuration Release --no-restore } ``` From 7171db9beb900aa85b73620795d59121a96a7303 Mon Sep 17 00:00:00 2001 From: gimlichael Date: Fri, 11 Sep 2026 03:56:22 +0200 Subject: [PATCH 5/5] =?UTF-8?q?=F0=9F=93=9D=20document=20v12.0.1=20release?= =?UTF-8?q?=20notes=20with=20dependency=20updates=20and=20fixes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5228fbd..c3ff889 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,26 @@ 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.Xunit, Cuemon.Extensions.Xunit.Hosting, and Cuemon.Extensions.Xunit.Hosting.AspNetCore. -## [12.0.1] - 2026-09-10 +## [12.0.1] - 2026-09-11 -This is a service update that focuses on package dependencies. +This is a patch release focused on dependency updates and resource management improvements for .NET 9 and later compatibility. + +### Changed + +- Upgraded Cuemon.Core, Cuemon.Extensions.AspNetCore, and Cuemon.Extensions.IO from 10.7.0 to 10.7.1, +- Upgraded Microsoft.NET.Test.Sdk from 18.9.0 to 18.10.0, +- Upgraded Microsoft.Testing.Extensions.CodeCoverage from 18.10.0 to 18.11.0, +- Upgraded MinVer from 7.0.0 to 8.0.0, +- Upgraded Microsoft.Bcl.AsyncInterfaces from 10.0.11 to 10.0.12 for netstandard2.0, +- Upgraded Microsoft.Extensions.* packages (Configuration, EnvironmentVariables, FileExtensions, Json, Hosting, AspNetCore.TestHost) from 9.0.19 to 9.0.20 for .NET 9, +- Upgraded Microsoft.Extensions.* packages (Configuration, EnvironmentVariables, FileExtensions, Json, Hosting, AspNetCore.TestHost) from 10.0.11 to 10.0.12 for .NET 10, +- Migrated code coverage tooling from coverlet-based approach to Microsoft.Testing.Extensions.CodeCoverage for consistency with xUnit v3 testing framework. + +### Fixed + +- Proper implementation of IDisposable pattern in DeferredHostBuilder with protected Dispose(bool) method and GC.SuppressFinalize call, +- Conditional IAsyncDisposable support in DeferredHostBuilder for .NET 9 and later to properly clean up async-disposable resources, +- Updated test command documentation in contributing guide to use named --project argument instead of positional parameter, following dotnet CLI conventions. ## [12.0.0] - 2026-08-24 @@ -530,7 +547,8 @@ This major release is first and foremost focused on ironing out any wrinkles tha -[Unreleased]: https://github.com/codebeltnet/xunit/compare/v12.0.0...HEAD +[Unreleased]: https://github.com/codebeltnet/xunit/compare/v12.0.1...HEAD +[12.0.1]: https://github.com/codebeltnet/xunit/compare/v12.0.0...v12.0.1 [12.0.0]: https://github.com/codebeltnet/xunit/compare/v11.2.1...v12.0.0 [11.2.1]: https://github.com/codebeltnet/xunit/compare/v11.2.0...v11.2.1 [11.2.0]: https://github.com/codebeltnet/xunit/compare/v11.1.2...v11.2.0