# Changelog

## Score

- CAI 59 → 61 (+1.7)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 72 → 71 (-1.4)
- Architecture 94 → 95 (+0.2)
- Maturity 62 → 69 (+6.5)
- Readiness 63 → 63 (-0.2)
- Security 50 → 50 (+0.0)
- Performance 78 → 100 (+22.3)

## Resolved (40)

- Change-coupling hub: SyntaxUtils.swift → Declarations.swift, ParseDiagnosticsGenerator.swift, ParserDiagnosticMessages.swift (Sources/SwiftParser/SyntaxUtils.swift)
- Duplicated block (10 lines × 2) (Examples/Sources/MacroExamples/Implementation/Peer/AddAsyncMacro.swift)
- Duplicated block (12–13 lines × 3) (Sources/SwiftLexicalLookup/QualifiedLookup/TypeDeclSyntax.swift)
- Duplicated block (13 lines × 2) (Sources/SwiftRefactor/PackageManifest/AddPluginUsage.swift)
- Duplicated block (13 lines × 6) (Sources/SwiftSyntax/Documentation.docc/Resources/Formatter.step10.swift)
- Duplicated block (18 lines × 2) (Sources/SwiftParser/Types.swift)
- Duplicated block (21 lines × 2) (Sources/SwiftSyntaxBuilder/SwiftSyntaxBuilderCompatibility.swift)
- Duplicated block (24 lines × 2) (Sources/SwiftParserDiagnostics/ParseDiagnosticsGenerator.swift)
- Duplicated block (32 lines × 2) (CodeGeneration/Sources/SyntaxSupport/ExperimentalFeatures.swift)
- Duplicated block (38 lines × 2) (Sources/SwiftLexicalLookup/QualifiedLookup/ValueDeclSyntax.swift)
- Duplicated block (40 lines × 2) (Sources/SwiftSyntaxBuilder/SwiftSyntaxBuilderCompatibility.swift)
- Duplicated block (5 lines × 3) (Sources/SwiftCompilerPluginMessageHandling/PluginMessages.swift)
- Duplicated block (5–10 lines × 3) (Sources/SwiftParser/Attributes.swift)
- Duplicated block (7 lines × 2) (Sources/SwiftParser/Lexer/Cursor.swift)
- FunctionTooLong: RawSyntaxNodesFile.swift.rawSyntaxNodesFile (CodeGeneration/Sources/generate-swift-syntax/templates/swiftsyntax/RawSyntaxNodesFile.swift)
- Hotspot: CodeGeneration/Sources/SyntaxSupport/ExperimentalFeatures.swift (CodeGeneration/Sources/SyntaxSupport/ExperimentalFeatures.swift)
- Hotspot: CodeGeneration/Sources/generate-swift-syntax/templates/swiftsyntax/RawSyntaxNodesFile.swift (CodeGeneration/Sources/generate-swift-syntax/templates/swiftsyntax/RawSyntaxNodesFile.swift)
- Hotspot: Sources/SwiftLexicalLookup/QualifiedLookup/DeclGroupLookup.swift (Sources/SwiftLexicalLookup/QualifiedLookup/DeclGroupLookup.swift)
- Hotspot: Sources/SwiftParser/TokenSpecSet.swift (Sources/SwiftParser/TokenSpecSet.swift)
- Near-duplicate member pair (52 shared lines) (Examples/Sources/MacroExamples/Implementation/Peer/AddAsyncMacro.swift)
- …and 20 more

## New (127)

- Change coupling: Declarations.swift ↔ SyntaxUtils.swift (Sources/SwiftParser/Declarations.swift)
- Change coupling: SyntaxUtils.swift ↔ ParserDiagnosticMessages.swift (Sources/SwiftParser/SyntaxUtils.swift)
- Duplicated block (10 lines × 2) (Examples/Sources/MacroExamples/Implementation/Peer/AddAsyncMacro.swift)
- Duplicated block (13 lines × 6) (Sources/SwiftSyntax/Documentation.docc/Resources/Formatter.step10.swift)
- Duplicated block (19 lines × 2) (Sources/SwiftParser/Types.swift)
- Duplicated block (24 lines × 2) (Sources/SwiftParserDiagnostics/ParseDiagnosticsGenerator.swift)
- Duplicated block (40 lines × 2) (Sources/SwiftSyntaxBuilder/SwiftSyntaxBuilderCompatibility.swift)
- Duplicated block (8 lines × 2) (Sources/SwiftParser/Attributes.swift)
- Duplicated block (8–9 lines × 2) (Sources/SwiftParser/Specifiers.swift)
- Duplicated block (9 lines × 2) (Sources/SwiftParserDiagnostics/ParseDiagnosticsGenerator.swift)
- Edited copies of one member (3 members, 10+ corresponding lines) (Sources/SwiftParser/Parser.swift)
- Edited copies of one member (3 members, 11+ corresponding lines) (CodeGeneration/Sources/Utils/CodeGenerationFormat.swift)
- Edited copies of one member (3 members, 17+ corresponding lines) (Sources/SwiftParser/Parser.swift)
- Edited copies of one member (3 members, 20+ corresponding lines) (Sources/SwiftRefactor/PackageManifest/AddPluginUsage.swift)
- Edited copies of one member (3 members, 21+ corresponding lines) (Sources/SwiftParser/Statements.swift)
- Edited copies of one member (3 members, 3+ corresponding lines) (Sources/SwiftSyntax/ArenaAllocatedBuffer.swift)
- Edited copies of one member (3 members, 9+ corresponding lines) (Sources/SwiftParser/Specifiers.swift)
- Edited copies of one member (4 members, 11+ corresponding lines) (Sources/SwiftLexicalLookup/Scopes/ScopeImplementations.swift)
- Edited copies of one member (4 members, 16+ corresponding lines) (Sources/SwiftParser/TokenConsumer.swift)
- Edited copy of a member (10 corresponding lines) (Sources/SwiftParser/Lexer/Cursor.swift)
- …and 107 more

## Changes since last survey

- 71 commits — 61 feature/other, 10 fixes

## By area

- Sources/SwiftParser — 25 commits
- Sources/SwiftParserDiagnostics — 21 commits
- (repo) — 12 commits
- Tests/SwiftParserTest — 6 commits
- Sources/SwiftSyntaxBuilder — 3 commits
- CodeGeneration/Package.swift — 1 commit
- Sources/SwiftIfConfig — 1 commit
- Sources/SwiftLexicalLookup — 1 commit
- SwiftSyntaxDevUtils/Sources — 1 commit

## Notable commits

- fix: Ensure that fix-its for non-breaking spaces don't eat a neighboring token
- fix: Fix handling of the end of conflict marker regions (<<< >>>)
- fix: Fix issue where fix-its were landing after trailing comments
- fix: Fix issue with "reasync" not getting replaced with "async"
- fix: Fix lexing of hexadecimal floats
- fix: Fix-it fix: only replace the "0" in the "#if 0" diagnostic, not the whole line
- fix: Formatting fixes
- fix: Merge pull request #3504 from Hokila/fix/variable-decl-builder-accessors
- fix: Merge pull request #3515 from DougGregor/more-parsing-fixes-for-astgen
- fix: Update test for conflict-marker fix
- change: Accept a trailing comma in #unavailable
- change: Add a compiler-only feature disableBareSlashRegexLiterals
- change: Add missing imports for MemberImportVisibility (#3395)
- change: Adjust formatting of `extractFileInfo` fatalError message
- change: After a missing "{", don't for another declaration's balanced "}"
- change: Another minor cleanup to use trailing closure syntax
- change: Deal with multiple nonbreaking spaces in a row
- change: Diagnose "async <expr>" where the user probably meant "await <expr>"
- change: Diagnose "some" or "any" in the middle of a composition
- change: Diagnose unknown @differentiable kind
- …and 51 more
