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.

382 lines
10 KiB

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