Skip to content
Myr

Preparing for Commander v14.0.0 (#2366)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by John Gee · committed by GitHub · parent dd7edf4 · Browse files · 4 files+30 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+30 added−7 removed

  • other:+30 added−7 removed

4 files+30 added−7 removed

modified:CHANGELOG.md+24 added-1 removed
6 unmodified lines
78<!-- markdownlint-disable MD024 -->9<!-- markdownlint-disable MD004 -->1011## [14.0.0] (2025-05-18)1213### Added1415- support for groups of options and commands in the help using low-level `.helpGroup()` on `Option` and `Command`, and higher-level `.optionsGroup()` and `.commandsGroup()` which can be used in chaining way to specify group title for following options/commands ([#2328])16- support for unescaped negative numbers as option-arguments and command-arguments ([#2339])17- TypeScript: add `parseArg` property to `Argument` class ([#2359])1819### Fixed2021- remove bogus leading space in help when option has default value but not a description ([#2348])22- `.configureOutput()` now makes copy of settings instead of modifying in-place, fixing side-effects ([#2350])2324### Changed2526- *Breaking:* Commander 14 requires Node.js v20 or higher27- internal refactor of `Help` class adding `.formatItemList()` and `.groupItems()` methods ([#2328])2829## [13.1.0] (2025-01-21)3031### Added32
1372 unmodified lines
1405[#2251]: https://github.com/tj/commander.js/pull/22511406[#2270]: https://github.com/tj/commander.js/pull/22701407[#2299]: https://github.com/tj/commander.js/pull/22991408[#2312]: https://github.com/tj/commander.js/pull/23121409[#2328]: https://github.com/tj/commander.js/pull/23281410[#2339]: https://github.com/tj/commander.js/pull/23391411[#2348]: https://github.com/tj/commander.js/pull/23481412[#2350]: https://github.com/tj/commander.js/pull/23501413[#2359]: https://github.com/tj/commander.js/pull/2359141413921415<!-- Referenced in 5.x -->1416[#1]: https://github.com/tj/commander.js/issues/11417[#432]: https://github.com/tj/commander.js/issues/4321418[#508]: https://github.com/tj/commander.js/issues/508
70 unmodified lines
1489[#1026]: https://github.com/tj/commander.js/pull/10261490[#1028]: https://github.com/tj/commander.js/pull/102814911492[Unreleased]: https://github.com/tj/commander.js/compare/master...develop1493[14.0.0]: https://github.com/tj/commander.js/compare/v13.1.0...v14.0.01494[13.1.0]: https://github.com/tj/commander.js/compare/v13.0.0...v13.1.01495[13.0.0]: https://github.com/tj/commander.js/compare/v12.1.0...v13.0.01496[13.0.0-0]: https://github.com/tj/commander.js/compare/v12.1.0...v13.0.0-01497[12.1.0]: https://github.com/tj/commander.js/compare/v12.0.0...v12.1.0
51 unmodified lines
modified:package-lock.json+3 added-3 removed
1{2 "name": "commander",3 "version": "13.1.0",3 "version": "14.0.0",4 "lockfileVersion": 3,5 "requires": true,6 "packages": {7 "": {8 "name": "commander",9 "version": "13.1.0",9 "version": "14.0.0",10 "license": "MIT",11 "devDependencies": {12 "@eslint/js": "^9.4.0",13 "@types/jest": "^29.2.4",
9 unmodified lines
23 "typescript": "^5.0.4",24 "typescript-eslint": "^8.12.2"25 },26 "engines": {27 "node": ">=18"27 "node": ">=20"28 }29 },30 "node_modules/@ampproject/remapping": {31 "version": "2.3.0",
5809 unmodified lines
modified:package.json+2 added-2 removed
modified:Readme.md+1 added-1 removed
1145 unmodified lines
1146- [parsing life cycle and hooks](./docs/parsing-and-hooks.md)11471148## Support11491150The current version of Commander is fully supported on Long Term Support versions of Node.js, and requires at least v18.1150The current version of Commander is fully supported on Long Term Support versions of Node.js, and requires at least v20.1151(For older versions of Node.js, use an older version of Commander.)11521153The main forum for free and community support is the project [Issues](https://github.com/tj/commander.js/issues) on GitHub.1154
5 unmodified lines