Template variables & filters¶
Changelog entries are rendered using Jinja2 templates. The following variables are available to templates:
versionType: str New project version.
dateType: str Current date in ISO format.
commitsType: list[dict] Commit entries with
sha,subject, and optionallinkkeys.repo_urlType: str | None Repository base URL used for commit and compare links.
previous_tagType: str | None Previous version tag when available.
compare_urlType: str | None Diff link between
previous_tagandv{{ version }}.release_datetime_isoType: str ISO-8601 timestamp of the release commit.
contributorsType: list[dict] Contributor mappings with
nameand optionallinkkeys.breaking_changesType: list[str] Commit descriptions flagged as breaking changes.
No custom filters are provided; any standard Jinja2 filter may be used.
See Changelog configuration and CLI options for configuration and CLI options.
bumpwright