From f6ed8e5e5d742ea0312ea74cfaa584deea3abf97 Mon Sep 17 00:00:00 2001 From: Sean Whalen Date: Wed, 20 May 2026 16:59:03 -0400 Subject: [PATCH 1/3] Simplify the removed-tag warning message The "the value is preserved for older DMARC readers but is not validated" clause was awkwardly worded and not actionable for the user. Drop it; the "removed in RFC 9989" message is enough. Co-Authored-By: Claude Opus 4.7 (1M context) --- checkdmarc/dmarc.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/checkdmarc/dmarc.py b/checkdmarc/dmarc.py index 31207b5..13d18c2 100644 --- a/checkdmarc/dmarc.py +++ b/checkdmarc/dmarc.py @@ -1279,11 +1279,7 @@ def parse_dmarc_record( f"Duplicate {duplicate_tags_str} tags are not permitted" ) if tag in removed_tags: - warnings.append( - f"Support for the {tag} tag was removed in RFC 9989; " - "the value is preserved for older DMARC readers but is " - "not validated." - ) + warnings.append(f"Support for the {tag} tag was removed in RFC 9989") continue value = pair[1].lower().strip() tags[tag] = {"value": value, "explicit": True} From fc1634d57308bbd4d9f4baf16ac2a02eecce4512 Mon Sep 17 00:00:00 2001 From: Sean Whalen Date: Wed, 20 May 2026 17:00:04 -0400 Subject: [PATCH 2/3] Bump to 5.16.1 and update CHANGELOG Co-Authored-By: Claude Opus 4.7 (1M context) --- CHANGELOG.md | 9 +++++++++ checkdmarc/_constants.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f345144..e4d0cd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 5.16.1 + +### Changes + +- Simplify the warning emitted for `pct`/`rf`/`ri` to just "Support for + the {tag} tag was removed in RFC 9989". The previous wording added a + clause about the value being "preserved for older DMARC readers but + not validated" that wasn't actionable for the user. + ## 5.16.0 ### Changes diff --git a/checkdmarc/_constants.py b/checkdmarc/_constants.py index 3500d47..2fc2d62 100644 --- a/checkdmarc/_constants.py +++ b/checkdmarc/_constants.py @@ -19,7 +19,7 @@ See the License for the specific language governing permissions and limitations under the License.""" -__version__ = "5.16.0" +__version__ = "5.16.1" OS = platform.system() OS_RELEASE = platform.release() From f83c4ed8f947e6a48621a0509795277817054b39 Mon Sep 17 00:00:00 2001 From: Sean Whalen Date: Wed, 20 May 2026 17:01:29 -0400 Subject: [PATCH 3/3] Trim the 5.16.1 changelog entry Co-Authored-By: Claude Opus 4.7 (1M context) --- CHANGELOG.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4d0cd0..a6cb994 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,7 @@ ### Changes - Simplify the warning emitted for `pct`/`rf`/`ri` to just "Support for - the {tag} tag was removed in RFC 9989". The previous wording added a - clause about the value being "preserved for older DMARC readers but - not validated" that wasn't actionable for the user. + the {tag} tag was removed in RFC 9989". ## 5.16.0