Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Bump altcover from 6.2.727 to 7.0.770 #99

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link

Bumps altcover from 6.2.727 to 7.0.770.

Release notes

Sourced from altcover's releases.

Genbu series release 1

7.0.770

  • There are functional changes (fixes and enhancements from the previous pre-release)
  • [BUGFIX] Don't automatically exclude C# inner functions (and other [CompilerGenerated]) from coverage.
  • [BREAKING; Command Line] Option --defer now takes no arguments; there is no use-case for the --defer:- so that and the redundant --defer:+ are gone
  • [BREAKING; MSBuild tasks] AltCover.Prepare.Defer defaults to true; in dotnet test, as the value is overridden (effectively forced true), this has no effect.
  • [BREAKING; PowerShell] rename and generalise Format-FromCoverletOpenCover as Write-OpenCoverDerivedState
  • [BREAKING; API] Rationalise and rename across most parts of the API, above and beyond the pre-release; remove CSApi as a separate assembly, with the main AltCover assembly publishing that part of the C# callable API, and split FSApi into Toolkit for PowerShell support and DotNet for dotnet test support.
  • Add --attributetoplevel, --typetoplevel and --methodtoplevel to allow inner classes or functions to be included in coverage independently their containing class or function.
  • Revise/update/fix the Wiki API pages, help-text and the like
  • Autogenerate more of the documentation

Genbu series release pre-1

7.0.766-pre

  • There should not be any functional changes before a full 7.0 release; the pre-release is just to ensure I'm happy with the API before freezing it for 7.x
  • [BREAKING] Replace the --opencover command line argument and its equivalents with --reportFormat=... defaulting to OpenCover and currently also accepting NCover
  • [BREAKING; dotnet tool] Remove the deprecated altcover.dotnet package with the old-style DotNetCliToolReference Tool
  • [BREAKING; API] Rename the AltCover_Fake namespace to AltCoverFake, because it's simpler that way
  • [BREAKING; API] Remove obsolete APIs previously marked as obsolete
  • [BREAKING; API] Rationalise and rename across most parts of the API
  • [BREAKING; API, PowerShell] PowerShell cmdlets and the supporting API are now all XDocument based
  • [BREAKING; PowerShell] Make the Invoke-AltCover -ShowStatic parameter take pnly the typesafe enum
  • [Documentation] Completely revise the API documentation in the wiki
  • [PowerShell]Add-Accelerator and Get-Accelerator cmdlets to write and read new type accelerators e.g. [xdoc] for System.Xml.Linq.XDocument
  • --zipfile command line option (and equivalents) to put the coverage report into a .zip archive
  • --methodpoint command line option (and equivalents) to restrict visit reporting to just the method level
  • extend --threshold to allow minimum branch or method coverage, and maximum CRAP score
  • [Global tool] TargetsPath command line option for the global altcover tool to report where the associated .targets file is located (as it can't be dotnet added to a project)

Fukurou series release 13

6.8.761

  • Final 6.x release, barring serious bug-fixes
  • Deprecate the dotnet-altcover DotNetCliToolReference Tool, package altcover.dotnet, prior to removal in the v7.0.xxx release. See dotnet/sdk#3115 for context
  • Move delivered code to all new-style projects, and all supporting projects except where the old style is explicitly required
  • [BUGFIX] Accept the OpenCover format variant generated by coverlet for PowerShell and, FWIW, the Visualizer.
  • [BUGFIX] Provide a suitable binary (a simple shim called AltCover.NetCoreApp.dll) in the API nupkg for AltCover.Fake.Api.toolPath AltCover.Fake.Implementation.DotNetCore to return -- and test that it works, just like the build already tested AltCover.Fake.Api.toolPath AltCover.Fake.Implementation.Framework
  • Ignore constructors for [<Sealed; AbstractClass>] types in F# for the purposes of coverage
  • [API] AltCover.CoverageFormats.PostProcess to take an existing OpenCover format document and fill in the derived quantities e.g. <Summary> elements, sequence point branch visits, etc.
  • [API] AltCover.CoverageFormats.FormatFromCoverlet to patch up the most obvious parts missing from coverlet's dialect of the OpenCover format e.g. start and end columns, npath complexity, etc. as well as all the PostProcess features. Also reified as the cmdlet Format-FromCoverletOpenCover

Fukurou series release 12

6.7.750

  • [PowerShell] Improve the ConvertTo-BarChart cmdlet following the Visualizer-focused enhancements in the previous release
  • [PowerShell] Add -WhatIf capability to Invoke-AltCover for prepare and collect operations (syntax permitted, but meaningless for -Version)
  • [PowerShell] Make the Invoke-AltCover -ShowStatic parameter take a typesafe enum (as well as untyped strings); a backwards compatible API extension.
  • [Visualizer] new --schemadir[=path] command-line parameter to set or clear an application-level GSETTINGS_SCHEMA_DIR value
  • [API] PrepareParams.WhatIf : unit -> FSApi.ValidatedCommandLine; and CollectParams.WhatIf : bool -> FSApi.ValidatedCommandLine to do read-only parameter validation and command line composition
  • [API] The equivalent public FSApi.ValidatedCommandLine PrepareArgs.WhatIf() and public FSApi.ValidatedCommandLine CollectArgs.WhatIf(bool afterPreparation) for the CSApi types
... (truncated)
Changelog

Sourced from altcover's changelog.

Previously

6.8.761 (Fukurou series release 13)

  • Final 6.x release, barring serious bug-fixes
  • Deprecate the dotnet-altcover DotNetCliToolReference Tool, package altcover.dotnet, prior to removal in the v7.0.xxx release. See dotnet/sdk#3115 for context
  • Move delivered code to all new-style projects, and all supporting projects except where the old style is explicitly required
  • [BUGFIX] Accept the OpenCover format variant generated by coverlet for PowerShell and, FWIW, the Visualizer.
  • [BUGFIX] Provide a suitable binary (a simple shim called AltCover.NetCoreApp.dll) in the API nupkg for AltCover.Fake.Api.toolPath AltCover.Fake.Implementation.DotNetCore to return -- and test that it works, just like the build already tested AltCover.Fake.Api.toolPath AltCover.Fake.Implementation.Framework
  • Ignore constructors for [<Sealed; AbstractClass>] types in F# for the purposes of coverage
  • [API] AltCover.CoverageFormats.PostProcess to take an existing OpenCover format document and fill in the derived quantities e.g. <Summary> elements, sequence point branch visits, etc.
  • [API] AltCover.CoverageFormats.FormatFromCoverlet to patch up the most obvious parts missing from coverlet's dialect of the OpenCover format e.g. start and end columns, npath complexity, etc. as well as all the PostProcess features. Also reified as the cmdlet Format-FromCoverletOpenCover

6.7.750 (Fukurou series release 12)

  • [PowerShell] Improve the ConvertTo-BarChart cmdlet following the Visualizer-focussed enhancements in the previous release
  • [PowerShell] Add -WhatIf capability to Invoke-AltCover for prepare and collect operations (syntax permitted, but meaningless for -Version)
  • [PowerShell] Make the Invoke-AltCover -ShowStatic parameter take a typesafe enum (as well as untyped strings); a backwards compatible API extension.
  • [Visualizer] new --schemadir[=path] command-line parameter to set or clear an application-level GSETTINGS_SCHEMA_DIR value
  • [API] PrepareParams.WhatIf : unit -> FSApi.ValidatedCommandLine; and CollectParams.WhatIf : bool -> FSApi.ValidatedCommandLine to do read-only parameter validation and command line composition
  • [API] The equivalent public FSApi.ValidatedCommandLine PrepareArgs.WhatIf() and public FSApi.ValidatedCommandLine CollectArgs.WhatIf(bool afterPreparation) for the CSApi types

6.6.747 (Fukurou series release 11)

  • [API, Fake Helper API] Deprecate the DotNet.TestOptions.WithImportModule and .WithGetVersion extension methods in favour of the otherwise identical DotNet.TestOptions.WithAltCoverImportModule and .WithAltCoverGetVersion; the obsolete name now just calls through to the preferred one.
  • [API] --showstatic[:[-|+|++]] (string ShowStatic default "-" in API, -ShowStatic string PowerShell) to reveal the code usually auto-filtered (e.g. auto-properties, some system generated types, structure comparison methods in F#...); either with coverage value -3 (option '+') which is highlighted in the Visualizer but treated as 0 by ReportGenerator, or the value '0' (option '++')
  • [API] --showGenerated (bool ShowGenerated default false in API, -ShowGenerated PowerShell) to reveal the code marked by [CompilerGenerated] or [GeneratedCode] with coverage value -2which is highlighted in the Visualizer but treated as 0 by ReportGenerator
  • [Visualizer, BUGFIX] fix the sorting of method by name for NCover format
  • [Visualizer] group property get_ and set_, and event add_ and remove_, methods together, under an appropriate icon
  • [Visualizer] For F# modules containing only types, group the contents together under a module entry at class level, just as they would have been were the module to directly contain any functions
  • [Visualizer] Types that only contain an Invoke method and constructors are shown with an approriate icon, too.
  • [3rd Party] With the latest GTK#3 update, the GTK+ native libraries for win-x64 are no longer bundled into the nuget -- this seems to have been a transient behaviour in GtkSharp v3.22.25.49 only

6.5.739 (Fukurou series release 10)

  • [Command-line and CLI tool] Rolling forwards with runtimeconfig.template.json -- it's not just for global tools : make all the executables .net core 3+ compatible.
    • this now packages the GTK# assemblies, and GTK+ native libraries for win-x64, for the .net core visualizer
    • also enable the build to execute on hosts with nothing before .net core 3 runtime
  • [API, Fake Helper API] Deprecate the DotNet.TestOptions.WithParameters extension method in favour of the otherwise identical DotNet.TestOptions.WithAltCoverParameters; the obsolete name now just calls through to the preferred one.
  • [Visualizer tool] Update GTK# for .net Core
  • [BUGFIX] In ConvertFrom-NCover, don't add classes for which there is no method coverage data. This mainly affects system generated classes implementation details, including ones actually called <PrivateImplementationDetails$...>...
  • In cobertura format output, including the ConvertTo-Cobertura cmdlet, truncate rates to 2 decimal places (equivalent to integral percentages used elsewhere)

6.4.734 (Fukurou series release 9)

  • [FAKE Helper API] Fake >= 5.18.1 is required for this release (the work-round for FAKE issue #2412 has been removed)
  • [FAKE Helper API] Add this constraint as an explicit dependency
  • [API] Add Tool of String a literal alongside FilePath of String, which is expanded to a full path to TypeSafe.FilePath
  • [API] Add IncludeItem of Regex which represents a ?-prefix regex string to TypeSafe.FilterItem
  • Trap and log exceptions reported in Issue #71 as files <coverage report path>.<timestamp>.exn
  • Other housekeeping

6.3.729 (Fukurou series release 8)

  • Filter out assemblies without the ILOnly bit set (i.e. pretty much anything C++/CLI, even with the deprecated /clr:pure compiler flag set)
  • [FAKE Helper API] Fake >= 5.18.0 is required for this release
... (truncated)
Commits
  • bbb4906 Merge branch 'master' into release/Genbu
  • 49ccc02 [Skip CI] Fix up Markdown niggles
  • eb21cfc [Skip CI] lighter check-mark for .netcore only
  • 7046297 [Skip CI] Update release notes
  • 3a71cb1 Tool updates and some more polish
  • cf4b1c8 Back out mistaken submit
  • fd37b51 Take the new xmldocmd -- removes the F# internals from the listings
  • a8d32a2 OK, try not on mono
  • 2df0317 Satellites don't get instrumented
  • ed1ce80 Resolve l10n off-windows later
  • 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 2, 2020
@dependabot-preview
Copy link
Author

Superseded by #100.

@dependabot-preview dependabot-preview bot deleted the dependabot/nuget/altcover-7.0.770 branch June 3, 2020 19:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants