Upgrade commander: 6.2.1 → 8.0.0 (major) #185
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ commander (6.2.1 → 8.0.0) · Repo · Changelog
Release Notes
8.0.0
7.2.0
7.1.0
7.0.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 75 commits:
Note Chinese translations are stale (#1550)
Prepare for 8.0.0 (#1548)
Add tips about showing help instead of just missing arguments error (#1547)
Update dependencies (#1546)
Improve example (#1544)
Update CHANGELOG for 8.0.0-2 (#1543)
Support argument processing without action handler (#1529)
Add showHelpAfterError (#1534)
Prepare 8.0.0-1 (#1538)
Add strong typing of .opts() using generics (#1539)
Update dependencies (#1535)
Choices for arguments (#1525)
Remove incorrect example output (#1532)
Refactor classes into files (#1522)
Add date for 8.0.0-0 (#1527)
Prerelease version number and CHANGELOG (#1523)
Update dependencies (#1524)
Add hooks for life cycle events: using .hook() (#1514)
Add getOptionValue and setOptionValue (#1521)
Simplify typings (#1520)
Add test to cover exception from custom argument processing (#1515)
Simplify addHelpText TypeScript signature and improve typings test (#1516)
Refactor async support to return (possible) promise directly (#1513)
Extend .argument() to add default value and custom parse for command-argument (#1508)
Merge branch 'develop' into release/8.x
ci: add 16.x to node-version
Fix date
Factory routine to create a new unattached argument (#1497)
Check command-arguments even without action handler (#1502)
Merge branch 'develop' into release/8.x
Update required node version, supported versions, refactor CHANGELOG. (#1500)
More consistent way of adding command arguments (#1490)
Remove placeholder test for old issue
Update release date post-release to be more accurate
Update CHANGELOG and dependences for 7.2.0
Fix syntactically incorrect command name (#1488)
Add test for process.exit finishing bunch of if-then-else cases (#1487)
passThroughOptions: correct error message
Add attributeName to Option typings (#1483)
Add missing word and expand wording for clarity (#1482)
Add package support info (#1477)
Add Command parent property to TypeScript (#1475)
Add mock tests to cover subcommand error handling (#1474)
Add runtime test that TypeScript imports are working (#1473)
Update CHANGELOG for 7.1.0 (#1472)
Update documentation for option event listeners (#1470)
Test for help for arguments without description (#1466)
Skip unknown options check if there is a better error to display (#1464)
Missing subcommand in action for test (#1462)
Test for help for arguments without description (#1459)
Add support for variadic to choices (#1454)
Convert typings tests to tsd (#1453)
Add cjs to list of expected node script extensions (#1449)
Replace process.mainModule with require.main (#1448)
Update/fix esm wrapper name in package (#1443)
Add support for named imports in ESM (#1440)
Fix stale entry, changed default behaviour
Feature/prepare for 7 (#1436)
Small addition to docs for new parameter
ability to specify `minColumnWidth` for `Help.wrap` (#1430)
Update dependencies (#1432)
Test coverage (#1433)
Feature/update chinese readme (#1431)
Make new excess arguments error opt-in (#1429)
Positional options (#1427)
Combine prerelease 7 versions together (#1418)
Increase test coverage, including incrementNodeInspectorPort (#1428)
Simplify eslint dependencies for TypeScript (#1425)
Modify return type depending on storeOptionsAsProperties parameter (#1424)
Use custom command example to show revert to Commander v6 behaviours (#1421)
Update supported details for 7.x (#1419)
Add PR links to 7.0.0-2 release
Prepare for release
Merge branch 'master' into release/7.x
Change to safe storage of options by default, and change action parameters (#1409)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands