Skip to content
Myr

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

5 files+20 added−13 removed

modified:docs/release-policy.md+1 added-1 removed
modified:CHANGELOG.md+13 added-6 removed
6 unmodified lines
78<!-- markdownlint-disable MD024 -->9<!-- markdownlint-disable MD004 -->1011## [15.0.0] (2026-05-15)11## [15.0.0-0] (2025-02-22)1213_date is placeholder, Node.js 20 EOL on 2026-04-30_1413Commander 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.1417The release of Commander 15 moves Commander 14 into maintenance. Commander 14 will get security updates for 12 months.18For more info see [Release Policy](./docs/release-policy.md).15The release of Commander 15 in May 2026 will move Commander 14 into maintenance. Commander 14 will get security updates for 1612 months (to May 2027). For more info see [Release Policy](./docs/release-policy.md).1718### Added1920- show excess command-arguments in error message ([#2384])2122### Fixed2324- *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])2627### Changed2829- *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])3233### Deleted34
1450 unmodified lines
1485[#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/247515031504<!-- Referenced in 5.x -->1505[#1]: https://github.com/tj/commander.js/issues/11506[#432]: https://github.com/tj/commander.js/issues/432
71 unmodified lines
1578[#1026]: https://github.com/tj/commander.js/pull/10261579[#1028]: https://github.com/tj/commander.js/pull/102815801581[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.0
55 unmodified lines
modified: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 lines
19 "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 lines
modified:package.json+2 added-2 removed
modified:Readme.md+1 added-1 removed
1157 unmodified lines
1158- [Release Policy](./docs/release-policy.md)11591160## Support11611162The current version of Commander is fully supported on Long Term Support versions of Node.js, and requires at least v20.1162The current version of Commander is fully supported on Long Term Support versions of Node.js, and requires at least v22.12.0.11631164Older major versions of Commander receive security updates for 12 months. For more see: [Release Policy](./docs/release-policy.md).11651166The main forum for free and community support is the project [Issues](https://github.com/tj/commander.js/issues) on GitHub.
6 unmodified lines