Skip to content

Commit c8faff7

Browse files
authored
Merge pull request #2123 from ahoppen/ahoppen/release-notes
Add a release notes document for swift-syntax 510
2 parents 5661e35 + db553a1 commit c8faff7

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Release Notes/510.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Swift Syntax 510 Release Notes
2+
3+
## New APIs
4+
5+
- `SyntaxStringInterpolation.appendInterpolation(_: (some SyntaxProtocol)?)`
6+
- Descriptions: Allows optional syntax nodes to be used inside string interpolation of syntax nodes. If the node is `nil`, nothing will get added to the string interpolation.
7+
- Pull Request: https://github.com/apple/swift-syntax/pull/2085
8+
- `SyntaxCollection.index(at:)`
9+
- Description: Returns the index of the n-th element in a `SyntaxCollection`. This computation is in O(n) and `SyntaxCollection` is not subscriptable by an integer.
10+
- Pull Request: https://github.com/apple/swift-syntax/pull/2014
11+
12+
## API Behavior Changes
13+
14+
## Deprecations
15+
16+
## API-Incompatible Changes
17+
18+
19+
## Template
20+
21+
- *Affected API or two word description*
22+
- Description: *A 1-2 sentence description of the new/modified API*
23+
- Issue: *If an issue exists for this change, a link to the issue*
24+
- Pull Request: *Link to the pull request(s) that introduces this change*
25+
- Notes: *In case of deprecations or API-incompatible changes, the reason why this change was made and the suggested alternative*
26+
27+
*Insert entries in chronological order, with newer entries at the bottom*

0 commit comments

Comments
 (0)