Update changelog and version and engine for prerelease (#2484)
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 26e3ba3 · Browse files · 5 files·+20 added−13 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+20 added−13 removed
- other:+20 added−13 removed
Provenance
- Commit
3f00f5b- Tree
8a46538- Author
John Gee <john@ruru.gen.nz>- Committer
GitHub <noreply@github.com>- Parent
26e3ba3
5 files changed+20 added−13 removed
modified:docs/release-policy.md+1 added-1 removed
3 unmodified lines45678891011124 unmodified lines3 unmodified lines
There are major releases about every six months. We do a major release and bump the minimum required node version when LTS Node.js versions reach end-of-life.
The release notes for major versions highlight breaking changes, and include a section of migration tips for common changes required.The [Changelog](../CHANGELOG.md) lists release notes for all versions.The [changelog](../CHANGELOG.md) lists release notes for all versions.
The current release line gets all updates: features, bug fixes, and security updates. Older maintenance versions get just security updates for 12 months.
| Version | First Release | Release Note | Status | End of Life |4 unmodified linesmodified:CHANGELOG.md+13 added-6 removed
6 unmodified lines7 8 <!-- markdownlint-disable MD024 -->9 <!-- markdownlint-disable MD004 -->10 11-## [15.0.0] (2026-05-15)11+## [15.0.0-0] (2025-02-22)12 13-_date is placeholder, Node.js 20 EOL on 2026-04-30_14-13 Commander 15 is ESM only. This is expected to be seamless for ESM consumers, but some CommonJS consumers may hit issues with tooling requiring configuration for ESM-only dependencies. See Migration Tips below.14 17-The release of Commander 15 moves Commander 14 into maintenance. Commander 14 will get security updates for 12 months.18-For more info see [Release Policy](./docs/release-policy.md).15+The release of Commander 15 in May 2026 will move Commander 14 into maintenance. Commander 14 will get security updates for 16+12 months (to May 2027). For more info see [Release Policy](./docs/release-policy.md).17 18 ### Added19 20+- show excess command-arguments in error message ([#2384])21+22 ### Fixed23 24+- *Breaking:* only lone `--no-*` option sets default option value to `true`, default not implicitly set when define both positive and negative option in either order ([#2405])25+- update example to use compatible character for MINGW64 ([#2475])26+27 ### Changed28 29 - *Breaking:* migrated Commander implementation from CommonJS to ESM ([#2464])27-- *Breaking:* Commander 15 requires Node.js v20 or higher. To be more precise, `^20.19.0 || >=22.12.0` for `require(esm)`.30+- *Breaking:* Commander 15 requires Node.js v22.12.0 or higher (for `require(esm)`).31 - dev: switch tests from Jest to `node:test` test runner ([#2463])32 33 ### Deleted34 1450 unmodified lines1485 [#2348]: https://github.com/tj/commander.js/pull/23481486 [#2350]: https://github.com/tj/commander.js/pull/23501487 [#2359]: https://github.com/tj/commander.js/pull/23591488 [#2369]: https://github.com/tj/commander.js/pull/23691489+[#2384]: https://github.com/tj/commander.js/pull/23841490 [#2394]: https://github.com/tj/commander.js/pull/23941491 [#2395]: https://github.com/tj/commander.js/pull/23951492 [#2396]: https://github.com/tj/commander.js/pull/23961493+[#2405]: https://github.com/tj/commander.js/pull/24051494 [#2409]: https://github.com/tj/commander.js/pull/24091495 [#2410]: https://github.com/tj/commander.js/pull/24101496 [#2427]: https://github.com/tj/commander.js/pull/24271497 [#2428]: https://github.com/tj/commander.js/pull/24281498 [#2462]: https://github.com/tj/commander.js/pull/24621499 [#2463]: https://github.com/tj/commander.js/pull/24631500 [#2464]: https://github.com/tj/commander.js/pull/24641501 [#2465]: https://github.com/tj/commander.js/pull/24651502+[#2475]: https://github.com/tj/commander.js/pull/24751503 1504 <!-- Referenced in 5.x -->1505 [#1]: https://github.com/tj/commander.js/issues/11506 [#432]: https://github.com/tj/commander.js/issues/43271 unmodified lines1578 [#1026]: https://github.com/tj/commander.js/pull/10261579 [#1028]: https://github.com/tj/commander.js/pull/10281580 1581 [Unreleased]: https://github.com/tj/commander.js/compare/master...develop1582+[15.0.0-0]: https://github.com/tj/commander.js/compare/v14.0.3...v15.0.0-01583 [14.0.3]: https://github.com/tj/commander.js/compare/v14.0.2...v14.0.31584 [14.0.2]: https://github.com/tj/commander.js/compare/v14.0.1...v14.0.21585 [14.0.1]: https://github.com/tj/commander.js/compare/v14.0.0...v14.0.11586 [14.0.0]: https://github.com/tj/commander.js/compare/v13.1.0...v14.0.055 unmodified linesmodified:package-lock.json+3 added-3 removed
1 {2 "name": "commander",3- "version": "14.0.3",3+ "version": "15.0.0-0",4 "lockfileVersion": 3,5 "requires": true,6 "packages": {7 "": {8 "name": "commander",9- "version": "14.0.3",9+ "version": "15.0.0-0",10 "license": "MIT",11 "devDependencies": {12 "@eslint/js": "^9.4.0",13 "@types/node": "^22.7.4",5 unmodified lines19 "typescript": "^5.0.4",20 "typescript-eslint": "^8.12.2"21 },22 "engines": {23- "node": "^20.19.0 || >=22.12.0"23+ "node": ">=22.12.0"24 }25 },26 "node_modules/@babel/code-frame": {27 "version": "7.29.0",2788 unmodified linesmodified:package.json+2 added-2 removed
1233456749 unmodified lines575859606161626364{ "name": "commander", "version": "14.0.3", "version": "15.0.0-0", "description": "the complete solution for node.js command-line programs", "keywords": [ "commander", "command",49 unmodified lines "typescript-eslint": "^8.12.2" }, "types": "typings/index.d.ts", "engines": { "node": "^20.19.0 || >=22.12.0" "node": ">=22.12.0" }, "support": true}modified:Readme.md+1 added-1 removed
1157 unmodified lines1158 - [Release Policy](./docs/release-policy.md)1159 1160 ## Support1161 1162-The current version of Commander is fully supported on Long Term Support versions of Node.js, and requires at least v20.1162+The current version of Commander is fully supported on Long Term Support versions of Node.js, and requires at least v22.12.0.1163 1164 Older major versions of Commander receive security updates for 12 months. For more see: [Release Policy](./docs/release-policy.md).1165 1166 The main forum for free and community support is the project [Issues](https://github.com/tj/commander.js/issues) on GitHub.6 unmodified lines