Skip to content

Releases: SteveGilham/altcover

Habu series release 11

29 Jan 10:49
Compare
Choose a tag to compare

8.2.835

  • [BUGFIX] Fix tracked methods in the Merge-OpenCover cmdlet
  • [BUGFIX] Fix blocking issue in Cake support; and add operational test
  • Move Fake.Build support to 5.21 as minimum; updating other supporting libraries

Habu series release 10

12 Dec 19:09
Compare
Choose a tag to compare

8.2.833

  • [BUGFIX] Work-round more (problems with ill-formed debug data)[https://github.com/jbevain/cecil/issues/816] (issue #135)
  • [BUGFIX] An infinite loop while instrumenting when faced with an inner function that is also a closure (also issue #135)
  • [BUGFIX] Address issue #71 by pre-allocating storage for each instrumented assembly; rather than allocating on demand, with any timing related issues not adequately dealt with subject to catch-and-ignore
  • For instrumented assemblies, write embedded debug symbols, independent of the input choice.
  • Improved release note formatting
  • Some overhaul and updating of neglected parts of the build and test script
  • Reduce to a minimum the differences in the source between the net20 and net46-for-async versions of the recorder; then just rewrite the net20 version with the delta on demand.
  • Some minor improvements to the data collector for dotnet test use, with example of how to employ explicitly in AltCover "classic" mode in the "UnitTestWithAltCoverCore" fake build target

Habu series release 9

27 Nov 17:15
Compare
Choose a tag to compare

8.2.831

  • [BUGFIX] Make the static-linked parts of the recorder assembly internal, so only the AltCover instrumentation API is exposed -- removes type duplications from the environment that may confuse run-time assembly creation e.g. by Marten (issue #133)
  • For CallContext, add async-aware tracking for all methods returning Task or Task<T> not just ones with the C# async shape. This includes functions returning the new F#6 task{} computation expression.
    • Note there is a support gap : running this under .net Framework less than v4.6 (i.e. a test machine with a pre-2015-JUL-20 environment) will not work, even though Task is a .net 4.0 feature, as the tracking support relies on .net 4.6 async features.
  • Emit (a warning)[https://stevegilham.github.io/altcover/AltCover.Engine/AltCover/AltCover.LoggingOptions/Warn-apidoc] if any of the files input to the instrumentations have previously been instrumented, leaving those files untouched (apart from any Recorder assembly, which will still be overwritten). For dotnet test this is an MSBuild warning, for powershell, it is delivered via Cmdlet.WriteWarning.
    • This behaviour is subject to change in future releases
  • Rework of the build process to keep artifacts out of the tracked directories

Habu series release 8

13 Nov 13:16
Compare
Choose a tag to compare

8.2.828

  • Absorb .net 6 release into build tooling (awaiting a non-preview updated release of (fake.build)[https://fake.build/] to be able to upgrade to FSharp.Core 6.x -- still have to target the v5.x library even if the build uses the F#6 compiler)
  • Where the debug symbols used in the instrumentation contain embedded source (e.g. from source generators), represent that within the generated report --
    • for OpenCover format, as an altcover.embed attribute added to the File element
    • for NCover classic, altcover.file elements are added after the method records in a module, with attributes document and embed
    • and for the extended coverlet JSON format, as a type «AltCover.embed» with an empty method with name being the embedded text.
  • [VISUALIZER] Support the extended formats for display, using the embedded source in preference to the file system whenever present
  • Support these extensions in conversions between formats -- conversion to Lcov and Cobertura currently lose this information
  • Other fixes/enhancements to these conversions, esp. in the cases of partial classes and inlined code
  • Compute summary data correctly in the output from Json to OpenCover
  • Carry both recorder versions (net20 and net46) as resources to simplify self-test behaviour
  • Move baseline Cake support to v1.1.0 and Fake to v5.20.4

Habu series release 7

22 Oct 11:13
Compare
Choose a tag to compare

8.2.825

  • Next release will be post .net 6 release to accommodate its impact, barring show-stoppers
  • [BUGFIX] As noted in Q&A discussion (#107), satellite assemblies, and in issue #47 platform specific library subfolders, were not being copied appropriately relative to the instrumented location; this is now resolved.
  • [BUGFIX] Prevent --localSource possibly excluding locally built assemblies using source generators.
  • [VISUALIZER] Fixes and updates
    • On the global tool, don't put expander icons (˃) on leaf nodes, i.e. most methods, all source -- such icons are an automatic feature in GTK, but are manual in Avalonia.
    • Don't throw while trying to determine if a file that doesn't exist is outdated

Habu series release 6c

09 Sep 18:01
Compare
Choose a tag to compare

8.2.824

  • [VISUALIZER] Fixes and updates
    • [REGRESSION] Fix where multiple source file support broke JSON coverage support
    • Not all coverage reports are XML -- fix root node icon
    • Add more icons indicating non-default states (files missing, changed, via sourcelink &c)
    • Replace most of the annoying pop-ups with tool-tips

Habu series release 6b

05 Sep 21:05
Compare
Choose a tag to compare

8.2.823

  • [VISUALIZER] Fixes and updates
    • [REGRESSION] Fix where multiple source file support broke methods with no source file
    • [BUGFIX] Fix where some types were erroneously shown as functions (ƒₓ)
    • Allow for TAB characters (which occupy 1 column only in the .PDB), and display → rather than ◻ in the global tool (TAB expands to 8 spaces in the GTK# build)
    • Update icons to VS2019 from VS2017 (except where taken from GTK in the GTK# build), which means slightly more colours in the tree view, and a small change to the branch indicator.

[DEPRECATED] Habu series release 6a

02 Sep 20:08
Compare
Choose a tag to compare

8.2.822

  • [VISUALIZER] Support OpenCover's output from C++/CLI assemblies compiled /Zi (line information only, zero column values)
    • account for (& simplify) the C++/CLI attribute decorations in method names
    • allow for (& simplify) gcroot<type::with::Cpp::namespacing ^> types in method names
    • allow source file selection for methods with code inlined from multiple source files

Habu series release 6

21 May 15:12
Compare
Choose a tag to compare

8.2.821

  • Support deterministic builds /p:ContinuousIntegrationBuild=true, with or without --sourcelink//p:AltCoverSourceLink=true. Note that assemblies created by deterministic builds will be excluded by -l//p:AltCoverLocalSource=true.
  • Experiment with the ReadMe feature recently added to NuGet
  • Internal refactoring of the JSON processing following the replacement of System.Text.Encodings.Web in the previous release.

Habu series release 5

26 Apr 13:10
Compare
Choose a tag to compare

8.2.820

  • Replace System.Text.Encodings.Web for JSON-escaping module, class and method names
  • [BUGFIX] issue #125 -- prevent an NullReferenceException is some cases of computing cyclomatic complexity (a failure to exactly copy the algorithm from Mono.Gendarme)
  • [ENHANCEMENT; API] issue #126 -- further generalise the relative-directory support for CopyAlways/CopyIfNewer from v7.4; extends the ContingentCopy MSBuild task