DEV Community

Cover image for How to Write Release Notes That Users Understand
explain.ink
explain.ink

Posted on

How to Write Release Notes That Users Understand

Release notes are often written at the end of a release by whoever has a moment, from the list of merged pull requests. The result reads like this:

  • Refactor auth middleware
  • Fix race condition in sync worker (#4182)
  • Bump dependencies
  • Add export_format param

Every line is true. A user reading it cannot tell whether anything changed for them, which is the only question they had.

A sequence of five steps with arrows: Drop what changes nothing for the user -> Rewrite each line around what the user can now do -> Put breaking...

This article is a way to turn that list into notes a user can act on: what to keep, how to rewrite each line, and how to order them.

Who reads release notes

Two different readers open the same page.

The user wants to know: is there something new I can do, did something I rely on change, do I need to do anything.

The developer or integrator wants all of that plus the details: which endpoint, which parameter, which version, what breaks.

Good notes serve the first reader at the top and the second reader underneath, without making either read the other's part.

Step 1: drop what changes nothing for the user

A list comparing what to keep versus what to drop: keep items with a visible effect or a dependency bump that closed a security issue; drop...

Go through the list and remove every item that has no visible effect: refactoring, test changes, internal renames, dependency bumps that fix nothing a user saw. They belong in the changelog of the repository, not in the notes.

From the example above, "Refactor auth middleware" and "Bump dependencies" go, unless one of them fixed something users noticed. If the dependency bump closed a security issue, keep it and say that.

Step 2: rewrite each line around what the user can now do

The commit message describes what the developer did. The release note describes what changed for the person using it. A simple pattern: start with the user's action or situation.

Before:

Add export_format param

After:

You can now export reports as CSV as well as PDF. In the API, pass export_format=csv to GET /reports/{id}/export.

Before:

Fix race condition in sync worker (#4182)

After:

Fixed: when two people edited the same project at once, one of the edits could be lost during sync. Edits are now kept in the order they were saved.

The second version tells a user whether they were affected, which is what makes a fix worth reading about. Keep the issue number at the end for the people who want it.

Step 3: put breaking changes first and say what to do

If anything stops working the way it used to, it goes at the very top, under its own heading, with the action the reader has to take:

Action needed: the status field in webhook payloads is now a string ("open", "closed") instead of a number. If your integration compares it to 0 or 1, update the comparison before upgrading.

Never bury a breaking change in a list of improvements. A reader who misses it finds out in production.

Step 4: group by what the user cares about

A useful order:

  1. Action needed (breaking changes, deprecations with a date).
  2. New: things the user can now do.
  3. Improved: things that work better.
  4. Fixed: problems that are gone, described as the problem the user saw.

Inside each group, put the change that affects the most people first.

Step 5: show, where showing is faster

One screenshot, a short code sample, or a short clip helps for a new feature whose value is visual. A changed setting is easier to find if the note says where it is: "Settings, then Notifications, then Digest".

Do not add pictures to every line. One for the headline feature is usually enough.

A full before and after

Before:

v3.4.0

  • Refactor auth middleware
  • Fix race condition in sync worker (#4182)
  • Bump dependencies
  • Add export_format param
  • Webhook status now string

After:

v3.4.0

Action needed
Webhook payloads now send status as a string ("open", "closed") instead of a number. Update any comparison with 0 or 1 before upgrading.

New
Reports can be exported as CSV as well as PDF. API: export_format=csv on GET /reports/{id}/export.

Fixed
When two people edited the same project at the same time, one edit could be lost during sync. Both edits are now kept. (#4182)

Same release, same facts. The second version can be read in under a minute and tells each reader whether they need to do something.

A checklist

  • Nothing in the notes is invisible to users.
  • Each line starts from what the user can do or what they saw.
  • Breaking changes are at the top with the action to take.
  • Fixes describe the symptom, not the cause.
  • Technical details (endpoint, parameter, issue number) come after the plain sentence, not instead of it.

Where this does not help

A library used only by developers can keep notes closer to the code, since its readers are the integrators. The ordering and the "action needed" section still apply.

Very large releases need a short summary at the top and the full list below, or they become a document nobody finishes.

And notes cannot explain a change the team itself cannot describe in user terms. If a line is hard to rewrite, ask who it was for.

Write each line as the change a user would notice, and put anything they must act on first.

Written with the help of AI and checked by the explain.ink team.

Top comments (1)

Collapse
 
phongdesigns profile image
Phong Designs AI System •

Step 1 and 2 get a lot cheaper if the user-facing sentence is written at merge time instead of release time. A required field in the PR template, something like "What changes for the user? (write 'nothing' if nothing)", means the person who actually knows what the race condition did writes the "one of the edits could be lost" sentence while it's fresh. Release notes then become filtering out the "nothing" lines and sorting, not reverse-engineering intent from commit messages two weeks later.

Same field is a nice forcing function in review too. If the author can't fill it in, that's usually worth a question.