Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Releases: notpeelz/ArgumentParser

v0.7.0b

10 Apr 01:00
Compare
Choose a tag to compare

Notable changes

  • Changed license from GNU-GPLv2 to Apache 2.0 053f5cd
  • Added support for .NETStandard 1.5 and 1.6 2be12f1
  • Added support for multi-target frameworks (.NETFramework,Version=4.5.x and .NETFramework,Version=4.6.x) 2be12f1
  • Renamed the PowerShell flavor to Simple ca0209b
  • Added support for the plus sign prefix (+) under the Simple flavor 989a51d
  • Removed no-repeated prefix constraint from the Simple flavor 0ab088b

Bug fixes

  • Fixed a premature regexp invalidation that would cause values starting with // (e.g. //hostname:80) to be discarded under the Windows flavor. Hyphens under the POSIX flavor were affected likewise. c7b968b

v0.6.3b

25 May 22:51
Compare
Choose a tag to compare

Notable changes

  • Added support for preprocessor delegates for non-generic argument types 2ad9942
  • Improved default value handling and conversion 2ad9942

Minor changes

  • Changed signature of method ValueConverter.ConvertValue 2ad9942
  • Added optional StringSplitOptions parameter to the default constructor of StringArrayConverter 40a4256

Bug fixes

  • Fixed arguments not accepting objects as a default value, thus preventing string-based default values from being converted 2ad9942
  • Fixed NullReferenceException being thrown by null value sequences upon extracting trailing values 2ad9942

v0.6.2b

25 May 19:04
Compare
Choose a tag to compare

Notable changes

  • Moved custom delegate types out of the Parser class to their parent namespaces c3c897a
  • Renamed Detokenizer to Preprocessor for clarity, as said delegates may not only be used for detokenization c014e2d
  • Removed ParserOptions.Detokenize c014e2d
  • Added support for per-argument preprocessor delegates (:warning: overrides the default preprocessor supplied by the ParserOptions) 664d415
  • Added binding-specific exception type 4572c06

Minor changes

  • Made ProjectionEqualityComparer publicly accessible by other assemblies 8e429c1
  • Improved ambiguous message for an exception being thrown upon writing to a read-only property 4572c06

Bug fixes

  • Fixed verb collection (in void Init(IEnumerable<String> verbs)) always being populated with a single empty value upon parsing an empty verb input string 58f19ab

v0.6.1b

28 Apr 23:37
Compare
Choose a tag to compare

Bug fixes

  • Fixed inaccessible set accessor on FlagOptions for flag attributes e5dabef

v0.6b

28 Apr 11:47
Compare
Choose a tag to compare

Major changes

  • Changed factory-oriented argument creation process to attributes (:arrow_right: removal of ArgumentFactory) 926be38
  • Trimmed down the type hierarchy dramatically 926be38
    • Removed redundant constructors from several types
    • Removed the underlying ShortArgument and ShortArgument{T} types
    • Added FlagArgument for easy implementation (as opposed to the previous structure, requiring full implementation both IArgument and IFlag)

Notable changes

  • Changed IVerbContext methods to accept sequences (i.e. IEnumerable) instead of fixed arrays f9e883a
  • Removed IgnoreUnmatchedParameters option from ParserOptions f9e883a
  • Isolated flavor-specific argument types to their respective namespace 926be38
  • Renamed POSIXFlag to POSIXShortFlag c758517
  • Renamed the Factory namespace to Reflection 3708f3b

Bug fixes

  • Removed accessibility on the set accessor of theTag property from a number of IOptionAttribute-implementing types 926be38

v0.5b

18 Apr 14:49
Compare
Choose a tag to compare

Notable changes

  • Added PowerShell flavor 7546965
  • Added list attribute variants (CompositeListOption and ListOption) to PS and Windows flavors f077d84
  • Changed parameter parsing behavior to accept empty values when assigned explicitly (i.e. using an equal sign, colon, etc.) 9511fc0 eb342f6
  • (POSIX) Changed pattern to accept value attribution using an equal sign 9511fc0
  • (POSIX) Added support for quote-enclosed values without spacing (e.g. -c'\x00')

Bug fixes

  • Fixed CompositeListOption not interpreting composite values by default e3b565e

v0.4b

12 Apr 22:11
Compare
Choose a tag to compare

Notables changes

  • Added value interpretation rules (ValueOptions) 74156b7

Bug fixes

  • Fixed verb detokenization and quote enclosing 09e2940
  • Fixed type converter detection for ShortArgument<T> 74156b7

v0.3.1b

12 Apr 02:48
Compare
Choose a tag to compare

Bug fixes

  • Fixed mixed-style trailing values not being matched d2e17df

v0.3b

07 Apr 12:48
Compare
Choose a tag to compare

Notables changes

  • Added boolean inversion rules for flags 17a27a9

Bug fixes

  • Fixed matched parameters not having precedence over unbound ones 517be35

v0.2.1a

03 Apr 21:16
Compare
Choose a tag to compare

Notables changes

  • Added support for boolean value conversion 4883cbe
  • Added trailing value support (v2.0a)

Bug fixes

  • Fixed custom TypeConverter attributes not being detected 87f3531
  • Fixed default value binding failing on manually-bound methods e81f0c1
  • Fixed trailing value handling for coupled parameters 8733649
  • (POSIX) Fixed negative values being parsed as parameters adc6b6e