7ee00546f2a33e46a9edab47a807d38bf7227b8513363569a93d78fa7d2afc640bffa96ef78deaa1b3d27a88152a0220317fb502960a53c10420fda19e542c 8.8 KB

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