All Versions
39
Latest Version
3.5
Avg Release Cycle
54 days
Latest Release
-

Changelog History
Page 4

  • v2.0 Changes

    • โšก๏ธ Re-designed the API so that it follows the builder pattern. Execution parameters are now supplied using chainable methods on the Cli instead of via ExecutionInput. Things like BufferHandler and CancellationToken are now also configured in the same manner. Refer to the readme to see updated usage examples.
    • It is now also possible to pipe a raw stream to standard input, instead of just a text string.
    • โœ‚ Removed ExecutionInput, CliSettings, BufferHandler, EncodingSettings.
    • ๐Ÿ“‡ Renamed ExecutionOutput to ExecutionResult.
    • โœ‚ Removed ExecutionResult.HasError and ExecutionResult.ThrowIfError().
    • โž• Added an option to automatically throw an exception when the underlying process reports a non-zero exit code. Is enabled by default.
    • โž• Added an option to automatically throw an exception when the underlying process writes anything to standard error. Is enabled by default.
  • v1.8.5 Changes

    • ๐Ÿ›  Fixed exception messages not appearing in Visual Studio's exception popup.
  • v1.8.4 Changes

    • StandardErrorException now shows the value of StandardError in Message.
  • v1.8.3 Changes

    • โž• Added ICli to aid in testing.
  • v1.8.2 Changes

    • Made input model classes more accessible by removing immutability.
    • ๐Ÿ‘ป Cli now throws exception if used after getting disposed.
  • v1.8.1 Changes

    • ๐Ÿ›  Fixed another process leak when canceling synchronous Execute.
  • v1.8 Changes

    • ๐Ÿ”จ Refactored additional Cli constructor parameters into a separate class called CliSettings. This is breaking if you used to supply more than 1 parameter to the constructor.
    • ๐Ÿ‘ป Execute and ExecuteAsync no longer depend on process getting successfully killed. An attempt to kill it is made but if it's not successful, no exception is thrown.
    • ๐Ÿ‘ป All CancellationToken callbacks are now exception-safe.
    • ๐Ÿ›  Fixed an issue where CancellationToken would throw an out of scope exception when the process could not be killed.
    • ๐Ÿ›  Fixed a race condition when an execution task is completed and canceled at the same time.
  • v1.7.5 Changes

    • โž• Added EncodingSettings to customize stream encoding.
    • โž• Added some ReSharper annotations to improve warnings and suggestions.
  • v1.7.4 Changes

    • Execution start and exit times are now calculated separately, without accessing Process instance.
    • Execution start and exit times are now DateTimeOffset instead of DateTime.
    • ๐Ÿ›  Fixed an issue that prevented CliWrap from properly working on Linux.