CodeClone 2.0.1: stability release for dead-code precision
2.0.1 is a focused stability release for dead-code precision and cache/report contract parity after the 2.0 line.
Dead code
- Add framework-aware runtime reachability for dead-code analysis: FastAPI/Starlette routes and
Annotated[..., Depends/Security(...)]dependencies, Django URL patterns, Dependency Injector providers, Typer/Click commands, Celery tasks, top-level__all__exports, package entry points, and Pydantic validator/serializer hooks. Supported registrations suppress false dead-code findings without framework execution or name-only heuristics. - Treat
typing.Protocolandtyping_extensions.Protocoldeclarations, including genericProtocol[T], as type-only contracts so structural interfaces do not produce false-positive dead-code findings. - Show a one-time interactive CLI migration note for projects upgrading from the 2.0.0 line when the refined reachability model may reduce dead-code findings.
- Bump cache schema to
2.7and report schema to2.11to carry reachability facts for cold/warm parity and report explainability.