-------------------
- Support Python 3.8 through 3.12
- Drop support for Python 2.7, 3.4, 3.5, and 3.6
- Removed `scan_file()`, `scan_lines()`, `HeaderParser.parse_file()`, and
`HeaderParser.parse_lines()` (all deprecated in v0.4.0)
- Type annotations added
- The scanner options to the scanner functions are now keyword-only
- `scan()` and `scan_stanzas()` can now parse strings directly. As a result,
`scan_string()` and `scan_stanzas_string()` are now deprecated.
- The `HeaderParser` methods `parse()` and `parse_stanzas()` can now parse
strings directly. As a result, the `parse_string()` and
`parse_stanzas_string()` methods are now deprecated.
- Added a `Scanner` class with methods for scanning a shared input. As a
result, the following are now deprecated:
- `scan_next_stanza()`
- `scan_next_stanza_string()`
- `HeaderParser.parse_next_stanza()`
- `HeaderParser.parse_next_stanza_string()`