Skip to content

Commit 3f00f5b

Browse files
authored
Update changelog and version and engine for prerelease (#2484)
1 parent 26e3ba3 commit 3f00f5b

5 files changed

Lines changed: 20 additions & 13 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,26 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88
<!-- markdownlint-disable MD024 -->
99
<!-- markdownlint-disable MD004 -->
1010

11-
## [15.0.0] (2026-05-15)
12-
13-
_date is placeholder, Node.js 20 EOL on 2026-04-30_
11+
## [15.0.0-0] (2025-02-22)
1412

1513
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.
1614

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).
1917

2018
### Added
2119

20+
- show excess command-arguments in error message ([#2384])
21+
2222
### Fixed
2323

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+
2427
### Changed
2528

2629
- *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)`).
2831
- dev: switch tests from Jest to `node:test` test runner ([#2463])
2932

3033
### Deleted
@@ -1483,9 +1486,11 @@ program
14831486
[#2350]: https://github.com/tj/commander.js/pull/2350
14841487
[#2359]: https://github.com/tj/commander.js/pull/2359
14851488
[#2369]: https://github.com/tj/commander.js/pull/2369
1489+
[#2384]: https://github.com/tj/commander.js/pull/2384
14861490
[#2394]: https://github.com/tj/commander.js/pull/2394
14871491
[#2395]: https://github.com/tj/commander.js/pull/2395
14881492
[#2396]: https://github.com/tj/commander.js/pull/2396
1493+
[#2405]: https://github.com/tj/commander.js/pull/2405
14891494
[#2409]: https://github.com/tj/commander.js/pull/2409
14901495
[#2410]: https://github.com/tj/commander.js/pull/2410
14911496
[#2427]: https://github.com/tj/commander.js/pull/2427
@@ -1494,6 +1499,7 @@ program
14941499
[#2463]: https://github.com/tj/commander.js/pull/2463
14951500
[#2464]: https://github.com/tj/commander.js/pull/2464
14961501
[#2465]: https://github.com/tj/commander.js/pull/2465
1502+
[#2475]: https://github.com/tj/commander.js/pull/2475
14971503

14981504
<!-- Referenced in 5.x -->
14991505
[#1]: https://github.com/tj/commander.js/issues/1
@@ -1573,6 +1579,7 @@ program
15731579
[#1028]: https://github.com/tj/commander.js/pull/1028
15741580

15751581
[Unreleased]: https://github.com/tj/commander.js/compare/master...develop
1582+
[15.0.0-0]: https://github.com/tj/commander.js/compare/v14.0.3...v15.0.0-0
15761583
[14.0.3]: https://github.com/tj/commander.js/compare/v14.0.2...v14.0.3
15771584
[14.0.2]: https://github.com/tj/commander.js/compare/v14.0.1...v14.0.2
15781585
[14.0.1]: https://github.com/tj/commander.js/compare/v14.0.0...v14.0.1

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ There is more information available about:
11591159

11601160
## Support
11611161

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.
11631163

11641164
Older major versions of Commander receive security updates for 12 months. For more see: [Release Policy](./docs/release-policy.md).
11651165

docs/release-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ We follow [Semantic Versioning](http://semver.org/spec/v2.0.0.html), and limit b
55
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.
66

77
The release notes for major versions highlight breaking changes, and include a section of migration tips for common changes required.
8-
The [Changelog](../CHANGELOG.md) lists release notes for all versions.
8+
The [changelog](../CHANGELOG.md) lists release notes for all versions.
99

1010
The current release line gets all updates: features, bug fixes, and security updates. Older maintenance versions get just security updates for 12 months.
1111

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commander",
3-
"version": "14.0.3",
3+
"version": "15.0.0-0",
44
"description": "the complete solution for node.js command-line programs",
55
"keywords": [
66
"commander",
@@ -58,7 +58,7 @@
5858
},
5959
"types": "typings/index.d.ts",
6060
"engines": {
61-
"node": "^20.19.0 || >=22.12.0"
61+
"node": ">=22.12.0"
6262
},
6363
"support": true
6464
}

0 commit comments

Comments
 (0)