5.4.1
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.constantsso 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-gitlabto 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, andCodeComplexity. - 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: jsoninstead of the deprecatedoutput_jsonoption.
PR's
- Fix snapshot output stability by @rohaquinlop in #168
- Speed up CI for pull requests by @rohaquinlop in #169
- Update stale CLI and API documentation by @rohaquinlop in #170
Full Changelog: 5.4.0...5.4.1