Each release gets two artefacts here: the notes themselves (<version>.md) and
the media that goes with them (<version>/).
Both are written in English, in plain language, whatever the language of the conversation that produced the change. Sections released before 2.54.0 keep the language they were written in, and that is fine: they are history.
archive/ holds every release ever published, body verbatim, one file per tag and
an INDEX.md with the date order. It is a record, not a template: the shape changed
over time, and some of it is in Spanish because that was the rule then. New releases
are written in this directory (<version>.md), not in the archive.
<version>.md is the body of the GitHub release, not a copy of the changelog.
The shape that works:
Fixed list that names the
symptom, not the commit.Thanks section that credits whoever reported or built each thing. It is
mandatory, every release, no exceptions: the issues are the reason the
release exists and the people behind them answer again when they see their
name.Issue numbers go inside the sentence, in natural language, not as a trailing tag. A reader who does not know the tracker should still understand the line.
CHANGELOG.md keeps the usual (#1234) reference at the end of each entry. It
is a log, read by people who are already in the tracker. The release notes are
the human text, and there the number is part of the sentence.
The language rules are the house ones: no em dashes, no semicolons, short sentences, concrete nouns. If a sentence needs a second read, it is wrong.
Do not record the screen by hand. The captures are generated from the app, so they follow the theme, the density and the current UI:
make frontend # or npm --prefix app run build
npm --prefix app run preview -- --port 4180
python3 scripts/release_media.py --version 2.54.0
scripts/release_media.py opens the app with a demo session, goes to
/whatsnew, and exports each card's demo ([data-demo-id]) to a GIF at 10 fps
for four seconds, with a palette that keeps it around 50 KiB. It needs the
Playwright tool from uv and ffmpeg in the path. The cards are the animated
demos from docs/whatsnew.md, which is why a feature worth a capture also
needs a card: one piece of work feeds both surfaces.
Adding a capture for something that is not a What's new card is a two-step job:
add the card (the animation is the honest way to show an interaction) or, for a
still, take a screenshot with the same Playwright session and save it in
<version>/.
The notes use absolute raw links to the tag:
https://raw.githubusercontent.com/gnacho/netpulse/v<version>/docs/releases/<version>/<name>.gif
They work because the tag points at the release commit, which contains the media. Until the tag exists they render broken in the repository view, which is expected: the file is reviewed as a diff, not as a page.
Then:
gh release create v2.54.0 --notes-file docs/releases/2.54.0.md
Do not use goreleaser's generated notes as the release body. GoReleaser still writes its changelog from commit messages and that is fine for its own output, but the release body is the curated one: commits say "stop emitting the cable twice", the notes say what the operator was seeing.
The notes and the What's new page end with a link to the complete changelog,
which lives at netpulse.cloudless.club/changelog (Spanish at the root, the
other app languages under /<lang>/changelog/, everything else falls back to
English). The page is generated from this directory by
web/build-changelog.mjs, so adding a release file and running that script is
all it takes. In the app the URL is built by changelogUrl() in
app/src/pages/WhatsNew.tsx.
CHANGELOG.md [Unreleased] complete for the same set.