PrettyConsole 3.1.0

dotnet add package PrettyConsole --version 3.1.0                
NuGet\Install-Package PrettyConsole -Version 3.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PrettyConsole" Version="3.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PrettyConsole --version 3.1.0                
#r "nuget: PrettyConsole, 3.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PrettyConsole as a Cake Addin
#addin nuget:?package=PrettyConsole&version=3.1.0

// Install PrettyConsole as a Cake Tool
#tool nuget:?package=PrettyConsole&version=3.1.0                

Changelog

v3.1.0

  • Updated to support .NET 9.0
  • Updated to use Sharpify 2.5.0
  • ProgressBar was redesigned since it randomly produced artifacts such as printing the header multiple times.
    • Now the buffer area of ProgressBar is only 1 line, the (now "status") is printed on the same line, after the bar
    • Only if the header is empty, the percentage is printed instead.
    • An internal lock is now also used to prevent race conditions.
  • ClearNextLines show now work properly, previously it could actually clear 1 line too many.

Breaking changes

  • OutputPipe enum was added to unify APIs
  • ClearNextLinesError was removed, use ClearNextLines with OutputPipe.Error instead
  • NewLineError was removed, use NewLine with OutputPipe.Error instead
  • WriteError was removed, use Write with OutputPipe.Error instead
  • WriteLineError was removed, use WriteLine with OutputPipe.Error instead
  • OverrideCurrentLine now has an option to choose the output pipe, use OutputPipe.Error by default
  • Write<T> had the same treatment, now it has an option to choose the output pipe, use OutputPipe.Out by default, so the overload of WriteError<T> were removed
  • WriteLine<T> and WriteLine(ReadOnlySpan<char>) were introduced thanks to this change
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.