Skip to content

Commit

Permalink
Version 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshData committed May 1, 2022
1 parent c79bc5c commit ffe1669
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,16 @@ And this library does NOT permit obsolete forms of email addresses, so
if you need strict validation against the email specs exactly, use
[pyIsEmail](https://github.com/michaelherold/pyIsEmail).

This library was first published in 2015. The current version is 1.1.1
(posted May 19, 2020). **Starting in version 1.1.0, the type of the value returned
from `validate_email` has changed, but dict-style access to the validated
address information still works, so it is backwards compatible.**
This library was first published in 2015. The current version is 1.2.1
(posted May 1, 2022). The main changes in version 1.2 are:

* Rejecting domains with NULL MX records (when deliverability checks
are turned on).
* Rejecting unsafe unicode characters. (Some of these checks you should
be doing on all of your user inputs already!)
* Rejecting most special-use reserved domain names. A new `test_environment`
option is added for using `@*.test` domains.
* Some fixes in the tests.

This library is tested with Python 3.6+ but should work in earlier versions:

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = email_validator
version = 1.2.0
version = 1.2.1
description = A robust email syntax and deliverability validation library.
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit ffe1669

Please sign in to comment.