Skip to main content

ReleaseBrief timeline

ReleaseBrief

A review-ready release draft, before you publish.

Tests Repository stars MIT license Python 3.10+ No runtime dependencies

Collect commit subjects → draft release notes → refine sections → review SemVer.

Your repository, tags and releases remain untouched.

Jump to Workflow
01 · Collect Prepare text or exported JSON
02 · Draft Generate the first changelog
03 · Refine Select output and filter sections
04 · Review Check the version recommendation
05 · Test Run unit and CLI verification

01 · Collect

ReleaseBrief is a local Python CLI for drafting release notes from commit subjects you provide. It groups conventional commits, notices breaking changes, removes duplicate subjects, and recommends a stable SemVer increment without applying it. It does not run Git, call external services, mutate project files, create tags, or publish releases.

Feature Details
Input UTF-8 text or JSON array via local file/stdin
Grouping Features, fixes, performance, maintenance and more
Breaking changes !, BREAKING CHANGE: and BREAKING-CHANGE:
Duplicate handling Exact type/scope/description matches; preserves breaking qualifiers and distinct footer notes
Output Markdown, machine-readable JSON, human-readable console
Filters Include or exclude types without changing bump recommendation
Version Suggest next MAJOR.MINOR.PATCH only; no tag or release mutation

Package installation

Once the maintainer publishes this release to PyPI, install its pinned Python CLI with:

python -m pip install releasebrief==0.1.0

Run the installed entry point against text you provide:

printf 'feat: add preferences\nfix: correct exports\n' | releasebrief --current-version 1.2.3

This is a standalone local CLI, not an MCP server. The source checkout workflow below remains available with no runtime dependencies.

02 · Draft

Requires Python 3.10 or later. No package installation is required. Clone or download the source repository, then run from its root:

python -m releasebrief examples/commits.txt --current-version 1.2.3

The bundled example includes a breaking change, so the result begins # 2.0.0. It is a draft, not a published release.

03 · Refine

python -m releasebrief examples/commits.json --input-format json --format json --current-version 1.2.3
python -m releasebrief examples/commits.txt --format console --exclude docs,chore
python -m releasebrief examples/commits.txt --date 2026-11-27 --strict > CHANGELOG-draft.md

The final command redirects standard output to a new file through your shell; ReleaseBrief itself never writes to a project. Without an input path it reads standard input. Use python -m releasebrief --help for all options.

Input formats

Text expects one subject per line; an immediately following breaking-change footer belongs to the previous subject. Blank lines are ignored. For full commit bodies, use JSON rather than plaintext:

[
  "feat(ui): add settings",
  {"subject": "fix: correct exports"},
  {"subject": "feat(api): rename option", "body": "BREAKING CHANGE: old option removed"}
]

The JSON input is an array of strings or objects with a string subject and optional string body. Unknown object fields are ignored. Non-conventional subjects are counted and omitted; --strict makes any such record an error. Invalid input exits with code 2 and writes diagnostics to standard error.

04 · Review the version

Commit content Recommended bump
Breaking change major
feat minor
fix, perf, revert patch
Other types or no commits none

Recommendations use all parsed commits, including types omitted by display filters. Breaking changes are never hidden by filters. Only stable numeric input versions (1.2.3 style) are accepted; pre-release/build metadata, special policies for pre-1.0 software, and historical commit ancestry are not interpreted. Review every draft and recommendation manually before release. A duplicate subject can represent distinct changes; use suitably descriptive commit subjects or separate inputs when that distinction matters.

Default sections include conventional common types. Custom types are supported through --include custom-type. Text and JSON remain local, and Markdown escaping neutralizes common markup in supplied descriptions.

05 · Test

python -m unittest discover -s tests -v

Tests include CLI execution, UTF-8 input, malformed records, strict mode, filtering, breaking changes, deduplication, and SemVer precedence. CI is configured for Python 3.10/3.12 on Linux, Windows and macOS; see the actual workflow status for the tested environments.

License and credits

MIT. See LICENSE and THIRD_PARTY.md.

Metadata

Release files for releasebrief 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for releasebrief 0.1.0
File Size Uploaded Provenance Actions
releasebrief-0.1.0.tar.gz 13.8 kB With provenance Details for releasebrief-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for releasebrief 0.1.0
File Interpreter ABI Platform Actions
releasebrief-0.1.0-py3-none-any.whl Python 3 none any Details for releasebrief-0.1.0-py3-none-any.whl

Total release size: 24.1 kB

Release files / releasebrief-0.1.0.tar.gz

Download URL releasebrief-0.1.0.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4024d9da958fe1483e787e210b63f5da4e21a11c098dab45bf8652d681500447
BLAKE2b-256 checksum
How to use checksums
9450b7781c1574899b0cd63535466c649db5041e56c9de8eea7d8bd231515600
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / releasebrief-0.1.0-py3-none-any.whl

Download URL releasebrief-0.1.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b19df84a44f9cba7028734c179d8c9e530bea04e09059ab060d362b180088303
BLAKE2b-256 checksum
How to use checksums
def6afdb3d3da851a1886450f216e9fa39bb26f78e2b76c6c28e09d9ef44e975
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for releasebrief 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for releasebrief-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page