# Changelog

## Score

- CAI 41 → 40 (-0.6)

## Lenses

- Code Health 40 → 35 (-5.3)
- Architecture 96 → 96 (-0.1)
- Maturity 47 → 52 (+5.5)
- Readiness 64 → 64 (+0.4)
- Security 79 → 78 (-1.6)
- Accessibility 28 → 28 (+0.0)
- Performance 97 → 97 (+0.0)

## Resolved (28)

- Ambiguous naming for potentially identical or overlapping operations. `run.command` and `run.setup` take the exact same arguments (`ProjectPaths`, `String`, `Target`, `Runtime`, `String`, `Which`, `bool`). It is unclear if one is a wrapper for the other, or if they perform distinct steps in a pipeline. Without distinct signatures or clear naming conventions (e.g., `run_command` vs `run_setup`), this is confusing.
- Duplicate method signatures with identical names and parameter types exist on the same type. The only difference is the parameter name (`path` vs `_path`), which is irrelevant for the public API surface.
- Duplicated block (19 lines × 2) (compiler-core/src/analyse/imports.rs)
- Duplicated block (24 lines × 2) (compiler-core/src/parse.rs)
- Duplicated block (7 lines × 2) (language-server/src/code_action.rs)
- Hotspot: compiler-core/src/ast/visit.rs (compiler-core/src/ast/visit.rs)
- Hotspot: compiler-core/src/call_graph.rs (compiler-core/src/call_graph.rs)
- Hotspot: language-server/src/completer.rs (language-server/src/completer.rs)
- Members sharing a duplicated core (11 members, 50+ identical tokens) (compiler-core/src/ast.rs)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (compiler-core/src/erlang.rs)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (compiler-core/src/parse.rs)
- Members sharing a duplicated core (5 members, 50+ identical tokens) (compiler-core/src/parse.rs)
- Members sharing a duplicated core (7 members, 50+ identical tokens) (compiler-core/src/ast.rs)
- Members sharing a duplicated core (7 members, 50+ identical tokens) (hexpm/src/lib.rs)
- Naming inconsistency in error handling methods. `expect` and `expect_ref` likely differ only in whether they return a value by value or by reference, but the naming convention is not parallel to standard Rust idioms (which often use `expect` for panic-on-error and `unwrap` for similar, or `get`/`get_ref`). More importantly, `expect_ref` returning `T` (by value) contradicts the `_ref` suffix which implies a reference return type. If it returns `T`, it should be named `expect` or `unwrap`. If it returns `&T`, the signature is wrong in the description or the name is misleading.
- Off-boarding risk: anonymized user #1
- Outdated: askama
- Outdated: clap
- Outdated: flate2
- Outdated: indexmap
- …and 8 more

## New (18)

- Duplicated block (11 lines × 2) (compiler-core/src/ast/constant.rs)
- Duplicated block (11 lines × 2) (compiler-core/src/erlang.rs)
- Duplicated block (13 lines × 2) (compiler-core/src/parse.rs)
- Duplicated block (17 lines × 2) (compiler-core/src/analyse/imports.rs)
- Medium CVE: RUSTSEC-2026-0382 (Cargo.lock)
- Medium CVE: RUSTSEC-2026-0383 (Cargo.lock)
- Medium advisory (unmaintained): RUSTSEC-2026-0374 (Cargo.lock)
- Medium vulnerability: RUSTSEC-2026-0367 (Cargo.lock)
- Medium vulnerability: RUSTSEC-2026-0387 (Cargo.lock)
- Members sharing a duplicated core (11 members, 50+ identical tokens) (compiler-core/src/ast.rs)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (compiler-core/src/erlang.rs)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (compiler-core/src/parse.rs)
- Members sharing a duplicated core (5 members, 50+ identical tokens) (compiler-core/src/parse.rs)
- Members sharing a duplicated core (7 members, 50+ identical tokens) (compiler-core/src/ast.rs)
- Members sharing a duplicated core (7 members, 50+ identical tokens) (hexpm/src/lib.rs)
- Off-boarding risk: anonymized user #1
- Outdated: pulldown-cmark
- gleam_language_server::rename::alias_references_in_module (cognitive 20) (language-server/src/rename.rs)

## Changes since last survey

- 25 commits — 23 feature/other, 2 fixes

## By area

- compiler-core/src — 10 commits
- (root) — 7 commits
- language-server/src — 5 commits
- erlang-generation/src — 1 commit
- hexpm/src — 1 commit
- test-package-compiler/src — 1 commit

## Notable commits

- fix: Fix invalid BEAM code for bits + unit bit-array segments
- fix: fix bug with generated custom type references
- change: Alter error message wording
- change: Forwardport
- change: LS: add code action to remove redundant list prepend
- change: Point guard constant type errors at the guard
- change: Remove unnecessary clones
- change: Remove unused dependencies
- change: Rename field
- change: Update dependencies
- change: Update rustls
- change: Validate application name
- change: Validate application name
- change: add few tests
- change: add some test
- change: add test!
- change: changelog
- change: changelog
- change: compiler-core: move redundant list prepend error to type checker
- change: compiler-core: rename UnnecessarySpreadOperator to RecordUpdateWithoutChanges
- …and 5 more
