Skip to content

Commit

Permalink
3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Dec 12, 2021
1 parent 9853d10 commit d77cbe8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
## next
## 3.0.0 (December 12, 2021)

- Allowed args after and between options
- Replaced `chalk` with `ansi-colors`
- Package
- Changed supported versions of Node.js to `^12.20.0`, `^14.13.0` and `>=15.0.0`
- Converted to ESM. CommonJS is supported as well (dual module)

## 3.0.0-beta.1
## 3.0.0-beta.1 (February 14, 2020)

- Restored wrongly removed `Command#extend()`
- Changed `Command`'s constructor and `Command#command(method)` to take `usage` only (i.e. `command('name [param]')` instead `command('name', '[param]')`)
Expand All @@ -33,7 +33,7 @@
- Added `Option#names()` method
- Removed name validation for subcommands
- Allowed a number for options's short name
- Changed argv parse handlers to [`init()` -> `applyConfig()` -> `prepareContext()`]+ -> `action()`
- Changed `argv` parse handlers to [`init()` `applyConfig()` `prepareContext()`]+ `action()`
- Changed exports
- Added `getCommandHelp()` function
- Added `Params` class
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Roman Dvornov <rdvornov@gmail.com>",
"repository": "lahmatiy/clap",
"license": "MIT",
"version": "3.0.0-beta.1",
"version": "3.0.0",
"keywords": [
"cli",
"command",
Expand Down

0 comments on commit d77cbe8

Please sign in to comment.