TS ``getReleaseNotesForVersion`` (releaseNotes.ts:415-426).
(version: str, content: str)
| 71 | |
| 72 | |
| 73 | def get_release_notes_for_version(version: str, content: str) -> list[str]: |
| 74 | """TS ``getReleaseNotesForVersion`` (releaseNotes.ts:415-426).""" |
| 75 | try: |
| 76 | return parse_changelog(content).get(normalize_public_version(version), []) |
| 77 | except Exception: |
| 78 | return [] |
| 79 | |
| 80 | |
| 81 | def is_release_section_header(note: str) -> bool: |