Repository navigation
Say which docs describe main, add a CHANGELOG and a release docs check - #173
Merged
Merged
Conversation
README and docs describe main (Docker :dev), while :latest is the last release. A note at the top of README and docs now says so and links the README of the latest release (2.4.0) and the new CHANGELOG.md, which lists everything since 2.4.0 under "Unreleased". Sections that exist only in main get a marker line *(unreleased)* below the heading, so anchors stay stable. Before publishing, the release workflow runs scripts/check-release-docs.sh for the tag: no *(unreleased)* markers left, a CHANGELOG section for the version, and the README note pointing to it. release_docs_test.go keeps the note and CHANGELOG consistent on every CI run. CHANGELOG.md describes the release steps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Ready to mergeThis PR only changes docs, a changelog, a test and the release workflow. The proxy code, API, config and Docker image are not touched. Impact on existing users: None – the change is additive. Users only see a note in the docs. To-do for the author
Test before merging: After merge, push a test tag (or prepare the 2.5.0 release) and check that the new Technical details
|
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.
Why
README and
docs/*.mddescribemain(Docker:dev), but most users run:latest, which is the last release (2.4.0). 14 commits have been merged since then, including a breaking change (POST-only key routes) andtrustedOrigins. A:latestuser currently reads docs for features they don't have.What
docs/environment_variables.mdanddocs/installation.md: these pages describemain/:dev. The README note links the README of 2.4.0 and the new CHANGELOG.CHANGELOG.md(Keep a Changelog):Unreleasedlists everything since 2.4.0 (Test the proxy against a simulated car #169–Update Go toolchain and dependencies #172). Older versions point to the GitHub releases. A "Releasing" section lists the steps before tagging.mainget a line*(unreleased)*below the heading. It goes on its own line so heading anchors like#trustedoriginsstay stable. At release time each one becomes*(since X)*.docsjob runsscripts/check-release-docs.sh <tag>before publishing. It stops the release if*(unreleased)*markers are left, ifCHANGELOG.mdhas no## <tag>section, or if the README note doesn't point to<tag>. Manual runs on a branch skip the check, as before.release_docs_test.goruns on every CI run (make test). It checks that the README note matches the latest version inCHANGELOG.md, that the docs carry the note, and that markers sit on their own line.Release steps from now on
## Unreleased→## 2.5.0 - <date>, with a new empty## Unreleasedabove it*(unreleased)*→*(since 2.5.0)*2.4.0→2.5.0(text and link)2.5.0Testing
go vet ./...,go test -race ./...TestReadmeNotePointsToLatestReleasefails.check-release-docs.sh 2.5.0on the current state fails with all three findings. On a copy prepared for release (steps 1–3 applied) it passes. With2.5.1against that copy it fails again.🤖 Generated with Claude Code