Skip to content

5.4.1

Choose a tag to compare

@rohaquinlop rohaquinlop released this 05 May 06:52
· 213 commits to main since this release

Patch release focused on snapshot stability, release workflow efficiency, and documentation accuracy.

Fixed

  • Stabilized snapshot output by omitting transient line-level fields from Python-facing serialized Rust structures, keeping snapshot files focused on paths, file names, function names, and complexity values.
  • Moved shared output constants into complexipy.utils.constants so output filenames, legacy CLI flags, and legacy TOML keys are defined in one place.
  • Clarified deprecated output flag messaging for --output-csv, --output-json, and --output-gitlab to point users at --output-format.

Changed

  • Updated CI so pull requests run a faster quick-test matrix, while full wheel builds, source distribution builds, and full platform test jobs run for tags or manual workflow dispatches.
  • Enabled uv dependency caching in CI jobs.

Documentation

  • Updated README and docs to match the current Python API return types, including file_name, line_complexities, LineComplexity, and CodeComplexity.
  • Corrected CLI JSON/CSV output examples to show the current per-function output shape.
  • Updated snapshot documentation to describe the current JSON array format and note that older snapshots may need regeneration with --snapshot-create.
  • Updated action examples to use output_format: json instead of the deprecated output_json option.

PR's

Full Changelog: 5.4.0...5.4.1