Skip to content
Permalink
Browse files
Prepare for 9.0.0 release
  • Loading branch information
shadowspawn committed Jan 27, 2022
1 parent c984ab8 commit ecaae11e2c2559e3c00e6157a0cb0f7a65d5f0f7
Showing with 18 additions and 14 deletions.
  1. +13 −8 CHANGELOG.md
  2. +2 −3 SECURITY.md
  3. +2 −2 package-lock.json
  4. +1 −1 package.json
@@ -8,21 +8,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
<!-- markdownlint-disable MD024 -->
<!-- markdownlint-disable MD004 -->

## [9.0.0-1] (2022-01-15)

### Added

- .`error()` for generating errors from client code just like Commander generated errors, with support for `.configureOutput()`, `.exitOverride()`, and `.showHelpAfterError()` ([#1675])
- `.optsWithGlobals()` to return merged local and global options ([#1671])

## [9.0.0-0] (2021-12-22)
## [9.0.0] (2022-01-28)

### Added

- simpler ECMAScript import ([#1589])
- Option.preset() allows specifying value/arg for option when used without option-argument (especially optional, but also boolean option) ([#1652])
- `.executableDir()` for custom search for subcommands ([#1571])
- throw with helpful message if pass `Option` to `.option()` or `.requiredOption()` ([#1655])
- .`error()` for generating errors from client code just like Commander generated errors, with support for `.configureOutput()`, `.exitOverride()`, and `.showHelpAfterError()` ([#1675])
- `.optsWithGlobals()` to return merged local and global options ([#1671])

### Changed

@@ -43,6 +38,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

- *Breaking:* removed internal fallback to `require.main.filename` when script not known from arguments passed to `.parse()` (can supply details using `.name()`, and `.executableDir()` or `executableFile`) ([#1571])


## [9.0.0-1] (2022-01-15)

(Released in 9.0.0)

## [9.0.0-0] (2021-12-22)

(Released in 9.0.0)

## [8.3.0] (2021-10-22)

### Added
@@ -1099,6 +1103,7 @@ program
[#1028]: https://github.com/tj/commander.js/pull/1028

[Unreleased]: https://github.com/tj/commander.js/compare/master...develop
[9.0.0]: https://github.com/tj/commander.js/compare/v8.3.0...v9.0.0
[9.0.0-1]: https://github.com/tj/commander.js/compare/v9.0.0-0...v9.0.0-1
[9.0.0-0]: https://github.com/tj/commander.js/compare/v8.3.0...v9.0.0-0
[8.3.0]: https://github.com/tj/commander.js/compare/v8.2.0...v8.3.0
@@ -6,9 +6,8 @@ Old versions receive security updates for six months.

| Version | Supported |
| ------- | ------------------------------------------ |
| 8.x | :white_check_mark: |
| 7.x | :white_check_mark: support ends 2022-01-31 |
| < 7 | :x: |
| 8.x | :white_check_mark: support ends 2022-07-31 |
| < 8 | :x: |

Pull Requests for security issues will be considered for older versions back to 2.x.

Some generated files are not rendered by default. Learn more.

@@ -1,6 +1,6 @@
{
"name": "commander",
"version": "9.0.0-1",
"version": "9.0.0",
"description": "the complete solution for node.js command-line programs",
"keywords": [
"commander",

0 comments on commit ecaae11

Please sign in to comment.