Skip to content

v0.2.1

Choose a tag to compare

@KrishRVH KrishRVH released this 14 Jul 23:33
· 5 commits to main since this release

boringlint v0.2.1 closes the remaining imported-constraint escape hatch in noiterator and sharpens its diagnostics.

Highlights

  • noiterator now reports project type aliases and embedded interfaces that re-export iterator-shaped terms from dependency-defined constraints.
  • Detection covers instantiated constraints, mixed unions, transitive embeddings, and intersections whose narrowing eliminates the iterator term.
  • Fallback diagnostics identify the forbidden iterator-shaped constraint term without mischaracterizing mixed or empty constraints as iterator-shaped types.
  • Regression coverage exercises both standalone and go vet -vettool modes while preserving the documented allowance for variable declarations.

Compatibility

The complete release gate passes both command modes on the Go 1.25.12 floor and the Go 1.27rc2 toolchain, including race, vulnerability, module-integrity, and secret checks. Building and running boringlint requires Go 1.25 or newer; analyzing Go 1.27 generic-method syntax requires a binary built with Go 1.27 or newer.

Install

go install github.com/KrishRVH/boringlint/cmd/boringlint@v0.2.1

Full Changelog: v0.2.0...v0.2.1