version_bump/note

Generate Markdown release notes from parsed conventional commits.

Commits are grouped into sections by type (Features, Bug Fixes, Performance) plus a dedicated “BREAKING CHANGES” section that lists the breaking-change note text for any breaking commit. Empty sections are omitted. All functions here are PURE — given the same input they always produce the same Markdown string.

Values

pub fn generate(
  commits: List(commit_parser.ConventionalCommit),
  version: String,
  repo_url: option.Option(String),
) -> String

Generate the full Markdown release notes for the given commits and version.

repo_url is currently accepted for future link generation; the output is stable regardless of whether it is provided. Sections that have no matching commits are omitted entirely.

Search Document