Skip to content

Commit ffe1669

Browse files
committed
Version 1.2.1
1 parent c79bc5c commit ffe1669

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

README.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,16 @@ And this library does NOT permit obsolete forms of email addresses, so
2727
if you need strict validation against the email specs exactly, use
2828
[pyIsEmail](https://github.com/michaelherold/pyIsEmail).
2929

30-
This library was first published in 2015. The current version is 1.1.1
31-
(posted May 19, 2020). **Starting in version 1.1.0, the type of the value returned
32-
from `validate_email` has changed, but dict-style access to the validated
33-
address information still works, so it is backwards compatible.**
30+
This library was first published in 2015. The current version is 1.2.1
31+
(posted May 1, 2022). The main changes in version 1.2 are:
32+
33+
* Rejecting domains with NULL MX records (when deliverability checks
34+
are turned on).
35+
* Rejecting unsafe unicode characters. (Some of these checks you should
36+
be doing on all of your user inputs already!)
37+
* Rejecting most special-use reserved domain names. A new `test_environment`
38+
option is added for using `@*.test` domains.
39+
* Some fixes in the tests.
3440

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

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = email_validator
3-
version = 1.2.0
3+
version = 1.2.1
44
description = A robust email syntax and deliverability validation library.
55
long_description = file: README.md
66
long_description_content_type = text/markdown

0 commit comments

Comments
 (0)