Skip to content

v2.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Sep 16:44
· 4 commits to main since this release
ddbce0a

Upgrading

  • Regenerate CODEOWNERS if you use file annotations. The "Annotations at the top of file" section is now written last, so GitHub's review routing agrees with for_file (rubyatscale/codeowners-rs#130). It's a pure reordering. Repos without file annotations are unaffected. bin/codeownership validate autocorrects and stages it; CI that passes --skip-autocorrect will fail, with the diff, until the regenerated file is committed.
  • validate is stricter. It now reports .codeowner files that name an unregistered team (rubyatscale/codeowners-rs#116). Its error headline changed from "Found invalid team annotations" to "Found invalid team references", so anything matching on that text needs updating.
  • gitignore no longer hides tracked files from validation (rubyatscale/codeowners-rs#110), so validate may flag files it used to skip.
  • for_file(..., from_codeowners: false) honors metadata.owner in a Ruby package.yml (#141). It also returns no package owner for a package.yml with conflicting or malformed owners, instead of falling through to an enclosing package (rubyatscale/codeowners-rs#131). In that case it now also prints the error to stderr.
  • Team files are loaded once per process for for_file(..., from_codeowners: false), making lookups much faster. Call CodeOwnership.bust_caches! after changing team files in a long-lived process.

CodeOwnership v2.2.0

📦 Published Gems

  • Source gem: code_ownership-2.2.0.gem
  • Platform gems: Published for all supported platforms

🎯 Supported Platforms

  • aarch64-linux-musl
  • aarch64-linux
  • aarch64-mingw-ucrt
  • arm64-darwin
  • x64-mingw-ucrt
  • x86_64-darwin
  • x86_64-linux-musl
  • x86_64-linux

What's Changed

  • Add explicit GITHUB_TOKEN permissions to workflows by @dduugg in #177
  • Bump .ruby-version to 4.0.7 by @dduugg in #178
  • Update codeowners-rs to v0.5.0 and clear its team cache in bust_caches! by @dduugg in #179
  • Exclude arm-linux-musl from native gem builds by @dduugg in #180

Full Changelog: v2.1.4...v2.2.0