Skip to content

Commit f8ea4db

Browse files
authored
Merge pull request #2270 from ahoppen/ahoppen/release-notes
Split release notes for 510 and 511
2 parents 7a643a7 + 4a3d3a1 commit f8ea4db

File tree

2 files changed

+29
-11
lines changed

2 files changed

+29
-11
lines changed

Release Notes/510.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,13 @@
55
- `SyntaxStringInterpolation.appendInterpolation(_: (some SyntaxProtocol)?)`
66
- Description: 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.
77
- Pull Request: https://github.com/apple/swift-syntax/pull/2085
8-
98
- `SyntaxCollection.index(at:)`
109
- 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.
1110
- Pull Request: https://github.com/apple/swift-syntax/pull/2014
12-
1311
- Convenience initializer `ClosureCaptureSyntax.init()`
1412
- Description: Provides a convenience initializer for `ClosureCaptureSyntax` that takes a concrete `name` argument and automatically adds `equal = TokenSyntax.equalToken()` to it.
1513
- Issue: https://github.com/apple/swift-syntax/issues/1984
1614
- Pull Request: https://github.com/apple/swift-syntax/pull/2127
17-
1815
- Convenience initializer `EnumCaseParameterSyntax.init()`
1916
- Description: Provides a convenience initializer for `EnumCaseParameterSyntax` that takes a concrete `firstName` value and adds `colon = TokenSyntax.colonToken()` automatically to it.
2017
- Issue: https://github.com/apple/swift-syntax/issues/1984
@@ -42,17 +39,9 @@
4239
- Description: `is`, `as`, and `cast` methods on base node protocols with base-type conversions are marked as deprecated. The deprecated methods emit a warning that informs the developer that the cast will always succeed and should be done using the base node's initializer.
4340
- Issue: https://github.com/apple/swift-syntax/issues/2092
4441
- Pull Request: https://github.com/apple/swift-syntax/pull/2108
45-
46-
- Child Choice Node Casts
47-
- Description: `is`, `as`, and `cast` methods for types not contained in the choice node are marked as deprecated. The deprecated methods will emit a warning, indicating that the cast will always fail.
48-
- Issue: https://github.com/apple/swift-syntax/issues/2092
49-
- Pull Request: https://github.com/apple/swift-syntax/pull/2184
5042

5143
## API-Incompatible Changes
5244

53-
- Effect specifiers:
54-
- Description: The `unexpectedAfterThrowsSpecifier` node of the various effect specifiers has been removed.
55-
- Pull request: https://github.com/apple/swift-syntax/pull/2219
5645

5746
## Template
5847

Release Notes/511.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Swift Syntax 510 Release Notes
2+
3+
## New APIs
4+
5+
## API Behavior Changes
6+
7+
## Deprecations
8+
9+
- Child Choice Node Casts
10+
- Description: `is`, `as`, and `cast` methods for types not contained in the choice node are marked as deprecated. The deprecated methods will emit a warning, indicating that the cast will always fail.
11+
- Issue: https://github.com/apple/swift-syntax/issues/2092
12+
- Pull Request: https://github.com/apple/swift-syntax/pull/2184
13+
14+
## API-Incompatible Changes
15+
16+
- Effect specifiers:
17+
- Description: The `unexpectedAfterThrowsSpecifier` node of the various effect specifiers has been removed.
18+
- Pull request: https://github.com/apple/swift-syntax/pull/2219
19+
20+
21+
## Template
22+
23+
- *Affected API or two word description*
24+
- Description: *A 1-2 sentence description of the new/modified API*
25+
- Issue: *If an issue exists for this change, a link to the issue*
26+
- Pull Request: *Link to the pull request(s) that introduces this change*
27+
- Notes: *In case of deprecations or API-incompatible changes, the reason why this change was made and the suggested alternative*
28+
29+
*Insert entries in chronological order, with newer entries at the bottom*

0 commit comments

Comments
 (0)