Releases: openshift-kni/olm-annotation-lint
v1.0.9
What's Changed
Features
- Add version and summary metadata to JSON output (#52)
Improvements
- Add gosec linter and fix findings (#51)
- Push major version image tag (
v1) on release and use pre-built image in action (#54)
Documentation
- Simplify README by extracting content to docs/ (#50)
Full Changelog: v1.0.8...v1.0.9
What's Changed
- docs: simplify README by extracting content to docs/ by @sebrandon1 in #50
- Add gosec linter and fix findings by @sebrandon1 in #51
- Add version and summary metadata to JSON output by @sebrandon1 in #52
- Push major version image tag on release and use pre-built image in action by @sebrandon1 in #54
Full Changelog: v1.0.8...v1.0.9
v1
What's Changed
- Add --allow flag and docker targets for local execution by @sebrandon1 in #9
Full Changelog: v1.0.1...v1
v1.0.8
What's Changed
📦 Dependencies
- Bump alpine from 3.23 to 3.24 (#30) @dependabot
Full Changelog: v1.0.7...v1.0.8
What's Changed
- Bump alpine from 3.23 to 3.24 by @dependabot[bot] in #30
Full Changelog: v1.0.7...v1.0.8
v1.0.7
What's Changed
🧪 Testing
- Add comprehensive edge case test coverage (#28)
- 13 new test cases covering malformed YAML, empty files, multi-document YAML, and stdin handling
- Achieves 89.8% code coverage with 35 total tests
🚀 Features
- Add config file support via .olm-lint.yaml (#23, #22)
- Add stdin support via --path - (#22)
- Add short flag aliases for all CLI flags (#19)
- Add format input to GitHub Action (#27)
🐛 Bug Fixes
- Fix semver validation, whitespace trimming, and exclude logic (#21)
- Add JSON and template format validation for annotations (#20)
🔧 Improvements
- Add helpful error messages with suggestions (#27)
- Use map lookup for allowed annotations instead of linear search (#25)
- Add .golangci.yml config and fix errorlint finding (#26)
🐳 Container
- Add non-root user, OCI labels, and strip debug symbols in Dockerfile (#24)
Full Changelog: v1.0.6...v1.0.7
What's Changed
- Add comprehensive edge case test coverage by @sebrandon1 in #28
Full Changelog: v1.0.6...v1.0.7
v1.0.6
What's Changed
UX Improvements
-
Format input for GitHub Action: Added
formatinput parameter (text, json, github) to allow users to choose output format in CI workflows. Defaults togithubfor native GitHub Actions annotations. -
Helpful error messages: Unknown annotation errors now suggest the exact
--allowflag to use. Example:unknown OLM annotation (use --allow olm.operatorframework.io/bundle-install-timeout to bypass this error)
These changes reduce friction for users who need to bypass validation for custom annotations or integrate linter output with other tools.
Full Changelog: v1.0.5...v1.0.6
What's Changed
- Add stdin support via --path - by @sebrandon1 in #22
- Add config file support via .olm-lint.yaml by @sebrandon1 in #23
- Add non-root user, OCI labels, and strip debug symbols in Dockerfile by @sebrandon1 in #24
- Use map lookup for allowed annotations instead of linear search by @sebrandon1 in #25
- Add .golangci.yml config and fix errorlint finding by @sebrandon1 in #26
- Add format input to GitHub Action and helpful error messages by @sebrandon1 in #27
Full Changelog: v1.0.5...v1.0.6
v1.0.5
What's Changed
Features
- Add short flag aliases for all CLI flags (
-p,-e,-a,-s,-f,-v,-l) (#19) - Add JSON and template format validation for annotations (#20)
Bug Fixes
- Add semver range validation for
olm.skipRange(#21) - Fix whitespace handling in comma-separated flag inputs (#21)
- Fix unchecked
filepath.Matcherror in exclude logic (#21) - Remove overly broad
strings.Containsfallback in exclude matching (#21)
Dependencies
- Bump docker/build-push-action from 6 to 7 (#15)
- Bump docker/login-action from 3 to 4 (#16)
- Bump docker/setup-qemu-action from 3 to 4 (#17)
- Bump docker/setup-buildx-action from 3 to 4 (#18)
Full Changelog: v1.0.4...v1.0.5
What's Changed
- Bump docker/build-push-action from 6 to 7 by @dependabot[bot] in #15
- Bump docker/login-action from 3 to 4 by @dependabot[bot] in #16
- Bump docker/setup-qemu-action from 3 to 4 by @dependabot[bot] in #17
- Bump docker/setup-buildx-action from 3 to 4 by @dependabot[bot] in #18
- Add short flag aliases for all CLI flags by @sebrandon1 in #19
- Add JSON and template format validation for annotations by @sebrandon1 in #20
- Fix semver validation, whitespace trimming, and exclude logic by @sebrandon1 in #21
Full Changelog: v1.0.4...v1.0.5
v1.0.4
What's Changed
- Add multi-document YAML test fixtures by @sebrandon1 in #13
- Use yaml.Node for line numbers and add edge-case tests by @sebrandon1 in #14
Full Changelog: v1.0.3...v1.0.4
v1.0.3
What's Changed
- Fix scanner error handling, remove broken action output, prevent symlink loops by @sebrandon1 in #10
- Add --version and --list-rules flags, SHA256 checksums, exit code docs by @sebrandon1 in #11
- Add smoke test to release workflow by @sebrandon1 in #12
Full Changelog: v1...v1.0.3
v1.0.2
What's Changed
- Add --allow flag and docker targets for local execution by @sebrandon1 in #9
Full Changelog: v1.0.1...v1.0.2
What's Changed
- Add --allow flag and docker targets for local execution by @sebrandon1 in #9
Full Changelog: v1.0.1...v1.0.2
What's Changed
- Add --allow flag and docker targets for local execution by @sebrandon1 in #9
Full Changelog: v1.0.1...v1.0.2
v1.0.1
What's Changed
- Add OpenShift Console CSV annotations to allowlist by @sebrandon1 in #8
Full Changelog: v1.0.0...v1.0.1