Update testing node versions, supported node versions, and archive 4.x CHANGELOG entries (#1385)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by John Gee · committed by GitHub · parent 0703a4d · Browse files · 5 files·+114 added−109 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
5 files+114 added−109 removed
- other:+114 added−109 removed
Provenance
- Commit
033e6d9- Tree
935d868- Author
John Gee <john@ruru.gen.nz>- Committer
GitHub <noreply@github.com>- Parent
0703a4d
5 files changed+114 added−109 removed
modified:.github/workflows/tests.yml+1 added-1 removed
7 unmodified lines89101112121314151611 unmodified lines7 unmodified lines runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: node-version: [10.x, 12.x, 14.x] node-version: [10.x, 12.x, 14.x, 15.x] os: [ubuntu-latest, windows-latest, macos-latest]
steps: - uses: actions/checkout@v111 unmodified linesadded:changelogs/CHANGELOG-4.md+108 added
1+# Changelog for 4.x2+3+## [4.1.1] (2020-02-02)4+5+### Fixed6+7+* TypeScript definition for `.action()` should include Promise for async ([#1157])8+9+## [4.1.0] (2020-01-06)10+11+### Added12+13+* two routines to change how option values are handled, and eliminate name clashes with command properties ([#933] [#1102])14+ * see storeOptionsAsProperties and passCommandToAction in README15+* `.parseAsync` to use instead of `.parse` if supply async action handlers ([#806] [#1118])16+17+### Fixed18+19+* Remove trailing blanks from wrapped help text ([#1096])20+21+### Changed22+23+* update dependencies24+* extend security coverage for Commander 2.x to 2020-02-0325+* improvements to README26+* improvements to TypeScript definition documentation27+* move old versions out of main CHANGELOG28+* removed explicit use of `ts-node` in tests29+30+## [4.0.1] (2019-11-12)31+32+### Fixed33+34+* display help when requested, even if there are missing required options ([#1091])35+36+## [4.0.0] (2019-11-02)37+38+### Added39+40+* automatically wrap and indent help descriptions for options and commands ([#1051])41+* `.exitOverride()` allows override of calls to `process.exit` for additional error handling and to keep program running ([#1040])42+* support for declaring required options with `.requiredOptions()` ([#1071])43+* GitHub Actions support ([#1027])44+* translation links in README45+46+### Changed47+48+* dev: switch tests from Sinon+Should to Jest with major rewrite of tests ([#1035])49+* call default subcommand even when there are unknown options ([#1047])50+* *Breaking* Commander is only officially supported on Node 8 and above, and requires Node 6 ([#1053])51+52+### Fixed53+54+* *Breaking* keep command object out of program.args when action handler called ([#1048])55+ * also, action handler now passed array of unknown arguments56+* complain about unknown options when program argument supplied and action handler ([#1049])57+ * this changes parameters to `command:*` event to include unknown arguments58+* removed deprecated `customFds` option from call to `child_process.spawn` ([#1052])59+* rework TypeScript declarations to bring all types into imported namespace ([#1081])60+61+### Migration Tips62+63+#### Testing for no arguments64+65+If you were previously using code like:66+67+```js68+if (!program.args.length) ...69+```70+71+a partial replacement is:72+73+```js74+if (program.rawArgs.length < 3) ...75+```76+77+## [4.0.0-1] Prerelease (2019-10-08)78+79+(Released in 4.0.0)80+81+## [4.0.0-0] Prerelease (2019-10-01)82+83+(Released in 4.0.0)84+85+[#1027]: https://github.com/tj/commander.js/pull/102786+[#1035]: https://github.com/tj/commander.js/pull/103587+[#1040]: https://github.com/tj/commander.js/pull/104088+[#1047]: https://github.com/tj/commander.js/pull/104789+[#1048]: https://github.com/tj/commander.js/pull/104890+[#1049]: https://github.com/tj/commander.js/pull/104991+[#1051]: https://github.com/tj/commander.js/pull/105192+[#1052]: https://github.com/tj/commander.js/pull/105293+[#1053]: https://github.com/tj/commander.js/pull/105394+[#1071]: https://github.com/tj/commander.js/pull/107195+[#1081]: https://github.com/tj/commander.js/pull/108196+[#1091]: https://github.com/tj/commander.js/pull/109197+[#1096]: https://github.com/tj/commander.js/pull/109698+[#1102]: https://github.com/tj/commander.js/pull/110299+[#1118]: https://github.com/tj/commander.js/pull/1118100+[#1157]: https://github.com/tj/commander.js/pull/1157101+[#806]: https://github.com/tj/commander.js/issues/806102+103+[4.1.1]: https://github.com/tj/commander.js/compare/v4.1.0..v4.1.1104+[4.1.0]: https://github.com/tj/commander.js/compare/v4.0.1..v4.1.0105+[4.0.1]: https://github.com/tj/commander.js/compare/v4.0.0..v4.0.1106+[4.0.0]: https://github.com/tj/commander.js/compare/v3.0.2..v4.0.0107+[4.0.0-1]: https://github.com/tj/commander.js/compare/v4.0.0-0..v4.0.0-1108+[4.0.0-0]: https://github.com/tj/commander.js/compare/v3.0.2...v4.0.0-0modified:.travis.yml+1 added
123456784 unmodified lineslanguage: node_jsnode_js: - "10" - "12" - "lts/*"- "node"cache: directories:4 unmodified linesmodified:CHANGELOG.md+1 added-105 removed
199 unmodified lines200 ## [5.0.0-0] (2020-02-02)201 202 (Released in 5.0.0)203 204-## [4.1.1] (2020-02-02)205-206-### Fixed207-208-* TypeScript definition for `.action()` should include Promise for async ([#1157])209-210-## [4.1.0] (2020-01-06)211-212-### Added213-214-* two routines to change how option values are handled, and eliminate name clashes with command properties ([#933] [#1102])215- * see storeOptionsAsProperties and passCommandToAction in README216-* `.parseAsync` to use instead of `.parse` if supply async action handlers ([#806] [#1118])217-218-### Fixed219-220-* Remove trailing blanks from wrapped help text ([#1096])221-222-### Changed223-224-* update dependencies225-* extend security coverage for Commander 2.x to 2020-02-03226-* improvements to README227-* improvements to TypeScript definition documentation228-* move old versions out of main CHANGELOG229-* removed explicit use of `ts-node` in tests230-231-## [4.0.1] (2019-11-12)232-233-### Fixed234-235-* display help when requested, even if there are missing required options ([#1091])236-237-## [4.0.0] (2019-11-02)238-239-### Added240-241-* automatically wrap and indent help descriptions for options and commands ([#1051])242-* `.exitOverride()` allows override of calls to `process.exit` for additional error handling and to keep program running ([#1040])243-* support for declaring required options with `.requiredOptions()` ([#1071])244-* GitHub Actions support ([#1027])245-* translation links in README246-247-### Changed248-249-* dev: switch tests from Sinon+Should to Jest with major rewrite of tests ([#1035])250-* call default subcommand even when there are unknown options ([#1047])251-* *Breaking* Commander is only officially supported on Node 8 and above, and requires Node 6 ([#1053])252-253-### Fixed254-255-* *Breaking* keep command object out of program.args when action handler called ([#1048])256- * also, action handler now passed array of unknown arguments257-* complain about unknown options when program argument supplied and action handler ([#1049])258- * this changes parameters to `command:*` event to include unknown arguments259-* removed deprecated `customFds` option from call to `child_process.spawn` ([#1052])260-* rework TypeScript declarations to bring all types into imported namespace ([#1081])261-262-### Migration Tips263-264-#### Testing for no arguments265-266-If you were previously using code like:267-268-```js269-if (!program.args.length) ...270-```271-272-a partial replacement is:273-274-```js275-if (program.rawArgs.length < 3) ...276-```277-278-## [4.0.0-1] Prerelease (2019-10-08)279-280-(Released in 4.0.0)281-282-## [4.0.0-0] Prerelease (2019-10-01)283-284-(Released in 4.0.0)285-204 ## Older versions205 206+* [4.x](./changelogs/CHANGELOG-4.md)207 * [3.x](./changelogs/CHANGELOG-3.md)208 * [2.x](./changelogs/CHANGELOG-2.md)209 * [1.x](./changelogs/CHANGELOG-1.md)210 * [0.x](./changelogs/CHANGELOG-0.md)6 unmodified lines217 [#645]: https://github.com/tj/commander.js/issues/645218 [#742]: https://github.com/tj/commander.js/issues/742219 [#764]: https://github.com/tj/commander.js/issues/764220 [#802]: https://github.com/tj/commander.js/issues/802302-[#806]: https://github.com/tj/commander.js/issues/806221 [#809]: https://github.com/tj/commander.js/issues/809222 [#948]: https://github.com/tj/commander.js/issues/948223 [#962]: https://github.com/tj/commander.js/issues/962224 [#995]: https://github.com/tj/commander.js/issues/995307-[#1027]: https://github.com/tj/commander.js/pull/1027225 [#1032]: https://github.com/tj/commander.js/issues/1032309-[#1035]: https://github.com/tj/commander.js/pull/1035310-[#1040]: https://github.com/tj/commander.js/pull/1040311-[#1047]: https://github.com/tj/commander.js/pull/1047312-[#1048]: https://github.com/tj/commander.js/pull/1048313-[#1049]: https://github.com/tj/commander.js/pull/1049314-[#1051]: https://github.com/tj/commander.js/pull/1051315-[#1052]: https://github.com/tj/commander.js/pull/1052316-[#1053]: https://github.com/tj/commander.js/pull/1053226 [#1062]: https://github.com/tj/commander.js/pull/1062318-[#1071]: https://github.com/tj/commander.js/pull/1071319-[#1081]: https://github.com/tj/commander.js/pull/1081227 [#1088]: https://github.com/tj/commander.js/issues/1088321-[#1091]: https://github.com/tj/commander.js/pull/1091322-[#1096]: https://github.com/tj/commander.js/pull/1096323-[#1102]: https://github.com/tj/commander.js/pull/1102324-[#1118]: https://github.com/tj/commander.js/pull/1118228 [#1119]: https://github.com/tj/commander.js/pull/1119229 [#1133]: https://github.com/tj/commander.js/pull/1133230 [#1138]: https://github.com/tj/commander.js/pull/1138231 [#1145]: https://github.com/tj/commander.js/pull/1145232 [#1146]: https://github.com/tj/commander.js/pull/1146233 [#1149]: https://github.com/tj/commander.js/pull/1149234 [#1153]: https://github.com/tj/commander.js/issues/1153332-[#1157]: https://github.com/tj/commander.js/pull/1157235 [#1159]: https://github.com/tj/commander.js/pull/1159236 [#1165]: https://github.com/tj/commander.js/pull/1165237 [#1169]: https://github.com/tj/commander.js/pull/1169238 [#1172]: https://github.com/tj/commander.js/pull/117241 unmodified lines280 [5.0.0-3]: https://github.com/tj/commander.js/compare/v5.0.0-2..v5.0.0-3281 [5.0.0-2]: https://github.com/tj/commander.js/compare/v5.0.0-1..v5.0.0-2282 [5.0.0-1]: https://github.com/tj/commander.js/compare/v5.0.0-0..v5.0.0-1283 [5.0.0-0]: https://github.com/tj/commander.js/compare/v4.1.1..v5.0.0-0382-[4.1.1]: https://github.com/tj/commander.js/compare/v4.1.0..v4.1.1383-[4.1.0]: https://github.com/tj/commander.js/compare/v4.0.1..v4.1.0384-[4.0.1]: https://github.com/tj/commander.js/compare/v4.0.0..v4.0.1385-[4.0.0]: https://github.com/tj/commander.js/compare/v3.0.2..v4.0.0386-[4.0.0-1]: https://github.com/tj/commander.js/compare/v4.0.0-0..v4.0.0-1387-[4.0.0-0]: https://github.com/tj/commander.js/compare/v3.0.2...v4.0.0-0modified:SECURITY.md+3 added-3 removed
4 unmodified lines56789101191011121314152 unmodified lines4 unmodified linesOld versions receive security updates for six months.
| Version | Supported || ------- | ------------------------------------------ || 5.x | :white_check_mark: || 4.x | :white_check_mark: support ends 2020-09-14 || < 4 | :x: || 6.x | :white_check_mark: support ends 2021-30-06 || 5.x | :white_check_mark: support ends 2021-01-20 || < 5 | :x: |
## Reporting a Vulnerability
To report a security vulnerability, please use the2 unmodified lines