Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
with:
projects: coverlet.slnx
configuration: Release
include-preview: true
upload-build-artifact-name: build-release
timeout-minutes: 45

Expand Down Expand Up @@ -71,7 +70,6 @@ jobs:
configuration: Release
build: true
restore: true
include-preview: true
download-pattern: build-release
timeout-minutes: 45

Expand All @@ -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
Expand All @@ -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
Expand Down
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/<configuration>` 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`,
Expand Down
8 changes: 4 additions & 4 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
</PropertyGroup>
<PropertyGroup>
<MicrosoftNet10RuntimeVersion>10.0.14</MicrosoftNet10RuntimeVersion>
<MicrosoftNet11RuntimeVersion>11.0.0-rc.3.26522.148</MicrosoftNet11RuntimeVersion>
<MicrosoftNet10RuntimeVersion>10.0.15</MicrosoftNet10RuntimeVersion>
<MicrosoftNet11RuntimeVersion>11.0.0</MicrosoftNet11RuntimeVersion>
<MicrosoftNetRuntimeVersion>$(MicrosoftNet10RuntimeVersion)</MicrosoftNetRuntimeVersion>
<MicrosoftNetRuntimeVersion Condition="'$(TargetFramework)' == 'net11.0'">$(MicrosoftNet11RuntimeVersion)</MicrosoftNetRuntimeVersion>
<MicrosoftNETTestSdkVersion>18.11.0</MicrosoftNETTestSdkVersion>
<MicrosoftTestingPlatformVersion>2.5.2</MicrosoftTestingPlatformVersion>
<MoqVersion>4.21.0</MoqVersion>
<NugetPackageVersion>7.9.0</NugetPackageVersion>
<XunitV3Version>4.0.2</XunitV3Version>
<XunitV3Version>4.0.3</XunitV3Version>
<XunitRunnerVisualstudioVersion>4.0.1</XunitRunnerVisualstudioVersion>
</PropertyGroup>
<ItemGroup>
Expand All @@ -30,7 +30,7 @@
<PackageVersion Include="Newtonsoft.Json" Version="13.0.4" />
<PackageVersion Include="NuGet.Packaging" Version="$(NugetPackageVersion)" />
<PackageVersion Include="NuGet.Versioning" Version="$(NugetPackageVersion)" />
<PackageVersion Include="ReportGenerator.Core" Version="5.5.11" />
<PackageVersion Include="ReportGenerator.Core" Version="5.5.12" />
<PackageVersion Include="System.Buffers" Version="4.6.1" />
<PackageVersion Include="System.Linq.Async" Version="7.0.1" />
<PackageVersion Include="System.Memory" Version="4.6.3" />
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "11.0.100-rc.3.26522.148",
"version": "11.0.100",
"rollForward": "latestFeature"
},
"test": {
Expand Down
6 changes: 3 additions & 3 deletions src/coverlet.MTP/coverlet.MTP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.Extensions.Configuration" VersionOverride="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" VersionOverride="8.0.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" VersionOverride="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Configuration" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
<PackageReference Include="System.Buffers" />
<PackageReference Include="System.Memory" />
</ItemGroup>
Expand Down
10 changes: 5 additions & 5 deletions src/coverlet.core/coverlet.core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
<PackageReference Include="System.Text.Json" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" VersionOverride="8.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" VersionOverride="8.0.2" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" VersionOverride="8.0.1" />
<PackageReference Include="System.Security.Cryptography.Pkcs" VersionOverride="8.0.2" />
<PackageReference Include="System.Text.Json" VersionOverride="8.0.6" />
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
<PackageReference Include="System.Security.Cryptography.Pkcs" />
<PackageReference Include="System.Text.Json" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' != 'netstandard2.0' ">
Expand Down
6 changes: 3 additions & 3 deletions test/coverlet.MTP.validation.tests/PackageLayoutTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="$(MicrosoftNet10RuntimeVersion)" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.6.3" />
</ItemGroup>

Expand Down