ba353de1e6d9d77711356a9c7443ef71439cc7baf6c1fe49b645afca2de0e8def25af8e14b29291b10cb2dc3ab09c84d8b9ca71978a8da2833b77d6716dc93 11 KB

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