Skip to content

Commit db553a1

Browse files
committed
Add a release notes document for swift-syntax 510
My idea is that we can build up the list of changes during development. That will make it more transparent for adopters of the snapshot tags to see what has changed and, in case of deprecations or API-incompatible changes, how they need to update. It will also make it easier to compose the list of changes for the proper (non-snapshot) release of swift-syntax.
1 parent 0d6a210 commit db553a1

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)