@@ -8,6 +8,30 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88<!-- markdownlint-disable MD024 -->
99<!-- markdownlint-disable MD004 -->
1010
11+ ## [ 11.1.0] (2023-10-13)
12+
13+ ### Fixed
14+
15+ - TypeScript: update ` OptionValueSource ` to allow any string, to match supported use of custom sources ([ #1983 ] )
16+ - TypeScript: add that ` Command.version() ` can also be used as getter ([ #1982 ] )
17+ - TypeScript: add null return type to ` Commands.executableDir() ` , for when not configured ([ #1965 ] )
18+ - subcommands with an executable handler and only a short help flag are now handled correctly by the parent's help command ([ #1930 ] )
19+
20+ ### Added
21+
22+ - ` registeredArguments ` property on ` Command ` with the array of defined ` Argument ` (like ` Command.options ` for ` Option ` ) ([ #2010 ] )
23+ - TypeScript declarations for Option properties: ` envVar ` , ` presetArg ` ([ #2019 ] )
24+ - TypeScript declarations for Argument properties: ` argChoices ` , ` defaultValue ` , ` defaultValueDescription ` ([ #2019 ] )
25+ - example file which shows how to configure help to display any custom usage in the list of subcommands ([ #1896 ] )
26+
27+ ### Changed
28+
29+ - (developer) refactor TypeScript configs for multiple use-cases, and enable checks in JavaScript files in supporting editors ([ #1969 ] )
30+
31+ ### Deprecated
32+
33+ - ` Command._args ` was private anyway, but now available as ` registeredArguments ` ([ #2010 ] )
34+
1135## [ 11.0.0] (2023-06-16)
1236
1337### Fixed
@@ -1163,6 +1187,14 @@ program
11631187[ #1864 ] : https://github.com/tj/commander.js/pull/1864
11641188[ #1874 ] : https://github.com/tj/commander.js/pull/1874
11651189[ #1886 ] : https://github.com/tj/commander.js/pull/1886
1190+ [ #1896 ] : https://github.com/tj/commander.js/pull/1896
1191+ [ #1930 ] : https://github.com/tj/commander.js/pull/1930
1192+ [ #1965 ] : https://github.com/tj/commander.js/pull/1965
1193+ [ #1969 ] : https://github.com/tj/commander.js/pull/1969
1194+ [ #1982 ] : https://github.com/tj/commander.js/pull/1982
1195+ [ #1983 ] : https://github.com/tj/commander.js/pull/1983
1196+ [ #2010 ] : https://github.com/tj/commander.js/pull/2010
1197+ [ #2019 ] : https://github.com/tj/commander.js/pull/2019
11661198
11671199<!-- Referenced in 5.x -->
11681200[ #1 ] : https://github.com/tj/commander.js/issues/1
@@ -1242,6 +1274,7 @@ program
12421274[ #1028 ] : https://github.com/tj/commander.js/pull/1028
12431275
12441276[ Unreleased ] : https://github.com/tj/commander.js/compare/master...develop
1277+ [ 11.1.0 ] : https://github.com/tj/commander.js/compare/v11.0.0...v11.1.0
12451278[ 11.0.0 ] : https://github.com/tj/commander.js/compare/v10.0.1...v11.0.0
12461279[ 10.0.1 ] : https://github.com/tj/commander.js/compare/v10.0.0...v10.0.1
12471280[ 10.0.0 ] : https://github.com/tj/commander.js/compare/v9.5.0...v10.0.0
0 commit comments