|
1 | 1 | # Changelog |
2 | 2 |
|
3 | 3 |
|
| 4 | +## v0.2.0 |
| 5 | + |
| 6 | +[compare changes](https://github.com/unjs/citty/compare/v0.1.6...v0.2.0) |
| 7 | + |
| 8 | +### 🚀 Enhancements |
| 9 | + |
| 10 | +- Support `hidden` meta to hide command ([#111](https://github.com/unjs/citty/pull/111)) |
| 11 | +- Support `enum` arg type ([#83](https://github.com/unjs/citty/pull/83)) |
| 12 | +- Support `number` arg type ([#73](https://github.com/unjs/citty/pull/73)) |
| 13 | +- Support `negativeDescription` for args ([#40](https://github.com/unjs/citty/pull/40)) |
| 14 | +- ⚠️ Parsed optionals and enum type safety ([#174](https://github.com/unjs/citty/pull/174)) |
| 15 | + |
| 16 | +### 🩹 Fixes |
| 17 | + |
| 18 | +- ⚠️ Conditionally print negative boolean argument usage ([#177](https://github.com/unjs/citty/pull/177)) |
| 19 | +- **types:** Value type of NumberArgDef should be number ([#183](https://github.com/unjs/citty/pull/183)) |
| 20 | +- Show cli error message ([#186](https://github.com/unjs/citty/pull/186)) |
| 21 | +- Allow `number` arg to be optional ([#194](https://github.com/unjs/citty/pull/194)) |
| 22 | + |
| 23 | +### 💅 Refactors |
| 24 | + |
| 25 | +- Show error once ([#167](https://github.com/unjs/citty/pull/167)) |
| 26 | +- More strict types ([f597897](https://github.com/unjs/citty/commit/f597897)) |
| 27 | +- ⚠️ Use `node:util.parseArgs` for arg parsing ([#218](https://github.com/unjs/citty/pull/218)) |
| 28 | +- Use simple console formatting ([#219](https://github.com/unjs/citty/pull/219)) |
| 29 | + |
| 30 | +### 📦 Build |
| 31 | + |
| 32 | +- ⚠️ Esm-only dist ([42b57b0](https://github.com/unjs/citty/commit/42b57b0)) |
| 33 | + |
| 34 | +### 🏡 Chore |
| 35 | + |
| 36 | +- Use automd for badges ([b8371c4](https://github.com/unjs/citty/commit/b8371c4)) |
| 37 | +- Apply automated lint fixes ([34c52a2](https://github.com/unjs/citty/commit/34c52a2)) |
| 38 | +- Fix typos ([#143](https://github.com/unjs/citty/pull/143)) |
| 39 | +- Update repo ([d1ed3b4](https://github.com/unjs/citty/commit/d1ed3b4)) |
| 40 | +- Fix ci script ([e13cb1e](https://github.com/unjs/citty/commit/e13cb1e)) |
| 41 | +- Apply automated updates ([3838771](https://github.com/unjs/citty/commit/3838771)) |
| 42 | +- Add vitest.config ([eb5c799](https://github.com/unjs/citty/commit/eb5c799)) |
| 43 | +- Update dependencies ([5d0a84e](https://github.com/unjs/citty/commit/5d0a84e)) |
| 44 | +- Remove extra file ([b90a84a](https://github.com/unjs/citty/commit/b90a84a)) |
| 45 | + |
| 46 | +### ✅ Tests |
| 47 | + |
| 48 | +- Add unit tests for internal utils ([#77](https://github.com/unjs/citty/pull/77)) |
| 49 | +- Add test for args ([#160](https://github.com/unjs/citty/pull/160)) |
| 50 | +- Add test for runMain ([#162](https://github.com/unjs/citty/pull/162)) |
| 51 | +- Add test for usage ([#161](https://github.com/unjs/citty/pull/161)) |
| 52 | +- Add test for parser ([#192](https://github.com/unjs/citty/pull/192)) |
| 53 | +- Add test for subcommand ([#191](https://github.com/unjs/citty/pull/191)) |
| 54 | + |
| 55 | +#### ⚠️ Breaking Changes |
| 56 | + |
| 57 | +- ⚠️ Parsed optionals and enum type safety ([#174](https://github.com/unjs/citty/pull/174)) |
| 58 | +- ⚠️ Conditionally print negative boolean argument usage ([#177](https://github.com/unjs/citty/pull/177)) |
| 59 | +- ⚠️ Use `node:util.parseArgs` for arg parsing ([#218](https://github.com/unjs/citty/pull/218)) |
| 60 | +- ⚠️ Esm-only dist ([42b57b0](https://github.com/unjs/citty/commit/42b57b0)) |
| 61 | + |
| 62 | +### ❤️ Contributors |
| 63 | + |
| 64 | +- Pooya Parsa ([@pi0](https://github.com/pi0)) |
| 65 | +- Kricsleo ([@kricsleo](https://github.com/kricsleo)) |
| 66 | +- Kanon ([@ysknsid25](https://github.com/ysknsid25)) |
| 67 | +- Bobbie Goede <bobbiegoede@gmail.com> |
| 68 | +- Estéban ([@Barbapapazes](https://github.com/Barbapapazes)) |
| 69 | +- IWANABETHATGUY <974153916@qq.com> |
| 70 | +- Kentaro Suzuki <mail@sushichan.live> |
| 71 | +- Xjccc ([@xjccc](https://github.com/xjccc)) |
| 72 | +- Zuixinwang ([@zuixinwang](https://github.com/zuixinwang)) |
| 73 | +- K-Sato <satokatsuki0130@gmail.com> |
| 74 | +- Lsh ([@peterroe](https://github.com/peterroe)) |
| 75 | + |
4 | 76 | ## v0.1.6 |
5 | 77 |
|
6 | 78 | [compare changes](https://github.com/unjs/citty/compare/v0.1.5...v0.1.6) |
|
0 commit comments