Skip to content
Myr

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

3 files+44 added−2 removed

modified:CHANGELOG.md+42 added
6 unmodified lines
78<!-- markdownlint-disable MD024 -->9<!-- markdownlint-disable MD004 -->1011## [8.0.0-0] (date goes here)1213### Added1415- `.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])2223### Changed2425- 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])3132### Deprecated3334- 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])3738### Removed3940- *Breaking:* TypeScript declaration for default export of global `Command` object ([#1520])41 - (still available as named `program` export)4243## [7.2.0] (2021-03-22)4445### Added46
256 unmodified lines
303[#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/1521316317[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-2
7 unmodified lines
modified: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 lines
modified:package.json+1 added-1 removed