generate_changelog.context.VersionContext

VersionContext#

class generate_changelog.context.VersionContext[source]#

Version information for the template context.

label: str#

The version label.

date_time: Optional[datetime] = None#

The date and time with timezone offset the version was tagged.

tag: Optional[str] = None#

The tag.

previous_tag: Optional[str] = None#

The previous tag.

__init__(label, date_time=None, tag=None, previous_tag=None, tagger=None, grouped_commits=<factory>, metadata=<factory>)#
Parameters:
Return type:

None

tagger: Optional[str] = None#

The name and email of the person who tagged this version in name <email@ex.com> format.

grouped_commits: List[GroupingContext]#

The sections that group the commits in this version.

metadata: dict#

Metadata for this version parsed from commits.