# Changelog

## Score

- CAI 62 → 67 (+4.9)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 79 → 71 (-8.5)
- Architecture 93 → 92 (-1.0)
- Maturity 53 → 61 (+8.3)
- Readiness 68 → 70 (+2.2)
- Security 66 → 69 (+3.3)
- Domain Modelling 90 → 90 (+0.0)
- Performance 71 → 79 (+7.6)

## Resolved (102)

- BuildPlan.plan (cyclomatic 19) (Sources/Build/BuildPlan/BuildPlan+Swift.swift)
- Duplicated block (10 lines × 2) (Sources/PackageCollections/Storage/SQLitePackageCollectionsStorage.swift)
- Duplicated block (10 lines × 2) (Sources/PackageCollectionsSigning/PackageCollectionSigning.swift)
- Duplicated block (10 lines × 2) (Sources/PackageLoading/PackageBuilder.swift)
- Duplicated block (10 lines × 2) (Sources/PackageModel/ManifestSourceGeneration.swift)
- Duplicated block (10 lines × 2) (Sources/SwiftBuildSupport/PackagePIFProjectBuilder+Modules.swift)
- Duplicated block (10–11 lines × 2) (Sources/Basics/FileSystem/InMemoryFileSystem.swift)
- Duplicated block (10–11 lines × 2) (Sources/SwiftBuildSupport/PackagePIFProjectBuilder+Modules.swift)
- Duplicated block (11 lines × 2) (Sources/Basics/FileSystem/InMemoryFileSystem.swift)
- Duplicated block (11 lines × 2) (Sources/PackageLoading/ManifestLoader+Validation.swift)
- Duplicated block (11 lines × 2) (Sources/SwiftBuildSupport/PackagePIFProjectBuilder+Modules.swift)
- Duplicated block (11 lines × 2) (Sources/SwiftBuildSupport/PackagePIFProjectBuilder+Modules.swift)
- Duplicated block (12 lines × 2) (Sources/Basics/Archiver/TarArchiver.swift)
- Duplicated block (12 lines × 2) (Sources/_InternalTestSupport/MockPackage.swift)
- Duplicated block (12 lines × 3) (Examples/package-registry/Sources/RegistryExample/Models/StoredRelease.swift)
- Duplicated block (12 lines × 6) (Sources/LLBuildManifest/Tools.swift)
- Duplicated block (12 lines × 9) (Sources/LLBuildManifest/Tools.swift)
- Duplicated block (12–13 lines × 2) (Sources/SourceControl/GitRepository.swift)
- Duplicated block (13 lines × 2) (Examples/package-registry/Sources/RegistryExample/Models/StoredRelease.swift)
- Duplicated block (13 lines × 2) (Sources/SBOMModel/SPDX/SPDXDocument.swift)
- …and 82 more

## New (281)

- ClassTooLong: ModuleAliasTracker (Sources/PackageGraph/ModuleAliasTracker.swift)
- Duplicated block (10 lines × 2) (Sources/Commands/SwiftTestCommand.swift)
- Duplicated block (10 lines × 2) (Sources/PackageCollectionsSigning/PackageCollectionSigning.swift)
- Duplicated block (10 lines × 2) (Sources/SwiftBuildSupport/PackagePIFProjectBuilder+Modules.swift)
- Duplicated block (10–11 lines × 2) (Sources/Basics/FileSystem/InMemoryFileSystem.swift)
- Duplicated block (11 lines × 2) (Sources/Basics/Archiver/TarArchiver.swift)
- Duplicated block (11 lines × 2) (Sources/Basics/FileSystem/InMemoryFileSystem.swift)
- Duplicated block (11 lines × 2) (Sources/PackageCollections/Storage/SQLitePackageCollectionsStorage.swift)
- Duplicated block (11 lines × 2) (Sources/PackageLoading/ManifestLoader+Validation.swift)
- Duplicated block (11 lines × 2) (Sources/SwiftBuildSupport/PackagePIFProjectBuilder+Modules.swift)
- Duplicated block (11 lines × 2) (Sources/SwiftBuildSupport/PackagePIFProjectBuilder+Modules.swift)
- Duplicated block (11 lines × 2) (Sources/_InternalTestSupport/MockPackage.swift)
- Duplicated block (12 lines × 4) (Sources/Runtimes/PackagePlugin/PluginContextDeserializer.swift)
- Duplicated block (12–13 lines × 2) (Sources/SwiftBuildSupport/PackagePIFProjectBuilder+Modules.swift)
- Duplicated block (13 lines × 2) (Sources/SBOMModel/SPDX/SPDXDocument.swift)
- Duplicated block (13 lines × 2) (Sources/SwiftBuildSupport/PackagePIFProjectBuilder+Modules.swift)
- Duplicated block (13 lines × 2) (Sources/Workspace/PackageContainer/SourceControlPackageContainer.swift)
- Duplicated block (13 lines × 2) (Sources/swift-bootstrap/main.swift)
- Duplicated block (13 lines × 3) (Sources/PackageCollectionsSigning/CertificatePolicy.swift)
- Duplicated block (15 lines × 3) (Sources/Runtimes/PackagePlugin/PluginContextDeserializer.swift)
- …and 261 more

## Changes since last survey

- 40 commits — 35 feature/other, 5 fixes

## By area

- (repo) — 9 commits
- Sources/SwiftBuildSupport — 6 commits
- .github/workflows — 3 commits
- Sources/PackageManagerDocs — 3 commits
- Sources/Workspace — 3 commits
- Sources/Basics — 2 commits
- Sources/PackageGraph — 2 commits
- Utilities/build-using-self — 2 commits
- (root) — 1 commit
- Examples/swift-sdl — 1 commit
- Fixtures/Miscellaneous — 1 commit
- Sources/Build — 1 commit
- Sources/PackageCollectionsModel — 1 commit
- Sources/SPMBuildCore — 1 commit
- Sources/_InternalTestSupport — 1 commit
- Tests/CommandsTests — 1 commit
- Tests/FunctionalTests — 1 commit
- Tests/PackageLoadingTests — 1 commit

## Notable commits

- fix: Fix DispatchGroup over-release race in RepositoryManager's testConcurrency (#10745)
- fix: Fix `diagnose-api-breaking-changes` crash when a target is removed from a product
- fix: Fix broken links to https://docs.swift.org/swiftpm/... (#10746)
- fix: Fix subscript setter for `TaskDiagnosticBuffer`
- fix: Merge pull request #10790 from hamishknight/fix-setter
- change: Add --enable-testability/--disable-testability to swift build and swift run (#10747)
- change: Add artifact bundle documentation: reference, creating, plugins, troubleshooting (#10614)
- change: Add stall watchdog to build-using-self diagnostics
- change: Clear plugin pipe readability handlers at EOF (#10780)
- change: Copy test fixtures atomically to avoid ETXTBSY races
- change: Disable `release/6.4.1` to `release/6.4.2` automerger (#10772)
- change: Don't drop swiftbuild messages under --quiet (#10785)
- change: Don't suppress compiler output when emitting cache remarks
- change: Ensure module aliases are applied to dynamic target variants
- change: Extract the Swift symbolgraph for clang targets
- change: Include cache keys in build traces when diagnostic remarks are enabled
- change: Incrementally migrate AsyncProcess usages to swift-subprocess (#9957)
- change: Introduce anyAppleOS manifest API
- change: Mark a few `PackageCollectionModel` types as `Sendable` (#8635)
- change: Merge pull request #10677 from swiftlang/t/main/raise-error
- …and 20 more
