All Versions
31
Latest Version
Avg Release Cycle
32 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v2.2.5 Changes
- โก๏ธ Updated default value resolution for the application executable name. It will now resolve to
myapp.exe
instead ofdotnet myapp.dll
when the application is launched through the EXE apphost on Windows. On other platforms, or when running the application through the .NET CLI, the behavior will be the same as before.
- โก๏ธ Updated default value resolution for the application executable name. It will now resolve to
-
v2.2.4 Changes
- โ Added more contextual information to analyzer diagnostics.
- ๐ Fixed an issue where the analyzer incorrectly reported an error on converters that didn't directly match the target type but were compatible through known built-in conversions.
- ๐ Fixed an issue where MSBuild produced a lot of analyzer-related warnings in certain circumstances.
-
v2.2.3 Changes
- ๐ Changed method signature of
IConsole.ReadKey()
to returnConsoleKeyInfo
instead ofvoid
. The return type was originally defined asvoid
by mistake. This change is source-backwards-compatible but may break on binary level if you were previously calling this method indirectly (i.e. through a library). - โ Added
FakeConsole.EnqueueKey(...)
to facilitate the testing ofIConsole.ReadKey()
. You can use this method to simulate key presses in your application. - Extended analyzers that verify the correctness of specified converters and validators. They now also ensure that the specified types are compatible with the type of the underlying property.
- ๐ Improved diagnostics produced by analyzers. Where relevant, highlighted code is now limited to the property or type identifier, instead of the whole property or type declaration. Also extended the diagnostic messages with additional information.
- ๐ Fixed an issue where throwing an exception inside a constructor of a command type resulted in an unrelated error message about the absence of a parameterless constructor.
- ๐ Changed method signature of
-
v2.2.2 Changes
- ๐ Fixed an issue where
ConsoleWriter
andConsoleReader
were not properly thread-safe. - ๐ Fixed an issue where the analyzer failed to load under certain circumstances when running inside Visual Studio.
- ๐ Fixed an issue where
-
v2.2.1 Changes
- ๐ Fixed an issue which caused help text to not show default values for optional parameters. (Thanks @AliReZa Sabouri)
-
v2.2 Changes
- โ Added support for optional parameters. A parameter can be marked as optional by setting
IsRequired = false
on the attribute. Only one parameter is allowed to be optional and such parameter must be the last in order. (Thanks @AliReZa Sabouri) - ๐ Fixed an issue where parameters and options bound to properties implemented as default interface members were not working correctly. (Thanks @AliReZa Sabouri)
- โ Added support for optional parameters. A parameter can be marked as optional by setting
-
v2.1 Changes
- โ Added
IConsole.Clear()
with corresponding implementations inSystemConsole
,FakeConsole
, andFakeInMemoryConsole
. (Thanks @Alex Rosenfeld) - โ Added
IConsole.ReadKey()
with corresponding implementations inSystemConsole
,FakeConsole
, andFakeInMemoryConsole
. (Thanks @Alex Rosenfeld) - ๐ Fixed an issue that caused parameters to appear out of order in the usage format section of the help text. (Thanks @David Fallah)
- โ Added
-
v2.0.6 Changes
- ๐ Fixed an issue where an exception thrown via reflection during parameter or option binding resulted in
Exception has been thrown by the target of an invocation
error instead of a more useful message. Such exceptions will now be unwrapped to provide better user experience.
- ๐ Fixed an issue where an exception thrown via reflection during parameter or option binding resulted in
-
v2.0.5 Changes
- ๐ Fixed an issue where calling
IConsole.Output.Encoding.EncodingName
and some other members threw an exception. - โ Added readme file to the package.
- ๐ Fixed an issue where calling
-
v2.0.4 Changes
- ๐ Fixed an issue where output and error streams in
SystemConsole
defaulted to UTF8 encoding with BOM when the application was running with UTF8 codepage.ConsoleWriter
will now discard preamble from the specified encoding. This fix brings the behavior ofSystemConsole
in line with .NET's ownSystem.Console
which also discards preamble for output and error streams. - ๐ Fixed an issue where help text tried to show default values for parameters and options whose type does not override
ToString()
method. - ๐ Fixed an issue where help text didn't show default values for parameters and options whose type is an enumerable of nullable enums. (Thanks @Robert Dailey)
- ๐ Fixed an issue where specific parts of the help text weren't legible in some terminals due to low color resolution. Removed the usage of
ConsoleColor.DarkGray
in help text.
- ๐ Fixed an issue where output and error streams in