All Versions
Latest Version
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.