Skip to content

v0.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Jul 06:24

Highlights

  • Strict configuration schemas now reject unknown fields and report the originating file and location, preventing silent configuration mistakes.
  • Structure rules support rule-level count_exclude; explain shows raw/effective counts and the source of every active exclusion.
  • A trailing-slash scope such as scope = "tests/" now selects that directory and its entire subtree.
  • explain inventory now uses the same configured scan boundaries as check, including scanner excludes and gitignore behavior.
  • The GitHub Action cache key now hashes the canonical .sloc-guard.toml file.

Upgrade note

Configurations containing unknown or misspelled fields that were silently ignored by v0.5.0 will now fail with a source-attributed error. Correct those fields before upgrading CI.

Installation

cargo install sloc-guard --version 0.6.0 --locked
Platform Architecture File
Windows x64 sloc-guard-v0.6.0-windows-x64.zip
Windows arm64 sloc-guard-v0.6.0-windows-arm64.zip
Linux x64 sloc-guard-v0.6.0-linux-x64.tar.gz
Linux arm64 sloc-guard-v0.6.0-linux-arm64.tar.gz
macOS x64 sloc-guard-v0.6.0-macos-x64.tar.gz
macOS arm64 sloc-guard-v0.6.0-macos-arm64.tar.gz

Checksums are available in checksums-sha256.txt.

Full changelog: v0.5.0...v0.6.0