diff --git a/CHANGELOG.md b/CHANGELOG.md index 07c89615..f0e37bca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 10.4.3 + +### Changes + +- **Bumped the `mailsuite` floor to `>=2.3.1`**, picking up the fix for `mailsuite.utils.parse_email()` raising `TypeError` instead of `ValueError("Not an email")` on unparseable (non-email) input under mail-parser 4.6.2 and later ([seanthegeek/mailsuite#61](https://github.com/seanthegeek/mailsuite/issues/61)) — a potential crash for anything reading non-email files through that API. mail-parser 4.6.2 changed its contract for unparseable input (it now returns a header-less parse result instead of the input string), so mailsuite's not-an-email detection never fired and parsing crashed on the missing `From` header. Every install of the previous parsedmarc release shipped the affected combination, because mailsuite 2.3.0 — the floor since parsedmarc 10.4.2 — itself requires mail-parser `>=4.6.2`. parsedmarc's own CLI and library report parsing never call that mailsuite API; they use parsedmarc's separate `parse_email` implementation, which rejects non-email input gracefully and behaves identically under both mailsuite versions, so this bump removes the affected combination from installs rather than fixing a parsedmarc crash. + ## 10.4.2 ### Changes diff --git a/parsedmarc/constants.py b/parsedmarc/constants.py index f480d17c..6bec07c3 100644 --- a/parsedmarc/constants.py +++ b/parsedmarc/constants.py @@ -1,4 +1,4 @@ -__version__ = "10.4.2" +__version__ = "10.4.3" USER_AGENT = f"parsedmarc/{__version__}" diff --git a/pyproject.toml b/pyproject.toml index 23f1b8d7..42822b06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,7 @@ dependencies = [ "httpx>=0.25", "kafka-python>=2.3.2", "lxml>=4.4.0", - "mailsuite[gmail,msgraph]>=2.3.0", + "mailsuite[gmail,msgraph]>=2.3.1", "maxminddb>=2.0.0", # Imported directly in cli.py for Graph error handling; otherwise # only a transitive dep of mailsuite[msgraph] -> msgraph-sdk.