swift-5.10-RELEASE
版本发布时间: 2024-03-07 00:15:51
swiftlang/swift-syntax最新发布版本:600.0.0-prerelease-2024-09-04(2024-09-06 07:39:45)
What's Changed
- Enable assertions in Release+Assert builds of earlyswiftsyntax by @ahoppen in https://github.com/apple/swift-syntax/pull/1432
- Replace
assert
byprecondition
in most places by @ahoppen in https://github.com/apple/swift-syntax/pull/1427 - Add a conditional compilation flag to verify token choices by @ahoppen in https://github.com/apple/swift-syntax/pull/1339
- Add missing CMakeLists.txt exclude by @bnbarham in https://github.com/apple/swift-syntax/pull/1435
- Lowercase all
Assert
methods by @ahoppen in https://github.com/apple/swift-syntax/pull/1438 - Simplify MacroDecl syntax to match the accepted proposals by @DougGregor in https://github.com/apple/swift-syntax/pull/1439
- Add missing
switch
& for-each expression andwhile
&if
condition error by @kimdv in https://github.com/apple/swift-syntax/pull/1429 - Add diagnostic message for identifier editor placeholder by @kimdv in https://github.com/apple/swift-syntax/pull/1380
- Fix missing diagnostics for multiple expressions on the same line in closures, switches, and getters by @hamishknight in https://github.com/apple/swift-syntax/pull/1453
- If no explicit highlight range was given, highlight the node the diagnostic is anchored at instead of highlighting nothing by @ahoppen in https://github.com/apple/swift-syntax/pull/1441
- Add missing diagnostic for missing brace or if after else by @kimdv in https://github.com/apple/swift-syntax/pull/1444
- Fix warning in code gen by @kimdv in https://github.com/apple/swift-syntax/pull/1422
- Add diagnostic for comparison in default value by @kimdv in https://github.com/apple/swift-syntax/pull/1445
- [Macros] Support code item macro expansion by @rxwei in https://github.com/apple/swift-syntax/pull/1442
- Parse versions as three integer tokens by @ahoppen in https://github.com/apple/swift-syntax/pull/1440
- Remove check for
endOfFile
inadvance
by @hamishknight in https://github.com/apple/swift-syntax/pull/1457 - Add space on leading and trailing equal by @kimdv in https://github.com/apple/swift-syntax/pull/1456
- Fix multiple cases where the parser produced token kinds that didn’t match the token kinds in the syntax node definitions by @ahoppen in https://github.com/apple/swift-syntax/pull/1436
- Only output number of executed instructions in
swift-parser-cli
on macOS by @ahoppen in https://github.com/apple/swift-syntax/pull/1462 - [Macros] Centralize "unwrapping" of errors into diagnostics. by @DougGregor in https://github.com/apple/swift-syntax/pull/1469
- Add diagnostic for missing conditional binding keyword by @kimdv in https://github.com/apple/swift-syntax/pull/1447
- Complete regex literal lexing by @hamishknight in https://github.com/apple/swift-syntax/pull/1463
- add parsing for ~ (the 'without' operator) by @kavon in https://github.com/apple/swift-syntax/pull/1461
- Make leading/trailing trivia required fields by @bnbarham in https://github.com/apple/swift-syntax/pull/1477
- Add bazel configuration by @keith in https://github.com/apple/swift-syntax/pull/1251
- Change included header for uint64_t in InstructionsExecuted.h by @ahoppen in https://github.com/apple/swift-syntax/pull/1489
- [bazel] Update main version by @keith in https://github.com/apple/swift-syntax/pull/1491
- Fix cases where syntax nodes were constructed with incorrect token kinds by @ahoppen in https://github.com/apple/swift-syntax/pull/1481
- Split FunctionParameterSyntax and related types by @ahoppen in https://github.com/apple/swift-syntax/pull/1455
- Document that
Trivia
cannot represent invalid UTF-8 by @ahoppen in https://github.com/apple/swift-syntax/pull/1490 - Slightly clean up
FixIt.Change
andFixIt.Changes
by @ahoppen in https://github.com/apple/swift-syntax/pull/1460 - fix XCTSkip warning by @andrewjl in https://github.com/apple/swift-syntax/pull/1497
- [bazel] Add Macro related libraries by @keith in https://github.com/apple/swift-syntax/pull/1499
- Add a function to merge trivia from a node into an existing trivia by @bnbarham in https://github.com/apple/swift-syntax/pull/1478
- Add @keith as codeowner of bazel by @keith in https://github.com/apple/swift-syntax/pull/1501
- Fix spacing between multiple
@_spi(...)
attributes. by @allevato in https://github.com/apple/swift-syntax/pull/1514 - Audit the public API of the SwiftSyntax module by @ahoppen in https://github.com/apple/swift-syntax/pull/1482
- Add spacing between first and second parameter name by @kimdv in https://github.com/apple/swift-syntax/pull/1510
- Add diagnostic for unexpected second identifier by @kimdv in https://github.com/apple/swift-syntax/pull/1382
- Remove warning by @kimdv in https://github.com/apple/swift-syntax/pull/1519
- Fix escape handling for emoji
#️⃣
in string literals by @kishikawakatsumi in https://github.com/apple/swift-syntax/pull/1520 - Add diagnostic for wrong where requirements separation by @kimdv in https://github.com/apple/swift-syntax/pull/1513
- Split DeclEffectSpecifiers into AccessorEffectSpecifiers and FunctionEffectSpecifiers by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1454
- Add whitespace before
else
by @stevapple in https://github.com/apple/swift-syntax/pull/1518 - Fixed testRecovery157 by @CippoX in https://github.com/apple/swift-syntax/pull/1512
- Fix wrong diagnostic for generics by @kimdv in https://github.com/apple/swift-syntax/pull/1498
- Add documentation for
InitializerDeclSyntax
and all its children by @ahoppen in https://github.com/apple/swift-syntax/pull/1527 - Address default parameter regressions and add tests for
ForInStmtSyntax
by @stevapple in https://github.com/apple/swift-syntax/pull/1517 - Fixed testAvailabilityQueryUnavailability34a by @CippoX in https://github.com/apple/swift-syntax/pull/1464
- Validate token choices in CI by @ahoppen in https://github.com/apple/swift-syntax/pull/1466
- Improve debug description of syntax nodes by @ahoppen in https://github.com/apple/swift-syntax/pull/1503
- [bazel] Add remaining libraries by @keith in https://github.com/apple/swift-syntax/pull/1535
- Update RawSyntaxValidationFile.swift by @ahoppen in https://github.com/apple/swift-syntax/pull/1537
- Minor updates to README by @ahoppen in https://github.com/apple/swift-syntax/pull/1523
- Don't guard assertions behind
#if DEBUG
by @ahoppen in https://github.com/apple/swift-syntax/pull/1526 - Added missing fix its by @kimdv in https://github.com/apple/swift-syntax/pull/1467
- Rename children that refer to a
MemberDeclBlock
frommembers
tomemberBlock
by @ahoppen in https://github.com/apple/swift-syntax/pull/1524 - Fix parser failures found by source alteration in test cases by @ahoppen in https://github.com/apple/swift-syntax/pull/1538
- Add some structure to Package.swift by @ahoppen in https://github.com/apple/swift-syntax/pull/1541
- Include property names in debug description by @ahoppen in https://github.com/apple/swift-syntax/pull/1539
- Re-generate code-generated files by @ahoppen in https://github.com/apple/swift-syntax/pull/1552
- Enable a mode in the parser in which it inspects alternative token choices to mutate test cases by @ahoppen in https://github.com/apple/swift-syntax/pull/1340
- Remove SwiftSyntaxParser module by @ahoppen in https://github.com/apple/swift-syntax/pull/1544
- Update swift syntax in code gen by @kimdv in https://github.com/apple/swift-syntax/pull/1547
- improve implementation of without operator by @kavon in https://github.com/apple/swift-syntax/pull/1559
- Make
column
andline
non-optional by @kimdv in https://github.com/apple/swift-syntax/pull/1532 - Fix a couple cases where the formatting in CodeGeneration was off by @ahoppen in https://github.com/apple/swift-syntax/pull/1561
- Rename IDEUtils -> SwiftIDEUtils by @ahoppen in https://github.com/apple/swift-syntax/pull/1542
- Explicitly specify how many last versions of Swift we want to support by @ahoppen in https://github.com/apple/swift-syntax/pull/1563
- Change version dependency on
swift-argument-parser
to fromupToNextMinor
toupToNextMajor
by @ahoppen in https://github.com/apple/swift-syntax/pull/1564 - Improve implementation of BasicFormat (yet again) by @ahoppen in https://github.com/apple/swift-syntax/pull/1558
- Update CodeGeneration by @ahoppen in https://github.com/apple/swift-syntax/pull/1567
- Prefer the first lexical error in a string literal segment by @cbjeukendrup in https://github.com/apple/swift-syntax/pull/1553
- Some more improvements to BasicFormat + misc changes by @ahoppen in https://github.com/apple/swift-syntax/pull/1568
- Add diagnostic for array type by @kimdv in https://github.com/apple/swift-syntax/pull/1449
- Remove deprecated methods from SwiftSyntaxMacros by @ahoppen in https://github.com/apple/swift-syntax/pull/1555
- Default to separating tokens by a space in BasicFormat by @ahoppen in https://github.com/apple/swift-syntax/pull/1569
- Add a public function that can be used to test macro expansions by @ahoppen in https://github.com/apple/swift-syntax/pull/1550
- move inner body block out and fix format error by @kimdv in https://github.com/apple/swift-syntax/pull/1577
- Add diagnostic for wrong inheritance by @kimdv in https://github.com/apple/swift-syntax/pull/1450
- Add test cases for spaces between attributes by @kimdv in https://github.com/apple/swift-syntax/pull/1511
- Remove all token children that allowed arbitrary keywords by @ahoppen in https://github.com/apple/swift-syntax/pull/1579
- Reference swift-ast-explorer.com as a tool to explore the SwiftSyntax tree by @ahoppen in https://github.com/apple/swift-syntax/pull/1582
- Fix typo in ChangingSwiftSyntax.md by @proxpero in https://github.com/apple/swift-syntax/pull/1581
- A couple of minor improvements to SwiftSyntaxTestSupport by @ahoppen in https://github.com/apple/swift-syntax/pull/1578
- Fix wrong diagnostic parse typed pattern by @kimdv in https://github.com/apple/swift-syntax/pull/1580
- Fix for some wrong attribute fix its by @kimdv in https://github.com/apple/swift-syntax/pull/1566
- redo 'without' operator parsing so it's within parseType to match C++ parser by @kavon in https://github.com/apple/swift-syntax/pull/1588
- SyntaxSupport Node Documentation: EnumDecl by @andrewjl in https://github.com/apple/swift-syntax/pull/1599
- SyntaxSupport Node Documentation: StructDecl by @andrewjl in https://github.com/apple/swift-syntax/pull/1589
- Fix a precondition failure if a generic parameter clause had an additional closing right angle by @ahoppen in https://github.com/apple/swift-syntax/pull/1595
- Add diagnostic for dictionary by @kimdv in https://github.com/apple/swift-syntax/pull/1484
- Use local git package for code gen by @kimdv in https://github.com/apple/swift-syntax/pull/1546
- Automatically format expanded macros by @bnbarham in https://github.com/apple/swift-syntax/pull/1591
- Removed TODOs in testRecovery102/103/104 by @CippoX in https://github.com/apple/swift-syntax/pull/1557
- Dont add docs to buildable extensions by @kimdv in https://github.com/apple/swift-syntax/pull/1615
- Add assertion for missing fixed source by @kimdv in https://github.com/apple/swift-syntax/pull/1549
- Add a conditional compilation flag to disable preconditions by @ahoppen in https://github.com/apple/swift-syntax/pull/1620
- Fix debugInitCall by @ahoppen in https://github.com/apple/swift-syntax/pull/1543
- Add documentation for DeinitializerDeclSyntax and all its children by @whiteio in https://github.com/apple/swift-syntax/pull/1622
- Add documentation for initializers that build a node from a header and a result builder by @ahoppen in https://github.com/apple/swift-syntax/pull/1617
- Emit error for unterminated block comment by @ahoppen in https://github.com/apple/swift-syntax/pull/1619
- Add a compatibility layer for SwiftSyntax by @ahoppen in https://github.com/apple/swift-syntax/pull/1629
- Change all library types to automatic by @ahoppen in https://github.com/apple/swift-syntax/pull/1545
- Add diagnostic for missing
0
in RawFloatLiteralExprSyntax by @kimdv in https://github.com/apple/swift-syntax/pull/1592 - Add notes to assertion by @kimdv in https://github.com/apple/swift-syntax/pull/1548
- Add documentation for syntax nodes and their children by @whiteio in https://github.com/apple/swift-syntax/pull/1630
- Update Package.swift and
.spi.yml
to make them match by @ahoppen in https://github.com/apple/swift-syntax/pull/1636 - Run CodeGeneration with local dependencies by @ahoppen in https://github.com/apple/swift-syntax/pull/1637
- Produce a meaningful diagnostic for "#elif" typo by @TiagoMaiaL in https://github.com/apple/swift-syntax/pull/1358
- Make CodeBlockItemListSyntax expressible by string literal by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1426
- Rename
AccessPathSyntax
toImportPathSyntax
by @whiteio in https://github.com/apple/swift-syntax/pull/1638 - Increase swift-tools-version to 5.7 by @ahoppen in https://github.com/apple/swift-syntax/pull/1640
- Implement StringLiteralExprSyntax/contentValue. by @NikolaiRuhe in https://github.com/apple/swift-syntax/pull/1508
- Add diagnostic for
canImport
expression by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1574 - support parsing
discard
in place of_forget
by @kavon in https://github.com/apple/swift-syntax/pull/1644 - Migrate SwiftSyntax to shorthand
let
notation by @ahoppen in https://github.com/apple/swift-syntax/pull/1642 - Migrate generics to opaque parameter types where possible by @ahoppen in https://github.com/apple/swift-syntax/pull/1646
- Package.swift: make package name consistent with repo name by @MaxDesiatov in https://github.com/apple/swift-syntax/pull/1647
- [Macros] Introduce SwiftSyntaxMacroExpansion module by @rintaro in https://github.com/apple/swift-syntax/pull/1654
- Remove functions that only existed for Swift 5.6 compatibility by @ahoppen in https://github.com/apple/swift-syntax/pull/1652
- Insert a space before colon in ternary expression in Fix-It by @gibachan in https://github.com/apple/swift-syntax/pull/1641
- Update linkage tests for https://github.com/apple/swift/pull/65884 by @slavapestov in https://github.com/apple/swift-syntax/pull/1659
- Created an Examples-all target to include all the example targets, and updated build_script.py. by @TTOzzi in https://github.com/apple/swift-syntax/pull/1660
- Remove
@frozen
attributes by @ahoppen in https://github.com/apple/swift-syntax/pull/1649 - Fix a link to leadingTrivia by @gibachan in https://github.com/apple/swift-syntax/pull/1663
- [Parser] Attributes on MacroExpansionDeclSyntax by @rintaro in https://github.com/apple/swift-syntax/pull/1650
- [Macros] Don't fold operators in unnecessary nodes by @rintaro in https://github.com/apple/swift-syntax/pull/1657
- Fix newline parsing at trailing trivia by @TTOzzi in https://github.com/apple/swift-syntax/pull/1661
- [Macros] Copy attrs/modifiers on MacroExpansionDecl to expanded decls by @rintaro in https://github.com/apple/swift-syntax/pull/1666
- Reduce SwiftParser’s public surface area by @ahoppen in https://github.com/apple/swift-syntax/pull/1667
- Fix wrong fix-it in modifier for variable decl by @kimdv in https://github.com/apple/swift-syntax/pull/1643
- Fix wrong formatting of multiline string literal by @kimdv in https://github.com/apple/swift-syntax/pull/1623
- [copy-operator] Add parsing support for copy operator. by @gottesmm in https://github.com/apple/swift-syntax/pull/1669
- [Parser] Improve FixIt for function parameter with missing type (
name1 Name2
) by @TiagoMaiaL in https://github.com/apple/swift-syntax/pull/1679 - Fix diagnostic of ternary operator missing only colon by @TTOzzi in https://github.com/apple/swift-syntax/pull/1677
- Improve diagnosis of the missing expression in a for-each loop by @TTOzzi in https://github.com/apple/swift-syntax/pull/1683
- Fix diagnostic for wrong
where
in if statement by @kimdv in https://github.com/apple/swift-syntax/pull/1616 - Rename genericParameters to genericParameterClause for consistency. by @TTOzzi in https://github.com/apple/swift-syntax/pull/1686
- Add a documentation article for
@_spi
and when to use existentials by @ahoppen in https://github.com/apple/swift-syntax/pull/1696 - Avoid adding diagnostic for array and dictionary when the closing bracket is on a new line by @kimdv in https://github.com/apple/swift-syntax/pull/1695
- Balance spacing around
=
by @kimdv in https://github.com/apple/swift-syntax/pull/1694 - Add an initializer that accepts [ExprSyntax] for ArrayExprSyntax by @gibachan in https://github.com/apple/swift-syntax/pull/1693
- [CMake] Use WMO for release builds by @bnbarham in https://github.com/apple/swift-syntax/pull/1692
- Add documentation to (nearly) all public functions in the SwiftSyntax module by @ahoppen in https://github.com/apple/swift-syntax/pull/1670
- Make CodeGeneration a lot less string-based by @ahoppen in https://github.com/apple/swift-syntax/pull/1672
- Improve doc comments based on review comments by @ahoppen in https://github.com/apple/swift-syntax/pull/1701
- build: add an option to control WMO by @compnerd in https://github.com/apple/swift-syntax/pull/1705
- Use marker to mark
SourceEdit
s by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1684 - Drop
Keyword
suffix fromTokenSpecSet
by @ahoppen in https://github.com/apple/swift-syntax/pull/1668 - Rename child description to documentation by @kimdv in https://github.com/apple/swift-syntax/pull/1711
- In
nodesDescription
only merge tokens if they occur consecutively in the source code by @ahoppen in https://github.com/apple/swift-syntax/pull/1651 - Remove
requiresLeadingNewline
from basic format by @kimdv in https://github.com/apple/swift-syntax/pull/1690 - Add diagnostics for missing modifier in operator declaration by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1448
- Rename
TupleExprSyntax.elementList
toTupleExprSyntax.elements
by @kimdv in https://github.com/apple/swift-syntax/pull/1716 - Fix it to emit a single diagnostic when both open and close quote are missing by @TTOzzi in https://github.com/apple/swift-syntax/pull/1703
- Reduce line-length to 160 characters by @ahoppen in https://github.com/apple/swift-syntax/pull/1714
- Avoid creating \dev\null file when building on Windows by @tristanlabelle in https://github.com/apple/swift-syntax/pull/1697
- Wrap references to public types in comments in double backticks by @ahoppen in https://github.com/apple/swift-syntax/pull/1702
- Add a new test mutation strategy to flip the presence of token in the
assertParse
tests (fixes 5 parser bugs) by @ahoppen in https://github.com/apple/swift-syntax/pull/1706 - Add a test for '@spi()' by @elsh in https://github.com/apple/swift-syntax/pull/1718
- Update code generated files by @ahoppen in https://github.com/apple/swift-syntax/pull/1726
- Update link for documentation in the New Issue template by @ahoppen in https://github.com/apple/swift-syntax/pull/1724
- Address review comments to #1650 by @ahoppen in https://github.com/apple/swift-syntax/pull/1665
- Make
DeclarationModifier
andTypeAttribute
normalTokenSpecSet
instead of generating them by @ahoppen in https://github.com/apple/swift-syntax/pull/1715 - Add utils for incremental parse test by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1712
-
Functiontypesyntax.arguments
should be namedparameters
by @kimdv in https://github.com/apple/swift-syntax/pull/1722 - Parse
init
accessors. by @hborla in https://github.com/apple/swift-syntax/pull/1731 - [CMake] Allow install_name_tool to edit shared library load paths by @bnbarham in https://github.com/apple/swift-syntax/pull/1734
- Replace deprecated code of FunctionTypeSyntax by @TTOzzi in https://github.com/apple/swift-syntax/pull/1732
- Allow parsing for enum case element parameter on new line by @kimdv in https://github.com/apple/swift-syntax/pull/1729
- [Macros] Ability to opt-out from auto-propagation of attrs/modifiers by @rintaro in https://github.com/apple/swift-syntax/pull/1738
- Rename
ImportDeclSyntax.importTok
toImportDeclSyntax.importKeyword
by @kimdv in https://github.com/apple/swift-syntax/pull/1728 - Add highlight to assertion by @kimdv in https://github.com/apple/swift-syntax/pull/1689
- Change children naming inconsistencies between similar/dual syntax nodes by @TTOzzi in https://github.com/apple/swift-syntax/pull/1730
- Rename detach() to detached by @gibachan in https://github.com/apple/swift-syntax/pull/1745
- Allow passing the source code to parse directly as a command line argument by @ahoppen in https://github.com/apple/swift-syntax/pull/1746
- [CMake] Prevent rebuild of libraries by @bnbarham in https://github.com/apple/swift-syntax/pull/1750
- [Macros] Pass macro role for freestanding macro expansion by @DougGregor in https://github.com/apple/swift-syntax/pull/1757
- Eliminate redundant precondition checking by @DougGregor in https://github.com/apple/swift-syntax/pull/1762
- rename
higherThanOrLowerThan
tohigherThanOrLowerThanKeyword
by @kimdv in https://github.com/apple/swift-syntax/pull/1752 - [bazel] Add support for new libraries by @keith in https://github.com/apple/swift-syntax/pull/1760
- Rename
leftSquareBracket
andrightSquareBracket
by @kimdv in https://github.com/apple/swift-syntax/pull/1751 - In
assertMacroExpansion
trim newlines from expanded source by @ahoppen in https://github.com/apple/swift-syntax/pull/1754 - Fix warning by @kimdv in https://github.com/apple/swift-syntax/pull/1768
- Fix parsing
=
instead of:
by @kimdv in https://github.com/apple/swift-syntax/pull/1733 - Add convert to trailing closure and editor placeholder refactorings by @bnbarham in https://github.com/apple/swift-syntax/pull/1485
- Add newline after consecutive declarations by @kimdv in https://github.com/apple/swift-syntax/pull/1698
- Rename
MisspelledAsyncSpecifiers
->MisspelledAsyncTokenKinds
by @ahoppen in https://github.com/apple/swift-syntax/pull/1767 - Remove the last arbitrary keyword as a token choice by @ahoppen in https://github.com/apple/swift-syntax/pull/1769
- assertMacroExpansion should assert if there are errors by @bnbarham in https://github.com/apple/swift-syntax/pull/1758
- [Macros] Implement expansion of conformance macros by @DougGregor in https://github.com/apple/swift-syntax/pull/1773
- [Macros] Opaque params in expansion functions in macro protocols by @rintaro in https://github.com/apple/swift-syntax/pull/1774
- Migrate
!currentToken.isStartOfLine
toTokenSpec(allowStartOfLine: false)
by @ahoppen in https://github.com/apple/swift-syntax/pull/1776 - Fix warnings when generating documentation using docc by @ahoppen in https://github.com/apple/swift-syntax/pull/1777
- Add missing trait conformances by @ahoppen in https://github.com/apple/swift-syntax/pull/1784
- Suggest to add missing
equal
token to variable declarations by @whiteio in https://github.com/apple/swift-syntax/pull/1770 - fix deprecation warnings by @kimdv in https://github.com/apple/swift-syntax/pull/1781
- Fix compile error on tutorial by @maiyama18 in https://github.com/apple/swift-syntax/pull/1789
- Move
IncrementalParseTransition
toSwiftParser
by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1783 - [bazel] Fix missing dependencies by @keith in https://github.com/apple/swift-syntax/pull/1796
- Generate token spec sets by @kimdv in https://github.com/apple/swift-syntax/pull/1741
- Replace most generated code in SyntaxCollections.swift by default protocol implementations by @ahoppen in https://github.com/apple/swift-syntax/pull/1787
- Allow keywords after
#
in freestanding macro expansions by @ahoppen in https://github.com/apple/swift-syntax/pull/1778 - Fix a typo in
CONTRIBUTING.md
by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1798 - Support for isolated and async deinit by @nickolas-pohilets in https://github.com/apple/swift-syntax/pull/1656
- InitAccessors: Parse initializer exprs associated with computed prope… by @xedin in https://github.com/apple/swift-syntax/pull/1795
- Add infrastructure for automated validation of syntax node structure by @ahoppen in https://github.com/apple/swift-syntax/pull/1748
- Avoid creating binding patterns in a couple more positions by @hamishknight in https://github.com/apple/swift-syntax/pull/1804
- Fix two memory corruption bugs when modifying SwiftSyntax nodes by @ahoppen in https://github.com/apple/swift-syntax/pull/1708
- Fix the indentation for nodes that have a parent node by @gibachan in https://github.com/apple/swift-syntax/pull/1791
- Add a GitHub issue template to file actionable BasicFormat bugs by @ahoppen in https://github.com/apple/swift-syntax/pull/1818
- Don’t use
unsafeFlags
when building SwiftSyntax by @ahoppen in https://github.com/apple/swift-syntax/pull/1793 - Translate
lit_tests/incrParse
withassertIncrementalParse
by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1782 - Delete incremental parse related
lit
-based tests by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1807 - Remove spacing between
Any
and.
by @kimdv in https://github.com/apple/swift-syntax/pull/1820 - BasicFormat should not format unexpected nodes by @bnbarham in https://github.com/apple/swift-syntax/pull/1759
- Generate deprecated children by @kimdv in https://github.com/apple/swift-syntax/pull/1817
- Add support for Musl libc by @MaxDesiatov in https://github.com/apple/swift-syntax/pull/1832
- Mention
CodeGeneration
as an example usage of SwiftSyntaxBuilder by @ahoppen in https://github.com/apple/swift-syntax/pull/1830 - Add a glossary to SwiftSyntax by @ahoppen in https://github.com/apple/swift-syntax/pull/1824
- Generate grammar doc comments for layout nodes by @ahoppen in https://github.com/apple/swift-syntax/pull/1771
- Respect
#sourceLocation
directives inSourceLocationConverter
by @ahoppen in https://github.com/apple/swift-syntax/pull/1827 - [Macros] Accept "freeStandingDeclaration" as 'MacroRole.declaration' by @rintaro in https://github.com/apple/swift-syntax/pull/1838
- add
inheritanceClause
andgenericWhereClause
toDeclGroupSyntax
’s requirements by @WowbaggersLiquidLunch in https://github.com/apple/swift-syntax/pull/1811 - Run ValidateSyntaxNodes tests in CI by @ahoppen in https://github.com/apple/swift-syntax/pull/1835
- [Macros] Attached macro expansions return single string by @rintaro in https://github.com/apple/swift-syntax/pull/1845
- Fix macro expansion order in compiler_plugin_basic.swift by @ahoppen in https://github.com/apple/swift-syntax/pull/1855
- Fix child name validation failures in
testSingleTokenChoiceChildNaming
by @ahoppen in https://github.com/apple/swift-syntax/pull/1854 - Fix warnings & failing tests by @kimdv in https://github.com/apple/swift-syntax/pull/1860
- When creation of a syntax node using string interpolation failed, log the diagnostics by @ahoppen in https://github.com/apple/swift-syntax/pull/1790
- Allow rewrite to detach from the node's parent by @bnbarham in https://github.com/apple/swift-syntax/pull/1851
- Support for https://github.com/apple/swift/pull/66540: @_silgen_name on globals, @_silgen_name(raw: ...) by @kubamracek in https://github.com/apple/swift-syntax/pull/1850
- [Macros] Add attached
extension
macros. by @hborla in https://github.com/apple/swift-syntax/pull/1859 - [Macros] Unify PluginMessages.swift by @rintaro in https://github.com/apple/swift-syntax/pull/1865
- [Macros] Copy MacroSystem and related code to SwiftSyntaxMacroExpansion by @rintaro in https://github.com/apple/swift-syntax/pull/1858
- [Macros] Pass a list of protocols to conform to when expanding an
extension
macro. by @hborla in https://github.com/apple/swift-syntax/pull/1871 - Stop using _openExistential by @rintaro in https://github.com/apple/swift-syntax/pull/1875
- [Macros] Stop using @_spi for PluginMessage types by @rintaro in https://github.com/apple/swift-syntax/pull/1876
- [Macros] Remove MacroSystem and related files from 'SwiftSyntaxMacros' by @rintaro in https://github.com/apple/swift-syntax/pull/1878
- Detect
attached
attributes using a contextual keyword instead of string matching by @ahoppen in https://github.com/apple/swift-syntax/pull/1881 - Generate doc-comment for syntax node initializers by @Matejkob in https://github.com/apple/swift-syntax/pull/1849
- Deprecate manipulation functions on SyntaxCollection by @ahoppen in https://github.com/apple/swift-syntax/pull/1879
- Fix child name validation failures found by
testMultipleKeywordChoicesNaming
by @ahoppen in https://github.com/apple/swift-syntax/pull/1857 - Re-generate sources by @ahoppen in https://github.com/apple/swift-syntax/pull/1889
- Guard
OSLog
calls on all platforms, not just macOS by @ahoppen in https://github.com/apple/swift-syntax/pull/1884 - Deprecate
SyntaxCollection.replacing(childAt:with:)
in favor of a writable subscript by @ahoppen in https://github.com/apple/swift-syntax/pull/1880 - Plugin should keep handling the conformance macro role by @bnbarham in https://github.com/apple/swift-syntax/pull/1887
- Documentation - Typos & Consistency Fixes by @joey-gm in https://github.com/apple/swift-syntax/pull/1841
- Replace deprecated APIs in Code Generator by @kimdv in https://github.com/apple/swift-syntax/pull/1892
- Add diagnostic if
#endif
is followed by any declarations by @kimdv in https://github.com/apple/swift-syntax/pull/1833 - Remove outdated docc index by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1893
- When handling a missing layout node, only make the placeholder present by @ahoppen in https://github.com/apple/swift-syntax/pull/1894
- Fix child name validation failures found by
testConsistentNamingOfChildren
by @ahoppen in https://github.com/apple/swift-syntax/pull/1888 - Rename eof to endOfFile by @mininny in https://github.com/apple/swift-syntax/pull/1842
- Port incremental parsing ability to
CodeBlockItem
by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1685 - Fixes wrong escape when creating a string literal where a pound sign follows a sequence of double quotes or backslashes by @kishikawakatsumi in https://github.com/apple/swift-syntax/pull/1813
- [Parser] Accept 'self' after 'each' by @rintaro in https://github.com/apple/swift-syntax/pull/1895
- Improve diagnostics for invalid version tuples by @TTOzzi in https://github.com/apple/swift-syntax/pull/1809
- Respect indentation in the line for sub-tree in BasicFormat by @gibachan in https://github.com/apple/swift-syntax/pull/1867
- Replace
offset(of: )
withgetOffsetToStart
by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1899 - Replace
IncrementalParseReusedNodeDelegate
withReusedNodeCallback
by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1900 - Add syntax trait covering
genericParameterClause
andgenericWhereClause
by @Matejkob in https://github.com/apple/swift-syntax/pull/1903 - Support parsing of
borrowing get
by @ahoppen in https://github.com/apple/swift-syntax/pull/1904 - Make
MemberDeclListItemSyntax
re-usable inSwiftParser
by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1906 - Add
Children
section toSyntaxCollection
nodes by @ahoppen in https://github.com/apple/swift-syntax/pull/1902 - Enable some skipped tests in
IncrementalParsingTests.swift
by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1905 - Display actual expanded source, not expected source by @JosephDuffy in https://github.com/apple/swift-syntax/pull/1917
- Don’t generate BasicFormat+Extensions.swift and SyntaxClassifcation.swift by @ahoppen in https://github.com/apple/swift-syntax/pull/1915
- Reference swift-syntax from CodeGeneration using path instead of HEAD checkout by @ahoppen in https://github.com/apple/swift-syntax/pull/1897
- Simplify consumption of prefixes in a token by @ahoppen in https://github.com/apple/swift-syntax/pull/1910
- Improve modeling of
Child
in CodeGeneration by @ahoppen in https://github.com/apple/swift-syntax/pull/1914 - Remove
Keyword
suffix from Pound* by @kimdv in https://github.com/apple/swift-syntax/pull/1862 - [Macros] Update macro plugin test to replace conformance macros with extension macros. by @hborla in https://github.com/apple/swift-syntax/pull/1929
- [bazel] Add missing dependency by @keith in https://github.com/apple/swift-syntax/pull/1930
- Fix typos in some .md files by @gibachan in https://github.com/apple/swift-syntax/pull/1933
- Remove lit tests that just check round-tripping by @ahoppen in https://github.com/apple/swift-syntax/pull/1926
- Add performance measurement test with instructions count by @kimdv in https://github.com/apple/swift-syntax/pull/1863
- Further naming improvements for syntax node children by @ahoppen in https://github.com/apple/swift-syntax/pull/1896
- Remove
SyntaxProtocol.index
in favor ofindex(of:)
methods inSyntaxCollection
andSyntaxChildren
by @ahoppen in https://github.com/apple/swift-syntax/pull/1919 - Audit public API on
SyntaxProtocol
by @ahoppen in https://github.com/apple/swift-syntax/pull/1912 - Reduce usage of
currentToken
by @ahoppen in https://github.com/apple/swift-syntax/pull/1909 - Remove
Grammar
doc comments by @ahoppen in https://github.com/apple/swift-syntax/pull/1420 - Simplify checking if a token can be an argument label by @ahoppen in https://github.com/apple/swift-syntax/pull/1911
- Add validation that all syntax collections end with
ListSyntax
by @ahoppen in https://github.com/apple/swift-syntax/pull/1913 - Add
assertClassification
forClassificationTests
by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1916 - Change
#if os(Darwin)
to#if os(macOS)
in performanc test by @ahoppen in https://github.com/apple/swift-syntax/pull/1940 - Add a doc comment section mentioning which nodes a node occurs as a child in by @ahoppen in https://github.com/apple/swift-syntax/pull/1928
- Fix string interpolation parsing errors in CodeGeneration by @ahoppen in https://github.com/apple/swift-syntax/pull/1944
- Fix a typo in CONTRIBUTING.md by @arirays in https://github.com/apple/swift-syntax/pull/1945
- Use rewrite func instead of visit for SyntaxRewriter by @kitasuke in https://github.com/apple/swift-syntax/pull/1939
- Introduce
peek(isAt:)
by @ahoppen in https://github.com/apple/swift-syntax/pull/1942 - Add RenamedNodesCompatibility.swift to CMakeLists.txt by @ahoppen in https://github.com/apple/swift-syntax/pull/1941
- Only enable performance testing on Intel machines that run macOS by @ahoppen in https://github.com/apple/swift-syntax/pull/1947
- Disable performance testing in CI by @ahoppen in https://github.com/apple/swift-syntax/pull/1948
- Simplify
TokenSpec
in CodeGeneration by @ahoppen in https://github.com/apple/swift-syntax/pull/1943 - More renames of syntax nodes by @ahoppen in https://github.com/apple/swift-syntax/pull/1949
- Generate documentation for the SwiftSyntaxMacroExpansion module on swiftpackageindex.com by @ahoppen in https://github.com/apple/swift-syntax/pull/1956
- Don’t generate a “Contained In” section for UnexpectedNodesSyntax by @ahoppen in https://github.com/apple/swift-syntax/pull/1957
- Remove TupleTypeElementSyntax.initializer by @ahoppen in https://github.com/apple/swift-syntax/pull/1951
- Perform a couple of renames on differentiability attribute nodes by @ahoppen in https://github.com/apple/swift-syntax/pull/1954
- Remove nodes for accessor init effects by @ahoppen in https://github.com/apple/swift-syntax/pull/1952
- Rename YieldStmtArgument* by @ahoppen in https://github.com/apple/swift-syntax/pull/1955
- Change
lazy var
in BasicFormat that are always evaluated tolet
by @ahoppen in https://github.com/apple/swift-syntax/pull/1962 - Add Swift Macros docs to README by @kitasuke in https://github.com/apple/swift-syntax/pull/1967
- Fix typo
Indentaiton
->Indentation
by @ahoppen in https://github.com/apple/swift-syntax/pull/1968 - Re-work MacroSystem on top of the same expansion functions that the compiler invokes by @ahoppen in https://github.com/apple/swift-syntax/pull/1946
- Use
IdentifierExpr
in a couple more places instead ofDeclNameArguments
by @ahoppen in https://github.com/apple/swift-syntax/pull/1950 - Add a
renamed
label for the renamed syntax node initializers by @ahoppen in https://github.com/apple/swift-syntax/pull/1969 - Unify
PresentMaker
andMissingNodesBasicFormatter
, fixing a formatting bug in string literals by @ahoppen in https://github.com/apple/swift-syntax/pull/1964 - Add more syntax node verifications by @ahoppen in https://github.com/apple/swift-syntax/pull/1970
- Only print line + column in
SyntaxProtocol.debugDescription
by @ahoppen in https://github.com/apple/swift-syntax/pull/1980 - Add methods from
RangeReplaceableCollection
toSyntaxCollection
and removeadd*
methods on syntax nodes that have a collection as child by @ahoppen in https://github.com/apple/swift-syntax/pull/1958 - Fix three typos in the syntax compatibility layers by @ahoppen in https://github.com/apple/swift-syntax/pull/1992
- Renamed file to fileTree in SourceLocationConverter by @natikgadzhi in https://github.com/apple/swift-syntax/pull/1991
- Convert
lit
-based syntax classification test to XCTest by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1953 - If no destination is passed in CodeGeneration, place generated files in parent swift-syntax package by @ahoppen in https://github.com/apple/swift-syntax/pull/1994
- Fix deprecation warning by @kimdv in https://github.com/apple/swift-syntax/pull/1999
- Add attributes section to docc index by @Matejkob in https://github.com/apple/swift-syntax/pull/1995
- Improve the compatibility layer a little bit more by @ahoppen in https://github.com/apple/swift-syntax/pull/1997
- Remove syntax classification
lit
-based tests by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1966 - Add diagnostic for wrong specialize label by @kimdv in https://github.com/apple/swift-syntax/pull/1727
- Some more renames of syntax nodes by @ahoppen in https://github.com/apple/swift-syntax/pull/1983
- Improve CONTRIBUTING.md by @ahoppen in https://github.com/apple/swift-syntax/pull/1993
- Renamed isAt* funcs to at* in Parser and Parser.Lookahead by @natikgadzhi in https://github.com/apple/swift-syntax/pull/1996
- Fix deprecation warnings by @Matejkob in https://github.com/apple/swift-syntax/pull/2007
- [Macros] Remove the
ConformanceMacro
protocol. by @hborla in https://github.com/apple/swift-syntax/pull/2009 - Compare
Token.tokenKind
instead ofToken.text
in a couple of places in SwiftOperators by @ahoppen in https://github.com/apple/swift-syntax/pull/2013 - Allow trivia to be added to
SyntaxStringInterpolation
without adding araw:
label by @ahoppen in https://github.com/apple/swift-syntax/pull/2020 - Add declarations to make construction of diagnostics in macros easier by @ahoppen in https://github.com/apple/swift-syntax/pull/2019
- Replace string-based token references with
Token
enum in CodeGeneration by @Matejkob in https://github.com/apple/swift-syntax/pull/2006 - Fix broken links in Contributing.md by @ahoppen in https://github.com/apple/swift-syntax/pull/2005
- Add documentation how to author commits, PR reviews and CI by @ahoppen in https://github.com/apple/swift-syntax/pull/2017
- Ensure that the
deprecatedName
starts with an uppercase letter by @ahoppen in https://github.com/apple/swift-syntax/pull/2023 - Change
substructure
parameter ofassertParse
tosome SyntaxProtocol
by @ahoppen in https://github.com/apple/swift-syntax/pull/2027 - Add some documentation for nodes that have unintuitive behavior on first sight by @ahoppen in https://github.com/apple/swift-syntax/pull/2016
- Add an article that describes how macros should be versioned when updating their swift-syntax dependency by @ahoppen in https://github.com/apple/swift-syntax/pull/2024
- Support construction of
DeclSyntax
subtypes from string interpolation by @ahoppen in https://github.com/apple/swift-syntax/pull/2032 - Add documentation on pattern bindings by @ahoppen in https://github.com/apple/swift-syntax/pull/2035
- Prune example projects that don’t use swift-syntax 508.0.0 by @ahoppen in https://github.com/apple/swift-syntax/pull/2033
- Format doc comments so they render better in docc by @ahoppen in https://github.com/apple/swift-syntax/pull/2034
- Add diagnostic for label with string segment by @kimdv in https://github.com/apple/swift-syntax/pull/1864
- Regenerate sources and fix a warning in CodeGeneration by @ahoppen in https://github.com/apple/swift-syntax/pull/2044
- Fix deprecation warning by @Matejkob in https://github.com/apple/swift-syntax/pull/2042
- Rename Parser.Lookahead functions from is* to at* by @natikgadzhi in https://github.com/apple/swift-syntax/pull/2003
- Introduce ExperimentalFeatures by @hamishknight in https://github.com/apple/swift-syntax/pull/2041
- Rename some
SyntaxClassification
by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1998 - Migrate build script to Swift by @kimdv in https://github.com/apple/swift-syntax/pull/1618
- Ensure there are no optional syntax collection in the syntax tree by @ahoppen in https://github.com/apple/swift-syntax/pull/2043
- Introduce
tokenSpecSetType
andsyntaxChoicesType
for child nodes in CodeGeneration by @Matejkob in https://github.com/apple/swift-syntax/pull/2011 - Inject test case enabled experimental features by @hamishknight in https://github.com/apple/swift-syntax/pull/2051
- Parse hashbang as a child of
SourceFileSyntax
by @StevenWong12 in https://github.com/apple/swift-syntax/pull/1979 - Improve compatibility layer for
KeyPathPropertyComponentSyntax
by @ahoppen in https://github.com/apple/swift-syntax/pull/2052 - Add a
?
in theChildren
section for optional collections by @ahoppen in https://github.com/apple/swift-syntax/pull/2046 - Remove
QualifiedDeclNameSyntax
by @kimdv in https://github.com/apple/swift-syntax/pull/2045 - remove SwiftSyntax support for
_forget
, the old spelling ofdiscard
by @kavon in https://github.com/apple/swift-syntax/pull/2053 - Remove all unnecessary
raw:
interpolations by @Matejkob in https://github.com/apple/swift-syntax/pull/2060 - Fix deprecation warning in
Examples
package by @Matejkob in https://github.com/apple/swift-syntax/pull/2057 - Update unit tests after the removal of the
QualifiedDeclNameSyntax
by @Matejkob in https://github.com/apple/swift-syntax/pull/2062 - Fix trivia transfer bugs for freestanding expression macros by @ahoppen in https://github.com/apple/swift-syntax/pull/2048
- Fix compilation errors in SwiftRefactorExtension. by @kishikawakatsumi in https://github.com/apple/swift-syntax/pull/2061
- Make the first character of both
name
anddeprecatedName
in everyChild
lowercase by @Matejkob in https://github.com/apple/swift-syntax/pull/2055 - Remove the remaining file in
lit-test-helper
by @StevenWong12 in https://github.com/apple/swift-syntax/pull/2064 - Update Trivia type to utilize SwiftSyntax types and provide extensive documentation by @Matejkob in https://github.com/apple/swift-syntax/pull/2065
- Replace string-based keyword references with
Keyword
enum in CodeGeneration by @Matejkob in https://github.com/apple/swift-syntax/pull/2056 - Fix link to contributing guide in
SwiftSyntaxDevUtils
's README by @Matejkob in https://github.com/apple/swift-syntax/pull/2067 - Add messages for some
assertStringsEqualWithDiff
by @ahoppen in https://github.com/apple/swift-syntax/pull/2071 - Improve swift-syntax-dev-utils by @ahoppen in https://github.com/apple/swift-syntax/pull/2069
- Add an option to swift-syntax-dev-utils to treat all warnings as errors by @ahoppen in https://github.com/apple/swift-syntax/pull/2068
- [reference-binding] Add _consuming/_mutating/_borrowing as var decl bindings by @gottesmm in https://github.com/apple/swift-syntax/pull/1982
- [reference-bindings] Small fixups as requested from @ahoppen's review. by @gottesmm in https://github.com/apple/swift-syntax/pull/2079
- Improve modeling of
TokenSpec
in CodeGeneration by @Matejkob in https://github.com/apple/swift-syntax/pull/2077 - Add documentation of how to run
CodeGeneration
from the command line in CONTRIBUTING.md by @ahoppen in https://github.com/apple/swift-syntax/pull/2080 - Add correct diagnostic for missing parentheses by @kimdv in https://github.com/apple/swift-syntax/pull/2012
- Build EditorExtension as part of CI job by @kimdv in https://github.com/apple/swift-syntax/pull/2075
- Improve modeling of
KeywordSpec
in CodeGeneration by @Matejkob in https://github.com/apple/swift-syntax/pull/2076 - Incorporate Doug’s macro examples in swift-syntax/Examples by @Matejkob in https://github.com/apple/swift-syntax/pull/2059
- Remove all remaining use of
raw:
interpolations by @Matejkob in https://github.com/apple/swift-syntax/pull/2086 - Add
appendInterpolation
with optional syntax nodes by @Matejkob in https://github.com/apple/swift-syntax/pull/2085 - Add a version indicator macro to indicate the swift-syntax version a client is building against by @ahoppen in https://github.com/apple/swift-syntax/pull/2050
- Simplify
SyntaxRewriter
andSyntaxVisitor
by @ahoppen in https://github.com/apple/swift-syntax/pull/2038 - Disallow the
self
/Self
keyword where it’s not allowed in types by @ahoppen in https://github.com/apple/swift-syntax/pull/1986 - Set
-derivedDataPath
when building the EditorExtension Xcode project by @ahoppen in https://github.com/apple/swift-syntax/pull/2099 - Don’t mutate line endings in
assertParseWithAllNewlineEndings
by @ahoppen in https://github.com/apple/swift-syntax/pull/2100 - Fix a formatting issue if a member attribute macro is applied to properties that already have an attribute by @ahoppen in https://github.com/apple/swift-syntax/pull/2088
- Convert code in doc comment on
SyntaxAnyVisitor
to docc style by @ahoppen in https://github.com/apple/swift-syntax/pull/2093 - Add abstracts for subcommands of swift-syntax-dev-utils by @ahoppen in https://github.com/apple/swift-syntax/pull/2095
- Fix warnings when generating the docc documentation archive for SwiftSyntax by @ahoppen in https://github.com/apple/swift-syntax/pull/2094
- Evenly distribute syntax nodes to different files, improving compile time by @ahoppen in https://github.com/apple/swift-syntax/pull/2037
- Add a function to get the
SyntaxChildrenIndex
of the n-th element in aSyntaxCollection
by @ahoppen in https://github.com/apple/swift-syntax/pull/2014 - Fix newline detection logic for carriage return line feeds by @ahoppen in https://github.com/apple/swift-syntax/pull/2106
- Renamed generate-swiftsyntax to generate-swift-syntax by @arirays in https://github.com/apple/swift-syntax/pull/2073
- Only allow
postfixQuestionMark
as the question mark afterinit
by @ahoppen in https://github.com/apple/swift-syntax/pull/1985 - [CMake] Add padding to RUNPATH in linux by @rintaro in https://github.com/apple/swift-syntax/pull/2090
- Improvements to MacroSystemTests by @ahoppen in https://github.com/apple/swift-syntax/pull/2113
- Small refactoring improvements around
ExprFlavor
by @ahoppen in https://github.com/apple/swift-syntax/pull/2103 - Remove unnecessary casts in SyntaxRewriter by @natikgadzhi in https://github.com/apple/swift-syntax/pull/2119
- Add automatic colons or paranthesis to nodes when needed by @natikgadzhi in https://github.com/apple/swift-syntax/pull/2112
- Remove the
parent
parameter fromSyntaxData.child(at:parent:)
by @ahoppen in https://github.com/apple/swift-syntax/pull/2120 - Add a release notes document for swift-syntax 510 by @ahoppen in https://github.com/apple/swift-syntax/pull/2123
- Use two-step dispatch to
SyntaxVisitor.vistImpl
by @ahoppen in https://github.com/apple/swift-syntax/pull/2121 - Split macro tests into multiple files by @ahoppen in https://github.com/apple/swift-syntax/pull/2122
- Add test cases for parsing closures inside
if
statement conditions by @ahoppen in https://github.com/apple/swift-syntax/pull/2104 - build: set the
CMAKE_RUNTIME_OUTPUT_DIRECTORY
by @compnerd in https://github.com/apple/swift-syntax/pull/2130 - Ignore .vscode and cmake build output by @natikgadzhi in https://github.com/apple/swift-syntax/pull/2131
- Set the privacy level of string interpolation errors in os_log to private by @ahoppen in https://github.com/apple/swift-syntax/pull/2124
- Introduce
then
statements by @hamishknight in https://github.com/apple/swift-syntax/pull/2000 - Add a convenience init to ClosureCaptureSyntax by @natikgadzhi in https://github.com/apple/swift-syntax/pull/2127
- Fix macro expansion diagnostic for multi-binding variable declarations in MacroSystem by @gohanlon in https://github.com/apple/swift-syntax/pull/2139
- Diagnostic format improvements by @DougGregor in https://github.com/apple/swift-syntax/pull/2143
- Rename some properties on
FreestandingMacroExpansionSyntax
by @ahoppen in https://github.com/apple/swift-syntax/pull/2138 - Order all imports lexicographically by @natikgadzhi in https://github.com/apple/swift-syntax/pull/2145
- Fix issue that caused errors thrown from macro expansion to show up twice in MacroSystem by @ahoppen in https://github.com/apple/swift-syntax/pull/2115
- Fold operators using the standard operator table in
MacroSystem
by @ahoppen in https://github.com/apple/swift-syntax/pull/2132 - Disallow attaching peer macro to variable with multiple bindings in
assertMacroExpansion
by @ahoppen in https://github.com/apple/swift-syntax/pull/2154 - Introduce leaf protocols to prevent leaf nodes from being casted by @Matejkob in https://github.com/apple/swift-syntax/pull/2108
- Resolve Warnings: Update Deprecated APIs and Remove Redundant Modifiers by @Matejkob in https://github.com/apple/swift-syntax/pull/2157
- Remove the SyntaxData abstraction layer by @ahoppen in https://github.com/apple/swift-syntax/pull/2129
- Fix a string interpolation error in CodeGeneration by @ahoppen in https://github.com/apple/swift-syntax/pull/2159
- [Diagnostics] Avoid adjacent ANSI sequences when not needed by @DougGregor in https://github.com/apple/swift-syntax/pull/2158
- Remove the last lit test by @ahoppen in https://github.com/apple/swift-syntax/pull/2160
- Add conformsTo argument to member macro expansion operation by @DougGregor in https://github.com/apple/swift-syntax/pull/2004
- Handle pattern as editor placeholder by @kimdv in https://github.com/apple/swift-syntax/pull/2150
- Fix compilation error in Macro Versioning.md by @mbrandonw in https://github.com/apple/swift-syntax/pull/2167
- Make keyword precedence exhaustive by @kimdv in https://github.com/apple/swift-syntax/pull/2151
- [5.10] Only enable
_borrowing
,_consuming
and_mutating
as declaration start keywors if the experimental feature is enabled by @ahoppen in https://github.com/apple/swift-syntax/pull/2182 - [5.10] Fix ExperimentalFeatures raw values by @hamishknight in https://github.com/apple/swift-syntax/pull/2194
- [5.10][CMake] Remove 'SWIFT_SYNTAX_ALWAYS_SINGLE_THREADED' by @rintaro in https://github.com/apple/swift-syntax/pull/2263
- [5.10] Revert "Handle pattern as editor placeholder" by @kimdv in https://github.com/apple/swift-syntax/pull/2271
- [5.10][CMake] Updates to allow inclusion using FetchContent by @rintaro in https://github.com/apple/swift-syntax/pull/2252
- [5.10] Create
SwiftSyntax510
module for version indication by @Matejkob in https://github.com/apple/swift-syntax/pull/2284 - [5.10][CMake] Add option to specify '-module-abi-name' by @rintaro in https://github.com/apple/swift-syntax/pull/2288
- [5.10] Add missing dependency to SwiftSyntaxMacroExpansion. by @Matejkob in https://github.com/apple/swift-syntax/pull/2293
- [5.10][CMake] Remove set(CACHE) line for SWIFT_MODULE_ABI_NAME_PREFIX by @rintaro in https://github.com/apple/swift-syntax/pull/2297
- Globals strict concurrency opt out nonisolated unsafe by @sophiapoirier in https://github.com/apple/swift-syntax/pull/2326
- [5.10] Don't add a space between literals and period in BasicFormat by @ahoppen in https://github.com/apple/swift-syntax/pull/2347
- [5.10] Cherry-pick a couple of macro system fixes for attached accessor macros by @bnbarham in https://github.com/apple/swift-syntax/pull/2339
- 🍒 guard nonisolated(unsafe) by experimental feature by @sophiapoirier in https://github.com/apple/swift-syntax/pull/2356
- [5.10] Cherry-pick multiple PRs to
release/5.10
by @ahoppen in https://github.com/apple/swift-syntax/pull/2346 - [5.10] update decl group syntax to refine decl syntax protocol by @rauhul in https://github.com/apple/swift-syntax/pull/2372
- [5.10] improve assert macro expansion highlight verification by @rauhul in https://github.com/apple/swift-syntax/pull/2373
- [5.10] Revert "guard nonisolated(unsafe) by experimental feature" by @hborla in https://github.com/apple/swift-syntax/pull/2417
- [5.10] Remove
WildcardPattern.typeAnnotation
by @rintaro in https://github.com/apple/swift-syntax/pull/2402 - [5.10] Remove
@_implementationOnly
annotations by @ahoppen in https://github.com/apple/swift-syntax/pull/2430 - [5.10][bazel] Add missing dependency by @keith in https://github.com/apple/swift-syntax/pull/2485
- [5.10] Delete the linkage tests by @ahoppen in https://github.com/apple/swift-syntax/pull/2497
- [5.10][bazel] Update bazel version and BUILD for new modules by @keith in https://github.com/apple/swift-syntax/pull/2521
New Contributors
- @andrewjl made their first contribution in https://github.com/apple/swift-syntax/pull/1497
- @cbjeukendrup made their first contribution in https://github.com/apple/swift-syntax/pull/1553
- @proxpero made their first contribution in https://github.com/apple/swift-syntax/pull/1581
- @whiteio made their first contribution in https://github.com/apple/swift-syntax/pull/1622
- @NikolaiRuhe made their first contribution in https://github.com/apple/swift-syntax/pull/1508
- @gibachan made their first contribution in https://github.com/apple/swift-syntax/pull/1641
- @tristanlabelle made their first contribution in https://github.com/apple/swift-syntax/pull/1697
- @maiyama18 made their first contribution in https://github.com/apple/swift-syntax/pull/1789
- @nickolas-pohilets made their first contribution in https://github.com/apple/swift-syntax/pull/1656
- @kubamracek made their first contribution in https://github.com/apple/swift-syntax/pull/1850
- @joey-gm made their first contribution in https://github.com/apple/swift-syntax/pull/1841
- @arirays made their first contribution in https://github.com/apple/swift-syntax/pull/1945
Full Changelog: https://github.com/apple/swift-syntax/compare/swift-5.9.2-RELEASE...swift-5.10-RELEASE