Prerelease version number and CHANGELOG (#1523)
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 0b0fbbe · Browse files · 3 files·+44 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+44 added−2 removed
- other:+44 added−2 removed
Provenance
- Commit
3551de8- Tree
815a5bb- Author
John Gee <john@ruru.gen.nz>- Committer
GitHub <noreply@github.com>- Parent
0b0fbbe
3 files changed+44 added−2 removed
modified:CHANGELOG.md+42 added
6 unmodified lines7 8 <!-- markdownlint-disable MD024 -->9 <!-- markdownlint-disable MD004 -->10 11+## [8.0.0-0] (date goes here)12+13+### Added14+15+- `.getOptionValue()` and `.setOptionValue()` ([#1521])16+- `.hook()` with support for `'preAction'` and `'postAction'` callbacks ([#1514])17+- `.argument(name, description)` for adding command-arguments ([#1490])18+ - supports default value for optional command-arguments ([#1508])19+ - supports custom processing function ([#1508])20+- `.createArgument()` factory method ([#1497])21+- the number of command-arguments is checked for programs without an action handler ([#1502])22+23+### Changed24+25+- refactor and simplify TypeScript declarations (with no default export) ([#1520])26+- `.parseAsync()` is now declared as `async` ([#1513])27+- *Breaking:* `Help` method `.visibleArguments()` returns array of `Argument` ([#1490])28+- *Breaking:* Commander 8 requires Node.js 12 or higher ([#1500])29+- *Breaking:* `CommanderError` code `commander.invalidOptionArgument` renamed `commander.invalidArgument` ([#1508])30+- *Breaking:* TypeScript declaration for `.addTextHelp()` callback no longer allows result of `undefined`, now just `string` ([#1516])31+32+### Deprecated33+34+- second parameter of `cmd.description(desc, argDescriptions)` for adding argument descriptions ([#1490])35+ - (use new `.argument(name, description)` instead)36+- `InvalidOptionArgumentError` (replaced by `InvalidArgumentError`) ([#1508])37+38+### Removed39+40+- *Breaking:* TypeScript declaration for default export of global `Command` object ([#1520])41+ - (still available as named `program` export)42+43 ## [7.2.0] (2021-03-22)44 45 ### Added46 256 unmodified lines303 [#1464]: https://github.com/tj/commander.js/pull/1464304 [#1475]: https://github.com/tj/commander.js/pull/1475305 [#1477]: https://github.com/tj/commander.js/pull/1477306 [#1483]: https://github.com/tj/commander.js/pull/1483307+[#1490]: https://github.com/tj/commander.js/pull/1490308+[#1497]: https://github.com/tj/commander.js/pull/1497309+[#1500]: https://github.com/tj/commander.js/pull/1500310+[#1508]: https://github.com/tj/commander.js/pull/1508311+[#1513]: https://github.com/tj/commander.js/pull/1513312+[#1514]: https://github.com/tj/commander.js/pull/1514313+[#1516]: https://github.com/tj/commander.js/pull/1516314+[#1520]: https://github.com/tj/commander.js/pull/1520315+[#1521]: https://github.com/tj/commander.js/pull/1521316 317 [Unreleased]: https://github.com/tj/commander.js/compare/master...develop318+[8.0.0-0]: https://github.com/tj/commander.js/compare/v7.2.0...v8.0.0-0319 [7.2.0]: https://github.com/tj/commander.js/compare/v7.1.0...v7.2.0320 [7.1.0]: https://github.com/tj/commander.js/compare/v7.0.0...v7.1.0321 [7.0.0]: https://github.com/tj/commander.js/compare/v6.2.1...v7.0.0322 [7.0.0-2]: https://github.com/tj/commander.js/compare/v7.0.0-1...v7.0.0-27 unmodified linesmodified:package-lock.json+1 added-1 removed
1 {2 "name": "commander",3- "version": "7.2.0",3+ "version": "8.0.0-0",4 "lockfileVersion": 1,5 "requires": true,6 "dependencies": {7 "@babel/code-frame": {7419 unmodified linesmodified:package.json+1 added-1 removed
1233456761 unmodified lines{ "name": "commander", "version": "7.2.0", "version": "8.0.0-0", "description": "the complete solution for node.js command-line programs", "keywords": [ "commander", "command",61 unmodified lines