Skip to content

Cap a changelog fragment at one sentence, and re-cut v1.0.0 to fit - #258

Merged
skyoo2003 merged 1 commit into
mainfrom
changelog-fragment-one-sentence
Sep 6, 2026
Merged

skyoo2003 merged 1 commit into
mainfrom
changelog-fragment-one-sentence

Conversation

@skyoo2003

Copy link
Copy Markdown
Owner

Summary

A changelog fragment is now one sentence, two at most, enforced by changie rather than by review. Every v1.0.0 note was rewritten to that length, and the published release notes were updated from the same file.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Refactor
  • CI/CD

Changes

  • .changie.yaml caps a body at 280 characters and floors it at 10, so changie new refuses an over-long fragment at the prompt instead of leaving it for a reviewer to catch.
  • content/docs/release.md states the rule where the fragment workflow is documented: one sentence, two if the second earns it, and hitting the cap means the fragment is carrying documentation that belongs on a page the notes can link to.
  • CONTRIBUTING.md adds the same rule to the pull request guidelines, since that is what a first-time contributor reads.
  • CHANGELOG.md and changes/v1.0.0.md re-cut all 18 v1.0.0 notes. The longest three ran 424, 493, and 320 characters; every note is now under the cap, and the two files are byte-identical.

No changelog fragment for this change: it alters how fragments are written and rewords notes for a release already published, so nothing an upgrading user can observe changes. Say the word if you would rather it carried a Misc entry.

Testing

  • make all passes
  • New tests added (if applicable)

Also verified by hand:

  • changie new rejects a 281-character body and accepts a short one, against this repository's config.
  • diff <(head -25 CHANGELOG.md) changes/v1.0.0.md is empty.
  • The v1.0.0 release body was updated with gh release edit v1.0.0 --notes-file changes/v1.0.0.md and now matches that file.

Related Issues

None

changie now refuses a body over 280 characters, which is about where a
second sentence ends. The rule and its reasoning are on the release page
and in the pull request guidelines.

Every v1.0.0 note was rewritten to one sentence, two at most. The longest
three ran 424, 493, and 320 characters; the detail they carried already
lives on the pages they describe. changes/v1.0.0.md and the CHANGELOG
section are byte-identical, and the published release notes were updated
from the same file.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Sep 6, 2026
@skyoo2003
skyoo2003 merged commit 47a62f7 into main Sep 6, 2026
3 checks passed
@skyoo2003
skyoo2003 deleted the changelog-fragment-one-sentence branch September 6, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant