From e1a6cf43b29ccd7f8976fb432f57236b9af25c63 Mon Sep 17 00:00:00 2001 From: John Gee Date: Sat, 21 Nov 2020 20:47:08 +1300 Subject: [PATCH] Prepare for prerelease (#1398) --- CHANGELOG.md | 18 ++++++++++++++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1706b853f..0aabbf1a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. +## [7.0.0-1] (2020-11-21) + +### Added + +- `.createOption()` to support subclassing of automatically created options (like `.createCommand()`) ([#1380]) +- `.configureOutput()` to modify use of stdout and stderr or customise display of errors ([#1387]) + +### Breaking changes relative to 7.0.0-0 + +- rework new `Help.wrap()` for simpler usage pattern (#1395) +- rename new "columns" properties (#1396) + - `Help.columns` -> `helpWidth` + - `getOutColumns()` -> `getOutHelpWidth()` + - `getErrColumns()` -> `getErrHelpWidth()` + ## [7.0.0-0] (2020-10-25) ### Added @@ -267,8 +282,11 @@ to expand `-fb` to `-f -b` rather than `-f b`. [#1365]: https://github.com/tj/commander.js/pull/1365 [#1368]: https://github.com/tj/commander.js/pull/1368 [#1375]: https://github.com/tj/commander.js/pull/1375 +[#1380]: https://github.com/tj/commander.js/pull/1380 +[#1387]: https://github.com/tj/commander.js/pull/1387 [Unreleased]: https://github.com/tj/commander.js/compare/master...develop +[7.0.0-1]: https://github.com/tj/commander.js/compare/v7.0.0-0...v7.0.0-1 [7.0.0-0]: https://github.com/tj/commander.js/compare/v6.2.0...v7.0.0-0 [6.2.0]: https://github.com/tj/commander.js/compare/v6.1.0..v6.2.0 [6.1.0]: https://github.com/tj/commander.js/compare/v6.0.0..v6.1.0 diff --git a/package-lock.json b/package-lock.json index ad72326a6..9db7e59eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "commander", - "version": "7.0.0-0", + "version": "7.0.0-1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 8884128c5..cc0df71d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "commander", - "version": "7.0.0-0", + "version": "7.0.0-1", "description": "the complete solution for node.js command-line programs", "keywords": [ "commander",