INNER CODE UNIT · Python

Release

Teycir/BurpAPISecuritySuite · scripts/sync_readme_updates.py:24

class Release:
    version: str
    date: str
    bullets: List[str]


def parse_changelog(changelog_text: str, max_releases: int) -> List[Release]:
    lines = changelog_text.splitlines()
    releases: List[Release] = []
    i = 0
    while i < len(lines) and len(releases) < max_releases:
        match = VERSION_RE.match(lines[i])
        if not match:
            i += 1
            continue

        version = match.group("version")
        date = match.group("date")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…