@@ -8,10 +8,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
8
8
<!-- markdownlint-disable MD024 -->
9
9
<!-- markdownlint-disable MD004 -->
10
10
11
- ## [ 7.0.0] (date goes here )
11
+ ## [ 7.0.0] (2021-01-15 )
12
12
13
13
### Added
14
14
15
+ - ` .enablePositionalOptions() ` to let program and subcommand reuse same option ([ #1427 ] )
16
+ - ` .passThroughOptions() ` to pass options through to other programs without needing ` -- ` ([ #1427 ] )
15
17
- ` .allowExcessArguments(false) ` to show an error message if there are too many command-arguments on command line for the action handler ([ #1409 ] )
16
18
- ` .configureOutput() ` to modify use of stdout and stderr or customise display of errors ([ #1387 ] )
17
19
- use ` .addHelpText() ` to add text before or after the built-in help, for just current command or also for all subcommands ([ #1296 ] )
@@ -44,6 +46,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
44
46
- first line of command description was wrapping two characters early
45
47
- pad width calculation was not including help option and help command
46
48
- pad width calculation was including hidden options and commands
49
+ - improve backwards compatibility for custom command event listeners ([ #1403 ] )
47
50
48
51
### Deleted
49
52
@@ -370,10 +373,13 @@ to expand `-fb` to `-f -b` rather than `-f b`.
370
373
[ #1380 ] : https://github.com/tj/commander.js/pull/1380
371
374
[ #1387 ] : https://github.com/tj/commander.js/pull/1387
372
375
[ #1390 ] : https://github.com/tj/commander.js/pull/1390
376
+ [ #1403 ] : https://github.com/tj/commander.js/pull/1403
373
377
[ #1409 ] : https://github.com/tj/commander.js/pull/1409
378
+ [ #1427 ] : https://github.com/tj/commander.js/pull/1427
374
379
375
380
[ Unreleased ] : https://github.com/tj/commander.js/compare/master...develop
376
- [ 7.0.0-1 ] : https://github.com/tj/commander.js/compare/v7.0.0-1...v7.0.0-2
381
+ [ 7.0.0 ] : https://github.com/tj/commander.js/compare/v6.2.1...v7.0.0
382
+ [ 7.0.0-2 ] : https://github.com/tj/commander.js/compare/v7.0.0-1...v7.0.0-2
377
383
[ 7.0.0-1 ] : https://github.com/tj/commander.js/compare/v7.0.0-0...v7.0.0-1
378
384
[ 7.0.0-0 ] : https://github.com/tj/commander.js/compare/v6.2.0...v7.0.0-0
379
385
[ 6.2.1 ] : https://github.com/tj/commander.js/compare/v6.2.0..v6.2.1
0 commit comments