Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,24 @@ _**Note:** This is in reverse chronological order, so newer entries are added to
Swift 5.6
---------

* [SE-0335][]:

Swift now allows existential types to be explicitly written with the `any`
keyword, creating a syntactic distinction between existential types and
protocol conformance constraints. For example:

```swift
protocol P {}

func generic<T>(value: T) where T: P {
...
}

func existential(value: any P) {
...
}
```

* [SE-0337][]:

Swift now provides an incremental migration path to data race safety, allowing
Expand Down Expand Up @@ -8873,6 +8891,7 @@ Swift 1.0
[SE-0328]: <https://github.com/apple/swift-evolution/blob/main/proposals/0328-structural-opaque-result-types.md>
[SE-0331]: <https://github.com/apple/swift-evolution/blob/main/proposals/0331-remove-sendable-from-unsafepointer.md>
[SE-0337]: <https://github.com/apple/swift-evolution/blob/main/proposals/0337-support-incremental-migration-to-concurrency-checking.md>
[SE-0335]: <https://github.com/apple/swift-evolution/blob/main/proposals/0335-existential-any.md>

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