You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.9 KiB

преди 4 години
  1. # 0.9.0
  2. - update dependencies, in particular `levn` and `type-check` - this could affect behaviour of argument parsing
  3. # 0.8.3
  4. - changes dependency from `wordwrap` to `word-wrap` due to license issue
  5. - update dependencies
  6. # 0.8.2
  7. - fix bug #18 - detect missing value when flag is last item
  8. - update dependencies
  9. # 0.8.1
  10. - update `fast-levenshtein` dependency
  11. # 0.8.0
  12. - update `levn` dependency - supplying a float value to an option with type `Int` now throws an error, instead of silently converting to an `Int`
  13. # 0.7.1
  14. - fix bug with use of `defaults` and `concatRepeatedArrays` or `mergeRepeatedObjects`
  15. # 0.7.0
  16. - added `concatrepeatedarrays` option: `oneValuePerFlag`, only allows one array value per flag
  17. - added `typeAliases` option
  18. - added `parseArgv` which takes an array and parses with the first two items sliced off
  19. - changed enum help style
  20. - bug fixes (#12)
  21. - use of `concatRepeatedArrays` and `mergeRepeatedObjects` at the top level is deprecated, use it as either a per-option option, or set them in the `defaults` object to set them for all objects
  22. # 0.6.0
  23. - added `defaults` lib-option flag, allowing one to set default properties for all options
  24. - added `concatRepeatedArrays` and `mergeRepeatedObjects` as option level properties, allowing you to turn this feature on for specific options only
  25. # 0.5.0
  26. - `Boolean` flags with `default: 'true'`, and no short aliases, will by default show the `--no` version in help
  27. # 0.4.0
  28. - add `mergeRepeatedObjects` setting
  29. # 0.3.0
  30. - add `concatRepeatedArrays` setting
  31. - add `overrideRequired` option setting
  32. - use just Levenshtein string compare algo rather than Levenshtein Damerau to due dependency license issue
  33. # 0.2.2
  34. - bug fixes
  35. # 0.2.1
  36. - improved interpolation
  37. - added changelog
  38. # 0.2.0
  39. - add dependency checks to options - added `dependsOn` as an option property
  40. - add interpolation for `prepend` and `append` text with new `generateHelp` option, `interpolate`
  41. # 0.1.1
  42. - update dependencies
  43. # 0.1.0
  44. - initial release