Skip to content

Commit aa22e79

Browse files
committed
Add noasync attribute to changelog
1 parent 110839e commit aa22e79

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ _**Note:** This is in reverse chronological order, so newer entries are added to
55

66
## Swift 5.7
77

8+
* [SE-0340][]:
9+
10+
It is now possible to make declarations unavailable from use in asynchronous
11+
contexts with the `@available(*, noasync)` attribute.
12+
13+
This is to protect the consumers of an API against undefined behavior that can
14+
occur when the API uses thread-local storage, or encourages using thread-local
15+
storage, across suspension points, or protect developers against holding locks
16+
across suspension points which may lead to undefined behavior, priority
17+
inversions, or deadlocks.
18+
819
* [SE-0343][]:
920

1021
Top-level scripts support asynchronous calls.
@@ -9083,6 +9094,7 @@ Swift 1.0
90839094
[SE-0341]: <https://github.com/apple/swift-evolution/blob/main/proposals/0341-opaque-parameters.md>
90849095
[SE-0336]: <https://github.com/apple/swift-evolution/blob/main/proposals/0336-distributed-actor-isolation.md>
90859096
[SE-0343]: <https://github.com/apple/swift-evolution/blob/main/proposals/0343-top-level-concurrency.md>
9097+
[SE-0340]: <https://github.com/apple/swift-evolution/blob/main/proposals/0340-swift-noasync.md>
90869098

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

0 commit comments

Comments
 (0)