From 5e351778d315ef1267a884cc4aa1e299df2831cb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 May 2023 11:27:38 -0700 Subject: [PATCH] chore(deps): Bump coverlet.collector from 3.2.0 to 6.0.0 in /src (#917) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.2.0 to 6.0.0.
Release notes

Sourced from coverlet.collector's releases.

v6.0.0

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

Improvements -Migration of the project to .NET 6.0 coverlet-coverage/coverlet#1473

Breaking changes New parameter ExcludeAssembliesWithoutSources to control automatic assembly exclusion coverlet-coverage/coverlet#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

v5.8.0

Fixed

-Fix TypeLoadException when referencing Microsoft.Extensions.DependencyInjection v6.0.1 #1390
-Source Link for code generators fails #1322
-Await foreach has wrong branch coverage when method is generic #1210
-ExcludeFromCodeCoverage attribute on local functions ignores lambda expression #1302

Added

-Added InstrumentModulesWithoutLocalSources setting #1360 by @​TFTomSun

Diff between 3.1.2 and 3.2.0

v5.7.2

Fixed -Fix CoreLib's coverage measurement is broken #1286 -Fix UnloadModule injection 1291

Diff between 3.1.1 and 3.1.2

v5.7.1

Fixed -Fix wrong branch coverage with EnumeratorCancellation attribute #1275 -Fix negative coverage exceeding int.MaxValue #1266 -Fix summary output format for culture de-DE #1263 -Fix branch coverage issue for finally block with await #1233 -Fix threshold doesn't work when coverage empty #1205 -Fix branch coverage issue for il switch #1177 -Fix branch coverage with using statement and several awaits#1176 -Fix CopyCoverletDataCollectorFiles to avoid to override user dlls for dotnet publish scenario #1243

Improvements -Improve logging in case of exception inside static ctor of NetstandardAwareAssemblyResolver #1230 -When collecting open the hitfile with read access #1214 by https://github.com/JamesWTruher

... (truncated)

Commits
--- src/ActionsTests/ActionsTests.csproj | 2 +- src/AutomationTests/AutomationTests.csproj | 2 +- src/CLITests/CLITests.csproj | 2 +- src/CoreTests/CoreTests.csproj | 2 +- src/DesktopTests/DesktopTests.csproj | 2 +- src/MsiFileTests/MsiFileTests.csproj | 2 +- .../OldFileVersionCompatibilityTests.csproj | 2 +- src/RuleSelectionTests/RuleSelectionTests.csproj | 2 +- src/RulesTest/RulesTests.csproj | 2 +- src/TelemetryTests/TelemetryTests.csproj | 2 +- src/Win32Tests/Win32Tests.csproj | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/ActionsTests/ActionsTests.csproj b/src/ActionsTests/ActionsTests.csproj index 0106eb3ba..199e97098 100644 --- a/src/ActionsTests/ActionsTests.csproj +++ b/src/ActionsTests/ActionsTests.csproj @@ -15,7 +15,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/AutomationTests/AutomationTests.csproj b/src/AutomationTests/AutomationTests.csproj index a7543b5e2..2edb76844 100644 --- a/src/AutomationTests/AutomationTests.csproj +++ b/src/AutomationTests/AutomationTests.csproj @@ -15,7 +15,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/CLITests/CLITests.csproj b/src/CLITests/CLITests.csproj index 86245510f..f8aac74eb 100644 --- a/src/CLITests/CLITests.csproj +++ b/src/CLITests/CLITests.csproj @@ -7,7 +7,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/CoreTests/CoreTests.csproj b/src/CoreTests/CoreTests.csproj index e6bba4b79..57cda8c44 100644 --- a/src/CoreTests/CoreTests.csproj +++ b/src/CoreTests/CoreTests.csproj @@ -15,7 +15,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/DesktopTests/DesktopTests.csproj b/src/DesktopTests/DesktopTests.csproj index ce52606ab..54883883d 100644 --- a/src/DesktopTests/DesktopTests.csproj +++ b/src/DesktopTests/DesktopTests.csproj @@ -38,7 +38,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/MsiFileTests/MsiFileTests.csproj b/src/MsiFileTests/MsiFileTests.csproj index c0ab11400..a42022061 100644 --- a/src/MsiFileTests/MsiFileTests.csproj +++ b/src/MsiFileTests/MsiFileTests.csproj @@ -14,7 +14,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/OldFileVersionCompatibilityTests/OldFileVersionCompatibilityTests.csproj b/src/OldFileVersionCompatibilityTests/OldFileVersionCompatibilityTests.csproj index 1afdd6120..bf2132186 100644 --- a/src/OldFileVersionCompatibilityTests/OldFileVersionCompatibilityTests.csproj +++ b/src/OldFileVersionCompatibilityTests/OldFileVersionCompatibilityTests.csproj @@ -15,7 +15,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/RuleSelectionTests/RuleSelectionTests.csproj b/src/RuleSelectionTests/RuleSelectionTests.csproj index 3eeb72d57..ab3adf1a2 100644 --- a/src/RuleSelectionTests/RuleSelectionTests.csproj +++ b/src/RuleSelectionTests/RuleSelectionTests.csproj @@ -14,7 +14,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/RulesTest/RulesTests.csproj b/src/RulesTest/RulesTests.csproj index 71750cccc..80c095e68 100644 --- a/src/RulesTest/RulesTests.csproj +++ b/src/RulesTest/RulesTests.csproj @@ -15,7 +15,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/TelemetryTests/TelemetryTests.csproj b/src/TelemetryTests/TelemetryTests.csproj index dd84abfa0..932e34674 100644 --- a/src/TelemetryTests/TelemetryTests.csproj +++ b/src/TelemetryTests/TelemetryTests.csproj @@ -15,7 +15,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Win32Tests/Win32Tests.csproj b/src/Win32Tests/Win32Tests.csproj index 76574a40a..8bbaa1ea1 100644 --- a/src/Win32Tests/Win32Tests.csproj +++ b/src/Win32Tests/Win32Tests.csproj @@ -15,7 +15,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive