Skip to content
Myr

Update CHANGELOG for 13.0.0 (#2301)

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 49423a2 · Browse files · 1 file+10 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+10 added−3 removed

  • other:+10 added−3 removed

1 file+10 added−3 removed

modified:CHANGELOG.md+10 added-3 removed
6 unmodified lines
78<!-- markdownlint-disable MD024 -->9<!-- markdownlint-disable MD004 -->1011## [13.0.0-1] (2024-12-07)11## [13.0.0] (2024-12-27)1213### Added1415- support multiple calls to `.parse()` with default settings ([#2299])16- add `.saveStateBeforeParse()` and `.restoreStateBeforeParse()` for use by subclasses ([#2299])17- style routines like `styleTitle()` to add color to help using `.configureHelp()` or Help subclass ([#2251])18- color related support in `.configureOutput()` for `getOutHasColors()`, `getErrHasColors()`, and `stripColor()` ([#2251])19- Help property for `minWidthToWrap` ([#2251])20- Help methods for `displayWidth()`, `boxWrap()`, `preformatted()` et al ([#2251])
1 unmodified line
22### Changed2324- *Breaking*: excess command-arguments cause an error by default, see migration tips ([#2223])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])27- TypeScript: include implicit `this` in parameters for action handler callback ([#2197])2829### Deleted3031- *Breaking*: `Help.wrap()` refactored into `formatItem()` and `boxWrap()` ([#2251])323033### Migration Tips3435**Excess command-arguments**36
35 unmodified lines
72 console.log(program.args);73});74```7576## [13.0.0-0] (2024-12-07)7778(Released in 13.0.0)7980## [12.1.0] (2024-05-18)8182### Added8384- auto-detect special node flags `node --eval` and `node --print` when call `.parse()` with no arguments ([#2164])80- 8586### Changed8788- prefix require of Node.js core modules with `node:` ([#2170])89- format source files with Prettier ([#2180])
1267 unmodified lines
1357[#2197]: https://github.com/tj/commander.js/pull/21971358[#2223]: https://github.com/tj/commander.js/pull/22231359[#2251]: https://github.com/tj/commander.js/pull/22511360[#2270]: https://github.com/tj/commander.js/pull/22701361[#2299]: https://github.com/tj/commander.js/pull/2299136213631364<!-- Referenced in 5.x -->1365[#1]: https://github.com/tj/commander.js/issues/1
72 unmodified lines
1438[#1026]: https://github.com/tj/commander.js/pull/10261439[#1028]: https://github.com/tj/commander.js/pull/102814401441[Unreleased]: https://github.com/tj/commander.js/compare/master...develop1442[13.0.0]: https://github.com/tj/commander.js/compare/v12.1.0...v13.0.01443[13.0.0-0]: https://github.com/tj/commander.js/compare/v12.1.0...v13.0.0-01444[12.1.0]: https://github.com/tj/commander.js/compare/v12.0.0...v12.1.01445[12.0.0]: https://github.com/tj/commander.js/compare/v11.1.0...v12.0.01446[12.0.0-1]: https://github.com/tj/commander.js/compare/v12.0.0-0...v12.0.0-1
49 unmodified lines