Skip to content

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 11 Mar 14:20
· 21 commits to main since this release

What's New

Bug Fixes

  • Dead export false positives (#6) — Type-only imports and call-graph consumed symbols now correctly excluded from dead export detection. Duplicate imports to the same target merged instead of silently dropped.
  • Test file miscounting (#7) — Test files (*.test.ts, *.spec.ts, __tests__/) excluded from coverage and coupling metrics. Coupling formula fixed: fanOut / (max(fanIn, 1) + fanOut).
  • Error handling + LOC off-by-one (#8) — impact_analysis returns isError: true for unknown symbols. file_context suggests similar paths when file not found (strips src//lib//app/ prefixes). LOC count off-by-one fixed.

Features

  • LEAF verdict (#9) — Single-file modules get LEAF verdict instead of JUNK_DRAWER in analyze_forces.
  • Tension suppression — Type hub files and entry point files excluded from split recommendations.
  • Path normalizationfile_context strips common prefixes and suggests matching paths on miss.

Stats

  • 239 tests (64 new regression tests)
  • Verified against 5 real codebases
  • Zero false positives from fixes

Full Changelog: v2.0.2...v2.2.0