# Changelog

## Score

- CAI 64 → 69 (+4.4)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 70 → 68 (-1.9)
- Architecture 100 → 100 (+0.0)
- Maturity 50 → 61 (+11.2)
- Readiness 79 → 79 (+0.0)
- Security 84 → 81 (-3.2)
- Performance 90 → 90 (+0.0)

## Resolved (9)

- Duplicate method names with different parameter names, identical to the `to_ascii` issue above.
- Duplicate method names with different parameter names, suggesting potential copy-paste errors or lack of refactoring. While Ruby allows parameter name changes, having two methods with the exact same name and arity in the same class is a syntax error in most languages or indicates a severe documentation/API generation artifact. If this is Ruby, it's a redefinition. If it's a static analysis of a generated API, it's a clear redundancy.
- Duplicate method names with different parameter names. Same issue as above.
- Duplicate method names with different parameter names. The parameter name `value` vs `unicode` suggests the same operation is defined twice, likely due to code duplication or poor API generation.
- Further sole-owners (lower concentration)
- IDNA.punycode_encode (cyclomatic 19) (lib/addressable/idna/pure.rb)
- Inconsistent argument types for `merge` and `merge!`. `merge` takes a `hash` (key-value pairs) while `merge!` takes a `uri` (another URI object). This is a significant semantic inconsistency. Usually, `merge` and `merge!` should have the same signature, differing only in mutability. Here, they operate on different data structures.
- Off-boarding risk: anonymized user #1
- Two instance methods named `join` with different arities (one takes multiple URIs, one takes a single URI). While Ruby supports method overloading via arity, this is often confusing for users expecting consistent behavior. More critically, `URI.join` is also a class method (static) in many URI libraries, but here it appears as an instance method. If `URI.join(uris)` is intended to be a class method (static) and `uri.join(other)` is an instance method, the signature listing is ambiguous. However, looking at the list, `URI.join(uris)` is listed under `type Addressable.URI` which usually implies instance methods in this format, but `URI.parse` is also there. If `join` is both a class and instance method, the signature list is incomplete or misleading. Assuming these are both instance methods, having two `join` methods is an inconsistency in naming convention (singular vs plural argument implying different semantics).

## New (10)

- FileTooLong: addressable/template.rb (lib/addressable/template.rb)
- Hotspot: lib/addressable/uri.rb (lib/addressable/uri.rb)
- Template.transform_partial_capture (cognitive 18) (lib/addressable/template.rb)
- TooManyMethods: Template (lib/addressable/template.rb)
- URI.normalize_component (cognitive 22) (lib/addressable/uri.rb)
- URI.normalize_path (cognitive 27) (lib/addressable/uri.rb)
- URI.origin= (cognitive 18) (lib/addressable/uri.rb)
- URI.relative_path_from (cognitive 16) (lib/addressable/uri.rb)
- URI.relative_path_from (cyclomatic 16) (lib/addressable/uri.rb)
- URI.route_from (cyclomatic 18) (lib/addressable/uri.rb)

## Changes since last survey

- 85 commits — 83 feature/other, 2 fixes

## By area

- (root) — 43 commits
- lib/addressable — 25 commits
- .github/workflows — 8 commits
- spec/addressable — 8 commits
- .github/dependabot.yml — 1 commit

## Notable commits

- fix: Fix route_from when only the base URI has a query (#623)
- fix: Revert multi-variable + and # template matching changes
- change: Add AGENTS.md and SECURITY.md (#629)
- change: Add changelog entry for malformed Punycode labels
- change: Add changelog entry for routes to colon segments
- change: Add specs and a changelog entry for Punycode digits (#644)
- change: Add specs and a changelog entry for URI cache invalidation (#640)
- change: Add specs and a changelog entry for URI#clone (#643)
- change: Add specs and a changelog entry for assigning origins (#662)
- change: Add specs and a changelog entry for form query names (#653)
- change: Add specs and a changelog entry for normalized_query flags (#641)
- change: Add specs and a changelog entry for prefix modifier bounds (#659)
- change: Add specs and a changelog entry for template array values (#642)
- change: Add specs and a changelog entry for template cache copies (#658)
- change: Add specs and a changelog entry for template hashes (#649)
- change: Add specs and a changelog entry for trailing empty IDNA labels (#661)
- change: Add specs and a changelog entry for undefined template members (#654)
- change: Add specs and a changelog entry for userinfo splitting (#652)
- change: Add specs for malformed Punycode labels
- change: Add specs for multi-variable + and # template matching
- …and 65 more
