Skip to content

Commit f1ae2db

Browse files
authored
Update CHANGELOG for 11.1.0 (#2025)
* Update CHANGELOG for 11.1.0 * add tsconfig refactor to CHANGELOG * Add tentative release date * Add PR reference * Bump version
1 parent 591fc4b commit f1ae2db

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed

CHANGELOG.md

+33
Original file line numberDiff line numberDiff line change
@@ -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

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commander",
3-
"version": "11.0.0",
3+
"version": "11.1.0",
44
"description": "the complete solution for node.js command-line programs",
55
"keywords": [
66
"commander",

0 commit comments

Comments
 (0)