@@ -14,6 +14,32 @@ package updates, you can specify your package dependency using
14
14
15
15
* No changes yet.*
16
16
17
+ ## [ 0.2.1] - 2020-07-30
18
+
19
+ ### Additions
20
+
21
+ - You can now generate Bash and Zsh shell completion scripts for commands,
22
+ either by using the ` --generate-completion-script ` flag when running a
23
+ command, or by calling the static ` completionScript(for:) ` method on a root
24
+ ` ParsableCommand ` type. See the [ guide to completion scripts] [ comp-guide ] for
25
+ information on customizing and installing the completion script for your
26
+ command.
27
+
28
+ ### Fixes
29
+
30
+ - Property wrappers without parameters can now be written without parentheses
31
+ — e.g. ` @Flag var verbose = false ` .
32
+ - When displaying default values for array properties, the help screen now
33
+ correctly uses the element type's ` ExpressibleByArgument ` conformance to
34
+ generate the description.
35
+ - Running a project that defines a command as its own subcommand now fails with
36
+ a useful error message.
37
+
38
+ The 0.2.0 release includes contributions from [ natecook1000] , [ NicFontana] ,
39
+ [ schlagelk] , [ sharplet] , and [ Wevah] . Thank you!
40
+
41
+ [ comp-guide ] : https://github.com/apple/swift-argument-parser/blob/master/Documentation/07%20Completion%20Scripts.md
42
+
17
43
## [ 0.2.0] - 2020-06-23
18
44
19
45
### Additions
@@ -264,7 +290,8 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
264
290
265
291
<!-- Link references for releases -->
266
292
267
- [ Unreleased ] : https://github.com/apple/swift-argument-parser/compare/0.2.0...HEAD
293
+ [ Unreleased ] : https://github.com/apple/swift-argument-parser/compare/0.2.1...HEAD
294
+ [ 0.2.1 ] : https://github.com/apple/swift-argument-parser/compare/0.2.0...0.2.1
268
295
[ 0.2.0 ] : https://github.com/apple/swift-argument-parser/compare/0.1.0...0.2.0
269
296
[ 0.1.0 ] : https://github.com/apple/swift-argument-parser/compare/0.0.6...0.1.0
270
297
[ 0.0.6 ] : https://github.com/apple/swift-argument-parser/compare/0.0.5...0.0.6
@@ -302,12 +329,16 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
302
329
[ miguelangel-dev ] : https://github.com/apple/swift-argument-parser/commits?author=miguelangel-dev
303
330
[ MPLew-is ] : https://github.com/apple/swift-argument-parser/commits?author=MPLew-is
304
331
[ natecook1000 ] : https://github.com/apple/swift-argument-parser/commits?author=natecook1000
332
+ [ NicFontana ] : https://github.com/apple/swift-argument-parser/commits?author=NicFontana
305
333
[ owenv ] : https://github.com/apple/swift-argument-parser/commits?author=owenv
306
334
[ rjstelling ] : https://github.com/apple/swift-argument-parser/commits?author=rjstelling
307
335
[ Sajjon ] : https://github.com/apple/swift-argument-parser/commits?author=Sajjon
336
+ [ schlagelk ] : https://github.com/apple/swift-argument-parser/commits?author=schlagelk
308
337
[ sgl0v ] : https://github.com/apple/swift-argument-parser/commits?author=sgl0v
338
+ [ sharplet ] : https://github.com/apple/swift-argument-parser/commits?author=sharplet
309
339
[ sjavora ] : https://github.com/apple/swift-argument-parser/commits?author=sjavora
310
340
[ toddthomas ] : https://github.com/apple/swift-argument-parser/commits?author=toddthomas
341
+ [ Wevah ] : https://github.com/apple/swift-argument-parser/commits?author=Wevah
311
342
[ Wildchild9 ] : https://github.com/apple/swift-argument-parser/commits?author=Wildchild9
312
343
[ YuAo ] : https://github.com/apple/swift-argument-parser/commits?author=YuAo
313
344
[ zntfdr ] : https://github.com/apple/swift-argument-parser/commits?author=zntfdr
0 commit comments