Repository navigation
v0.5.0
·
362 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
0.5.0 - 2026-05-10
Added
- Added configurable CRAP thresholds across the CLI, Maven plugin, and Gradle plugin, and exposed the active threshold in primary reports.
- Added AI-agent-friendly primary report controls across the CLI, Maven plugin, and Gradle plugin:
agent,failuresOnly,omitRedundancy, report-output path controls, and thenoneprimary report format. - Added dedicated Maven and Gradle report controls for primary output, JUnit sidecars, and consumer-configurable report paths.
- Added the dedicated
cognitive-java GateCI job and documented the matching local self-hosting gate workflow.
Changed
- CRAP scoring now uses the worse available JaCoCo instruction or branch coverage and records the selected coverage kind per method.
- Simplified machine-readable report schemas to a top-level status and threshold plus method entries, and redefined agent mode as a composite shortcut that can still be overridden explicitly.
- Switched JSON and JUnit XML report marshaling to Jackson and improved the text report table formatting.
- Resolved Maven report paths against the execution root, clarified Maven Central versus Plugin Portal consumption guidance, and documented self-hosting gate ownership more precisely.
Fixed
- Hardened Gradle report state tracking and cleanup for stale sidecars, aliased paths, case-collision paths, symlinked targets, concurrent task state, and failed report replacement scenarios.
- Kept Gradle module and JaCoCo report mappings configuration-cache-friendly while validating report-path collisions and internal-task file misuse earlier.
Dependencies
- Updated Java build and publishing dependencies, including JUnit
6.0.3, Jackson2.21.3, Error Prone2.49.0, NullAway0.13.4, Maven plugin tooling, and the Sonatype Central publishing plugin0.10.0.