Skip to content

Releases: kevinrobayna/codeowner

v0.3.0

Choose a tag to compare

@kevinrobayna kevinrobayna released this 01 Mar 18:28
24b8f68

What's Changed

  • docs: Add CLAUDE.md with project structure and development guide by @kevinrobayna in #26
  • test: Add t.Parallel() to all tests by @kevinrobayna in #27
  • fix: Reject bare @ as a valid owner by @kevinrobayna in #28
  • docs: Add table-driven test and testdata fixture conventions by @kevinrobayna in #36
  • fix: Accept tab character before annotation prefix by @kevinrobayna in #37
  • fix: Reject empty string in ParseProtect by @kevinrobayna in #30
  • fix: Check scanner.Err() in ParseFile and ParseCodeOwnerFile by @kevinrobayna in #31
  • fix: Return os.Open errors from ParseFile and ParseCodeOwnerFile by @kevinrobayna in #32
  • fix: Normalize paths to forward slashes for cross-platform consistency by @kevinrobayna in #33
  • fix: Skip symlinks in ParseDir to prevent cycles and out-of-tree scans by @kevinrobayna in #34
  • fix: Use forward-slash logic in formatter for consistent path handling by @kevinrobayna in #35
  • ci: Add Codecov integration and improve test coverage to 95%+ by @kevinrobayna in #38
  • chore(deps): Bump actions/upload-artifact from 6 to 7 in the all-actions group by @dependabot[bot] in #39
  • cleanup: Use Run instead of RunE in version command by @kevinrobayna in #40
  • refactor: Extract duplicated deduplication logic by @kevinrobayna in #41
  • perf: Skip binary and large files during directory scanning by @kevinrobayna in #42
  • ci: Add Codecov Test Analytics integration by @kevinrobayna in #44

Full Changelog: v0.2.4...v0.3.0

v0.2.4

Choose a tag to compare

@kevinrobayna kevinrobayna released this 23 Feb 09:06
f833755

What's Changed

  • fix: Install cosign and add id-token permission for keyless signing by @kevinrobayna in #12

Full Changelog: v0.2.3...v0.2.4

v0.2.3

Choose a tag to compare

@kevinrobayna kevinrobayna released this 23 Feb 09:00
1cc7b22

What's Changed

Full Changelog: v0.2.2...v0.2.3

v0.2.2

Choose a tag to compare

@kevinrobayna kevinrobayna released this 23 Feb 08:54
d011865

What's Changed

  • fix: Update goreleaser config with proper brew install/test by @kevinrobayna in #9
  • feat: Switch to Homebrew Cask, add cosign signing and verifiable builds by @kevinrobayna in #10

Full Changelog: v0.2.1...v0.2.2

v0.2.1

Choose a tag to compare

@kevinrobayna kevinrobayna released this 22 Feb 22:43
a412332

What's Changed

  • fix: Switch Homebrew distribution from Cask to Formula by @kevinrobayna in #8

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

v0.2.0

Choose a tag to compare

@kevinrobayna kevinrobayna released this 22 Feb 22:30
3f55c12

What's Changed

  • chore: fix GoReleaser deprecations and add config validation to CI by @kevinrobayna in #1
  • chore: Add cross-platform test matrix and test summaries to CI by @kevinrobayna in #2
  • chore: Add CodeQL code scanning workflow by @kevinrobayna in #4
  • fix: Use root-anchored paths in GitHub CODEOWNERS output by @kevinrobayna in #3
  • chore: Add Dependabot config with monthly grouped updates by @kevinrobayna in #5
  • Bump the all-actions group with 6 updates by @dependabot[bot] in #6
  • feat: Add --protect flag to ensure CODEOWNERS is protected by @kevinrobayna in #7

Full Changelog: v0.1.1...v0.2.0

v0.1.1

Choose a tag to compare

@kevinrobayna kevinrobayna released this 22 Feb 17:58
7a0c4e9

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@kevinrobayna kevinrobayna released this 22 Feb 17:50
f78576d

Full Changelog: https://github.com/kevinrobayna/codeowner/commits/v0.1.0

Features

  • CodeOwner annotation scanning — Scan source files for CodeOwner: owner annotations and generate GitHub CODEOWNERS files. Language-agnostic: works with any
    comment syntax.
  • Multiple owners — Support multiple owners on a single line (CodeOwner: a b) or across separate annotation lines, with automatic deduplication.
  • Directory-level ownership — Place a .codeowner file in any directory to assign ownership to the entire directory tree (produces dir/** glob patterns).
  • --dirowner flag — Customize the directory ownership filename (e.g. --dirowner OWNERS), defaults to .codeowner.
  • --prefix flag — Use a custom annotation prefix instead of the default CodeOwner: (e.g. --prefix "Owner:").
  • Org/team owner syntax — Supports @org/team handles alongside individual user handles.
  • Sorted, grouped output — CODEOWNERS output is sorted and grouped by directory with blank lines between groups for readability.