Skip to content

Bump email-validator from 2.3.0 to 2.4.0 - #517

Merged
horgh merged 1 commit into
mainfrom
dependabot/uv/email-validator-2.4.0
Nov 24, 2026
Merged

horgh merged 1 commit into
mainfrom
dependabot/uv/email-validator-2.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor

Bumps email-validator from 2.3.0 to 2.4.0.

Release notes

Sourced from email-validator's releases.

Version 2.4.0

  • Python 3.8 and 3.9 are no longer supported, and Python 3.14 and 3.15 are added to testing.
  • The original field of the returned validated email object incorrectly un-escaped the local part of the email address. Now it returns the original address, without any display name, as passed to validate_email.
  • With allow_quoted_local=True, a quoted local part containing U+037E (Greek question mark), which Unicode NFC normalization changes to a semicolon, was returned without its quotes in the normalized address (e.g. a;b@example.com), getting around the re-validation added in 2.2.0. The normalized local part is now quoted according to its normalized form, giving "a;b"@example.com.
  • When parsing display names, multiple closing angle brackets at the end of the email address is now rejected.
  • The IPv6 tag of a domain literal is now case-insensitive, as in the RFCs, so me@[ipv6:::1] is accepted (and normalized to me@[IPv6:::1]) when allow_domain_literal=True.
  • IPv6 domain literals with a zone index are now rejected.
  • Internationalized domains with a right-to-left label are now rejected if any other label breaks the IDNA Bidi Rule (RFC 5893), such as a label starting with a digit. Such domains, like 1.xn--4dbc.com and xn--4dbc.1.com (1.אב.com and אב.1.com in Unicode), could be displayed identically.
  • Faster validation of domains without Punycode (xn--) labels.
  • Internationalized domains longer than 253 characters are now rejected for their length before IDNA encoding, which could take time quadratic in the length of the input.
  • The command line tool now properly reads boolean environment variables and the DEFAULT_TIMEOUT environment variable.
  • Improvements in type hinting, code comments, and tests.
Changelog

Sourced from email-validator's changelog.

2.4.0 (November 14, 2026)

  • Python 3.8 and 3.9 are no longer supported, and Python 3.14 and 3.15 are added to testing.
  • The original field of the returned validated email object incorrectly un-escaped the local part of the email address. Now it returns the original address, without any display name, as passed to validate_email.
  • With allow_quoted_local=True, a quoted local part containing U+037E (Greek question mark), which Unicode NFC normalization changes to a semicolon, was returned without its quotes in the normalized address (e.g. a;b@example.com), getting around the re-validation added in 2.2.0. The normalized local part is now quoted according to its normalized form, giving "a;b"@example.com.
  • When parsing display names, multiple closing angle brackets at the end of the email address is now rejected.
  • The IPv6 tag of a domain literal is now case-insensitive, as in the RFCs, so me@[ipv6:::1] is accepted (and normalized to me@[IPv6:::1]) when allow_domain_literal=True.
  • IPv6 domain literals with a zone index are now rejected.
  • Internationalized domains with a right-to-left label are now rejected if any other label breaks the IDNA Bidi Rule (RFC 5893), such as a label starting with a digit. Such domains, like 1.xn--4dbc.com and xn--4dbc.1.com (1.אב.com and אב.1.com in Unicode), could be displayed identically.
  • Faster validation of domains without Punycode (xn--) labels.
  • Internationalized domains longer than 253 characters are now rejected for their length before IDNA encoding, which could take time quadratic in the length of the input.
  • The command line tool now properly reads boolean environment variables and the DEFAULT_TIMEOUT environment variable.
  • Improvements in type hinting, code comments, and tests.
Commits
  • 97a88cb Version 2.4.0
  • 6d7274f Run domain length check at the very start
  • c01b51c Don't pin all test package dependencies, use the latest available idna and dn...
  • 613d670 reject long internationalized domains before calling idna.alabel (#194)
  • b505723 Allow SMTPUTF8 to be True while also setting ascii_email because of normaliza...
  • b304e59 Quote the local part after NFC normalization in validate_email (#192)
  • 433ea9c Simplify setting local part info and test that ascii_local_part is set properly
  • c6e3873 quote the local part after NFC normalization in validate_email
  • b375ce4 Skip the IDNA round trip for domains without Punycode labels (#182)
  • 79120fd Read the CLI option environment variables the way they are documented (#175)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [email-validator](https://github.com/JoshData/python-email-validator) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/JoshData/python-email-validator/releases)
- [Changelog](https://github.com/JoshData/python-email-validator/blob/main/CHANGELOG.md)
- [Commits](JoshData/python-email-validator@v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: email-validator
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Nov 23, 2026
@horgh
horgh merged commit ef0aafe into main Nov 24, 2026
49 checks passed
@horgh
horgh deleted the dependabot/uv/email-validator-2.4.0 branch November 24, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Development

Successfully merging this pull request may close these issues.

1 participant