|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | - |
4 | 3 | ## v0.2.0 |
5 | 4 |
|
6 | 5 | [compare changes](https://github.com/unjs/citty/compare/v0.1.6...v0.2.0) |
|
11 | 10 | - Support `enum` arg type ([#83](https://github.com/unjs/citty/pull/83)) |
12 | 11 | - Support `number` arg type ([#73](https://github.com/unjs/citty/pull/73)) |
13 | 12 | - 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)) |
| 13 | +- ⚠️ Parsed optionals and enum type safety ([#174](https://github.com/unjs/citty/pull/174)) |
15 | 14 |
|
16 | 15 | ### 🩹 Fixes |
17 | 16 |
|
18 | | -- ⚠️ Conditionally print negative boolean argument usage ([#177](https://github.com/unjs/citty/pull/177)) |
| 17 | +- ⚠️ Conditionally print negative boolean argument usage ([#177](https://github.com/unjs/citty/pull/177)) |
19 | 18 | - **types:** Value type of NumberArgDef should be number ([#183](https://github.com/unjs/citty/pull/183)) |
20 | 19 | - Show cli error message ([#186](https://github.com/unjs/citty/pull/186)) |
21 | 20 | - Allow `number` arg to be optional ([#194](https://github.com/unjs/citty/pull/194)) |
|
24 | 23 |
|
25 | 24 | - Show error once ([#167](https://github.com/unjs/citty/pull/167)) |
26 | 25 | - 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)) |
| 26 | +- ⚠️ Use `node:util.parseArgs` for arg parsing ([#218](https://github.com/unjs/citty/pull/218)) |
28 | 27 | - Use simple console formatting ([#219](https://github.com/unjs/citty/pull/219)) |
29 | 28 |
|
30 | 29 | ### 📦 Build |
31 | 30 |
|
32 | | -- ⚠️ Esm-only dist ([42b57b0](https://github.com/unjs/citty/commit/42b57b0)) |
| 31 | +- ⚠️ Esm-only dist ([42b57b0](https://github.com/unjs/citty/commit/42b57b0)) |
33 | 32 |
|
34 | 33 | ### 🏡 Chore |
35 | 34 |
|
|
54 | 53 |
|
55 | 54 | #### ⚠️ Breaking Changes |
56 | 55 |
|
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)) |
| 56 | +- ⚠️ Parsed optionals and enum type safety ([#174](https://github.com/unjs/citty/pull/174)) |
| 57 | +- ⚠️ Conditionally print negative boolean argument usage ([#177](https://github.com/unjs/citty/pull/177)) |
| 58 | +- ⚠️ Use `node:util.parseArgs` for arg parsing ([#218](https://github.com/unjs/citty/pull/218)) |
| 59 | +- ⚠️ Esm-only dist ([42b57b0](https://github.com/unjs/citty/commit/42b57b0)) |
61 | 60 |
|
62 | 61 | ### ❤️ Contributors |
63 | 62 |
|
|
184 | 183 | - Add autofix ci ([2cfd134](https://github.com/unjs/citty/commit/2cfd134)) |
185 | 184 | - Fix typo in error code ([4f2c7ca](https://github.com/unjs/citty/commit/4f2c7ca)) |
186 | 185 |
|
187 | | -### ❤️ Contributors |
| 186 | +### ❤️ Contributors |
188 | 187 |
|
189 | 188 | - Pooya Parsa ([@pi0](http://github.com/pi0)) |
190 | | -- Zuixinwang |
| 189 | +- Zuixinwang |
191 | 190 | - Wang Yiding ([@yidingww](http://github.com/yidingww)) |
192 | 191 |
|
193 | 192 | ## v0.1.1 |
194 | 193 |
|
195 | 194 | [compare changes](https://github.com/unjs/citty/compare/v0.1.0...v0.1.1) |
196 | 195 |
|
197 | | - |
198 | 196 | ### 🩹 Fixes |
199 | 197 |
|
200 | | - - Remove sub-command name when resolving nested ([47398f1](https://github.com/unjs/citty/commit/47398f1)) |
201 | | - - Type untyped args as `string ([ boolean`](https://github.com/unjs/citty/commit/ boolean`)) |
202 | | - - Move deps to devDependencies ([#20](https://github.com/unjs/citty/pull/20)) |
203 | | - - Fix unspecified arg types ([d1d769b](https://github.com/unjs/citty/commit/d1d769b)) |
| 198 | +- Remove sub-command name when resolving nested ([47398f1](https://github.com/unjs/citty/commit/47398f1)) |
| 199 | +- Type untyped args as `string ([ boolean`](https://github.com/unjs/citty/commit/ boolean`)) |
| 200 | +- Move deps to devDependencies ([#20](https://github.com/unjs/citty/pull/20)) |
| 201 | +- Fix unspecified arg types ([d1d769b](https://github.com/unjs/citty/commit/d1d769b)) |
204 | 202 |
|
205 | 203 | ### 🏡 Chore |
206 | 204 |
|
207 | | - - Update lockfile ([fd037e4](https://github.com/unjs/citty/commit/fd037e4)) |
208 | | - - Update unbuild ([0810eaa](https://github.com/unjs/citty/commit/0810eaa)) |
209 | | - - Update lockfile ([69adc47](https://github.com/unjs/citty/commit/69adc47)) |
| 205 | +- Update lockfile ([fd037e4](https://github.com/unjs/citty/commit/fd037e4)) |
| 206 | +- Update unbuild ([0810eaa](https://github.com/unjs/citty/commit/0810eaa)) |
| 207 | +- Update lockfile ([69adc47](https://github.com/unjs/citty/commit/69adc47)) |
210 | 208 |
|
211 | | -### ❤️ Contributors |
| 209 | +### ❤️ Contributors |
212 | 210 |
|
213 | 211 | - Pooya Parsa ([@pi0](http://github.com/pi0)) |
214 | 212 | - Ʀᴀʏ ([@so1ve](http://github.com/so1ve)) |
|
218 | 216 |
|
219 | 217 | [compare changes](https://github.com/unjs/citty/compare/v0.0.2...v0.1.0) |
220 | 218 |
|
221 | | - |
222 | 219 | ### 🏡 Chore |
223 | 220 |
|
224 | | - - Inline deps ([ad8cec2](https://github.com/unjs/citty/commit/ad8cec2)) |
| 221 | +- Inline deps ([ad8cec2](https://github.com/unjs/citty/commit/ad8cec2)) |
225 | 222 |
|
226 | | -### ❤️ Contributors |
| 223 | +### ❤️ Contributors |
227 | 224 |
|
228 | 225 | - Pooya Parsa ([@pi0](http://github.com/pi0)) |
229 | 226 |
|
230 | 227 | ## v0.0.2 |
231 | 228 |
|
232 | | - |
233 | 229 | ### 🚀 Enhancements |
234 | 230 |
|
235 | | - - `setup` hook ([#9](https://github.com/unjs/citty/pull/9)) |
236 | | - - Allow accessing args with camelCase or kebabCase ([#17](https://github.com/unjs/citty/pull/17)) |
237 | | - - Basic type inference for args ([#1](https://github.com/unjs/citty/pull/1)) |
| 231 | +- `setup` hook ([#9](https://github.com/unjs/citty/pull/9)) |
| 232 | +- Allow accessing args with camelCase or kebabCase ([#17](https://github.com/unjs/citty/pull/17)) |
| 233 | +- Basic type inference for args ([#1](https://github.com/unjs/citty/pull/1)) |
238 | 234 |
|
239 | 235 | ### 🩹 Fixes |
240 | 236 |
|
241 | | - - Correctly parse positional arguments ([#16](https://github.com/unjs/citty/pull/16)) |
242 | | - - Allow any args type for `SubCommandsDef` ([60d218d](https://github.com/unjs/citty/commit/60d218d)) |
| 237 | +- Correctly parse positional arguments ([#16](https://github.com/unjs/citty/pull/16)) |
| 238 | +- Allow any args type for `SubCommandsDef` ([60d218d](https://github.com/unjs/citty/commit/60d218d)) |
243 | 239 |
|
244 | 240 | ### 🏡 Chore |
245 | 241 |
|
246 | | - - Small fixes ([1f377a9](https://github.com/unjs/citty/commit/1f377a9)) |
247 | | - - Update pnpm ([ba75f83](https://github.com/unjs/citty/commit/ba75f83)) |
248 | | - - Fix build ([b7b42be](https://github.com/unjs/citty/commit/b7b42be)) |
249 | | - - Update deps ([b1a3f06](https://github.com/unjs/citty/commit/b1a3f06)) |
| 242 | +- Small fixes ([1f377a9](https://github.com/unjs/citty/commit/1f377a9)) |
| 243 | +- Update pnpm ([ba75f83](https://github.com/unjs/citty/commit/ba75f83)) |
| 244 | +- Fix build ([b7b42be](https://github.com/unjs/citty/commit/b7b42be)) |
| 245 | +- Update deps ([b1a3f06](https://github.com/unjs/citty/commit/b1a3f06)) |
250 | 246 |
|
251 | | -### ❤️ Contributors |
| 247 | +### ❤️ Contributors |
252 | 248 |
|
253 | 249 | - Pooya Parsa ([@pi0](http://github.com/pi0)) |
254 | 250 | - Sebastiaan Van Arkens <[email protected]> |
255 | | - |
0 commit comments