Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Nov 29, 2021

Bumps altcover from 6.1.708 to 8.2.831.

Release notes

Sourced from altcover's releases.

Habu series release 9

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

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

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)](Q&A General discussion SteveGilham/altcover#107), satellite assemblies, and in [issue #47](SteveGilham/altcover#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

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

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

8.2.822

... (truncated)

Changelog

Sourced from altcover's changelog.

Previously

7.4.808 (Genbu series release 13)

  • [BUGFIX] In some use cases, the error The "AltCover.ContingentCopy" task was not given a value for the required parameter "FileName". could be provoked by dotnet test (Issue #113)
  • Extend to other Build Action types (at least all those that my VS2019 Community Edition was prepared to mention) the "If /p:AltCoverInPlace is not true, then copy all files in the project included as <[Action] Include="./[some subdirectory]/..." with CopyToOutputDirectory of Always or PreserveNewest to the appropriate relative location wrt the intrumented files" behaviour added for the None action in the previous release. File an issue report if you have yet another build action type that you need copying for a not-in-place test scenario.

7.4.807 (Genbu series release 12)

  • [MAYBE BREAKING] Set InPlace default to false uniformly across the API
    • Add dotnet test command line option /p:AltCoverInPlace=true|false (default false)
    • If /p:AltCoverInPlace=true then /p:AltCoverForce=true has its pre-v7.3.805 meaning
    • Wire up "InPlace" to the Fake DotNet.test driver for the above
    • If /p:AltCoverInPlace is not true, then copy all files in the project included as <None Include="./[some subdirectory]/..." with CopyToOutputDirectory of Always or PreserveNewest to the appropriate relative location wrt the intrumented files
    • NB /p:AltCoverInPlace=true will not play well with the concurrent instrument-and-test behaviour of dotnet test [multipletestprojects].sln /p:AltCover="true" --output [commonArtifactsFolder]
  • Allow --callContext and --single together, which will log at most one visit per context per location, not just one visit per location

7.3.806 (Genbu series release 11a)

  • [BUGFIX] Handle concurrent instrumentation in the case dotnet test [multipletestprojects].sln /p:AltCover="true" --output [commonArtifactsFolder]

7.3.805 (Genbu series release 11)

  • Extra detection and removal of compiler generated branches in C# async/await constructs
  • Revise the whole dotnet test integration
    • Will support SDK versions back at least to v2.1.809, but v2.1.300 is definitely now out of support due to API changes to the Microsoft.TestPlatform.Build.Tasks.VSTestTask task in the interim
    • Rather than copy/instrument back to $(TargetDir)/clean and copy-back, now instrument to a new directory and test there; there are now no worries about instrumented code ever being in the actual build artifact output directory
    • /p:AltCoverForce=true now simply clears the instrumentation target directory, and gives an informational message only
    • Resolve the instrumentation directory once and only once -- prevents inconsistent handling in the case where command line parameter--output redirects $(TargetDir) part-way through the process
  • Some refactoring and other build process improvements

7.3.802 (Genbu series release 10)

  • Add a -qoption for AltCover, given once suppresses informational messages, twice also suppresses warnings and thrice also suppresses errors. Away from the command line, the option is called Verbosity, and is based on System.Diagnostics.TraceLevel -- the default level being Info, with Warning, Error and Off equivalent to -q, -qq and -qqq respectively. For the moment Verbose is the same as Info
  • Other minor build process improvements

7.2.801 (Genbu series release 9)

  • [BUGFIX] Don't ArgumentNullException when running the --callContext for async feature off the build machine
  • [BUGFIX] Refactor to avoid "System.ArgumentException: An item with the same key has already been added. Key: AltCover.Recorder.g/7.2.0.0" that could occur in some rare circumstances while instrumenting code.
  • Other minor build process improvements

7.2.800 (Genbu series release 8)

  • [BUGFIX] Don't produce invalid IL when --callContext indicates a method with a non-void return (issue #105, and probably #26 too)
  • [BUGFIX] Restore application icons, even if they only show in the .exe forms (lost in 7.1.795 if not before)
  • [BUGFIX] Add AltCover prefix to MSBuild property names NetCoreEngine, NetStdEngine (global), InputDirectory and OutputDirectory (target-scoped) in the injected .targets file for dotnet test integration.
  • [BUGFIX] Let the AvaloniaUI based visualizer roll forwards from netcoreapp2.1 onto later runtimes
  • Finer-grained control of the coverage summary output
  • When --callContext indicates an async method, then track all calls within the same async flow, and not just in the direct same-thread call stack. Note other out-of-thread calls (Thread.Start, Parallel.Invoke, explict Async-named method invocation, ...) are not tracked.
  • Build with net5.0 SDK (modulo work-round for dotnet/fsharp#10442) in net5-only environments
    • Still build AltCover.exe/.dll against net472 for framework support, netcoreapp2.1 for the global tool and netcoreapp2.0 for everywhere else
    • Still build the GTK2 visualizer against net472 for consistency
    • Still build the recorder at net20 and use that assembly everywhere (see F# compiler issue noted above) except where a net46 version is substituted for tracking through async calls
    • Move unit tests to net5.0, as they are not public API

7.1.795 (Genbu series release 7)

... (truncated)

Commits
  • a9f3a87 Merge branch 'develop/Habu' into feature/pre-release
  • 8c5e7d5 Update to VS2022 on AppVeyor, and have another go-around
  • 36e3b1d Merge branch 'develop/Habu' into develop/github/retake
  • a55539e Tidy the ApiUse build
  • 2ae70ce Merge branch 'develop/Habu' into release/Habu
  • b202535 Ready to release
  • a8abc54 Refactoring and cleaning up
  • 5afb57f Tool update
  • 3e27c28 Merge the MVid fixup into the MCS build
  • c4ae555 Separate rather than comment out this action
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [altcover](https://github.com/SteveGilham/altcover) from 6.1.708 to 8.2.831.
- [Release notes](https://github.com/SteveGilham/altcover/releases)
- [Changelog](https://github.com/SteveGilham/altcover/blob/master/ReleaseNotes%20-%20Previously.md)
- [Commits](SteveGilham/altcover@release/v6.1.708...release/v8.2.831)

---
updated-dependencies:
- dependency-name: altcover
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 29, 2021
@codecov
Copy link

codecov bot commented Nov 29, 2021

Codecov Report

Merging #96 (4a2e54a) into master (cd9ae2d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #96   +/-   ##
=======================================
  Coverage   36.18%   36.18%           
=======================================
  Files          19       19           
  Lines         152      152           
  Branches        9        9           
=======================================
  Hits           55       55           
  Misses         93       93           
  Partials        4        4           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd9ae2d...4a2e54a. Read the comment docs.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Dec 13, 2021

Superseded by #97.

@dependabot dependabot bot closed this Dec 13, 2021
@dependabot dependabot bot deleted the dependabot/nuget/altcover-8.2.831 branch December 13, 2021 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant