All Versions
29
Latest Version
Avg Release Cycle
54 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v3.0
February 27, 2020- Complete rework of the library.
- โ Added extensive support for piping.
- Multitude of improvements and breaking changes.
โก๏ธ Refer to the migration guide to see how you can update your old code to work with CliWrap v3.0.
๐ Check out the new readme to see the whole list of new features.
-
v2.5
October 30, 2019- โ Added callbacks that trigger when stdout/stderr streams are closed. (Thanks @Daniel15)
- โ Added an overload for
SetCancellationToken
that acceptskillEntireProcessTree
. Passingtrue
to this option will make CliWrap attempt to kill the entire process tree when cancellation is requested, as opposed to only the parent process. Note, this option is only available on .NET Framework 4.5+ and .NET Core 3.0+. (Thanks @M-Patrone) - โ Removed ReSharper annotations.
-
v2.4
October 03, 2019- โ Added
ProcessId
property toCli
. You can use it to get the ID of the underlying process as soon as it's started.
- โ Added
-
v2.3.1
July 10, 2019- ๐ Fixed an issue where
Execute
andExecuteAsync
didn't return immediately after the execution was canceled. - ๐ Fixed an issue where setting the same environment variable twice resulted in an error.
- ๐ Improved exception message in
ExitCodeValidationException
andStandardErrorValidationException
.
- ๐ Fixed an issue where
-
v2.3
May 28, 2019- โ Added an overload for
SetArguments
that takes a list. You can pass multiple arguments and they will be automatically encoded to preserve whitespace and other special characters. - ๐ Fixed some typos in documentation.
- โ Added an overload for
-
v2.2.2
May 10, 2019- ๐ Fixed an issue where
ExecuteAndForget
was throwing an exception if the underlying process outlived the execution of the method.
- ๐ Fixed an issue where
-
v2.2.1
April 01, 2019ExitCodeValidationException
andStandardErrorValidationException
now display both exit code and standard error inside the message. Useful when a process reported a non-zero exit code but the actual error message is in stderr.- โ Removed
netcoreapp1.0
target.
-
v2.2
December 20, 2018- โ Added
Cli.Wrap
static method to replacenew Cli()
for a more fluent interface. This also makes it so you're dealing withICli
instead ofCli
throughout the entire method chain. - 0๏ธโฃ Standard error validation is now disabled by default. This change was made because quite a few CLIs (e.g. git, ffmpeg) write progress to stderr.
- ๐ Changed
Execute
andExecuteAsync
to complete only after the process exits, regardless of cancellation. This fixes a problem where the underlying process could live for some brief moments after those methods returned, in case of cancellation. - If
Execute
orExecuteAsync
is canceled, the underlying process will now be killed without waiting for standard input to write completely. - ๐ Reworked underlying process handling to improve performance and maintainability. The
Execute
andExecuteAsync
methods are now virtually the same in terms of code, unlike before, where they were considerably different.
- โ Added
-
v2.1
October 14, 2018- โ Added
ExecutionResult
toExitCodeValidationException
andStandardErrorValidationException
. This way additional information can be inspected during debugging. ExitCodeValidationException
andStandardErrorValidationException
are now derived fromExecutionResultValidationException
.- ๐ Improved cancellation handling in synchronous workflow.
- Cancellation token is now used when writing stdin in asynchronous workflow.
- โ Added
-
v2.0.1
September 17, 2018- Methods that used to return an instance of
Cli
now returnICli
where applicable.
- Methods that used to return an instance of