Skip to content

Commit 15351c1

Browse files
authored
Update changelog for 0.3.0 release (#229)
1 parent 8dfa177 commit 15351c1

File tree

3 files changed

+34
-6
lines changed

3 files changed

+34
-6
lines changed

CHANGELOG.md

+30-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,40 @@ This project follows semantic versioning. While still in major version `0`,
88
source-stability is only guaranteed within minor versions (e.g. between
99
`0.0.3` and `0.0.4`). If you want to guard against potentially source-breaking
1010
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.
1212

1313
## [Unreleased]
1414

1515
*No changes yet.*
1616

1717
---
1818

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+
1945
## [0.2.2] - 2020-08-05
2046

2147
### Fixes
@@ -303,7 +329,8 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
303329

304330
<!-- Link references for releases -->
305331

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
307334
[0.2.2]: https://github.com/apple/swift-argument-parser/compare/0.2.1...0.2.2
308335
[0.2.1]: https://github.com/apple/swift-argument-parser/compare/0.2.0...0.2.1
309336
[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
353380
[sharplet]: https://github.com/apple/swift-argument-parser/commits?author=sharplet
354381
[sjavora]: https://github.com/apple/swift-argument-parser/commits?author=sjavora
355382
[stuartcarnie]: https://github.com/apple/swift-argument-parser/commits?author=stuartcarnie
383+
[thomasvl]: https://github.com/apple/swift-argument-parser/commits?author=thomasvl
356384
[toddthomas]: https://github.com/apple/swift-argument-parser/commits?author=toddthomas
357385
[Wevah]: https://github.com/apple/swift-argument-parser/commits?author=Wevah
358386
[Wildchild9]: https://github.com/apple/swift-argument-parser/commits?author=Wildchild9

Documentation/01 Getting Started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import PackageDescription
1919
let package = Package(
2020
name: "random",
2121
dependencies: [
22-
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "0.2.0"),
22+
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "0.3.0"),
2323
],
2424
targets: [
2525
.target(

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ To use the `ArgumentParser` library in a SwiftPM project,
8888
add the following line to the dependencies in your `Package.swift` file:
8989

9090
```swift
91-
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.2.0"),
91+
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.3.0"),
9292
```
9393

9494
Because `ArgumentParser` is under active development,
@@ -97,7 +97,7 @@ If you don't want potentially source-breaking package updates,
9797
use this dependency specification instead:
9898

9999
```swift
100-
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "0.2.0")),
100+
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "0.3.0")),
101101
```
102102

103103
Finally, include `"ArgumentParser"` as a dependency for your executable target:
@@ -106,7 +106,7 @@ Finally, include `"ArgumentParser"` as a dependency for your executable target:
106106
let package = Package(
107107
// name, platforms, products, etc.
108108
dependencies: [
109-
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.2.0"),
109+
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.3.0"),
110110
// other dependencies
111111
],
112112
targets: [

0 commit comments

Comments
 (0)