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.3.839 #111

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 14, 2022

Bumps altcover from 6.1.708 to 8.3.839.

Release notes

Sourced from altcover's releases.

Habu series release 15

8.3.839

  • [BUGFIX] -- Issue #161: Add retry logic to ContingentCopy task
  • [BUGFIX] -- Issue #165: Work around Cecil issue #873 by omitting debug information for constants that cause that issue. N.B. will not catch cases in methods that are not instrumented.

Habu series release 14

8.3.838

  • [GTK-VISUALIZER] Fix off-by-one error in markup for the very last line of the file
  • [BUGFIX] -- Out-of-process APIs generating dotnet test: fix to allow activating ZipFile, MethodPoint, SingleVisit and SourceLink
  • [BUGFIX] -- Issue #156: Out-of-process APIs generating dotnet test: fix /p:AltCoverDependencyList to work around the behaviour of dotnet test with an argument ending .dll or .exe. Users rolling their own command lines, note that the assembly list is separated and terminated with '|' characters. The --dependency command line argument for the tool is not affected.
  • [BUGFIX] -- Issue #156: Make explicit dependencies through --dependency have priority over other assembly resolution lookup. This works around a Mono.Cecil misfeature (Mono.Cecil issue #863) where the netstandard2.0 Cecil binaries do not consider the GAC for Framework system assemblies, but instead will find stubs in dotnet/shared/Microsoft.NETCore.App for e.g. .net Framework WPF related assemblies
  • [BUGFIX] -- Improve selection of non-embedded symbol files (between location in assembly debug header, the same directory as the assembly and any --symbolDirectory values) to avoid symbol mismatch when there are multiple possible files on offer
  • Add a --verboseoption for AltCover, the converse of -q. Away from the command line, adds meaning to the Verbosity option value System.Diagnostics.TraceLevel.Verbose. Currently Verbose output shows more of the selection of files for instrumentation, noting when files are excluded from the process, symbol file selection etc.
  • Add a matching field, ILoggingOptions.Verbose, to the API as a sink to capture verbose output.
  • Other minor build process adjustments for SDK 6.0.300/F# 6.0.4, 6.0.5

Habu series release 13

8.2.837

  • [VISUALIZER] Critical bug fixes for GTK and Avalonia : mismatched new icon names causing crashes
  • [VISUALIZER] Use new coverage data icon for the coverage report file, not a generic report icon

Habu series release 12

8.2.836

  • [BUGFIX] Fix project file path handling in Cake support
  • [BUGFIX] Improve heuristic to recognise (and ignore) state-machine injected branches in async methods; this may cause subtle changes, up or down, in branch detection for other generated code ("hidden" sequence points) contexts with branches
  • Use VS2022 icons in the Visualizer

Habu series release 11

  • [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

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

... (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
  • 0518177 Merge branch 'develop/maintenance' into release/Habu
  • 4ecc726 Ready to release
  • 82098d9 Proper test and resolution for the issue
  • 5834548 Identify null primitive constants in the debug scopes
  • c4bfd8b Update test SDKs
  • 40ee608 Accept most of the snitch tool's recommendations
  • 68645f6 SDK updates and auto-update tidying
  • 2330060 Minor change in processed output
  • 9681fcc And another
  • ac99c45 Fix lurking issue exposed by SDK update
  • 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.3.839.
- [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.3.839)

---
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 Sep 14, 2022
@codecov
Copy link

codecov bot commented Sep 14, 2022

Codecov Report

Base: 36.18% // Head: 36.84% // Increases project coverage by +0.65% 🎉

Coverage data is based on head (cd0e89e) compared to base (cd9ae2d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #111      +/-   ##
==========================================
+ Coverage   36.18%   36.84%   +0.65%     
==========================================
  Files          19       19              
  Lines         152      152              
  Branches        9        8       -1     
==========================================
+ Hits           55       56       +1     
  Misses         93       93              
+ Partials        4        3       -1     
Impacted Files Coverage Δ
...rc/GregsStack.VwoEngage.Net.Api/VwoEngageClient.cs 64.70% <0.00%> (+2.94%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 18, 2022

Superseded by #114.

@dependabot dependabot bot closed this Oct 18, 2022
@dependabot dependabot bot deleted the dependabot/nuget/altcover-8.3.839 branch October 18, 2022 04:07
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