switch from StandardJS to directly calling ESLint for linting (#2153)
extend security support for previous major version of Commander (#2150)
Removed
removed unimplemented Option.fullDescription from TypeScript definition (#2191)
v12.0.0
Added
.addHelpOption() as another way of configuring built-in help option (#2006)
.helpCommand() for configuring built-in help command (#2087)
Fixed
Breaking: use non-zero exit code when spawned executable subcommand terminates due to a signal (#2023)
Breaking: check passThroughOptions constraints when using .addCommand and throw if parent command does not have .enablePositionalOptions() enabled (#1937)
Changed
Breaking: Commander 12 requires Node.js v18 or higher (#2027)
Breaking: throw an error if add an option with a flag which is already in use (#2055)
Breaking: throw an error if add a command with name or alias which is already in use (#2059)
Breaking: throw error when calling .storeOptionsAsProperties() after setting an option value (#1928)
replace non-standard JSDoc of @api private with documented @private (#1949)
.addHelpCommand() now takes a Command (passing string or boolean still works as before but deprecated) (#2087)
refactor internal implementation of built-in help option (#2006)
refactor internal implementation of built-in help command (#2087)
Deprecated
.addHelpCommand() passing string or boolean (use .helpCommand() or pass a Command) (#2087)
Removed
Breaking: removed default export of a global Command instance from CommonJS (use the named program export instead) (#2017)
switch from StandardJS to directly calling ESLint for linting (#2153)
extend security support for previous major version of Commander (#2150)
Removed
removed unimplemented Option.fullDescription from TypeScript definition (#2191)
[12.0.0] (2024-02-03)
Added
.addHelpOption() as another way of configuring built-in help option (#2006)
.helpCommand() for configuring built-in help command (#2087)
Fixed
Breaking: use non-zero exit code when spawned executable subcommand terminates due to a signal (#2023)
Breaking: check passThroughOptions constraints when using .addCommand and throw if parent command does not have .enablePositionalOptions() enabled (#1937)
Changed
Breaking: Commander 12 requires Node.js v18 or higher (#2027)
Breaking: throw an error if add an option with a flag which is already in use (#2055)
Breaking: throw an error if add a command with name or alias which is already in use (#2059)
Breaking: throw error when calling .storeOptionsAsProperties() after setting an option value (#1928)
replace non-standard JSDoc of @api private with documented @private (#1949)
.addHelpCommand() now takes a Command (passing string or boolean still works as before but deprecated) (#2087)
refactor internal implementation of built-in help option (#2006)
refactor internal implementation of built-in help command (#2087)
Deprecated
.addHelpCommand() passing string or boolean (use .helpCommand() or pass a Command) (#2087)
Removed
Breaking: removed default export of a global Command instance from CommonJS (use the named program export instead) (#2017)
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps commander from 10.0.0 to 12.1.0.
Release notes
Sourced from commander's releases.
... (truncated)
Changelog
Sourced from commander's changelog.
... (truncated)
Commits
970ecae
12.1.04a9b211
Prepare CHANGELOG for 12.1.0 (#2193)0e083f8
ci: add 22.x to node-version (#2192)d3b48f7
Remove unimplemented fullDescription from TypeScript (#2191)c749eb8
Bump tsd from 0.30.4 to 0.31.0 (#2172)f09d0b2
Bump@typescript-eslint/parser
from 6.14.0 to 6.21.0 (#2179)4484e79
Bump@types/node
from 20.8.9 to 20.12.7 (#2187)6c740e9
Bump eslint-plugin-jest from 27.9.0 to 28.3.0 (#2188)27b1349
Bump typescript from 5.2.2 to 5.4.5 (#2189)b95ea44
Fix some JSDoc lint issues (#2181)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show