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
Provenance
- Commit
f6dd14a- Tree
c01dea5- Author
John Gee <john@ruru.gen.nz>- Committer
Abe Tomoaki <abe@enzou.tokyo>- Parent
2326c53
1 file changed+19 added−8 removed
modified:CHANGELOG.md+19 added-8 removed
6 unmodified lines7 8 <!-- markdownlint-disable MD024 -->9 <!-- markdownlint-disable MD004 -->10 11+## [9.5.0] (2022-01-07)12+13+### Added14+15+- `.getOptionValueSourceWithGlobals()` ([#1832])16+- `showGlobalOptions` for `.configureHelp{}` and `Help` ([#1828])17+18 ## [9.4.1] (2022-09-30)19 20 ### Fixed21 77 unmodified lines99 - 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])105 106 ### Fixed107 108 - 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 line110 ### Removed111 112 - *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])113 107-114 ## [9.0.0-1] (2022-01-15)115 116 (Released in 9.0.0)117 173 unmodified lines291 292 ### Changed293 294 - *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 lines311 312 ### Deleted313 314 - *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)`318 319 ### Migration Tips320 321 The 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 lines398 ## [6.2.1] (2020-12-13)399 400 ### Fixed401 396-- some tests failed if directory path included a space ([1390])402+- some tests failed if directory path included a space ([#1390])403 404 ## [6.2.0] (2020-10-25)405 406 ### Added663 unmodified lines1070 [#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/151636 unmodified lines1115 [#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/18281121 1122 <!-- Referenced in 5.x -->1123 [#1]: https://github.com/tj/commander.js/issues/11124 [#432]: https://github.com/tj/commander.js/issues/43232 unmodified lines1157 [#1247]: https://github.com/tj/commander.js/pull/12471158 [#1248]: https://github.com/tj/commander.js/pull/12481159 1160 <!-- 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/104730 unmodified lines1196 [#1026]: https://github.com/tj/commander.js/pull/10261197 [#1028]: https://github.com/tj/commander.js/pull/10281198 1199 [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.039 unmodified lines