Engineering Release Notes for Mobile Apps
Scouring dozens of commits right before a release to turn fix(db): filter tombstones in aggregate query into store copy is slow and error-prone. Auto-generating store release notes straight from commit titles is no better: end users get internal jargon mixed with refactors and test changes they cannot see.
For iOS and Android apps—especially those living in a monorepo with squash merges—combining Keep a Changelog 1.1.0, Git commit trailers, and App Store / Google Play metadata constraints into a two-layer draft-and-edit pipeline keeps release notes accurate without leaking internal jargon.
Why Conventional Commits Do Not Make Good Store Copy
As covered in Git Commit Message Guidelines, structured commit headers excel at code review, git bisect, and automated versioning. Their audience, however, is engineers—imperative English subjects scoped to code boundaries. App Store and Google Play release notes speak to end users in their own language, explaining what they gained or what stopped breaking.
Four release-notes patterns dominate modern engineering teams. Which one fits depends on your audience, repository layout, and team size:
| Pattern | Common Tools / Examples | Mechanism | Strengths | Trade-offs |
|---|---|---|---|---|
| Pure commit-subject generation | release-please, semantic-release, git-cliff |
Collects feat/fix commit headers automatically |
Zero manual effort; tight SemVer integration | Great for libraries, SDKs, and CLIs; leaks implementation jargon to consumer app users |
| Fragment files (Changesets) | @changesets/cli, towncrier, reno |
Each PR adds a small fragment file consumed on release | Clean PR granularity, diffable copy in review, multi-package friendly | Extra file per user-facing PR; heavier than needed for small teams or single-app repos |
| PR-metadata driven | GitHub Auto-generated Release Notes, Release Drafter | Pulls labels or a dedicated block from the PR description | Easy to edit copy in the web UI without amending commits | Coupled to hosting platform APIs; disconnected from local git log |
| Commit trailers + draft script + human edit | Adapted from GitLab Changelog Entries, mobile teams | Write a trailer line at commit time; script drafts notes on release; edit for stores | Lightweight, zero external dependencies, self-contained in Git, low friction for humans and coding agents | Needs lightweight tooling to handle squash merges, monorepo scopes, and CI enforcement |
Note one important distinction: GitLab’s built-in Changelog: added|fixed|changed trailer only tags the category and still pulls the commit subject line into CHANGELOG.md. For a consumer mobile app, we keep the same Git trailer mechanism but put a plain user-facing sentence in Release-Note: ..., cleanly decoupling developer commit subjects from store copy.
For consumer mobile apps that want minimal tooling overhead, commit trailers + draft script + human edit hits the sweet spot. The engineer (or coding agent) who understands the change writes one plain sentence when the change is made, while the release step keeps a human editorial gate before anything reaches the stores.
The Two-Layer Architecture: Capture at Commit, Polish at Release
Separating fact capture from user-facing copywriting keeps daily development fast while preserving store copy quality:
Because the script produces a draft with short commit hashes rather than publishing directly, minor wording rough edges at commit time never leak to users, yet release managers never have to reverse-engineer diffs to remember what shipped.
Trailer Format and Default Grouping
Add a Release-Note: line only when a user can see or feel the change: new features, visible behavior updates, fixes for user-facing bugs, or noticeable speedups. Skip refactors, tests, docs, CI, and invisible dependency bumps. When unsure, ask one question: would a user care if they read this? If not, omit it.
Place the trailer at the end of the commit body after a blank line, one item per line:
fix(tags): allow recreating a deleted tag with the same name
Tags are soft-deleted, but UNIQUE(workspace_id, name) still counted
tombstone rows, causing re-creation to fail with a constraint error.
Release-Note: You can reuse a tag name after deleting itKeep the syntax intentionally strict and minimal:
- Fixed key:
Release-Note: <single sentence>written in one canonical working language; localize into other store languages during the release pass rather than forcing every commit to carry translations. - Type-derived grouping:
featmaps to New,fixmaps to Fixed, and other types (such as a visibleperfwin) map to Improved. Allow an explicit prefix override like[New],[Improved], or[Fixed]when the commit type does not match the user-facing category. - Keep it concise: aim for one short sentence without PR numbers, ticket IDs, class names, or table names.
Five Engineering Edge Cases You Will Hit in Practice
Turning the convention into a dependable workflow means handling five subtle failure modes upfront.
Squash Merges Break git interpret-trailers and Sub-Commit Classification
Repositories that use GitHub squash merges with COMMIT_MESSAGES concatenate every branch commit into one squash commit body. That breaks naive parsers in two ways:
- Standard trailer parsing misses mid-body notes: git-interpret-trailers only inspects the final paragraph of a commit message. Once multiple commits are concatenated, earlier
Release-Note:lines sit in the middle of the body and are silently ignored. - Mixed-type PRs get misclassified: if a
featPR includes a bundledfixcommit with its ownRelease-Note:line (and no explicit override), reading only the top-level squash subject classifies that bug fix under New.
Instead of relying on git interpret-trailers, split the squashed body back into sub-commits on GitHub’s * <type>(<scope>): ... bullet headers, and classify each note using its own sub-commit header:
import re
SUB_COMMIT = re.compile(r"^\*\s+(?P<header>[a-z]+(?:\([^)]*\))?!?: .*)$")
HEADER = re.compile(r"^(?P<type>[a-z]+)(?:\((?P<scope>[^)]*)\))?!?: ")
NOTE = re.compile(r"^Release-Note:[ \t]*(?P<value>.*?)\s*$")
def iter_subcommits(message: str):
"""Yield (header, notes) per sub-commit inside a normal or squashed commit."""
lines = message.splitlines()
if not lines:
return
current_header = lines[0]
current_notes: list[str] = []
saw_subcommit = False
for line in lines[1:]:
sub = SUB_COMMIT.match(line)
if sub:
if saw_subcommit or current_notes:
yield current_header, current_notes
current_header = sub.group("header")
current_notes = []
saw_subcommit = True
continue
note = NOTE.match(line)
if note:
current_notes.append(note.group("value"))
yield current_header, current_notesFor single-commit squashes (no * ... list), iter_subcommits falls back naturally to the top header. For multi-commit squashes, every Release-Note: inherits the exact type and scope of the commit that introduced it.
Monorepo Scope Pollution
When a mobile app shares a monorepo with a marketing site (web), backend services (api), scripts (scripts), and CI configs (workflows), an unfiltered git log floods the “unnoted feat/fix commits to review” audit list with non-app changes like fix(web): update landing copy.
Enforce the boundary at both ends:
- In the draft script: maintain an explicit non-app scope exclusion list (
web,api,contracts,scripts,workflows,ci,docs,infra) and skip them from both drafted notes and the unnoted audit list. - In the commit check: reject
Release-Note:lines on non-app scopes so website or tooling changes cannot accidentally leak into mobile release notes.
Splitting Local Hooks and CI Without Duplicating commitlint
Local commit-msg hooks catch typos fast, but they can be bypassed with --no-verify or web UI squash edits. You need CI enforcement—yet running a full custom commit validator alongside standard commitlint in CI is a trap: subtle rule disagreements on line wrapping, blank lines, or revert headers will inevitably produce conflicting failures.
Divide responsibilities cleanly:
- Headers and general body rules: stay with
commitlintin CI using your shared.commitlintrc.json. - Trailer validation: expose a
--release-notes-onlyflag on your check script and run it in the commitlint workflow against every commit in the PR. - Self-tests in CI: wire the unit tests for both the draft script and the trailer validator (covering sub-commit classification, revert cancellation, non-app scope rejection, and invalid section prefixes) into CI’s fast script-test job.
Avoiding the PR-Template Double-Entry Trap
Adding a free-form ## Release note text box to your PR template invites contributors to write notes in the PR description instead of the commit body—leaving the git log draft script empty-handed.
Keep a single source of truth: turn the PR template section into a checklist reminder stating explicitly that the release script reads Release-Note: lines from commits (not the PR body), and remind reviewers not to strip those lines when editing a squash commit message in the web UI.
Reverts and the Shipped-Tag Baseline
Always pass the last shipped store version tag as FROM, never an unshipped TestFlight build or a rejected review candidate. When a feature is merged and later reverted before release, have the draft script match This reverts commit <sha> and drop both the original commit and the revert commit. If FROM points to a nonexistent tag, catch the git error and print a single clear error message with a non-zero exit code instead of a Python traceback.
Turning Drafts into App Store and Google Play Copy
Treat the generated draft as raw material. Combining Keep a Changelog principles with mobile store conventions gives a reliable editorial checklist:
Editorial Rules
- Front-load the headline value: App Store product pages fold release notes after roughly three lines. Lead with the change that gives users a reason to tap Update.
- Group by New / Improved / Fixed: order items by user impact within each group, and omit empty groups.
- Describe outcomes and symptoms, not code: write “Exported reports no longer omit archived items” instead of “Fixed query filter condition.”
- Keep security fixes high-level: state “Improved security for sign-in sessions” without exposing reproduction steps or exploitable details.
- Avoid filler copy: never ship only “Bug fixes and performance improvements.” Even in a maintenance release, name the one or two fixes users are most likely to notice, then close with “plus general stability improvements.”
- Label paid features: append “(Pro)” or your plan name to paid additions so free users are not confused when they cannot access them.
- Rewrite per locale: adapt phrasing idiomatically for each language and match the exact in-app UI terminology instead of translating word for word.
Store Limits and Separating Metadata Archives
App Store and Google Play impose different hard limits and tooling constraints:
| Store | Field | Limit & Format | Store-Specific Rules | Archiving Strategy |
|---|---|---|---|---|
| App Store | What’s New (whatsNew) |
4,000 characters, plain text (no HTML) | Not available on v1.0; required on all subsequent updates | Keep inside versioned App Store metadata JSON (e.g., store/metadata/version/<ver>/<locale>.json) synced by your App Store Connect CLI |
| Google Play | Release notes (What’s new in this release) | 500 Unicode characters per language (including spaces and newlines) | No promotional text or review prompts; exceeding 500 chars in any single locale fails the upload | Store in a separate directory (e.g., store/play/release-notes/<ver>.txt) using <en-US>...</en-US> locale tags |
One practical storage trap to avoid: do not place Google Play release notes inside your App Store store/metadata/version/ directory. App Store Connect automation CLIs typically treat that directory tree as a managed unit; dropping unrelated files into it can break validation or sync runs. Keeping Play notes in a sibling directory gives you clean Git history for both platforms without interfering with iOS deployment tooling.