Skip to content

Releases

v10.1.1

Choose a tag to compare

@daveMueller daveMueller released this 15 Nov 23:17
a84a5a9

Improvements

  • Add IsReachable to branch points, computed from the method's control-flow graph, and exclude unreachable branches from branch-coverage totals and from branch details in Cobertura, LCOV and OpenCover reports #2056 by @pcshrosbree
  • coverlet.MTP: Narrow Dynamic Exclude Filters for Loaded Assemblies #2069

Fixed

  • Fix Regression Prevent invalid IL from branch trampolines #2067
  • Fix Regression coverlet.MTP does not instrument local functions #2046

Maintenance

  • Update NuGet package versions #2050

Diff between 10.1.0 and 10.1.1

v10.1.0

Choose a tag to compare

@daveMueller daveMueller released this 27 Sep 12:34
10a8051

Improvements

  • Publish Microsoft.Testing.Platform coverage messages from coverlet.MTP #2019
  • Implement dynamic exclusion filters for assemblies (Coverlet.MTP) #1946
  • Replace legacy .sln files with modern .slnx format #1966
  • coverlet.console: add trace diagnostics and actionable warnings for instrumentation/hit/empty-result failures #2005
  • Relax auto-property skip logic and improve coverage for records #1941

Fixed

  • Fix coverlet.MTP does not collect coverage on the .NET Framework portion of a large project #1980 #1967
  • Fix Regression in branch coverage for lambda expressions #1938
  • Fix When using "is" with "or" in pattern matching, branch coverage is lower than normal #1979
  • Fix silent zero coverage on .NET Framework since 8.0.0 #1985 by @tobiwae
  • Fix Race condition between ProcessExit hit-file write and out-of-proc coverage read causes EndOfStreamException #1987 #1988 by @bkoelman
  • Fix Regression TypeInitializationException when targeting .NET Framework - Could not load type 'System.Collections.Concurrent.ConcurrentBag #2010
  • Fix use --config-file CLI arg in coverlet.MTP #2030 by @alexthornton1
  • Fix silently empty coverage for shared-framework assemblies missing from compileLibraries #2032 by @Eljees

Diff between 10.0.1 and 10.1.0

v10.0.1

Choose a tag to compare

@daveMueller daveMueller released this 18 May 08:18

Improvements

Fixed

  • Fix inconsistent paths in cobertura reports #1723
  • Fix when using "is" with "and" in pattern matching, branch coverage is lower than normal #1313
  • Fix Coverlet flagging a branch for an async functions finally block where none exists #1337
  • Fix Coverlet Tracker Missing CompilerGeneratedAttribute #1828

Maintenance

  • Add architecture docs and diagrams for all integrations #1927
  • Update NuGet packages and .NET SDK versions #1933

Diff between 10.0.0 and 10.0.1

v10.0.0

Choose a tag to compare

@daveMueller daveMueller released this 17 Apr 13:26
3965a84

Improvements

  • Unique Report Filenames (coverlet.MTP and AzDO) #1866
  • Add --coverlet-file-prefix option for unique report files #1869
  • Introduce .NET 10 support #1823

Fixed

  • Fix [BUG] Wrong branch rate on IAsyncEnumerable for generic type #1836
  • Fix [BUG] Missing Coverage after moving to MTP #1843
  • Fix [BUG] No coverage reported when targeting .NET Framework with 8.0.1 #1842
  • Fix [BUG] Behavior changes between MTP and Legacy (msbuild) #1878
  • Fix [BUG] Coverlet.MTP - Unable to load coverlet.mtp.appsettings.json #1880
  • Fix [BUG] Coverlet.Collector produces empty report when Mediator.SourceGenerator is referenced #1718 by https://github.com/yusyd
  • Fix [BUG] Crash during instrumentation (Methods using LibraryImport/DllImport have no body) #1762

Maintenance

  • Add comprehensive async method tests and documentation for issue #1864
  • Replace Tmds.ExecFunction Package in coverlet.core.coverage.tests #1833
  • Add net9.0 and net10.0 targets #1822

Diff between 8.0.1 and 10.0.0

v8.0.1

Choose a tag to compare

@github-actions github-actions released this 17 Mar 08:31

Fixed

  • Fix [BUG] TypeInitializationException when targeting .NET Framework #1818
  • Fix [BUG] coverlet.MTP build fails with CS0400 due to developmentDependency=true #1827

Improvements

  • Additional improvements needed for .NET Framework instrumentation type import #1825

Diff between 8.0.0 and 8.0.1

v8.0.0

Choose a tag to compare

@daveMueller daveMueller released this 14 Feb 23:59
4492648

Special Thanks: A huge thank you to @Bertk for driving the majority of the work in this release! 🎉

Fixed

  • Fix System.CommandLine 2.0 release is available #1776
  • Fix Excluding From Coverage bad defaults from given example #1764
  • Fix branchpoint exclusion for sdk 8.0.407 #1741
  • Fix missing copyright information in NuGet #1794
  • Fix bad default values in documentation #1764 by https://github.com/cboudereau

Improvements

  • Coverlet MTP extension feature #1788
  • Generate SBOM for nuget packages #1752
  • Use multi targets projects for coverlet.collector, coverlet.msbuild.tasks packages #1742
  • Use .NET 8.0 target framework for coverlet.core and remove Newtonsoft.Json #1733
  • Use latest System.CommandLine version #1660
  • Upgraded minimum required .NET SDK and runtime to .NET 8.0 LTS (Long Term Support) (Breaking Change)
  • Use xunit.v3 for tests and example code

Diff between 6.0.4 and 8.0.0

v6.0.4

Choose a tag to compare

@daveMueller daveMueller released this 19 Jan 23:36

Fixed

  • Fix empty coverage report when using include and exclude filters #1726

Diff between 6.0.3 and 6.0.4

v6.0.3

Choose a tag to compare

@daveMueller daveMueller released this 31 Dec 00:03
fc40a26

Fixed

  • Fix RuntimeConfigurationReader to support self-contained builds #1705 by https://github.com/pfeigl
  • Fix inconsistent filenames with UseSourceLink after .NET 8 #1679
  • Fix hanging tests #989
  • Fix coverlet instrumentation becomes slow after installing dotnet sdk 8.0.200 #1620
  • Fix upgrading v6.0.1 to v6.0.2 increases instrumentation time #1649
  • Fix Unable to instrument module - NET 8 #1631
  • Fix slow modules filtering process #1646 by https://github.com/BlackGad
  • Fix incorrect coverage await using in generic method #1490

Improvements

  • Cache the regex used in InstrumentationHelper #1693
  • Enable dotnetTool integration tests for linux #660

Diff between 6.0.2 and 6.0.3

v6.0.2

Choose a tag to compare

@daveMueller daveMueller released this 13 Mar 00:19
04ba205

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

Choose a tag to compare

@daveMueller daveMueller released this 19 Feb 17:04
440a26a

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