Skip to content

Commit 77dfb64

Browse files
Add #unavailable to the changelog (#38390)
* Add #unavailable to the changelog Co-authored-by: Alex Martini <[email protected]>
1 parent 48b8780 commit 77dfb64

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@ CHANGELOG
33

44
_**Note:** This is in reverse chronological order, so newer entries are added to the top._
55

6+
Swift Next
7+
----------
8+
* [SE-0290][]:
9+
10+
It is now possible to write inverted availability conditions by using the new `#unavailable` keyword:
11+
12+
```swift
13+
if #unavailable(iOS 15.0) {
14+
// Old functionality
15+
} else {
16+
// iOS 15 functionality
17+
}
18+
```
19+
20+
**Add new entries to the top of this section, not here!**
21+
622
Swift 5.5
723
---------
824

@@ -8627,6 +8643,7 @@ Swift 1.0
86278643
[SE-0284]: <https://github.com/apple/swift-evolution/blob/main/proposals/0284-multiple-variadic-parameters.md>
86288644
[SE-0286]: <https://github.com/apple/swift-evolution/blob/main/proposals/0286-forward-scan-trailing-closures.md>
86298645
[SE-0287]: <https://github.com/apple/swift-evolution/blob/main/proposals/0287-implicit-member-chains.md>
8646+
[SE-0290]: <https://github.com/apple/swift-evolution/blob/main/proposals/0290-negative-availability.md>
86308647
[SE-0293]: <https://github.com/apple/swift-evolution/blob/main/proposals/0293-extend-property-wrappers-to-function-and-closure-parameters.md>
86318648
[SE-0296]: <https://github.com/apple/swift-evolution/blob/main/proposals/0296-async-await.md>
86328649
[SE-0297]: <https://github.com/apple/swift-evolution/blob/main/proposals/0297-concurrency-objc.md>

0 commit comments

Comments
 (0)