Skip to content

Commit 034ad9f

Browse files
authored
Feature/prepare for 7 (#1436)
* Prepare for release * Add missing PR entries to CHANGELOG
1 parent 182ee06 commit 034ad9f

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGELOG.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88
<!-- markdownlint-disable MD024 -->
99
<!-- markdownlint-disable MD004 -->
1010

11-
## [7.0.0] (date goes here)
11+
## [7.0.0] (2021-01-15)
1212

1313
### Added
1414

15+
- `.enablePositionalOptions()` to let program and subcommand reuse same option ([#1427])
16+
- `.passThroughOptions()` to pass options through to other programs without needing `--` ([#1427])
1517
- `.allowExcessArguments(false)` to show an error message if there are too many command-arguments on command line for the action handler ([#1409])
1618
- `.configureOutput()` to modify use of stdout and stderr or customise display of errors ([#1387])
1719
- use `.addHelpText()` to add text before or after the built-in help, for just current command or also for all subcommands ([#1296])
@@ -44,6 +46,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
4446
- first line of command description was wrapping two characters early
4547
- pad width calculation was not including help option and help command
4648
- pad width calculation was including hidden options and commands
49+
- improve backwards compatibility for custom command event listeners ([#1403])
4750

4851
### Deleted
4952

@@ -370,10 +373,13 @@ to expand `-fb` to `-f -b` rather than `-f b`.
370373
[#1380]: https://github.com/tj/commander.js/pull/1380
371374
[#1387]: https://github.com/tj/commander.js/pull/1387
372375
[#1390]: https://github.com/tj/commander.js/pull/1390
376+
[#1403]: https://github.com/tj/commander.js/pull/1403
373377
[#1409]: https://github.com/tj/commander.js/pull/1409
378+
[#1427]: https://github.com/tj/commander.js/pull/1427
374379

375380
[Unreleased]: https://github.com/tj/commander.js/compare/master...develop
376-
[7.0.0-1]: https://github.com/tj/commander.js/compare/v7.0.0-1...v7.0.0-2
381+
[7.0.0]: https://github.com/tj/commander.js/compare/v6.2.1...v7.0.0
382+
[7.0.0-2]: https://github.com/tj/commander.js/compare/v7.0.0-1...v7.0.0-2
377383
[7.0.0-1]: https://github.com/tj/commander.js/compare/v7.0.0-0...v7.0.0-1
378384
[7.0.0-0]: https://github.com/tj/commander.js/compare/v6.2.0...v7.0.0-0
379385
[6.2.1]: https://github.com/tj/commander.js/compare/v6.2.0..v6.2.1

package-lock.json

+1-1
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": "7.0.0-2",
3+
"version": "7.0.0",
44
"description": "the complete solution for node.js command-line programs",
55
"keywords": [
66
"commander",

0 commit comments

Comments
 (0)