Skip to content

Release notes convention ​

Release notes live on the GitHub release. There is no NEWS.md. The docs build fetches the published releases and writes them into docs/src/release-notes.md, newest first.

Writing a release ​

TagBot opens each release body with the pull requests merged since the previous tag. Leave that list as it is.

Add a short paragraph above it when the release is more than routine. Say what the release is for and anything users must do differently. A breaking change always gets one, naming what broke and what to do instead. Write it one sentence per line.

To fix a note, edit the release. The docs page picks up the change on the next build.

How the page is built ​

EpiAwarePackageTools.DocsBuild.build_release_notes renders the ten most recent releases from the GitHub API. The page never fails a build. If the releases cannot be fetched, or there are none, it shows a short note and a link to the releases page, and the build logs why.

Rendering and rate limits

It reads https://api.github.com/repos/OWNER/REPO/releases. Each release gets a ## heading with its tag, date and a link. Headings in the body shift down two levels, and TagBot's repeated title line is dropped.

The fetch is unauthenticated unless GITHUB_TOKEN or GH_TOKEN is set, which CI always does. Without one, GitHub allows 60 requests an hour per IP address. Check this first if the page degrades locally.

The page header ​

docs/release_notes_header.jl is package-owned and holds the prose above the releases. Without it the page uses the standard header. If the header mentions NEWS.md, the build warns, names the file and uses the standard header instead.

Packages with an existing NEWS.md ​

The kit leaves an existing NEWS.md alone and does not read or render it. Delete it once the releases cover its contents, or keep it as a record. New entries go on the release.