Skip to content

Commit 3d379d2

Browse files
authored
Merge pull request swiftlang#30699 from theblixguy/chore/update-changelog
Update CHANGELOG
2 parents a927744 + 1f24d9f commit 3d379d2

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

CHANGELOG.md

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ CHANGELOG
66

77
| Version | Released | Toolchain |
88
| :--------------------- | :--------- | :---------- |
9-
| [Swift 5.2](#swift-52) | | |
9+
| [Swift 5.3](#swift-53) | | |
10+
| [Swift 5.2](#swift-52) | 2020-03-24 | Xcode 11.4 |
1011
| [Swift 5.1](#swift-51) | 2019-09-20 | Xcode 11.0 |
1112
| [Swift 5.0](#swift-50) | 2019-03-25 | Xcode 10.2 |
1213
| [Swift 4.2](#swift-42) | 2018-09-17 | Xcode 10.0 |
@@ -23,9 +24,25 @@ CHANGELOG
2324

2425
</details>
2526

26-
Swift Next
27+
Swift 5.3
2728
----------
2829

30+
* [SE-0280][]:
31+
32+
Enum cases can now satisfy static protocol requirements. A static get-only property of type `Self` can be witnessed by an enum case with no associated values and a static function with arguments and returning `Self` can be witnessed by an enum case with associated values.
33+
34+
```swift
35+
protocol P {
36+
static var foo: Self { get }
37+
static func bar(value: Int) -> Self
38+
}
39+
40+
enum E: P {
41+
case foo // matches 'static var foo'
42+
case bar(value: Int) // matches 'static func bar(value:)'
43+
}
44+
```
45+
2946
* [SE-0267][]:
3047

3148
Non-generic members that support a generic parameter list, including nested type declarations, are now allowed to carry a contextual `where` clause against outer generic parameters. Previously, such declarations could only be expressed by placing the member inside a dedicated constrained extension.
@@ -97,9 +114,13 @@ Swift Next
97114
closure's capture list in addition to the existing 'use `self.` explicitly'
98115
fix-it.
99116

117+
**Add new entries to the top of this section, not here!**
118+
100119
Swift 5.2
101120
---------
102121

122+
### 2020-03-24 (Xcode 11.4)
123+
103124
* [SR-11841][]:
104125

105126
When chaining calls to `filter(_:)` on a lazy sequence or collection, the
@@ -292,8 +313,6 @@ Swift 5.2
292313
print(s[0])
293314
```
294315

295-
**Add new entries to the top of this section, not here!**
296-
297316
Swift 5.1
298317
---------
299318

@@ -7951,6 +7970,7 @@ Swift 1.0
79517970
[SE-0266]: <https://github.com/apple/swift-evolution/blob/master/proposals/0266-synthesized-comparable-for-enumerations.md>
79527971
[SE-0267]: <https://github.com/apple/swift-evolution/blob/master/proposals/0267-where-on-contextually-generic.md>
79537972
[SE-0269]: <https://github.com/apple/swift-evolution/blob/master/proposals/0269-implicit-self-explicit-capture.md>
7973+
[SE-0280]: <https://github.com/apple/swift-evolution/blob/master/proposals/0280-enum-cases-as-protocol-witnesses.md>
79547974

79557975
[SR-75]: <https://bugs.swift.org/browse/SR-75>
79567976
[SR-106]: <https://bugs.swift.org/browse/SR-106>

0 commit comments

Comments
 (0)