Skip to content

v0.8.0

Choose a tag to compare

@markng markng released this 10 Jun 09:15
· 7 commits to main since this release
Immutable release. Only release title and notes can be modified.

What's new

  • Working-tree diff support in --diff mode. --diff HEAD now captures staged and unstaged edits via the union of the committed range (base...HEAD) and the working-tree/index diff (base, two-dot). Previously --diff HEAD against uncommitted edits produced an empty diff, 0 mutants, and a silent exit 0 — a hollow quality gate.

  • Zero-mutant warning when --diff is active. When --diff is on and mutants_tested == 0, leela now emits a prominent WARNING so operators know the gate produced no signal rather than silently passing.

  • Monorepo repo-root path normalization. Git-reported paths are now resolved against the real repo root rather than pytest's cwd, preventing double-subdir corruption in monorepos (e.g. services/api/services/api/x.py).

  • Mutation-hardening tests for git_diff. All 41 mutations in git_diff.py are now killed (100%), up from 32/42 (76.2%).