From d2a56d009c117bcc48a4572b6ddfe113b34721c0606b631cecf2c48b01c772bb Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 29 Jun 2024 16:02:30 +0000 Subject: [PATCH] - update to 2.2.0: * Email addresses with internationalized local parts could, with rare Unicode characters, be returned as valid but actually be invalid in their normalized form (returned in the `normalized` field). Local parts now re-validated after Unicode NFC normalization to ensure that invalid characters cannot be injected into the normalized address and that characters with length-increasing NFC normalizations cannot cause a local part to exceed the maximum length after normalization. * The length check for email addresses with internationalized local parts is now also applied to the original address string prior to Unicode NFC normalization, which may be longer and could exceed the maximum email address length, to protect callers who do not use the returned normalized address. * Improved error message for IDNA domains that are too long or have invalid characters after Unicode normalization. * A new option to parse `My Name ` strings, i.e. a display name plus an email address in angle brackets, is now available. It is off by default. * Improvements to Python typing. * Some additional tests added. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-email-validator?expand=0&rev=20 --- email_validator-2.1.2.tar.gz | 3 --- email_validator-2.2.0.tar.gz | 3 +++ python-email-validator.changes | 27 +++++++++++++++++++++++++++ python-email-validator.spec | 2 +- 4 files changed, 31 insertions(+), 4 deletions(-) delete mode 100644 email_validator-2.1.2.tar.gz create mode 100644 email_validator-2.2.0.tar.gz diff --git a/email_validator-2.1.2.tar.gz b/email_validator-2.1.2.tar.gz deleted file mode 100644 index a3908f4..0000000 --- a/email_validator-2.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce1ece49c302ade45dd2d7f55608b3f0002a5c710c4b3e7ebd9201e818f397d3 -size 39016 diff --git a/email_validator-2.2.0.tar.gz b/email_validator-2.2.0.tar.gz new file mode 100644 index 0000000..3329a77 --- /dev/null +++ b/email_validator-2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27aeaf92492d8d86d42f858ee2abf7fe2ec69b0724e8bfa25d0dbcb59cbd47ee +size 43055 diff --git a/python-email-validator.changes b/python-email-validator.changes index 0e7cbf6..4f04d3d 100644 --- a/python-email-validator.changes +++ b/python-email-validator.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Sat Jun 29 16:02:19 UTC 2024 - Dirk Müller + +- update to 2.2.0: + * Email addresses with internationalized local parts could, + with rare Unicode characters, be returned as valid but + actually be invalid in their normalized form (returned in the + `normalized` field). Local parts now re-validated after + Unicode NFC normalization to ensure that invalid characters + cannot be injected into the normalized address and that + characters with length-increasing NFC normalizations cannot + cause a local part to exceed the maximum length after + normalization. + * The length check for email addresses with internationalized + local parts is now also applied to the original address + string prior to Unicode NFC normalization, which may be + longer and could exceed the maximum email address length, to + protect callers who do not use the returned normalized + address. + * Improved error message for IDNA domains that are too long or + have invalid characters after Unicode normalization. + * A new option to parse `My Name ` strings, + i.e. a display name plus an email address in angle brackets, + is now available. It is off by default. + * Improvements to Python typing. + * Some additional tests added. + ------------------------------------------------------------------- Wed Jun 19 07:08:36 UTC 2024 - Dirk Müller diff --git a/python-email-validator.spec b/python-email-validator.spec index bf0977e..90c91b3 100644 --- a/python-email-validator.spec +++ b/python-email-validator.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-email-validator -Version: 2.1.2 +Version: 2.2.0 Release: 0 Summary: A robust email syntax and deliverability validation library for Python License: CC0-1.0