Skip to content

Latest commit

 

History

History
124 lines (92 loc) · 8.86 KB

CHANGELOG.md

File metadata and controls

124 lines (92 loc) · 8.86 KB

Changelog

All notable changes to this project will be documented in this file.

CommandLineParser project adheres to Semantic Versioning.

[2.7.0] - 2020-1-1

[2.7.0-preview1] - 2020-1-1

Added

  • Add option groups feature by @hadzhiyski - When one or more options has group set, at least one of these properties should have set value (they behave as required).
  • Add a new overload method for AutoBuild to enable HelpText customization by @moh-hassan.
  • Improve spacing in HelpText by @asherber by adding a new option in the HelpText.
  • Add a new option "SkipDefault" in UnParserSettings by @moh-hassan to add the ability of skipping the options with a default value and fix #541.
  • Generate a new symbolic nuget Package by @moh-hassan to Improve the debugging of Applications with the NuGet package using symbols experience.
  • Add Support to SourceLink in the nuget package @moh-hassan.

Changed

  • Remove the Exception when both CompanyAttribute and CopyRightAttribute are null in the Excuting assembly and set the copyright text to a default value by @moh-hassan.
  • Change the default copyright to include current year instead of 1 by @moh-hassan.
  • Enabling c# 8 and Vs2019 image in Appveyor.

Fixed

  • Fix NullReferenceException when creating a default immutable instance by @0xced.

  • Fix issue #496 - Cryptic error message with immutable option class by@moh-hassan.

  • Fix UnParserExtensions.FormatCommandLine by @moh-hassan to resolve:

    • Fix Quote for Options of type DatTime #502 and #528.
    • Fix Quote for options of type TimeSpan and DateTimeOffset.
    • Fix Nullable type #305
  • Fix nuget Licence in nuget package by @moh-hassan and fix issue #545.

  • Fix PackageIconUrl warning in nuget package by @moh-hassan.

  • Fix immutable nullException, Improve exception message when immutable type can't be created

  • Fix Custom help for verbs issue#529 by @moh-hassan.

  • Fix --help switch throwing exception in F# #366 by @WallaceKelly

[2.6.0] - 2019-07-31

Added

  • Support HelpText localization with ResourceType property by @tkouba.
  • Add demo for complete localization of command line help using resources by@tkouba.
  • Localize VerbAttribute by @moh-hassan.
  • Improve support for multiline help text by @NeilMacMullen.
  • Reorder options in auto help text (issue #482) @b3b00.
  • Add IsHelp() and IsVersion() Extension methods to mange HelpText errors by @moh-hassan.

Fixed

  • Fix issues for HelpText.AutoBuild configuration (issues #224 , # 259) by @moh-hassan.
  • Test maintainance: add missed tests and removing xUnit1013 warning by @moh-hassan.
  • Fix issue #104 of nullable enum by @moh-hassan.
  • Fix issue #418, modify version screen to print a new line at the end by @moh-hassan.

[2.5.0] - 2019-04-27

Added

  • Add support to NET40 and NET45 for both CSharp and FSharp by @moh-hassan.

Changed

  • Proposed changes for enhancement by @Wind010, cover:appveyor.yml, ReflectionExtensions.cs and error.cs.
  • Enhance the CSharp demo to run in multi-target net40;net45;netcoreapp2.0;netcoreapp2.1 by @moh-hassan.
  • Added explicit support for .NET 4.6.1 and .NET Core 2.0 by @ravenpride.
  • Convert commandline project to multi-target project netstandard2.0;net40;net45;net461.
  • Convert commandline Test to multi-target project net461;netcoreapp2.0.

Fixed

  • Fix the null EntryAssembly Exception in unit test of net4x projects: issues #389,#424 by @moh-hassan.
  • Fix the test case 'Add unit tests for Issue #389 and #392
  • Fix CSC error CS7027: Error signing output with public key from file 'CommandLine.snk' -- Invalid public key in appveyor CI.
  • Fix the error CS0234: The type or namespace name 'FSharp' for net40 Framework.
  • Fix Mis-typed CommandLine.BaseAttribute.Default results in ArgumentException: Object of type 'X' cannot be converted to type 'Y' (issue #189) by@Wind010.

[2.4.3] - 2019-01-09

Added

  • Add support to NetStandard2.0 by @ViktorHofer
  • Add strong name signing @ViktorHofer
  • Added AutoBuild and AutoVersion properties to control adding of implicit 'help' and 'version' options/verbs by @Athari.
  • Added simpler C# Quick Start example at readme.md by @lythix.
  • Add validate feature in Set parameter, and throw exception, and show usage,Issue #283 by@e673.

Deprecated

  • Drop support for NET40 and NET45

Removed

  • Disable faulty tests in netsatbdard2.0 and enable testing in CI.

Fixed

  • Fix grammar error in specification error message by @DillonAd.
  • Fix HelpText.AutoBuild Usage spacing by@ElijahReva.
  • Fix type at readme.md file by @matthewjberger
  • Fix not showing correct header info, issue #34 by@tynar.
  • Fix title of assembly renders oddly issue-#197 by @Yiabiten.
  • Fix nuget apikey by @ericnewton76.
  • Fix missing fsharp from github release deployment by @ericnewton76.
  • Fix to Display Width Tests by @Oddley.
  • Fixing DisplayWidth for newer Mono by @Oddley.

[2.3.0] - 2018-08-13

Added

  • Properly handle CaseInsensitiveEnumValues flag fixing issue #198 by @niklaskarl.

Changed

  • Updated README examples quick start example for c# and Vb.net to work with the new API by @loligans.
  • Updated README by @ericnewton76.
  • Update copyright in unit tests
  • Patching appveyor dotnet csproj
  • Updates to appveyor to create a build matrix

Fixed

[2.2.1] - 2018-01-10

[2.2.0] - 2018-01-07

[1.9.71.2] - 2013-02-27: The starting bascode version