@@ -8,10 +8,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
8
8
<!-- markdownlint-disable MD024 -->
9
9
<!-- markdownlint-disable MD004 -->
10
10
11
- ## [ 13.0.0-1 ] (2024-12-07 )
11
+ ## [ 13.0.0] (2024-12-27 )
12
12
13
13
### Added
14
14
15
+ - support multiple calls to ` .parse() ` with default settings ([ #2299 ] )
16
+ - add ` .saveStateBeforeParse() ` and ` .restoreStateBeforeParse() ` for use by subclasses ([ #2299 ] )
15
17
- style routines like ` styleTitle() ` to add color to help using ` .configureHelp() ` or Help subclass ([ #2251 ] )
16
18
- color related support in ` .configureOutput() ` for ` getOutHasColors() ` , ` getErrHasColors() ` , and ` stripColor() ` ([ #2251 ] )
17
19
- Help property for ` minWidthToWrap ` ([ #2251 ] )
@@ -21,13 +23,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
21
23
22
24
- * Breaking* : excess command-arguments cause an error by default, see migration tips ([ #2223 ] )
23
25
- * Breaking* : throw during Option construction for unsupported option flags, like multiple characters after single ` - ` ([ #2270 ] )
26
+ - * Breaking* : throw on multiple calls to ` .parse() ` if ` storeOptionsAsProperties: true ` ([ #2299 ] )
24
27
- TypeScript: include implicit ` this ` in parameters for action handler callback ([ #2197 ] )
25
28
26
29
### Deleted
27
30
28
31
- * Breaking* : ` Help.wrap() ` refactored into ` formatItem() ` and ` boxWrap() ` ([ #2251 ] )
29
32
30
-
31
33
### Migration Tips
32
34
33
35
** Excess command-arguments**
@@ -71,13 +73,16 @@ program.action((options) => {
71
73
});
72
74
```
73
75
76
+ ## [ 13.0.0-0] (2024-12-07)
77
+
78
+ (Released in 13.0.0)
74
79
75
80
## [ 12.1.0] (2024-05-18)
76
81
77
82
### Added
78
83
79
84
- auto-detect special node flags ` node --eval ` and ` node --print ` when call ` .parse() ` with no arguments ([ #2164 ] )
80
- -
85
+
81
86
### Changed
82
87
83
88
- prefix require of Node.js core modules with ` node: ` ([ #2170 ] )
@@ -1353,6 +1358,7 @@ program
1353
1358
[ #2223 ] : https://github.com/tj/commander.js/pull/2223
1354
1359
[ #2251 ] : https://github.com/tj/commander.js/pull/2251
1355
1360
[ #2270 ] : https://github.com/tj/commander.js/pull/2270
1361
+ [ #2299 ] : https://github.com/tj/commander.js/pull/2299
1356
1362
1357
1363
1358
1364
<!-- Referenced in 5.x -->
@@ -1433,6 +1439,7 @@ program
1433
1439
[ #1028 ] : https://github.com/tj/commander.js/pull/1028
1434
1440
1435
1441
[ Unreleased ] : https://github.com/tj/commander.js/compare/master...develop
1442
+ [ 13.0.0 ] : https://github.com/tj/commander.js/compare/v12.1.0...v13.0.0
1436
1443
[ 13.0.0-0 ] : https://github.com/tj/commander.js/compare/v12.1.0...v13.0.0-0
1437
1444
[ 12.1.0 ] : https://github.com/tj/commander.js/compare/v12.0.0...v12.1.0
1438
1445
[ 12.0.0 ] : https://github.com/tj/commander.js/compare/v11.1.0...v12.0.0
0 commit comments