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

Bump altcover from 6.1.708 to 8.2.833 #97

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 13, 2021

Bumps altcover from 6.1.708 to 8.2.833.

Release notes

Sourced from altcover's releases.

Habu series release 10

8.2.833

  • [BUGFIX] Work-round more (problems with ill-formed debug data)[https://github-redirect.dependabot.com/System.IndexOutOfRangeException resolving local scopes in Cecil 0.11.4 jbevain/cecil#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

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

... (truncated)

Changelog

Sourced from altcover's changelog.

Previously

8.1.819 (Habu series release 4)

  • Adapt to recent F# compiler optimizations that make function objects static if they don't close over their environment -- properly detect their owner functions for exclusion and for JSON format output
  • If the report format is JSON, ensure that the coverage file doesn't end .xml, and if not JSON, that it doesn't end .json (case-blind comparison)

8.1.817 (Habu series release 3)

  • Merge-OpenCover cmdlet and OpenCover.Merge API. It should handle both strict (OpenCover, AltCover --reportFormat=OpenCover) and more relaxed (coverlet, ConvertFrom-CoverageJson, Write-OpenCoverDerivedState -Coverlet) interpretations
  • When --callContext indicates a method returning an F# async computation, then track all calls within the same async flow, just as with C# async methods from v7.2.800

8.0.816 (Habu series release 2)

  • Move to Cake 1.0 as baseline for Cake support
  • [VISUALIZER] Support for LCov and Cobertura format reports
  • [VISUALIZER] For formats with only line-level information (e.g. LCov, Covertura or from coverlet), colour the whole line, and not just the line number gutter

8.0.815 (Habu series release 1)

  • [BUGFIX] Issue 122 -- rework the method name tokenization for extracting the returnType (argumentList) signature values in the Cobertura output, fixing an off-by-one error that generated returnType argumentList) without the ( as well as the headline exception.
  • [NEW] Native JSON report formatting (--reportFormat=Json or equivalents), a superset of coverlet's JSON
    • AltCover classic mode -- just running the instrumented code and collecting results in the ProcessExit handler -- is not supported with --reportFormat=Json
    • ConvertFrom-CoverageJson cmdlet to convert from coverlet or AltCover JSON to a miminal OpenCover format
    • Preparing as Native JSON, to generate an LCov or Cobertura report at collection is supported
  • [VISUALIZER] Both versions will now consume and display from coverlet and AltCover JSON output
  • [BREAKING] the -x, --xmlReport argument or equivalent becomes just -r, --report since not all reports are XML
  • [BREAKING] the stop-gap --jsonReport collection option from v7.6 is withdrawn, and the related ConvertTo-CoverageJson cmdlet now produces the AltCover native JSON format
  • For both LCov and Cobertura output, coalesce cases of multiple sequence points per line into one entry per line
  • Extensions to coverlet's JSON format are as follows
    • Method has optional fields
      • SeqPnts (array of SeqPnt)
      • TId (integer tracking ID)
      • Entry and
      • Exit (arrays of timestamps)
    • BranchInfo has optional fields
    • Id (integer unique ID)
    • Times (array of timestamps) and
    • Tracks (array of tracking IDs)
    • SeqPnt is VC (visit count), SL (start line), SC (start column), EL, EC (ditto for end), Offset, Id, all integers, and optional Times and Tracks as for BranchInfo
    • Because int64 doesn't fit as a double, tracking-related timestamps are represented as Base64Encoded strings of the ticks count as a network byte order quantity Convert.ToBase64String(BitConverter.GetBytes(IPAddresss.HostToNetworkOrder(ticks)))

7.6.812 (Genbu series release 15)

  • [VISUALIZER] Move the global tool to the new 0.10 AvaloniaUI release
  • Monitor API
    • [BUGFIX] Harden the monitor API TryGetVisitTotals against race conditions in multi-threaded tests
    • Publish the AltCover.Monitor API as API (i.e. under lib/) in the main package altcover as well as in altcover.api (but not in altcover.global; global tools aren't library compatible to be accessed through a package add reference). It's there next to the PowerShell assembly (per altcover ImportModule) if you want to manually link to it, though
    • Support writing unit tests involving the API back to net20 as well as netstandard2.0
  • Add --jsonReport option (and equivalents) to output the NCover or OpenCover data in a minified JSON format, like the existing --lcovReport option does for that format. The JSON is a direct map of the XML, with values appropriately typed.
  • Add a ConvertTo-CoverageJson cmdlet and a ConvertToJson toolkit API to post-precess existing NCover/OpenCover reports

7.5.809 (Genbu series release 14)

  • [NEW] AltCover.Monitor API to track current coverage from running unit tests. Current implementation requires dotnet test, or other command-line testing with --defer set, in which the cumulative visit numbers are available, rather than everything having been dumped to file instead.
  • [BUGFIX] In OpenCover format output, only emit <File /> records relevant to the respective module, not for all source files encountered so far.

... (truncated)

Commits
  • 06a78df Merge branch 'feature/staging' into release/Habu
  • 11e12c2 Preparing for release
  • eb7a10a Merge branch 'develop/delta' into develop/Habu
  • e64bb8a Simplify the recorder async process by storing and writing just a delta
  • 510ebde Update release notes
  • daf2636 Merge branch 'develop/issue-135' into develop/Habu
  • 617ce94 Fix issue #135 second part - infinite loop in visiting
  • 7692c81 Speculative fix for github/windows build failure
  • 2665f38 Update release notes
  • 895115f Revert "Note the IL differences"
  • 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.833.
- [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.833)

---
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 Dec 13, 2021
@codecov
Copy link

codecov bot commented Dec 13, 2021

Codecov Report

Merging #97 (68cb94b) into master (cd9ae2d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #97   +/-   ##
=======================================
  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...68cb94b. Read the comment docs.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jan 31, 2022

Superseded by #98.

@dependabot dependabot bot closed this Jan 31, 2022
@dependabot dependabot bot deleted the dependabot/nuget/altcover-8.2.833 branch January 31, 2022 04:11
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.

0 participants