Skip to content

Commit e585f7b

Browse files
authored
Merge pull request swiftlang#37104 from benrimmington/changelog-auto-toc
2 parents 02b5be7 + c6ef514 commit e585f7b

File tree

1 file changed

+6
-29
lines changed

1 file changed

+6
-29
lines changed

CHANGELOG.md

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,16 @@
11
CHANGELOG
22
=========
33

4-
<details>
5-
<summary>Note: This is in reverse chronological order, so newer entries are added to the top.</summary>
6-
7-
| Version | Released | Toolchain |
8-
| :--------------------- | :--------- | :---------- |
9-
| [Swift 5.5](#swift-55) | | |
10-
| [Swift 5.4](#swift-54) | 2021-04-26 | Xcode 12.5 |
11-
| [Swift 5.3](#swift-53) | 2020-09-16 | Xcode 12.0 |
12-
| [Swift 5.2](#swift-52) | 2020-03-24 | Xcode 11.4 |
13-
| [Swift 5.1](#swift-51) | 2019-09-20 | Xcode 11.0 |
14-
| [Swift 5.0](#swift-50) | 2019-03-25 | Xcode 10.2 |
15-
| [Swift 4.2](#swift-42) | 2018-09-17 | Xcode 10.0 |
16-
| [Swift 4.1](#swift-41) | 2018-03-29 | Xcode 9.3 |
17-
| [Swift 4.0](#swift-40) | 2017-09-19 | Xcode 9.0 |
18-
| [Swift 3.1](#swift-31) | 2017-03-27 | Xcode 8.3 |
19-
| [Swift 3.0](#swift-30) | 2016-09-13 | Xcode 8.0 |
20-
| [Swift 2.2](#swift-22) | 2016-03-21 | Xcode 7.3 |
21-
| [Swift 2.1](#swift-21) | 2015-10-21 | Xcode 7.1 |
22-
| [Swift 2.0](#swift-20) | 2015-09-17 | Xcode 7.0 |
23-
| [Swift 1.2](#swift-12) | 2015-04-08 | Xcode 6.3 |
24-
| [Swift 1.1](#swift-11) | 2014-12-02 | Xcode 6.1.1 |
25-
| [Swift 1.0](#swift-10) | 2014-09-15 | Xcode 6.0 |
26-
27-
</details>
4+
_**Note:** This is in reverse chronological order, so newer entries are added to the top._
285

296
Swift 5.5
307
---------
318

329
* [SE-0306][]:
3310

34-
Swift 5.5 includes support for actors, a new kind of type that isolates its instance data to protect it from concurrent access. Accesses to an actor's instance declarations from outside the must be asynchronous:
11+
Swift 5.5 includes support for actors, a new kind of type that isolates its instance data to protect it from concurrent access. Accesses to an actor's instance declarations from outside the must be asynchronous:
3512

36-
```swift
13+
```swift
3714
actor Counter {
3815
var value = 0
3916

@@ -46,7 +23,7 @@ Swift 5.5
4623
print(await counter.value) // interaction must be async
4724
await counter.increment() // interaction must be async
4825
}
49-
```
26+
```
5027

5128
* The determination of whether a call to a `rethrows` function can throw now considers default arguments of `Optional` type.
5229

@@ -192,11 +169,11 @@ Swift 5.5
192169

193170
The "for" loop can be used to traverse asynchronous sequences in asynchronous code:
194171

195-
```swift
172+
```swift
196173
for try await line in myFile.lines() {
197174
// Do something with each line
198175
}
199-
```
176+
```
200177

201178
Asynchronous for loops use asynchronous sequences, defined by the protocol
202179
`AsyncSequence` and its corresponding `AsyncIterator`.

0 commit comments

Comments
 (0)