Skip to content

Update dependency coverlet.collector to v6

Daniel Jansson requested to merge renovate/coverlet.collector-6.x into main

This MR contains the following updates:

Package Type Update Change
coverlet.collector nuget major 3.1.2 -> 6.0.0

Release Notes

coverlet-coverage/coverlet (coverlet.collector)

v6.0.0

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

Improvements -Migration of the project to .NET 6.0 https://github.com/coverlet-coverage/coverlet/pull/1473

Breaking changes New parameter ExcludeAssembliesWithoutSources to control automatic assembly exclusion https://github.com/coverlet-coverage/coverlet/issues/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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

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

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


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

This MR has been generated by Renovate Bot.

Merge request reports