Skip to content

Commit

Permalink
MINOR: [C#] Bump coverlet.collector from 1.2.0 to 6.0.0 in /csharp (#…
Browse files Browse the repository at this point in the history
…36596)

Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 1.2.0 to 6.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/coverlet-coverage/coverlet/releases">coverlet.collector's releases</a>.</em></p>
<blockquote>
<h2>v6.0.0</h2>
<p>Fixed
-Could not write lines to file CoverletSourceRootsMapping - in use by another process <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1155">coverlet-coverage/coverlet#1155</a><br />
-Incorrect coverage for methods returning IAsyncEnumerable in generic classes <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1383">coverlet-coverage/coverlet#1383</a><br />
-Wrong branch coverage for async methods .NET Standard 1.x <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1376">coverlet-coverage/coverlet#1376</a><br />
-Empty path exception in visual basic projects <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/775">coverlet-coverage/coverlet#775</a><br />
-Align published nuget package version to github release version <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1413">coverlet-coverage/coverlet#1413</a><br />
-Sync nuget and github release versions <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1122">coverlet-coverage/coverlet#1122</a></p>
<p>Improvements
-Migration of the project to .NET 6.0 <a href="https://redirect.github.com/coverlet-coverage/coverlet/pull/1473">coverlet-coverage/coverlet#1473</a></p>
<p>Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic assembly exclusion <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1164">coverlet-coverage/coverlet#1164</a>. 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.</p>
<p><a href="https://github.com/coverlet-coverage/coverlet/compare/v5.7.2...v6.0.0">Diff between 3.2.0 and 6.0.0</a></p>
<h2>v5.8.0</h2>
<h3>Fixed</h3>
<p>-Fix TypeLoadException when referencing Microsoft.Extensions.DependencyInjection v6.0.1 <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1390">#1390</a><br />
-Source Link for code generators fails <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1322">#1322</a><br />
-Await foreach has wrong branch coverage when method is generic <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1210">#1210</a><br />
-ExcludeFromCodeCoverage attribute on local functions ignores lambda expression <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1302">#1302</a></p>
<h3>Added</h3>
<p>-Added InstrumentModulesWithoutLocalSources setting <a href="https://redirect.github.com/coverlet-coverage/coverlet/pull/1360">#1360</a> by <a href="https://github.com/TFTomSun"><code>@​TFTomSun</code></a></p>
<p><a href="https://github.com/coverlet-coverage/coverlet/compare/v5.7.2...v5.8.0">Diff between 3.1.2 and 3.2.0</a></p>
<h2>v5.7.2</h2>
<p>Fixed
-Fix CoreLib's coverage measurement is broken <a href="https://redirect.github.com/coverlet-coverage/coverlet/pull/1286">#1286</a>
-Fix UnloadModule injection <a href="https://redirect.github.com/coverlet-coverage/coverlet/pull/1291">1291</a></p>
<p><a href="https://github.com/coverlet-coverage/coverlet/compare/v5.7.1...v5.7.2">Diff between 3.1.1 and 3.1.2</a></p>
<h2>v5.7.1</h2>
<p>Fixed
-Fix wrong branch coverage with EnumeratorCancellation attribute <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1275">#1275</a> -Fix negative coverage exceeding int.MaxValue <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1266">#1266</a>
-Fix summary output format for culture de-DE <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1263">#1263</a>
-Fix branch coverage issue for finally block with await <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1233">#1233</a>
-Fix threshold doesn't work when coverage empty <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1205">#1205</a>
-Fix branch coverage issue for il switch <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1177">#1177</a>
-Fix branch coverage with using statement and several awaits#1176
-Fix CopyCoverletDataCollectorFiles to avoid to override user dlls for dotnet publish scenario <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1243">#1243</a></p>
<p>Improvements
-Improve logging in case of exception inside static ctor of NetstandardAwareAssemblyResolver <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1230">#1230</a>
-When collecting open the hitfile with read access <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1214">#1214</a> by <a href="https://github.com/JamesWTruher">https://github.com/JamesWTruher</a></p>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/coverlet-coverage/coverlet/commit/6427ae3c87494fc04e576bd367c22153f92699fd"><code>6427ae3</code></a> Rebrand for next version 6.0.1 (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1478">#1478</a>)</li>
<li><a href="https://github.com/coverlet-coverage/coverlet/commit/b288808ee73c87f34b2e4b0871931674be729ea8"><code>b288808</code></a> Prepare release 6.0.0 (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1477">#1477</a>)</li>
<li><a href="https://github.com/coverlet-coverage/coverlet/commit/4e58654ee6ec406ca8a46b0f3bc7a2f699616e19"><code>4e58654</code></a> Bump Mono.Cecil (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1476">#1476</a>)</li>
<li><a href="https://github.com/coverlet-coverage/coverlet/commit/98b84d207558a08f60dff58f99b2afe69ca72b64"><code>98b84d2</code></a> migration to .net 6.0 (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1473">#1473</a>)</li>
<li><a href="https://github.com/coverlet-coverage/coverlet/commit/d93613826b1a33f894b9c80f6ae893643a8b7254"><code>d936138</code></a> Fixes CoverletSourceRootsMapping issue (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1456">#1456</a>)</li>
<li><a href="https://github.com/coverlet-coverage/coverlet/commit/3bbe50284571b9ae4f3a0f8a08bd66013adb2177"><code>3bbe502</code></a> Update collector docs with info about passing format without runsettings file...</li>
<li><a href="https://github.com/coverlet-coverage/coverlet/commit/a014bf0cd0fdb5a65a24df393d254ae98f7f45f9"><code>a014bf0</code></a> Path is empty for VB My namespace (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1073">#1073</a>)</li>
<li><a href="https://github.com/coverlet-coverage/coverlet/commit/1ff097d22c640a45b65e52156d4a1e3202a53f4a"><code>1ff097d</code></a> Wrong branch coverage for async methods .NET Standard 1.x  (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1433">#1433</a>)</li>
<li><a href="https://github.com/coverlet-coverage/coverlet/commit/04b82c23d8e2f5a37ff3f0648dc1aea120859332"><code>04b82c2</code></a> Incorrect coverage for methods returning IAsyncEnumerable in generic classes ...</li>
<li><a href="https://github.com/coverlet-coverage/coverlet/commit/72d5ee289f859f18c20e70885e52797af09ccd63"><code>72d5ee2</code></a> Large CC XML error (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1428">#1428</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/coverlet-coverage/coverlet/compare/v1.2.0...v6.0.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=coverlet.collector&package-manager=nuget&previous-version=1.2.0&new-version=6.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@ dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@ dependabot rebase` will rebase this PR
- `@ dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@ dependabot merge` will merge this PR after your CI passes on it
- `@ dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@ dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@ dependabot reopen` will reopen this PR if it is closed
- `@ dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@ dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@ dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@ dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
dependabot[bot] authored Aug 7, 2023
1 parent 3937fdb commit 3fdd78d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0" />
<PackageReference Include="coverlet.collector" Version="1.2.0" />
<PackageReference Include="coverlet.collector" Version="6.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 3fdd78d

Please sign in to comment.