Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency coverlet.collector to v6 #145

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 16, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
coverlet.collector 1.3.0 -> 6.0.2 age adoption passing confidence

Release Notes

coverlet-coverage/coverlet (coverlet.collector)

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 processhttps://github.com/coverlet-coverage/coverlet/issues/11555
-Incorrect coverage for methods returning IAsyncEnumerable in generic classeshttps://github.com/coverlet-coverage/coverlet/issues/13833
-Wrong branch coverage for async methods .NET Standard 1.xhttps://github.com/coverlet-coverage/coverlet/issues/13766
-Empty path exception in visual basic projectshttps://github.com/coverlet-coverage/coverlet/issues/7755
-Align published nuget package version to github release versionhttps://github.com/coverlet-coverage/coverlet/issues/14133
-Sync nuget and github release versionshttps://github.com/coverlet-coverage/coverlet/issues/11222

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

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

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 - 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 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 force-pushed the renovate/coverlet.collector-6.x branch from 4fec568 to 84eb85f Compare October 29, 2024 12:54
@renovate renovate bot force-pushed the renovate/coverlet.collector-6.x branch from 84eb85f to 7278d1e Compare October 29, 2024 15:05
Copy link

Code Coverage

Package Line Rate Branch Rate Complexity Health
Eleia 42% 55% 72
Summary 42% (86 / 203) 55% (23 / 42) 72

@ktos ktos merged commit 11f0768 into master Oct 29, 2024
1 check passed
@renovate renovate bot deleted the renovate/coverlet.collector-6.x branch October 29, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant