# Changelog

## Score

- CAI 65 → 65 (-0.6)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 67 → 64 (-2.6)
- Architecture 87 → 95 (+7.7)
- Maturity 69 → 70 (+0.1)
- Readiness 56 → 56 (-0.7)
- Security 85 → 85 (+0.0)
- Performance 94 → 97 (+3.5)

## Resolved (100)

- Duplicated block (10 lines × 2) (Sources/FoundationEssentials/Formatting/DateComponents+ISO8601FormatStyle.swift)
- Duplicated block (10 lines × 2) (Sources/FoundationEssentials/JSON/JSON5Scanner.swift)
- Duplicated block (10 lines × 3) (utils/build-list-format-data-impl.swift)
- Duplicated block (10–11 lines × 3) (Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift)
- Duplicated block (10–12 lines × 2) (Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift)
- Duplicated block (11 lines × 2) (Sources/FoundationEssentials/URL/URLParser.swift)
- Duplicated block (11–13 lines × 2) (Sources/FoundationEssentials/URL/URL_Swift.swift)
- Duplicated block (11–13 lines × 3) (Sources/FoundationEssentials/Calendar/Calendar_Gregorian.swift)
- Duplicated block (12 lines × 2) (Sources/FoundationInternationalization/Formatting/Number/Decimal+ParseStrategy.swift)
- Duplicated block (12 lines × 3) (Sources/FoundationEssentials/Locale/Locale_Preferences.swift)
- Duplicated block (12–13 lines × 2) (Sources/FoundationEssentials/Calendar/Calendar_Chinese.swift)
- Duplicated block (12–13 lines × 3) (Sources/FoundationInternationalization/Calendar/Calendar_ICU.swift)
- Duplicated block (12–17 lines × 2) (Sources/FoundationEssentials/Calendar/Calendar_Chinese.swift)
- Duplicated block (13 lines × 2) (Sources/FoundationEssentials/URL/URLParser.swift)
- Duplicated block (13 lines × 2) (Sources/FoundationInternationalization/Calendar/Calendar_ICU.swift)
- Duplicated block (13–15 lines × 2) (Sources/FoundationEssentials/Calendar/Calendar_Chinese.swift)
- Duplicated block (14 lines × 2) (Sources/FoundationEssentials/Calendar/Calendar_Recurrence.swift)
- Duplicated block (14–15 lines × 2) (Sources/FoundationEssentials/URL/URLComponents.swift)
- Duplicated block (15–17 lines × 2) (Sources/FoundationEssentials/Calendar/Calendar_Enumerate.swift)
- Duplicated block (15–17 lines × 2) (Sources/FoundationEssentials/CharacterSet/Annex.swift)
- …and 80 more

## New (534)

- BuildDateFormatData.main (cognitive 24) (utils/build-date-format-data-impl.swift)
- BuildDateFormatData.main (cyclomatic 20) (utils/build-date-format-data-impl.swift)
- ClassTooLong: DatePatternFormatter (Sources/FoundationInternationalization/Formatting/Date/DatePatternFormatter.swift)
- ClassTooLong: _CalendarFixedMonth (Sources/FoundationEssentials/Calendar/Calendar_FixedMonth.swift)
- DataLocaleIdentifier.init (cognitive 19) (Sources/_FoundationInternationalizationData/DataLocaleIdentifier.swift)
- DataLocaleIdentifier.parseBaseName (cognitive 40) (Sources/_FoundationInternationalizationData/DataLocaleIdentifier.swift)
- DataLocaleIdentifier.parseBaseName (cyclomatic 22) (Sources/_FoundationInternationalizationData/DataLocaleIdentifier.swift)
- DateComponents.description (cognitive 19) (Sources/FoundationEssentials/Calendar/DateComponents.swift)
- DateComponents.description (cyclomatic 20) (Sources/FoundationEssentials/Calendar/DateComponents.swift)
- DatePatternFormatter.appendField (cognitive 72) (Sources/FoundationInternationalization/Formatting/Date/DatePatternFormatter.swift)
- DatePatternFormatter.appendField (cyclomatic 72) (Sources/FoundationInternationalization/Formatting/Date/DatePatternFormatter.swift)
- DatePatternFormatter.appendLocalizedGMT (cognitive 34) (Sources/FoundationInternationalization/Formatting/Date/DatePatternFormatter.swift)
- DatePatternFormatter.appendLocalizedGMT (cyclomatic 22) (Sources/FoundationInternationalization/Formatting/Date/DatePatternFormatter.swift)
- DatePatternFormatter.capitalizationUsage (cognitive 19) (Sources/FoundationInternationalization/Formatting/Date/DatePatternFormatter.swift)
- DatePatternFormatter.fill (cognitive 37) (Sources/FoundationInternationalization/Formatting/Date/DatePatternFormatter.swift)
- DatePatternFormatter.fill (cyclomatic 22) (Sources/FoundationInternationalization/Formatting/Date/DatePatternFormatter.swift)
- Duplicated block (10 lines × 2) (Sources/FoundationEssentials/JSON/JSON5Scanner.swift)
- Duplicated block (10 lines × 2) (Sources/FoundationEssentials/String/StringProtocol+Essentials.swift)
- Duplicated block (10–12 lines × 3) (Sources/FoundationInternationalization/Formatting/Number/ICUNumberFormatter.swift)
- Duplicated block (11 lines × 2) (Sources/FoundationEssentials/Calendar/Calendar_Chinese.swift)
- …and 514 more

## Changes since last survey

- 32 commits — 29 feature/other, 3 fixes

## By area

- Sources/FoundationEssentials — 20 commits
- Sources/FoundationInternationalization — 4 commits
- .github/workflows — 2 commits
- (repo) — 1 commit
- (root) — 1 commit
- Proposals/0004-predicate-regex-support.md — 1 commit
- Proposals/NNNN-decimal-api-revisions.md — 1 commit
- Sources/_FoundationInternationalizationData — 1 commit
- Tests/FoundationEssentialsTests — 1 commit

## Notable commits

- fix: Fix integer underflow when resolving symlinks on Windows (#2380)
- fix: Revert to an open function for withFileSystemRepresentation for swift-corelibs-foundation's use (#2398)
- fix: fix: clear parser and formatter warnings (#2422)
- change: A few improvements to deserialization and path APIs to prepare for work on Bundle (#2415)
- change: Add Coptic, Ethiopic, Persian, Indian, Dangi and Vietnamese calendars (#2324)
- change: Add Embedded WASM without ICU Build in CI (#2432)
- change: Add ICU package trait (#2412)
- change: Add JSONPrimitive.withDecodedStringBytes to share string decoding with other consumers (#2418)
- change: Add `trimmingCharacters(in:)` and `components(separatedBy:)` with `CharacterSet` to FoundationEssentials (#2427)
- change: Add an SPI initializer to URL for compatibility cases in swift-corelibs-foundation (#2434)
- change: Add some SPI for swift-corelibs-foundation, so it can use Calendar instead of CFCalendar (#2410)
- change: Add support for lossy decoding to ICU's string converter (#2387)
- change: Add support for printf-style scientific notation in number format styles (#2384)
- change: Build more of FoundationEssentials and FoundationInternationalization for embedded Swift (#2368)
- change: CFURLCreateWithBytes should reject invalid IP-literal chars that URL/NSURL reject (#2426)
- change: Correct handling of beyond-bounds number parts (#2433)
- change: Enable FoundationEssentials API that depends on CharacterSet (#2416)
- change: Ensure that the uuid_t setter does not accidentally get added as API (#2414)
- change: Exclude BasicContainers/_FoundationRefs on Embedded (#2411)
- change: Format date patterns in Swift (#2330)
- …and 12 more
