Skip to content

3.15.0

Choose a tag to compare

@tiny-earth-moon tiny-earth-moon released this 03 Nov 12:08
· 133 commits to master since this release
3.15.0
53833e3

Enhancements

  • New --relative-to <dir> option (configuration key relative_results_base): the base of the paths emitted with --relative-results, and of the github-actions, gitlab-codequality, codeclimate and sarif outputs. It defaults to the project root, so existing output is unchanged; in a repository that holds several projects, --relative-to "$GITHUB_WORKSPACE" or --relative-to "$CI_PROJECT_DIR" attaches annotations to files. #225
  • Baselines can now only shrink: entries that no longer match any result are logged (listed with --verbose), --prune-baseline (prune_baseline) rewrites the baseline without them, and --strict-baseline (strict_baseline) fails the scan when there are any. Baselines are written in a readable, sorted v2 format that lists the kind, name and file of each entry; v1 files are still read. #215
  • New sarif output format (SARIF 2.1.0) for GitHub Code Scanning and other SARIF consumers, with one rule per result kind, stable fingerprints and the redundant conformances as related locations. #213