Skip to content

chore(deps): update dependency coverlet.msbuild to v8 - autoclosed#222

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/coverlet.msbuild-8.x
Closed

chore(deps): update dependency coverlet.msbuild to v8 - autoclosed#222
renovate[bot] wants to merge 1 commit intomainfrom
renovate/coverlet.msbuild-8.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 15, 2026

This PR contains the following updates:

Package Change Age Confidence
coverlet.msbuild 2.8.08.0.1 age confidence

Release Notes

coverlet-coverage/coverlet (coverlet.msbuild)

v8.0.1

Fixed
  • Fix [BUG] TypeInitializationException when targeting .NET Framework #​1818
  • Fix [BUG] coverlet.MTP build fails with CS0400 due to developmentDependency=true #​1827
Improvements
  • Additional improvements needed for .NET Framework instrumentation type import #​1825

Diff between 8.0.0 and 8.0.1

v8.0.0

Special Thanks: A huge thank you to @​Bertk for driving the majority of the work in this release! 🎉

Fixed
Improvements
  • Coverlet MTP extension feature #​1788
  • Generate SBOM for nuget packages #​1752
  • Use multi targets projects for coverlet.collector, coverlet.msbuild.tasks packages #​1742
  • Use .NET 8.0 target framework for coverlet.core and remove Newtonsoft.Json #​1733
  • Use latest System.CommandLine version #​1660
  • Upgraded minimum required .NET SDK and runtime to .NET 8.0 LTS (Long Term Support) (Breaking Change)
  • Use xunit.v3 for tests and example code

Diff between 6.0.4 and 8.0.0

v6.0.4

Fixed
  • Fix empty coverage report when using include and exclude filters #​1726

Diff between 6.0.3 and 6.0.4

v6.0.3

Fixed
Improvements
  • Cache the regex used in InstrumentationHelper #​1693
  • Enable dotnetTool integration tests for linux #​660

Diff between 6.0.2 and 6.0.3

v6.0.2

Fixed
  • Threshold-stat triggers error #​1634
  • Fixed coverlet collector 6.0.1 requires dotnet sdk 8 #​1625
  • Type initializer errors after updating from 6.0.0 to 6.0.1 #​1629
  • Exception when multiple exclude-by-attribute filters specified #​1624
Improvements
  • More concise options to specify multiple parameters in coverlet.console #​1624

Diff between 6.0.1 and 6.0.2

v6.0.1

Fixed
  • Uncovered lines in .NET 8 for inheriting records #​1555
  • Fix record constructors not covered when SkipAutoProps is true #​1561
  • Fix .NET 7 Method Group branch coverage issue #​1447
  • Fix ExcludeFromCodeCoverage does not exclude method in a partial class #​1548
  • Fix ExcludeFromCodeCoverage does not exclude F# task #​1547
  • Fix issues where ExcludeFromCodeCoverage ignored #​1431
  • Fix issues with ExcludeFromCodeCoverage attribute #​1484
  • Fix broken links in documentation #​1514
  • Fix problem with coverage for .net5 WPF application #​1221 by https://github.com/lg2de
  • Fix unable to instrument module for Microsoft.AspNetCore.Mvc.Razor #​1459 by https://github.com/lg2de
Improvements

Diff between 6.0.0 and 6.0.1

v6.0.0

Fixed
-Could not write lines to file CoverletSourceRootsMapping - in use by another process #​1155
-Incorrect coverage for methods returning IAsyncEnumerable in generic classes #​1383
-Wrong branch coverage for async methods .NET Standard 1.x #​1376
-Empty path exception in visual basic projects #​775
-Align published nuget package version to github release version #​1413
-Sync nuget and github release versions #​1122

Improvements
-Migration of the project to .NET 6.0 #​1473

Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic assembly exclusion #​1164. The parameter InstrumentModulesWithoutLocalSources has been removed. since it can be handled by setting ExcludeAssembliesWithoutSources to None.
The default heuristics for determining whether to instrument an assembly has been changed. In previous versions any missing source file was taken as a signal that it was a third-party project that shouldn't be instrumented, with exceptions for some common file name patterns for source generators. Now only assemblies where no source files at all can be found are excluded from instrumentation, and the code for detecting source generator files have been removed. To get back to the behaviour that at least one missing file is sufficient to exclude an assembly, set ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion filters for more fine-grained control.

Diff between 3.2.0 and 6.0.0

v3.2.0

  • #​172 adds performance enhancements during instrumentation
  • #​181 removes instrumented assemblies' dependency on the coverlet.tracker assembly
  • #​186 adds support for merging results of current run with result from different run

v3.1.0

  • 141 adds performance improvements to coverage tracker for multi-threaded scenarios
  • a189fc2 replaces Jil with JSON.NET for JSON serialization
  • #​147 adds support for instrumenting constructors
  • 4efea75 ensures output filenames have extensions if non is specified
  • #​154 makes enumeration based MSBuild properties case insensitive
  • #​164 adds support for specifying include filters
  • #​169 adds slight improvement for coverage tracking performance

v3.0.0

  • #​131 makes a slight change to the Coverlet JSON format
  • 807f7b1 uses a separate coverlet.tracker assembly to hold tracking code
  • #​128 adds support for assemblies with .exe extension
  • a1f18b4 improves identifying compiler generated types
  • #​134 adds considerable coverage tracking performance improvements

Configuration

📅 Schedule: Branch creation - "on the 15th day of the month before 12pm" in timezone UTC, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested review from a team as code owners March 15, 2026 04:43
@renovate renovate bot requested a review from rwtombaugh March 15, 2026 04:43
@greptile-apps
Copy link
Copy Markdown

greptile-apps bot commented Mar 15, 2026

Greptile Summary

This PR updates the coverlet.msbuild dependency in the test project from 2.8.0 to 8.0.0 via Renovate bot.

  • Breaking change risk: coverlet.msbuild v8.0.0 requires a minimum .NET 8.0 SDK, but the test project targets netcoreapp3.1/net461 and the CI matrix includes 6.x and 7.x SDK versions. This may cause build failures in CI.
  • The CI workflow (.github/workflows/ci.yml) should be verified to confirm all matrix entries still succeed before merging.
  • Consider a more incremental upgrade (e.g., to 6.0.4) that aligns with the current SDK support matrix, or update the CI and project target frameworks alongside this change.

Confidence Score: 2/5

  • This PR carries risk due to a breaking SDK requirement mismatch between coverlet.msbuild v8.0.0 and the project's current target frameworks and CI configuration.
  • Score of 2 reflects a major version bump with an explicit breaking change (minimum .NET 8.0 SDK) applied to a project targeting netcoreapp3.1/net461 with a CI matrix that includes 6.x and 7.x SDKs. The dependency is build-tooling only (not shipped), which limits blast radius, but build failures are likely.
  • Pay close attention to test/WorkOSTests/WorkOSTests.csproj and .github/workflows/ci.yml for SDK compatibility.

Important Files Changed

Filename Overview
test/WorkOSTests/WorkOSTests.csproj Updates coverlet.msbuild from 2.8.0 to 8.0.0, a major version bump with a breaking change requiring .NET 8.0 SDK minimum. The test project targets netcoreapp3.1 and net461, and CI runs with 6.x/7.x/8.x SDKs — potential compatibility issue.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[coverlet.msbuild v8.0.0] -->|Requires| B[.NET 8.0 SDK minimum]
    C[WorkOSTests.csproj] -->|Targets| D[netcoreapp3.1]
    C -->|Targets| E[net461]
    F[CI Matrix] -->|SDK 6.x| G{Build with coverlet v8?}
    F -->|SDK 7.x| G
    F -->|SDK 8.x| G
    G -->|6.x / 7.x| H[Likely Failure]
    G -->|8.x| I[Should Work]
    style H fill:#f96,stroke:#333
    style I fill:#6f6,stroke:#333
Loading

Last reviewed commit: cc06d07

Comment thread test/WorkOSTests/WorkOSTests.csproj Outdated

<ItemGroup>
<PackageReference Include="coverlet.msbuild" Version="2.8.0" />
<PackageReference Include="coverlet.msbuild" Version="8.0.0" />
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compatibility concern with target frameworks and CI matrix

coverlet.msbuild v8.0.0 has a breaking change that upgrades the minimum required .NET SDK to 8.0 LTS. This project targets netcoreapp3.1 and net461 (line 3), and the CI matrix in .github/workflows/ci.yml runs builds with 6.x and 7.x SDKs in addition to 8.x. Since coverlet.msbuild hooks into MSBuild via tasks that now target .NET 8.0, builds using the 6.x and 7.x SDK entries in the CI matrix may fail.

Please verify that all CI matrix configurations still pass with this upgrade before merging. If the 6.x/7.x SDK builds fail, consider either:

  1. Pinning coverlet.msbuild to a version compatible with all CI SDK versions (e.g., 6.0.4), or
  2. Updating the CI matrix to only use 8.x SDK (which may require broader project changes).

@renovate renovate bot force-pushed the renovate/coverlet.msbuild-8.x branch from cc06d07 to c45984c Compare March 17, 2026 09:40
@renovate renovate bot force-pushed the renovate/coverlet.msbuild-8.x branch from c45984c to 3def00c Compare April 1, 2026 19:55
@renovate renovate bot changed the title chore(deps): update dependency coverlet.msbuild to v8 chore(deps): update dependency coverlet.msbuild to v8 - autoclosed Apr 17, 2026
@renovate renovate bot closed this Apr 17, 2026
@renovate renovate bot deleted the renovate/coverlet.msbuild-8.x branch April 17, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

0 participants