Skip to content

Commit aacc0c2

Browse files
chore(main): release bargs 4.0.0 (#29)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 65e217f commit aacc0c2

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "3.6.2"
2+
".": "4.0.0"
33
}

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## [4.0.0](https://github.com/boneskull/bargs/compare/bargs-v3.6.2...bargs-v4.0.0) (2026-01-10)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* The `.command(name, cliBuilder, options?)` overload has been removed. Users must migrate to the factory pattern as detailed in README.md.
9+
10+
### Features
11+
12+
* **docs:** add custom mermaid diagram plugin for TypeDoc ([9ef6cc6](https://github.com/boneskull/bargs/commit/9ef6cc61b43f9439405af4c162ce0e1449547922))
13+
* remove direct CliBuilder pattern for nested commands ([88c0251](https://github.com/boneskull/bargs/commit/88c02519ca91fb752810ec74d0f57ead4e4b8f67))
14+
15+
16+
### Bug Fixes
17+
18+
* throw when encountering a thenable in parse() ([74ace9c](https://github.com/boneskull/bargs/commit/74ace9ceb9312ea559c0144717b6ecbc1a24de76))
19+
320
## [3.6.2](https://github.com/boneskull/bargs/compare/bargs-v3.6.1...bargs-v3.6.2) (2026-01-09)
421

522

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@boneskull/bargs",
3-
"version": "3.6.2",
3+
"version": "4.0.0",
44
"type": "module",
55
"description": "A TypeScript-first CLI argument parser wrapping util.parseArgs() with full type inference",
66
"repository": {

0 commit comments

Comments
 (0)