diff --git a/CHANGELOG.md b/CHANGELOG.md index f345144..a6cb994 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # 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". + ## 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() 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}