@@ -8,14 +8,40 @@ This project follows semantic versioning. While still in major version `0`,
8
8
source-stability is only guaranteed within minor versions (e.g. between
9
9
` 0.0.3 ` and ` 0.0.4 ` ). If you want to guard against potentially source-breaking
10
10
package updates, you can specify your package dependency using
11
- ` .upToNextMinor(from: "0.2 .0") ` as the requirement.
11
+ ` .upToNextMinor(from: "0.3 .0") ` as the requirement.
12
12
13
13
## [ Unreleased]
14
14
15
15
* No changes yet.*
16
16
17
17
---
18
18
19
+ ## [ 0.3.0] - 2020-08-15
20
+
21
+ ### Additions
22
+
23
+ - Shell completions scripts are now available for Fish.
24
+
25
+ ### Changes
26
+
27
+ - Array properties without a default value are now treated as required for the
28
+ user of a command-line tool. In previous versions of the library, these
29
+ properties defaulted to an empty array; a deprecation was introduced for this
30
+ behavior in version 0.2.0.
31
+
32
+ * Migration:* Specify an empty array as the default value for properties that
33
+ should not require user input:
34
+
35
+ ``` swift
36
+ // old
37
+ @Option var names: [String ]
38
+ // new
39
+ @Option var names: [String ] = []
40
+ ```
41
+
42
+ The 0.3.0 release includes contributions from [ dduan] , [ MPLew-is] ,
43
+ [ natecook1000] , and [ thomasvl] . Thank you!
44
+
19
45
## [ 0.2.2] - 2020-08-05
20
46
21
47
### Fixes
@@ -303,7 +329,8 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
303
329
304
330
<!-- Link references for releases -->
305
331
306
- [ Unreleased ] : https://github.com/apple/swift-argument-parser/compare/0.2.2...HEAD
332
+ [ Unreleased ] : https://github.com/apple/swift-argument-parser/compare/0.3.0...HEAD
333
+ [ 0.3.0 ] : https://github.com/apple/swift-argument-parser/compare/0.2.2...0.3.0
307
334
[ 0.2.2 ] : https://github.com/apple/swift-argument-parser/compare/0.2.1...0.2.2
308
335
[ 0.2.1 ] : https://github.com/apple/swift-argument-parser/compare/0.2.0...0.2.1
309
336
[ 0.2.0 ] : https://github.com/apple/swift-argument-parser/compare/0.1.0...0.2.0
@@ -353,6 +380,7 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
353
380
[ sharplet ] : https://github.com/apple/swift-argument-parser/commits?author=sharplet
354
381
[ sjavora ] : https://github.com/apple/swift-argument-parser/commits?author=sjavora
355
382
[ stuartcarnie ] : https://github.com/apple/swift-argument-parser/commits?author=stuartcarnie
383
+ [ thomasvl ] : https://github.com/apple/swift-argument-parser/commits?author=thomasvl
356
384
[ toddthomas ] : https://github.com/apple/swift-argument-parser/commits?author=toddthomas
357
385
[ Wevah ] : https://github.com/apple/swift-argument-parser/commits?author=Wevah
358
386
[ Wildchild9 ] : https://github.com/apple/swift-argument-parser/commits?author=Wildchild9
0 commit comments