@@ -8,6 +8,30 @@ 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
+ ## [ 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
+
11
35
## [ 11.0.0] (2023-06-16)
12
36
13
37
### Fixed
@@ -1163,6 +1187,14 @@ program
1163
1187
[ #1864 ] : https://github.com/tj/commander.js/pull/1864
1164
1188
[ #1874 ] : https://github.com/tj/commander.js/pull/1874
1165
1189
[ #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
1166
1198
1167
1199
<!-- Referenced in 5.x -->
1168
1200
[ #1 ] : https://github.com/tj/commander.js/issues/1
@@ -1242,6 +1274,7 @@ program
1242
1274
[ #1028 ] : https://github.com/tj/commander.js/pull/1028
1243
1275
1244
1276
[ 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
1245
1278
[ 11.0.0 ] : https://github.com/tj/commander.js/compare/v10.0.1...v11.0.0
1246
1279
[ 10.0.1 ] : https://github.com/tj/commander.js/compare/v10.0.0...v10.0.1
1247
1280
[ 10.0.0 ] : https://github.com/tj/commander.js/compare/v9.5.0...v10.0.0
0 commit comments