Skip to content

docs: adopt the CodoMetis.ValueRanges changelog form (#98) - #99

Merged
CaffeinatedCoder merged 1 commit into
mainfrom
docs/changelog-form
Oct 20, 2026
Merged

CaffeinatedCoder merged 1 commit into
mainfrom
docs/changelog-form

Conversation

@CaffeinatedCoder

Copy link
Copy Markdown
Owner

Closes #98

Problem

A 5.x changelog entry ran to a paragraph per change, with the reasoning, the measurements and an Upgrading note on one bullet. The 5.5.0 Changed answers rows ran past 150 words each, and the GitHub release page publishes them word for word. Someone deciding whether to upgrade had to dig for what changes and what to do.

Change

The CodoMetis.ValueRanges changelog form, in all four changelogs, history included:

  • Headings: ## [x.y.z] — yyyy-mm-dd, with a [x.y.z]: …/releases/tag/vx.y.z definition per version at the end of the root file.
  • Sections: ### Changed answers (a minor only), Breaking, Added, Changed, Fixed, in that order, one line per change. Each line starts with an area (Registration, Indexes, Expression indexes, Filters, Constraints, Migrations, Packaging, Docs), names the provider where it is specific, and ends with an absolute link to the guide. Test-only entries are gone, per the rules.
  • docs/upgrading.md (new): the Upgrading detail, oldest version first, with "Changed answers in 5.5.0". Every Changed answers row links its issue and its entry there. It is "upgrading" rather than ValueRanges' migration.md, because "migration" means EF migrations here. The README links it.
  • release.yml, pr-hygiene.sh: find a version's section with index($0, "## [x.y.z] "), so the dots in the version match only dots. As in ValueRanges, the release notes leave the heading out, since the release title already names the version.
  • ChangelogConsistencyTests holds the form:
    • every ## heading is a version heading, which also refuses ## [Unreleased]
    • known sections in order, one line per change, at most 60 words a change and 40 for the introduction
    • absolute links, and the release-link definitions
    • Changed answers only in a minor, each row linking its issue and an upgrading anchor that exists
    • after 5.4.1, a "where it rendered …" clause outside Changed answers fails
    • docs/upgrading.md runs oldest first
    • every package changelog documents the shipped version
    • The old "Changed answers lead their entry" test is folded into the section-order check.
  • DocumentationLinkTests: absolute blob/main/… links into this repository must resolve to a file and a heading. Nothing checked them before, and they are what the changelogs and packed READMEs use.
  • Rules: CONTRIBUTING.md#changelog, the silent-fix section, CLAUDE.md's test table, AGENTS.md and the PR template describe the form.

Tests

  • The full unit suite passes (398).
  • Each new check was proven by seeding its defect, and every seed failed the check meant for it: an old-style ## 5.4.1 heading, a continuation line, a 70-word line, a relative link, a Changed answers row without an upgrading link, a renamed upgrading heading, a "where it rendered" line under Fixed, Changed answers in a patch, sections out of order, docs/upgrading.md out of order, a missing release definition, a broken absolute anchor, a package changelog without 5.5.0, and ## [Unreleased].
  • Both awk extractions were run against the new file: the 5.5.0 notes start at the introduction, 5.5 matches nothing, and the hygiene lookup finds the five Changed answers issues.

Notes for the maintainer

🤖 Generated with Claude Code

All four changelogs move to '## [x.y.z] — date' headings with Changed answers,
Breaking, Added, Changed and Fixed sections and one line per change. The
Upgrading notes the lines carried move to docs/upgrading.md, which every
Changed answers row now links. release.yml and pr-hygiene.sh find the section
by the new heading, and ChangelogConsistencyTests holds the form, as
ChangelogConventionTests does in ValueRanges. DocumentationLinkTests also
resolves absolute links into this repository, which the changelogs use.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CaffeinatedCoder CaffeinatedCoder added this to the 5.5.0 milestone Oct 20, 2026
@CaffeinatedCoder CaffeinatedCoder added documentation Improvements or additions to documentation package/core Affects EFCore.ComplexIndexes package/postgresql Affects EFCore.ComplexIndexes.PostgreSQL package/sqlserver Affects EFCore.ComplexIndexes.SqlServer area/release Versioning, changelogs, release wiring labels Oct 20, 2026
@CaffeinatedCoder
CaffeinatedCoder merged commit c4a9fa8 into main Oct 20, 2026
@CaffeinatedCoder
CaffeinatedCoder deleted the docs/changelog-form branch October 20, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/release Versioning, changelogs, release wiring documentation Improvements or additions to documentation package/core Affects EFCore.ComplexIndexes package/postgresql Affects EFCore.ComplexIndexes.PostgreSQL package/sqlserver Affects EFCore.ComplexIndexes.SqlServer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: adopt the CodoMetis.ValueRanges changelog form

1 participant