|
| 1 | +<Project> |
| 2 | + <PropertyGroup> |
| 3 | + <PackageReleaseNotes> |
| 4 | +<![CDATA[ |
| 5 | +New features: |
| 6 | + - Added more validation attributes. |
| 7 | + - Add the `[FileExists]` attribute |
| 8 | + - Add the `[FileOrDirectoryExists]` attribute |
| 9 | + - Add the `[DirectoryExists]` attribute |
| 10 | + - Add the `[LegalFilePath]` attribute |
| 11 | + - Add the `[AllowedValues]` attribute |
| 12 | + - Added a new, fluent API for validation. |
| 13 | + - Added `Option().Accepts()` and `Argument().Accepts()` |
| 14 | + - Add `.ExistingFile()` |
| 15 | + - Add `.ExistingFileOrDirectory()` |
| 16 | + - Add `.ExistingDirectory()` |
| 17 | + - Add `.EmailAddress()` |
| 18 | + - Add `.LegalFilePath()` |
| 19 | + - Add `.MinLength(length)` |
| 20 | + - Add `.MaxLength(length)` |
| 21 | + - Add `.RegularExpression(pattern)` |
| 22 | + - Add `.Values(string[] allowedValues)` |
| 23 | + - Add `.Range(min, max)` |
| 24 | + - Add `CommandOptionType.SingleOrNoValue`. |
| 25 | + - Options of this type can be a switch, or have a value but only in the form `--param:value` or `--param=value`. |
| 26 | + - Support mapping `ValueTuple<bool,T>` to `CommandOptionType.SingleOrNoValue` |
| 27 | + - Generic commands, options, and arguments |
| 28 | + - Added `CommandLineApplication<TModel>`. This allows associating an application with a specific .NET type |
| 29 | + - Add support for `Option<T>` and `Argument<T>` |
| 30 | + - Convention API |
| 31 | + - Adds support for writing your own conventions to convert command line arguments into a .NET type |
| 32 | + - Add API to use a dozen of built-in conventions |
| 33 | +
|
| 34 | +Other enhancements: |
| 35 | + - Support parsing enums |
| 36 | + - @rmcc13 - `HelpOption` can be set to be inherited by all subcommands |
| 37 | + - @atruskie - Support for parsing double and floats |
| 38 | + - @sebastienros - Support for case-insensitive options |
| 39 | + - @atruskie: Add support for user-defined value parsers using `IValueParser` and `CommandLineApplication.ValueParsers`. |
| 40 | + - Add support for constructor injection and dependency injection by providing a custom service provider |
| 41 | + - Parse these values to boolean: T, t, F, f, 0, 1 |
| 42 | + - Add `VersionOptionFromMember` to use a property or method as the source of version information |
| 43 | +
|
| 44 | +See more details here: https://github.com/natemcmaster/CommandLineUtils/blob/master/CHANGELOG.md#v$(VersionPrefix.Replace('.','')) |
| 45 | +]]> |
| 46 | + </PackageReleaseNotes> |
| 47 | + </PropertyGroup> |
| 48 | +</Project> |
0 commit comments