Skip to content

Releases: openshift-kni/olm-annotation-lint

v1.0.9

12 Jun 15:36
dcfa0b6

Choose a tag to compare

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

19 May 16:55
dcfa0b6

Choose a tag to compare

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

11 Jun 19:50
df71f4a

Choose a tag to compare

What's Changed

📦 Dependencies

Full Changelog: v1.0.7...v1.0.8

What's Changed

Full Changelog: v1.0.7...v1.0.8

v1.0.7

28 May 17:28
b40b8b9

Choose a tag to compare

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

Full Changelog: v1.0.6...v1.0.7

v1.0.6

27 May 22:05
ae34051

Choose a tag to compare

What's Changed

UX Improvements

  • Format input for GitHub Action: Added format input parameter (text, json, github) to allow users to choose output format in CI workflows. Defaults to github for native GitHub Actions annotations.

  • Helpful error messages: Unknown annotation errors now suggest the exact --allow flag 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

27 May 17:35
4a89599

Choose a tag to compare

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.Match error in exclude logic (#21)
  • Remove overly broad strings.Contains fallback 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

19 May 22:17
1352640

Choose a tag to compare

What's Changed

Full Changelog: v1.0.3...v1.0.4

v1.0.3

19 May 19:23
880bd22

Choose a tag to compare

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

19 May 14:12
a941084

Choose a tag to compare

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

14 May 19:43
9532e1b

Choose a tag to compare

What's Changed

  • Add OpenShift Console CSV annotations to allowlist by @sebrandon1 in #8

Full Changelog: v1.0.0...v1.0.1