Skip to content

Releases: coverlet-coverage/coverlet

v6.0.2

13 Mar 00:19
04ba205
Compare
Choose a tag to compare

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

19 Feb 17:04
440a26a
Compare
Choose a tag to compare

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

21 May 13:27
6427ae3
Compare
Choose a tag to compare

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

v5.8.0

29 Oct 15:24
e2c9d84
Compare
Choose a tag to compare

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

06 Feb 16:42
1e74dd4
Compare
Choose a tag to compare

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

30 Jan 11:19
df968b8
Compare
Choose a tag to compare

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
-Add CompilerGenerated attribute to the tracker #1229

Diff between 3.1.0 and 3.1.1

v5.7.0

19 Jul 18:22
383684f
Compare
Choose a tag to compare

Fixed
-Fix branch coverage for targetframework net472 #1167
-Fix F# projects with unkown source #1145
-Fix SkipAutoProps for inline assigned properties #1139
-Fix partially covered throw statement #1144
-Fix coverage threshold not failing when no coverage #1115
-Fix partially covered await foreach statement #1107 by https://github.com/alexthornton1
-Fix System.MissingMethodException(TryGetIntArgFromDict) #1101
-Fix ExcludeFromCodeCoverage on props #1114
-Fix incorrect branch coverage with await using #1111 by https://github.com/alexthornton1

Added
-Support deterministic reports #1113
-Specifying threshold level for each threshold type #1123 by https://github.com/pbmiguel

Improvements
-Implementation of Npath complexity for the OpenCover reports #1058 by https://github.com/benjaminZale

Diff between 3.0.3 and 3.1.0

v5.6.3

21 Feb 13:05
963469a
Compare
Choose a tag to compare

Fixed
-Fix code coverage stops working if assembly contains source generators generated file #1091

Diff between 3.0.2 and 3.0.3

v5.6.2

24 Jan 13:29
fb15bcd
Compare
Choose a tag to compare

Fixed
-Fix multi-line lambda coverage regression #1060
-Opt-in reachability helper to mitigate resolution issue #1061

Diff between 3.0.1 and 3.0.2

v5.6.1

16 Jan 10:42
aaed9a5
Compare
Choose a tag to compare

Fixed
-Fix severe loss in coverage #1043 by https://github.com/daveMueller