Skip to content
Myr

Update CHANGELOG for 9.5.0

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Including some lint

authored by John Gee · committed by Abe Tomoaki · parent 2326c53 · Browse files · 1 file+19 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+19 added−8 removed

  • other:+19 added−8 removed

1 file+19 added−8 removed

modified:CHANGELOG.md+19 added-8 removed
6 unmodified lines
78<!-- markdownlint-disable MD024 -->9<!-- markdownlint-disable MD004 -->1011## [9.5.0] (2022-01-07)1213### Added1415- `.getOptionValueSourceWithGlobals()` ([#1832])16- `showGlobalOptions` for `.configureHelp{}` and `Help` ([#1828])1718## [9.4.1] (2022-09-30)1920### Fixed21
77 unmodified lines
99- default value for boolean option only shown in help if true/false ([#1652])100- use command name as prefix for subcommand stand-alone executable name (with fallback to script name for backwards compatibility) ([#1571])101- allow absolute path with `executableFile` ([#1571])102- removed restriction that nested subcommands must specify `executableFile` ([#1571])96- TypeScript: allow passing readonly string array to `.choices()` [(#1667)]97- TypeScript: allow passing readonly string array to `.parse()`, `.parseAsync()`, `.aliases()` [(#1669)]103- TypeScript: allow passing readonly string array to `.choices()` ([#1667])104- TypeScript: allow passing readonly string array to `.parse()`, `.parseAsync()`, `.aliases()` ([#1669])105106### Fixed107108- option with optional argument not supplied on command line now works when option already has a value, whether from default value or from previous arguments ([#1652])
1 unmodified line
110### Removed111112- *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])113107114## [9.0.0-1] (2022-01-15)115116(Released in 9.0.0)117
173 unmodified lines
291292### Changed293294- *Breaking:* options are stored safely by default, not as properties on the command ([#1409])289 - this especially affects accessing options on program, use `program.opts()`290 - revert behaviour with `.storeOptionsAsProperties()`295 - this especially affects accessing options on program, use `program.opts()`296 - revert behaviour with `.storeOptionsAsProperties()`297- *Breaking:* action handlers are passed options and command separately ([#1409])298- deprecated callback parameter to `.help()` and `.outputHelp()` (removed from README) ([#1296])299- *Breaking:* errors now displayed using `process.stderr.write()` instead of `console.error()`300- deprecate `.on('--help')` (removed from README) ([#1296])
10 unmodified lines
311 312### Deleted313314- *Breaking:* `.passCommandToAction()` ([#1409])309 - no longer needed as action handler is passed options and command315 - no longer needed as action handler is passed options and command316- *Breaking:* "extra arguments" parameter to action handler ([#1409])311 - if being used to detect excess arguments, there is now an error available by setting `.allowExcessArguments(false)`317 - if being used to detect excess arguments, there is now an error available by setting `.allowExcessArguments(false)`318319### Migration Tips320321The biggest change is the parsed option values. Previously the options were stored by default as properties on the command object, and now the options are stored separately.
76 unmodified lines
398## [6.2.1] (2020-12-13)399400### Fixed401396- some tests failed if directory path included a space ([1390])402- some tests failed if directory path included a space ([#1390])403404## [6.2.0] (2020-10-25)405406### Added
663 unmodified lines
1070[#1483]: https://github.com/tj/commander.js/pull/14831071[#1490]: https://github.com/tj/commander.js/pull/14901072[#1497]: https://github.com/tj/commander.js/pull/14971073[#1500]: https://github.com/tj/commander.js/pull/15001074[#1502]: https://github.com/tj/commander.js/pull/15021075[#1508]: https://github.com/tj/commander.js/pull/15081076[#1513]: https://github.com/tj/commander.js/pull/15131077[#1514]: https://github.com/tj/commander.js/pull/15141078[#1516]: https://github.com/tj/commander.js/pull/1516
36 unmodified lines
1115[#1763]: https://github.com/tj/commander.js/pull/17631116[#1767]: https://github.com/tj/commander.js/pull/17671117[#1794]: https://github.com/tj/commander.js/pull/17941118[#1795]: https://github.com/tj/commander.js/pull/17951119[#1832]: https://github.com/tj/commander.js/pull/18321120[#1828]: https://github.com/tj/commander.js/pull/182811211122<!-- Referenced in 5.x -->1123[#1]: https://github.com/tj/commander.js/issues/11124[#432]: https://github.com/tj/commander.js/issues/432
32 unmodified lines
1157[#1247]: https://github.com/tj/commander.js/pull/12471158[#1248]: https://github.com/tj/commander.js/pull/124811591160<!-- Referenced in 4.x -->1161[#933]: https://github.com/tj/commander.js/pull/9331162[#1027]: https://github.com/tj/commander.js/pull/10271163[#1035]: https://github.com/tj/commander.js/pull/10351164[#1040]: https://github.com/tj/commander.js/pull/10401165[#1047]: https://github.com/tj/commander.js/pull/1047
30 unmodified lines
1196[#1026]: https://github.com/tj/commander.js/pull/10261197[#1028]: https://github.com/tj/commander.js/pull/102811981199[Unreleased]: https://github.com/tj/commander.js/compare/master...develop1200[9.5.0]: https://github.com/tj/commander.js/compare/v9.4.1...v9.5.01201[9.4.1]: https://github.com/tj/commander.js/compare/v9.4.0...v9.4.11202[9.4.0]: https://github.com/tj/commander.js/compare/v9.3.0...v9.4.01203[9.3.0]: https://github.com/tj/commander.js/compare/v9.2.0...v9.3.01204[9.2.0]: https://github.com/tj/commander.js/compare/v9.1.0...v9.2.0
39 unmodified lines