Documentation
¶
Overview ¶
Package changelog parses the repo's release-please-maintained CHANGELOG.md into the entries GET /api/v1/changelog and the dashboard's "What's new" panel serve, so release notes keep exactly one source of truth instead of a second, hand-curated copy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Entry ¶
Entry is one released version's notes.
func Latest ¶
Latest returns at most n entries from the front of entries, which are already newest-first (CHANGELOG.md's own order). n <= 0 returns every entry.
func Parse ¶
Parse reads CHANGELOG.md's "## version (date)" headings and the "* bullet" / "- bullet" lines under each one, across every "### Section" subheading, into a flat, newest-first Bullets list. Any other "## " heading (for example a hand-written "Unreleased" preamble sometimes left at the file's tail) resets the current entry so its bullets are never misattributed to the previous release.