Skip to content

Commit 35b76bf

Browse files
committed
Update CHANGELOG for version 0.0.2
1 parent 49dc6b1 commit 35b76bf

File tree

1 file changed

+42
-2
lines changed

1 file changed

+42
-2
lines changed

CHANGELOG.md

+42-2
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,24 @@ package updates, you can specify your package dependency using
1212

1313
## [Unreleased]
1414

15+
*No changes yet.*
16+
17+
## [0.0.2] - 2020-03-06
18+
1519
### Additions
1620

1721
- The `EX_USAGE` exit code is now used for validation errors.
1822
- The parser provides near-miss suggestions when a user provides an unknown
1923
option.
2024
- `ArgumentParser` now builds on Windows.
2125
- You can throw an `ExitCode` error to exit without printing any output.
26+
- You can now create optional Boolean flags with inversions that default to
27+
`nil`:
28+
```swift
29+
@Flag(inversion: .prefixedNo) var takeMyShot: Bool?
30+
```
31+
- You can now specify exclusivity for case-iterable flags and for Boolean flags
32+
with inversions.
2233

2334
### Fixes
2435

@@ -31,14 +42,43 @@ package updates, you can specify your package dependency using
3142
descriptions.
3243
- Removed the default value note when the default value is an empty string.
3344
- Default values are now shown for Boolean options.
45+
- Case-iterable flags are now grouped correctly.
46+
- Case-iterable flags with default values now show the default value.
47+
- Arguments from parent commands that are included via `@OptionGroup` in
48+
subcommands are no longer duplicated.
49+
- Case-iterable flags created with the `.chooseFirst` exclusivity parameter now
50+
correctly ignore additional flags.
51+
52+
The 0.0.2 release includes contributions from [AliSoftware], [buttaface],
53+
[compnerd], [dduan], [glessard], [griffin-stewie], [IngmarStein],
54+
[jonathanpenn], [klaaspieter], [natecook1000], [Sajjon], [sjavora],
55+
[Wildchild9], and [zntfdr]. Thank you!
3456

3557
## [0.0.1] - 2020-02-27
3658

3759
- `ArgumentParser` initial release.
3860

3961

62+
<!-- Link references for releases -->
4063

41-
42-
[Unreleased]: https://github.com/apple/swift-argument-parser/compare/0.0.1...HEAD
64+
[Unreleased]: https://github.com/apple/swift-argument-parser/compare/0.0.2...HEAD
65+
[0.0.2]: https://github.com/apple/swift-argument-parser/compare/0.0.1...0.0.2
4366
[0.0.1]: https://github.com/apple/swift-argument-parser/releases/tag/0.0.1
4467

68+
<!-- Link references for contributors -->
69+
70+
[AliSoftware]: https://github.com/apple/swift-argument-parser/commits?author=AliSoftware
71+
[buttaface]: https://github.com/apple/swift-argument-parser/commits?author=buttaface
72+
[compnerd]: https://github.com/apple/swift-argument-parser/commits?author=compnerd
73+
[dduan]: https://github.com/apple/swift-argument-parser/commits?author=dduan
74+
[glessard]: https://github.com/apple/swift-argument-parser/commits?author=glessard
75+
[griffin-stewie]: https://github.com/apple/swift-argument-parser/commits?author=griffin-stewie
76+
[IngmarStein]: https://github.com/apple/swift-argument-parser/commits?author=IngmarStein
77+
[jonathanpenn]: https://github.com/apple/swift-argument-parser/commits?author=jonathanpenn
78+
[klaaspieter]: https://github.com/apple/swift-argument-parser/commits?author=klaaspieter
79+
[natecook1000]: https://github.com/apple/swift-argument-parser/commits?author=natecook1000
80+
[Sajjon]: https://github.com/apple/swift-argument-parser/commits?author=Sajjon
81+
[sjavora]: https://github.com/apple/swift-argument-parser/commits?author=sjavora
82+
[Wildchild9]: https://github.com/apple/swift-argument-parser/commits?author=Wildchild9
83+
[zntfdr]: https://github.com/apple/swift-argument-parser/commits?author=zntfdr
84+

0 commit comments

Comments
 (0)