UNPKG

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