You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+39-2Lines changed: 39 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,38 @@ Add new items at the end of the relevant section under **Unreleased**.
6
6
7
7
## [Unreleased]
8
8
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])
10
12
11
13
---
12
14
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
+
13
41
## [1.0.2] - 2021-11-09
14
42
15
43
## Fixes
@@ -543,7 +571,8 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
0 commit comments