Repository navigation
feat: a released version's changelog links name its tag - #113
Merged
Merged
Conversation
A dated section is its packages' release notes on nuget.org and its GitHub release's notes, both frozen with the version, but every link pointed at blob/main, so a reader landed on that day's page. Each released section now links blob/v<version>/; every one of its 34 links was checked to open a file and an anchor at that tag. The 2.1 migration guide was written after v2.1.0, so it is linked at the commit that added it. ChangelogTests fails on a dated section that links anything but its tag or a full commit id (seeded: a blob/main link in 2.2.0 fails it), and CONTRIBUTING's release step 2 says to repoint the links when dating the section. Refs #76 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #76
Problem
Every line of
CHANGELOG.mdlinked its docs atblob/main. A released version's section is its packages' release notes on nuget.org and its GitHub release's notes, both frozen with the version, so a reader who followed a link later landed on that day's page, where the section may say something else or the anchor may be gone.Change
CHANGELOG.md: each dated section linksblob/v<version>/in place ofblob/main/. Each of its 34 links was checked to open its file, and its anchor as a heading, at that tag. The 2.1 migration guide was written afterv2.1.0(250f11a, the same day), so it is linked at that commit's full id. The 2.3.0 section, stillUnreleased, linksmain, and gains a line under Changed.ChangelogTests.A_released_version_links_the_repository_at_its_tag: a dated section's everyblob/ortree/link into the repository names its own tag or a full commit id; a floor of 30 links read keeps the reader honest. The test reads text alone, since CI's checkouts other than the test leg have no tags.CONTRIBUTING.md, Releasing, step 2: repoint the section's links at the tag when dating it. The packed nuspecs and the GitHub release read the same section, so they follow.Tests
blob/mainfails the new test, naming the link; undone, it passes.🤖 Generated with Claude Code