|
5 | 5 | - `SyntaxStringInterpolation.appendInterpolation(_: (some SyntaxProtocol)?)` |
6 | 6 | - 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. |
7 | 7 | - Pull Request: https://github.com/apple/swift-syntax/pull/2085 |
8 | | - |
9 | 8 | - `SyntaxCollection.index(at:)` |
10 | 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. |
11 | 10 | - Pull Request: https://github.com/apple/swift-syntax/pull/2014 |
12 | | - |
13 | 11 | - Convenience initializer `ClosureCaptureSyntax.init()` |
14 | 12 | - Description: Provides a convenience initializer for `ClosureCaptureSyntax` that takes a concrete `name` argument and automatically adds `equal = TokenSyntax.equalToken()` to it. |
15 | 13 | - Issue: https://github.com/apple/swift-syntax/issues/1984 |
16 | 14 | - Pull Request: https://github.com/apple/swift-syntax/pull/2127 |
17 | | - |
18 | 15 | - Convenience initializer `EnumCaseParameterSyntax.init()` |
19 | 16 | - Description: Provides a convenience initializer for `EnumCaseParameterSyntax` that takes a concrete `firstName` value and adds `colon = TokenSyntax.colonToken()` automatically to it. |
20 | 17 | - Issue: https://github.com/apple/swift-syntax/issues/1984 |
|
42 | 39 | - 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. |
43 | 40 | - Issue: https://github.com/apple/swift-syntax/issues/2092 |
44 | 41 | - 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 |
50 | 42 |
|
51 | 43 | ## API-Incompatible Changes |
52 | 44 |
|
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 |
56 | 45 |
|
57 | 46 | ## Template |
58 | 47 |
|
|
0 commit comments