Skip to content

6.2.0

Choose a tag to compare

@rohaquinlop rohaquinlop released this 23 Jul 03:22
· 89 commits to main since this release
e8697b8

Minor release introducing comma-separated CLI flags, a major main.py decomposition for readability and testability, and a path display fix for accurate relative paths in output.

Features

  • --exclude and --output-format now accept comma-separated values (--exclude tests/**,src/**), making multi-value flags easier to use without shell expansion issues. (#199)

Fixed

  • Output now shows the correct relative path from the current working directory when analyzing a single file or a directory, instead of inconsistently stripping or including parent directory names. (#198)
  • Added a deprecation notice to the --output-sarif help text, clarifying that SARIF output is moving to a different mechanism. (#199)

Changed

  • Decomposed the monolithic 316-line main() function into a clean orchestrator (~80 lines) with extracted business logic in domain-specific utils/ modules (config.py, paths.py, ignored.py). (#199)
  • Introduced RunConfig, ExitReport, and SnapshotEvaluation dataclasses, replacing mutable accumulators and positional tuple unpacking with declarative, testable structures. (#199)
  • Eliminated all global console declarations — the console instance is now constructed once and passed explicitly, removing hidden state. (#199)
  • Refactored get_arguments_value from a 20-parameter function returning a 15-element tuple to a dict-based approach with a BOOLEAN_FIELDS loop. (#199)
  • Added 30 new tests covering config resolution and snapshot evaluation logic. (#199)

PRs

  • fix(runner): show relative path from invocation directory in output by @rohaquinlop in #198
  • refactor: improve main.py readability and code quality by @rohaquinlop in #199

Full Changelog: 6.1.0...6.2.0