# Changelog

## Score

- CAI 51 → 51 (+0.7)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 74 → 66 (-7.6)
- Architecture 95 → 95 (+0.2)
- Maturity 56 → 56 (-0.2)
- Readiness 34 → 36 (+1.4)
- Security 65 → 65 (+0.0)
- Performance 82 → 100 (+18.3)

## Resolved (16)

- Change coupling: BinaryDelimited.swift ↔ Message+BinaryAdditions_Data.swift (Sources/SwiftProtobuf/BinaryDelimited.swift)
- Change coupling: Google_Protobuf_FieldMask+Extensions.swift ↔ Google_Protobuf_Timestamp+Extensions.swift (Sources/SwiftProtobuf/Google_Protobuf_FieldMask+Extensions.swift)
- Duplicated block (13 lines × 2) (Sources/SwiftProtobufPluginLibrary/Descriptor.swift)
- Duplicated block (16 lines × 3) (Sources/SwiftProtobuf/TextFormatDecoder.swift)
- Duplicated block (18 lines × 2) (Sources/SwiftProtobuf/BinaryDecoder.swift)
- Duplicated block (5 lines × 2) (Sources/SwiftProtobuf/BinaryEncodingSizeVisitor.swift)
- Duplicated block (5 lines × 2) (Sources/SwiftProtobuf/Google_Protobuf_Duration+Extensions.swift)
- Duplicated block (5 lines × 2) (Sources/SwiftProtobufPluginLibrary/SwiftLanguage.swift)
- Duplicated block (5 lines × 4) (Sources/SwiftProtobuf/BinaryEncodingSizeVisitor.swift)
- Hotspot: Sources/SwiftProtobuf/Google_Protobuf_Timestamp+Extensions.swift (Sources/SwiftProtobuf/Google_Protobuf_Timestamp+Extensions.swift)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (Sources/SwiftProtobuf/JSONEncoder.swift)
- Members sharing a duplicated core (8 members, 50+ identical tokens) (Sources/SwiftProtobuf/BinaryDecoder.swift)
- No ADRs found
- Off-boarding risk: anonymized user #1
- TodoComment (Sources/SwiftProtobufPluginLibrary/CodeGenerator.swift)
- TodoComment (Sources/SwiftProtobufPluginLibrary/CodeGenerator.swift)

## New (85)

- AnyMessageStorage.swift.canUseVerboseTextForm (cognitive 19) (Sources/SwiftProtobuf/AnyMessageStorage.swift)
- AnyMessageStorage.textTraverse (cyclomatic 23) (Sources/SwiftProtobuf/AnyMessageStorage.swift)
- Duplicated block (11 lines × 2) (Sources/SwiftProtobuf/JSONEncoder.swift)
- Duplicated block (12 lines × 2) (Sources/SwiftProtobufPluginLibrary/Descriptor.swift)
- Duplicated block (18 lines × 2) (Sources/SwiftProtobuf/BinaryDecoder.swift)
- Duplicated block (19–20 lines × 2) (Sources/SwiftProtobuf/TextFormatEncodingVisitor.swift)
- Duplicated block (22 lines × 3) (Sources/SwiftProtobuf/TextFormatDecoder.swift)
- Duplicated block (5 lines × 2) (Sources/SwiftProtobuf/Google_Protobuf_Duration+Extensions.swift)
- Duplicated block (6 lines × 2) (Sources/SwiftProtobuf/BinaryEncodingSizeVisitor.swift)
- Duplicated block (6 lines × 4) (Sources/SwiftProtobuf/BinaryEncodingSizeVisitor.swift)
- Duplicated block (8–13 lines × 2) (Sources/SwiftProtobuf/JSONEncoder.swift)
- Edited copies of one member (3 members, 10+ corresponding lines) (Sources/SwiftProtobuf/Google_Protobuf_Duration+Extensions.swift)
- Edited copies of one member (3 members, 11+ corresponding lines) (Sources/SwiftProtobuf/Message+BinaryAdditions_Data.swift)
- Edited copies of one member (3 members, 14+ corresponding lines) (Sources/SwiftProtobuf/Google_Protobuf_FieldMask+Extensions.swift)
- Edited copies of one member (3 members, 16+ corresponding lines) (Sources/SwiftProtobuf/BinaryDecoder.swift)
- Edited copies of one member (3 members, 18+ corresponding lines) (Sources/SwiftProtobuf/BinaryEncodingSizeVisitor.swift)
- Edited copies of one member (3 members, 19+ corresponding lines) (Sources/SwiftProtobuf/BinaryEncodingVisitor.swift)
- Edited copies of one member (3 members, 22+ corresponding lines) (Sources/SwiftProtobuf/TextFormatDecoder.swift)
- Edited copies of one member (3 members, 28+ corresponding lines) (Sources/SwiftProtobuf/TextFormatEncodingVisitor.swift)
- Edited copies of one member (3 members, 40+ corresponding lines) (Sources/SwiftProtobuf/JSONDecoder.swift)
- …and 65 more

## Changes since last survey

- 23 commits — 20 feature/other, 3 fixes

## By area

- Sources/SwiftProtobufPluginLibrary — 6 commits
- Tests/SwiftProtobufTests — 6 commits
- Sources/SwiftProtobuf — 5 commits
- (root) — 3 commits
- .github/workflows — 1 commit
- Protos/Tests — 1 commit
- Sources/protoc-gen-swift — 1 commit

## Notable commits

- fix: Fix Any depth budget CoW handling and WKT contentJSON textTraverse limit (#2237)
- fix: Fix two `SwiftProtobufPluginLibrary` bugs (#2218)
- fix: fix utf-8 corruption when escaping non-ascii json field names (#2227)
- change: Accept JSON Timestamp offsets up to ±23:59 (#2236)
- change: Add `SwiftProtobufPluginLibrary` descriptor and path utilities (#2219)
- change: Add extension and reserved range/name containment helpers to SwiftProtobufPluginLibrary. (#2221)
- change: Add extractProto() to non-file descriptors. (#2222)
- change: Add per-descriptor lookup helpers to SwiftProtobufPluginLibrary. (#2220)
- change: Bound Any recursion depth when transcoding to JSON and TextFormat (#2232)
- change: Expose `featureExtensions` on `CodeGenerator` and `DescriptorSet`. (#2224)
- change: Move `assertDebugDescription` usages to `assertDebugDescriptionSuffix` (#2238)
- change: Preserve unchanged file timestamps during make `regenerate` (#2231)
- change: Reconstruct descriptor protos on demand in extractProto() (#2233)
- change: Truncate out-of-range enum values to int32 in JSON and text encoding. (#2214)
- change: Update protos from upstream and regenerate. (#2225)
- change: Version bump for a relase (#2239)
- change: Version bump for a release (#2226)
- change: Work around the sanitizer issue. (#2210)
- change: only use the verbose Any text form for type URLs the parser accepts (#2212)
- change: reject binary groups truncated before their end-group tag (#2201)
- …and 3 more

## Architecture

- Unchanged — 0 containers · 1 contexts · 0 edges
