Skip to content

Commit 5772794

Browse files
authored
Update changelog for 1.0.3 release (#399)
1 parent 1a5b1b3 commit 5772794

File tree

1 file changed

+39
-2
lines changed

1 file changed

+39
-2
lines changed

CHANGELOG.md

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,38 @@ Add new items at the end of the relevant section under **Unreleased**.
66

77
## [Unreleased]
88

9-
*No changes yet.*
9+
### Additions
10+
11+
- Adds new API for distinguishing between public, hidden, and private arguments and option groups. This will allow the addition of addition help flags to show extended or group-specific help screens. ([#390])
1012

1113
---
1214

15+
## [1.0.3] - 2022-01-31
16+
17+
### Changes
18+
19+
- When a user provides an incorrect value for an option, an `ArgumentParser`-based program now includes the valid values when possible.
20+
21+
```
22+
$ example --format png
23+
Error: The value 'png' is invalid for '--format <format>'.
24+
Please provide one of 'text', 'json' or 'csv'.
25+
```
26+
27+
### Fixes
28+
29+
- Resolves an issue with `zsh` custom completions for command names that include a dash.
30+
- Improves the generated completions scripts for `fish`.
31+
- Resolves issues that prevented building `ArgumentParser` for WebAssembly using SwiftWasm toolchains.
32+
- Improved window size handling on Windows.
33+
- Fixed a crash when using `--experimental-dump-help` with commands that provide non-parsed values.
34+
- Fixes an issue where subcommands that declare array arguments with the `.unconditionalRemaining` parsing strategy unexpectedly miss arguments, extending the change in [#333] to subcommands. ([#397])
35+
- Corrects the order of an `@Option` initializer's parameters, deprecating the old version. ([#391])
36+
- Expanded and corrected documentation.
37+
38+
The 1.0.3 release includes contributions from [atierian], [CraigSiemens], [dduan], [floam], [KS1019], [McNight], [mdznr], [natecook1000], [rauhul], and [yonihemi]. Thank you!
39+
40+
1341
## [1.0.2] - 2021-11-09
1442
1543
## Fixes
@@ -543,7 +571,8 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
543571

544572
<!-- Link references for releases -->
545573

546-
[Unreleased]: https://github.com/apple/swift-argument-parser/compare/1.0.2...HEAD
574+
[Unreleased]: https://github.com/apple/swift-argument-parser/compare/1.0.3...HEAD
575+
[1.0.3]: https://github.com/apple/swift-argument-parser/compare/1.0.2...1.0.3
547576
[1.0.2]: https://github.com/apple/swift-argument-parser/compare/1.0.1...1.0.2
548577
[1.0.1]: https://github.com/apple/swift-argument-parser/compare/1.0.0...1.0.1
549578
[1.0.0]: https://github.com/apple/swift-argument-parser/compare/0.5.0...1.0.0
@@ -588,6 +617,9 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
588617
[#324]: https://github.com/apple/swift-argument-parser/pull/324
589618
[#333]: https://github.com/apple/swift-argument-parser/pull/333
590619
[#341]: https://github.com/apple/swift-argument-parser/pull/341
620+
[#390]: https://github.com/apple/swift-argument-parser/pull/390
621+
[#391]: https://github.com/apple/swift-argument-parser/pull/391
622+
[#397]: https://github.com/apple/swift-argument-parser/pull/397
591623

592624
<!-- Link references for contributors -->
593625

@@ -601,13 +633,15 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
601633
[buttaface]: https://github.com/apple/swift-argument-parser/commits?author=buttaface
602634
[CodaFi]: https://github.com/apple/swift-argument-parser/commits?author=CodaFi
603635
[compnerd]: https://github.com/apple/swift-argument-parser/commits?author=compnerd
636+
[CraigSiemens]: https://github.com/apple/swift-argument-parser/commits?author=CraigSiemens
604637
[CypherPoet]: https://github.com/apple/swift-argument-parser/commits?author=CypherPoet
605638
[damuellen]: https://github.com/apple/swift-argument-parser/commits?author=damuellen
606639
[dduan]: https://github.com/apple/swift-argument-parser/commits?author=dduan
607640
[dirtyhabits97]: https://github.com/apple/swift-argument-parser/commits?author=dirtyhabits97
608641
[drewmccormack]: https://github.com/apple/swift-argument-parser/commits?author=drewmccormack
609642
[elliottwilliams]: https://github.com/apple/swift-argument-parser/commits?author=elliottwilliams
610643
[erica]: https://github.com/apple/swift-argument-parser/commits?author=erica
644+
[floam]: https://github.com/apple/swift-argument-parser/commits?author=floam
611645
[Frizlab]: https://github.com/apple/swift-argument-parser/commits?author=Frizlab
612646
[glessard]: https://github.com/apple/swift-argument-parser/commits?author=glessard
613647
[gmittert]: https://github.com/apple/swift-argument-parser/commits?author=gmittert
@@ -627,6 +661,8 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
627661
[Lantua]: https://github.com/apple/swift-argument-parser/commits?author=Lantua
628662
[lorentey]: https://github.com/apple/swift-argument-parser/commits?author=lorentey
629663
[MaxDesiatov]: https://github.com/apple/swift-argument-parser/commits?author=MaxDesiatov
664+
[McNight]: https://github.com/apple/swift-argument-parser/commits?author=McNight
665+
[mdznr]: https://github.com/apple/swift-argument-parser/commits?author=mdznr
630666
[miggs597]: https://github.com/apple/swift-argument-parser/commits?author=miggs597
631667
[miguelangel-dev]: https://github.com/apple/swift-argument-parser/commits?author=miguelangel-dev
632668
[MPLew-is]: https://github.com/apple/swift-argument-parser/commits?author=MPLew-is
@@ -648,6 +684,7 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
648684
[werm098]: https://github.com/apple/swift-argument-parser/commits?author=werm098
649685
[Wevah]: https://github.com/apple/swift-argument-parser/commits?author=Wevah
650686
[Wildchild9]: https://github.com/apple/swift-argument-parser/commits?author=Wildchild9
687+
[yonihemi]: https://github.com/apple/swift-argument-parser/commits?author=yonihemi
651688
[YuAo]: https://github.com/apple/swift-argument-parser/commits?author=YuAo
652689
[zntfdr]: https://github.com/apple/swift-argument-parser/commits?author=zntfdr
653690
[Zoha131]: https://github.com/apple/swift-argument-parser/commits?author=Zoha131

0 commit comments

Comments
 (0)