Skip to content

Bump version to 0.5.0 - #134

Merged
dduugg merged 1 commit into
mainfrom
release-0.5.0
Sep 26, 2026
Merged

dduugg merged 1 commit into
mainfrom
release-0.5.0

Conversation

@dduugg

@dduugg dduugg commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

Bumps codeowners-rs to 0.5.0, releasing the two changes merged since v0.4.0.

Why 0.5.0, not 0.4.1

Both changes are visible to consumers:

  • fix: write CODEOWNERS annotations after glob-based sections #130 — CODEOWNERS annotations are written last. GitHub applies the last matching line, so this makes review routing agree with for-file. It also means every consumer's generated CODEOWNERS changes on upgrade: validate reports the file out of date until it's regenerated. Plain bin/codeownership validate autocorrects and stages it, but CI that runs validate --skip-autocorrect will fail until someone regenerates and commits.
  • perf: cache loaded teams in find_file_owners #129 — loaded teams are cached for the life of the process. Per-file lookups get much faster (~20 ms → ~0.4 ms), but a team file added or edited mid-process isn't seen until clear_team_cache() runs or the process restarts. That matters for long-lived processes such as a Rails dev server or console.

Releasing

Merging publishes. The release job fires when the newest commit on main changes the version, and squash-only merging makes this PR that commit; I checked the detection against it with BSD grep: new_version=v0.5.0. #133 (test-only) can merge before or after this without affecting the release.

After merge

Sent with Claude Code

A minor bump, because both changes since 0.4.0 are visible to consumers:

  - The generated CODEOWNERS now writes the "Annotations at the top of file"
    section last (#130), so GitHub's last-match-wins routing agrees with
    `for-file`. Every consumer's CODEOWNERS changes on upgrade, so `validate`
    reports it out of date until it's regenerated.
  - `find_file_owners` caches loaded teams for the life of the process (#129),
    so team files added or edited mid-process aren't seen until
    `clear_team_cache()` runs or the process restarts.
@dduugg
dduugg requested a review from a team as a code owner September 26, 2026 00:44
@github-project-automation github-project-automation Bot moved this to Triage in Modularity Sep 26, 2026
@dduugg
dduugg merged commit 699075b into main Sep 26, 2026
12 checks passed
@dduugg
dduugg deleted the release-0.5.0 branch September 26, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant