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