6a822e86eb4a183c0fca2874961233de9af078bc10dece7fd9252d4885c9d0a8238305ea3ac9cddb4d8823c32794785f49e071cff7619eb64271edd78efab3 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. 2.19.0 / 2018-10-02
  2. ==================
  3. * Removed newline after Options and Commands headers (#864)
  4. * Bugfix - Error output (#862)
  5. * Fix to change default value to string (#856)
  6. 2.18.0 / 2018-09-07
  7. ==================
  8. * Standardize help output (#853)
  9. * chmod 644 travis.yml (#851)
  10. * add support for execute typescript subcommand via ts-node (#849)
  11. 2.17.1 / 2018-08-07
  12. ==================
  13. * Fix bug in command emit (#844)
  14. 2.17.0 / 2018-08-03
  15. ==================
  16. * fixed newline output after help information (#833)
  17. * Fix to emit the action even without command (#778)
  18. * npm update (#823)
  19. 2.16.0 / 2018-06-29
  20. ==================
  21. * Remove Makefile and `test/run` (#821)
  22. * Make 'npm test' run on Windows (#820)
  23. * Add badge to display install size (#807)
  24. * chore: cache node_modules (#814)
  25. * chore: remove Node.js 4 (EOL), add Node.js 10 (#813)
  26. * fixed typo in readme (#812)
  27. * Fix types (#804)
  28. * Update eslint to resolve vulnerabilities in lodash (#799)
  29. * updated readme with custom event listeners. (#791)
  30. * fix tests (#794)
  31. 2.15.0 / 2018-03-07
  32. ==================
  33. * Update downloads badge to point to graph of downloads over time instead of duplicating link to npm
  34. * Arguments description
  35. 2.14.1 / 2018-02-07
  36. ==================
  37. * Fix typing of help function
  38. 2.14.0 / 2018-02-05
  39. ==================
  40. * only register the option:version event once
  41. * Fixes issue #727: Passing empty string for option on command is set to undefined
  42. * enable eqeqeq rule
  43. * resolves #754 add linter configuration to project
  44. * resolves #560 respect custom name for version option
  45. * document how to override the version flag
  46. * document using options per command
  47. 2.13.0 / 2018-01-09
  48. ==================
  49. * Do not print default for --no-
  50. * remove trailing spaces in command help
  51. * Update CI's Node.js to LTS and latest version
  52. * typedefs: Command and Option types added to commander namespace
  53. 2.12.2 / 2017-11-28
  54. ==================
  55. * fix: typings are not shipped
  56. 2.12.1 / 2017-11-23
  57. ==================
  58. * Move @types/node to dev dependency
  59. 2.12.0 / 2017-11-22
  60. ==================
  61. * add attributeName() method to Option objects
  62. * Documentation updated for options with --no prefix
  63. * typings: `outputHelp` takes a string as the first parameter
  64. * typings: use overloads
  65. * feat(typings): update to match js api
  66. * Print default value in option help
  67. * Fix translation error
  68. * Fail when using same command and alias (#491)
  69. * feat(typings): add help callback
  70. * fix bug when description is add after command with options (#662)
  71. * Format js code
  72. * Rename History.md to CHANGELOG.md (#668)
  73. * feat(typings): add typings to support TypeScript (#646)
  74. * use current node
  75. 2.11.0 / 2017-07-03
  76. ==================
  77. * Fix help section order and padding (#652)
  78. * feature: support for signals to subcommands (#632)
  79. * Fixed #37, --help should not display first (#447)
  80. * Fix translation errors. (#570)
  81. * Add package-lock.json
  82. * Remove engines
  83. * Upgrade package version
  84. * Prefix events to prevent conflicts between commands and options (#494)
  85. * Removing dependency on graceful-readlink
  86. * Support setting name in #name function and make it chainable
  87. * Add .vscode directory to .gitignore (Visual Studio Code metadata)
  88. * Updated link to ruby commander in readme files
  89. 2.10.0 / 2017-06-19
  90. ==================
  91. * Update .travis.yml. drop support for older node.js versions.
  92. * Fix require arguments in README.md
  93. * On SemVer you do not start from 0.0.1
  94. * Add missing semi colon in readme
  95. * Add save param to npm install
  96. * node v6 travis test
  97. * Update Readme_zh-CN.md
  98. * Allow literal '--' to be passed-through as an argument
  99. * Test subcommand alias help
  100. * link build badge to master branch
  101. * Support the alias of Git style sub-command
  102. * added keyword commander for better search result on npm
  103. * Fix Sub-Subcommands
  104. * test node.js stable
  105. * Fixes TypeError when a command has an option called `--description`
  106. * Update README.md to make it beginner friendly and elaborate on the difference between angled and square brackets.
  107. * Add chinese Readme file
  108. 2.9.0 / 2015-10-13
  109. ==================
  110. * Add option `isDefault` to set default subcommand #415 @Qix-
  111. * Add callback to allow filtering or post-processing of help text #434 @djulien
  112. * Fix `undefined` text in help information close #414 #416 @zhiyelee
  113. 2.8.1 / 2015-04-22
  114. ==================
  115. * Back out `support multiline description` Close #396 #397
  116. 2.8.0 / 2015-04-07
  117. ==================
  118. * Add `process.execArg` support, execution args like `--harmony` will be passed to sub-commands #387 @DigitalIO @zhiyelee
  119. * Fix bug in Git-style sub-commands #372 @zhiyelee
  120. * Allow commands to be hidden from help #383 @tonylukasavage
  121. * When git-style sub-commands are in use, yet none are called, display help #382 @claylo
  122. * Add ability to specify arguments syntax for top-level command #258 @rrthomas
  123. * Support multiline descriptions #208 @zxqfox
  124. 2.7.1 / 2015-03-11
  125. ==================
  126. * Revert #347 (fix collisions when option and first arg have same name) which causes a bug in #367.
  127. 2.7.0 / 2015-03-09
  128. ==================
  129. * Fix git-style bug when installed globally. Close #335 #349 @zhiyelee
  130. * Fix collisions when option and first arg have same name. Close #346 #347 @tonylukasavage
  131. * Add support for camelCase on `opts()`. Close #353 @nkzawa
  132. * Add node.js 0.12 and io.js to travis.yml
  133. * Allow RegEx options. #337 @palanik
  134. * Fixes exit code when sub-command failing. Close #260 #332 @pirelenito
  135. * git-style `bin` files in $PATH make sense. Close #196 #327 @zhiyelee
  136. 2.6.0 / 2014-12-30
  137. ==================
  138. * added `Command#allowUnknownOption` method. Close #138 #318 @doozr @zhiyelee
  139. * Add application description to the help msg. Close #112 @dalssoft
  140. 2.5.1 / 2014-12-15
  141. ==================
  142. * fixed two bugs incurred by variadic arguments. Close #291 @Quentin01 #302 @zhiyelee
  143. 2.5.0 / 2014-10-24
  144. ==================
  145. * add support for variadic arguments. Closes #277 @whitlockjc
  146. 2.4.0 / 2014-10-17
  147. ==================
  148. * fixed a bug on executing the coercion function of subcommands option. Closes #270
  149. * added `Command.prototype.name` to retrieve command name. Closes #264 #266 @tonylukasavage
  150. * added `Command.prototype.opts` to retrieve all the options as a simple object of key-value pairs. Closes #262 @tonylukasavage
  151. * fixed a bug on subcommand name. Closes #248 @jonathandelgado
  152. * fixed function normalize doesn’t honor option terminator. Closes #216 @abbr
  153. 2.3.0 / 2014-07-16
  154. ==================
  155. * add command alias'. Closes PR #210
  156. * fix: Typos. Closes #99
  157. * fix: Unused fs module. Closes #217
  158. 2.2.0 / 2014-03-29
  159. ==================
  160. * add passing of previous option value
  161. * fix: support subcommands on windows. Closes #142
  162. * Now the defaultValue passed as the second argument of the coercion function.
  163. 2.1.0 / 2013-11-21
  164. ==================
  165. * add: allow cflag style option params, unit test, fixes #174
  166. 2.0.0 / 2013-07-18
  167. ==================
  168. * remove input methods (.prompt, .confirm, etc)
  169. 1.3.2 / 2013-07-18
  170. ==================
  171. * add support for sub-commands to co-exist with the original command
  172. 1.3.1 / 2013-07-18
  173. ==================
  174. * add quick .runningCommand hack so you can opt-out of other logic when running a sub command
  175. 1.3.0 / 2013-07-09
  176. ==================
  177. * add EACCES error handling
  178. * fix sub-command --help
  179. 1.2.0 / 2013-06-13
  180. ==================
  181. * allow "-" hyphen as an option argument
  182. * support for RegExp coercion
  183. 1.1.1 / 2012-11-20
  184. ==================
  185. * add more sub-command padding
  186. * fix .usage() when args are present. Closes #106
  187. 1.1.0 / 2012-11-16
  188. ==================
  189. * add git-style executable subcommand support. Closes #94
  190. 1.0.5 / 2012-10-09
  191. ==================
  192. * fix `--name` clobbering. Closes #92
  193. * fix examples/help. Closes #89
  194. 1.0.4 / 2012-09-03
  195. ==================
  196. * add `outputHelp()` method.
  197. 1.0.3 / 2012-08-30
  198. ==================
  199. * remove invalid .version() defaulting
  200. 1.0.2 / 2012-08-24
  201. ==================
  202. * add `--foo=bar` support [arv]
  203. * fix password on node 0.8.8. Make backward compatible with 0.6 [focusaurus]
  204. 1.0.1 / 2012-08-03
  205. ==================
  206. * fix issue #56
  207. * fix tty.setRawMode(mode) was moved to tty.ReadStream#setRawMode() (i.e. process.stdin.setRawMode())
  208. 1.0.0 / 2012-07-05
  209. ==================
  210. * add support for optional option descriptions
  211. * add defaulting of `.version()` to package.json's version
  212. 0.6.1 / 2012-06-01
  213. ==================
  214. * Added: append (yes or no) on confirmation
  215. * Added: allow node.js v0.7.x
  216. 0.6.0 / 2012-04-10
  217. ==================
  218. * Added `.prompt(obj, callback)` support. Closes #49
  219. * Added default support to .choose(). Closes #41
  220. * Fixed the choice example
  221. 0.5.1 / 2011-12-20
  222. ==================
  223. * Fixed `password()` for recent nodes. Closes #36
  224. 0.5.0 / 2011-12-04
  225. ==================
  226. * Added sub-command option support [itay]
  227. 0.4.3 / 2011-12-04
  228. ==================
  229. * Fixed custom help ordering. Closes #32
  230. 0.4.2 / 2011-11-24
  231. ==================
  232. * Added travis support
  233. * Fixed: line-buffered input automatically trimmed. Closes #31
  234. 0.4.1 / 2011-11-18
  235. ==================
  236. * Removed listening for "close" on --help
  237. 0.4.0 / 2011-11-15
  238. ==================
  239. * Added support for `--`. Closes #24
  240. 0.3.3 / 2011-11-14
  241. ==================
  242. * Fixed: wait for close event when writing help info [Jerry Hamlet]
  243. 0.3.2 / 2011-11-01
  244. ==================
  245. * Fixed long flag definitions with values [felixge]
  246. 0.3.1 / 2011-10-31
  247. ==================
  248. * Changed `--version` short flag to `-V` from `-v`
  249. * Changed `.version()` so it's configurable [felixge]
  250. 0.3.0 / 2011-10-31
  251. ==================
  252. * Added support for long flags only. Closes #18
  253. 0.2.1 / 2011-10-24
  254. ==================
  255. * "node": ">= 0.4.x < 0.7.0". Closes #20
  256. 0.2.0 / 2011-09-26
  257. ==================
  258. * Allow for defaults that are not just boolean. Default peassignment only occurs for --no-*, optional, and required arguments. [Jim Isaacs]
  259. 0.1.0 / 2011-08-24
  260. ==================
  261. * Added support for custom `--help` output
  262. 0.0.5 / 2011-08-18
  263. ==================
  264. * Changed: when the user enters nothing prompt for password again
  265. * Fixed issue with passwords beginning with numbers [NuckChorris]
  266. 0.0.4 / 2011-08-15
  267. ==================
  268. * Fixed `Commander#args`
  269. 0.0.3 / 2011-08-15
  270. ==================
  271. * Added default option value support
  272. 0.0.2 / 2011-08-15
  273. ==================
  274. * Added mask support to `Command#password(str[, mask], fn)`
  275. * Added `Command#password(str, fn)`
  276. 0.0.1 / 2010-01-03
  277. ==================
  278. * Initial release