Feature/prepare for 7 (#1436)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* Prepare for release * Add missing PR entries to CHANGELOG
authored by John Gee · committed by GitHub · parent 182ee06 · Browse files · 3 files·+10 added−4 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+10 added−4 removed
- other:+10 added−4 removed
Provenance
- Commit
034ad9f- Tree
74ee9fe- Author
John Gee <john@ruru.gen.nz>- Committer
GitHub <noreply@github.com>- Parent
182ee06
3 files changed+10 added−4 removed
modified:CHANGELOG.md+8 added-2 removed
6 unmodified lines7 8 <!-- markdownlint-disable MD024 -->9 <!-- markdownlint-disable MD004 -->10 11-## [7.0.0] (date goes here)11+## [7.0.0] (2021-01-15)12 13 ### Added14 15+- `.enablePositionalOptions()` to let program and subcommand reuse same option ([#1427])16+- `.passThroughOptions()` to pass options through to other programs without needing `--` ([#1427])17 - `.allowExcessArguments(false)` to show an error message if there are too many command-arguments on command line for the action handler ([#1409])18 - `.configureOutput()` to modify use of stdout and stderr or customise display of errors ([#1387])19 - use `.addHelpText()` to add text before or after the built-in help, for just current command or also for all subcommands ([#1296])20 - enhance Option class ([#1331])24 unmodified lines45 - wrapping bugs in help ([#1365])46 - first line of command description was wrapping two characters early47 - pad width calculation was not including help option and help command48 - pad width calculation was including hidden options and commands49+- improve backwards compatibility for custom command event listeners ([#1403])50 51 ### Deleted52 53 - *Breaking:* `.passCommandToAction()` ([#1409])318 unmodified lines372 [#1375]: https://github.com/tj/commander.js/pull/1375373 [#1380]: https://github.com/tj/commander.js/pull/1380374 [#1387]: https://github.com/tj/commander.js/pull/1387375 [#1390]: https://github.com/tj/commander.js/pull/1390376+[#1403]: https://github.com/tj/commander.js/pull/1403377 [#1409]: https://github.com/tj/commander.js/pull/1409378+[#1427]: https://github.com/tj/commander.js/pull/1427379 380 [Unreleased]: https://github.com/tj/commander.js/compare/master...develop381+[7.0.0]: https://github.com/tj/commander.js/compare/v6.2.1...v7.0.0376-[7.0.0-1]: https://github.com/tj/commander.js/compare/v7.0.0-1...v7.0.0-2382+[7.0.0-2]: https://github.com/tj/commander.js/compare/v7.0.0-1...v7.0.0-2383 [7.0.0-1]: https://github.com/tj/commander.js/compare/v7.0.0-0...v7.0.0-1384 [7.0.0-0]: https://github.com/tj/commander.js/compare/v6.2.0...v7.0.0-0385 [6.2.1]: https://github.com/tj/commander.js/compare/v6.2.0..v6.2.1386 [6.2.0]: https://github.com/tj/commander.js/compare/v6.1.0..v6.2.010 unmodified linesmodified:package-lock.json+1 added-1 removed
1 {2 "name": "commander",3- "version": "7.0.0-2",3+ "version": "7.0.0",4 "lockfileVersion": 1,5 "requires": true,6 "dependencies": {7 "@babel/code-frame": {6577 unmodified linesmodified:package.json+1 added-1 removed
1233456747 unmodified lines{ "name": "commander", "version": "7.0.0-2", "version": "7.0.0", "description": "the complete solution for node.js command-line programs", "keywords": [ "commander", "command",47 unmodified lines