diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index 290725f9e..3f219bd95 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -20,7 +20,6 @@ jobs: with: projects: coverlet.slnx configuration: Release - include-preview: true upload-build-artifact-name: build-release timeout-minutes: 45 @@ -71,7 +70,6 @@ jobs: configuration: Release build: true restore: true - include-preview: true download-pattern: build-release timeout-minutes: 45 @@ -83,7 +81,6 @@ jobs: projects: src/coverlet.MTP/coverlet.MTP.csproj configuration: Release version: ${{ needs.build.outputs.version }} - include-preview: true download-build-artifact-pattern: build-release upload-packed-artifact-name: NuGet-Release timeout-minutes: 30 @@ -106,8 +103,6 @@ jobs: - name: Install .NET uses: codebeltnet/install-dotnet@v3 - with: - includePreview: true - name: Download validated package uses: actions/download-artifact@v8 diff --git a/CHANGELOG.md b/CHANGELOG.md index 45db06cae..85e2fd9b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,10 +16,13 @@ This major release adds .NET 11 support, removes the dedicated .NET 9 target, an ### Changed -- Target .NET 10 and .NET 11 alongside .NET Standard 2.0, with runtime dependency versions selected per target framework, +- Target .NET 10 and .NET 11 alongside .NET Standard 2.0, with Microsoft runtime dependencies aligned to 10.0.15 for .NET 10 and .NET Standard 2.0 and 11.0.0 for .NET 11, +- Use .NET 10 versions of Microsoft.Extensions.FileSystemGlobbing, Microsoft.Extensions.DependencyModel, Microsoft.Extensions.DependencyInjection, Microsoft.Extensions.Configuration, Microsoft.Extensions.Configuration.Json, System.Security.Cryptography.Pkcs, and System.Text.Json for the .NET Standard 2.0 package assets instead of .NET 8 overrides, +- Update the .NET Standard test sample's Microsoft.Bcl.AsyncInterfaces dependency to 10.0.15, +- Pin the .NET 11.0.100 SDK and stop opting into preview SDK installation in CI, - Preserve reviewed upstream history through merge ancestry while retaining selective Codebelt file integration; the 2026-11-01 synchronization through `2e0a852` changes no production code, dependencies, or package layout, - Exclude unreachable branches from branch coverage totals and from Cobertura, LCOV, and OpenCover branch details, -- Update Microsoft Testing Platform to 2.5.2, Microsoft.NET.Test.Sdk to 18.11.0, xunit.v3.mtp-v2 to 4.0.2, xunit.runner.visualstudio to 4.0.1, Moq to 4.21.0, and LinqKit.Microsoft.EntityFrameworkCore to 10.1.1, +- Update Microsoft Testing Platform to 2.5.2, Microsoft.NET.Test.Sdk to 18.11.0, xunit.v3.mtp-v2 to 4.0.3, xunit.runner.visualstudio to 4.0.1, Moq to 4.21.0, LinqKit.Microsoft.EntityFrameworkCore to 10.1.1, and ReportGenerator.Core to 5.5.12, - Update NuGet.Packaging and NuGet.Versioning to 7.9.0, retaining a NuGet.Versioning 6.14.3 override for .NET Standard 2.0, - Change the validation tests to read the package folder from MSBuild metadata instead of a hard-coded `artifacts/package/` path, with missing-package guidance that points to `-p:PrepareValidationPackage=true` or an existing package, - Disable automatic package preparation in GitHub Actions so validation consumes the downloaded release package, while allowing opt-out outside GitHub Actions with `-p:PrepareValidationPackage=false`, diff --git a/Directory.Packages.props b/Directory.Packages.props index bd799ba2d..c185adee4 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,15 +4,15 @@ true - 10.0.14 - 11.0.0-rc.3.26522.148 + 10.0.15 + 11.0.0 $(MicrosoftNet10RuntimeVersion) $(MicrosoftNet11RuntimeVersion) 18.11.0 2.5.2 4.21.0 7.9.0 - 4.0.2 + 4.0.3 4.0.1 @@ -30,7 +30,7 @@ - + diff --git a/global.json b/global.json index 7e0263952..e9d3f80e5 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "11.0.100-rc.3.26522.148", + "version": "11.0.100", "rollForward": "latestFeature" }, "test": { diff --git a/src/coverlet.MTP/coverlet.MTP.csproj b/src/coverlet.MTP/coverlet.MTP.csproj index 0fad3410c..e0f0afc0e 100644 --- a/src/coverlet.MTP/coverlet.MTP.csproj +++ b/src/coverlet.MTP/coverlet.MTP.csproj @@ -63,9 +63,9 @@ - - - + + + diff --git a/src/coverlet.core/coverlet.core.csproj b/src/coverlet.core/coverlet.core.csproj index 33b066979..87d86066d 100644 --- a/src/coverlet.core/coverlet.core.csproj +++ b/src/coverlet.core/coverlet.core.csproj @@ -26,11 +26,11 @@ - - - - - + + + + + diff --git a/test/coverlet.MTP.validation.tests/PackageLayoutTests.cs b/test/coverlet.MTP.validation.tests/PackageLayoutTests.cs index 4eaf233b9..900316c4a 100644 --- a/test/coverlet.MTP.validation.tests/PackageLayoutTests.cs +++ b/test/coverlet.MTP.validation.tests/PackageLayoutTests.cs @@ -64,9 +64,9 @@ public void NuspecContainsFrameworkAlignedDependencyGroups() Assert.Equal(s_supportedTfms.Order(StringComparer.OrdinalIgnoreCase), dependencyGroups.Keys.Order(StringComparer.OrdinalIgnoreCase)); - AssertDependency(dependencyGroups["netstandard2.0"], "Microsoft.Extensions.Configuration", "8.0.0"); - AssertDependency(dependencyGroups["netstandard2.0"], "Microsoft.Extensions.Configuration.Json", "8.0.1"); - AssertDependency(dependencyGroups["netstandard2.0"], "Microsoft.Extensions.DependencyInjection", "8.0.1"); + AssertDependency(dependencyGroups["netstandard2.0"], "Microsoft.Extensions.Configuration", MtpPackageVersions.MicrosoftNet10Runtime); + AssertDependency(dependencyGroups["netstandard2.0"], "Microsoft.Extensions.Configuration.Json", MtpPackageVersions.MicrosoftNet10Runtime); + AssertDependency(dependencyGroups["netstandard2.0"], "Microsoft.Extensions.DependencyInjection", MtpPackageVersions.MicrosoftNet10Runtime); AssertDependency(dependencyGroups["netstandard2.0"], "Microsoft.Testing.Platform", MtpPackageVersions.MicrosoftTestingPlatform); AssertDependency(dependencyGroups["netstandard2.0"], "System.Buffers", "4.6.1"); AssertDependency(dependencyGroups["netstandard2.0"], "System.Memory", "4.6.3"); diff --git a/test/coverlet.core.tests.samples.netstandard/coverlet.core.tests.samples.netstandard.csproj b/test/coverlet.core.tests.samples.netstandard/coverlet.core.tests.samples.netstandard.csproj index accdd808e..8bb2555c2 100644 --- a/test/coverlet.core.tests.samples.netstandard/coverlet.core.tests.samples.netstandard.csproj +++ b/test/coverlet.core.tests.samples.netstandard/coverlet.core.tests.samples.netstandard.csproj @@ -7,7 +7,7 @@ - +