Skip to content
Myr

Add PR links to 7.0.0-2 release

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

authored by John Gee · committed by John Gee · parent 4b43f66 · Browse files · 1 file+6 added−5 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+6 added−5 removed

  • other:+6 added−5 removed

1 file+6 added−5 removed

modified:CHANGELOG.md+6 added-5 removed
10 unmodified lines
11## [7.0.0-2] (2020-12-14)1213### Changed1415- *Breaking:* options are stored safely by default, not as properties on the command15- *Breaking:* options are stored safely by default, not as properties on the command ([#1409])16 - this especially affects accessing options on program, use `program.opts()`17 - revert behaviour with `.storeOptionsAsProperties()`18- *Breaking:* action handlers are passed options and command separately18- *Breaking:* action handlers are passed options and command separately ([#1409])1920### Added2122- *Breaking:* error message if there are too many command-arguments on command line for the action handler22- *Breaking:* error message if there are too many command-arguments on command line for the action handler ([#1409])23 - if should be allowed then declare extra arguments, or use `.allowExcessArguments()`2425### Deleted2627- *Breaking:* `.passCommandToAction()`27- *Breaking:* `.passCommandToAction()` ([#1409])28 - no longer needed as action handler is passed options and command29- *Breaking:* "extra arguments" parameter to action handler29- *Breaking:* "extra arguments" parameter to action handler ([#1409])30 - if being used to detect excess arguments, there is now an error displayed by default3132### Migration Tips33
369 unmodified lines
403[#1375]: https://github.com/tj/commander.js/pull/1375404[#1380]: https://github.com/tj/commander.js/pull/1380405[#1387]: https://github.com/tj/commander.js/pull/1387406[#1390]: https://github.com/tj/commander.js/pull/1390407[#1409]: https://github.com/tj/commander.js/pull/1409408409[Unreleased]: https://github.com/tj/commander.js/compare/master...develop410[7.0.0-1]: https://github.com/tj/commander.js/compare/v7.0.0-1...v7.0.0-2411[7.0.0-1]: https://github.com/tj/commander.js/compare/v7.0.0-0...v7.0.0-1
13 unmodified lines