Day 068 / Testing / Release Notes

Changelog Composer

View source ↗Scroll to explore ↓
Changelog Composer project cover
/ Overview

A dependency-free Python CLI that composes consistent Markdown release notes from reviewed structured changes.

NameChangelog Composer

ClientIndependent daily build

IndustriesSoftware quality tooling

DateDay 068 · November 6, 2026

/ Challenge

Release notes become inconsistent when changes arrive as scattered notes. Important compatibility changes can disappear among minor fixes, and raw text can accidentally introduce Markdown formatting.

/ Provided services

Clear thinking.
Practical delivery.

01

Structured release facts

A version, calendar date and reviewed changes define one compact release note.

02

Predictable composition

Fixed category ordering and preserved entry ordering make repeated output consistent and reviewable.

03

Human publication review

The author confirms the release facts and wording before publishing the generated Markdown.

Changelog Composer feature visual
/ Solution

Changelog Composer validates a bounded local JSON release document and renders Markdown in a fixed Added, Changed, Fixed, Removed and Security order. It retains input order within categories, omits empty sections and labels each declared breaking change. It checks calendar dates, rejects duplicate keys and IDs, unknown fields and control characters, and escapes Markdown metacharacters. Input is limited to 128 KB and 200 changes. The composer formats reviewed facts; it does not inspect Git history or verify that a change shipped.

/ Impact

Stable category order

Explicit breaking-change labels

Empty sections omitted

Markdown metacharacter escaping

Bounded local input

/ Tech stack

Python standard library

Argparse, datetime, JSON, regex, pathlib and unittest keep execution dependency-free.

Defensive validation

Strict fields, duplicate detection, calendar validation and resource limits reject malformed release documents.

Twelve tests

Tests cover grouping, ordering, labels, escaping, invalid dates, duplicates, empty input and unknown fields.

Next project

Release Checklist Generator

View case study ↗