def METHOD_NAME(
    repo: Repo,
    pm: PluginManager,
) -> List[VersionNews]:
    tags: List[Tag] = []
    pm.hook.process_tags(repo=repo, tags=tags)
    commits: List[Tag] = []
    pm.hook.process_commits(repo=repo, tags=tags, commits=commits)
    version_news = [
        get_version_news(pm, repo, commit_from, commit_to)
        for commit_to, commit_from in pairwise(commits)
    ]
    pm.hook.process_version_news(version_news=version_news)
    return version_news