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