You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my first time using type hints so hopefully it's right.
* Added type annotations to the exported methods, some of the main internal methods, and the ValidatedEmail class.
* ValidatedEmail's ascii_email, ascii_local_part, ascii_domain, mx, and mx_fallback_type attributes now no longer are set by the class's __init__ method, although they are always filled in by validate_email.
* Make the main module's exports explicit to solve implicit re-export lint warning/error.
* Added py.typed.
* Added `mypy` to tests.
* Made a -dev4 release to test.
Closes#98.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
-
2.0.0-dev1
1
+
2.0.0-dev4
2
2
----------
3
3
4
4
This is a pre-release for version 2.0.0.
5
5
6
-
There are no significant changes to which email addresses are considered valid/invalid, but there are many changes in error messages and internal improvements to the library, and Python 3.7+ is now required.
6
+
There are no significant changes to which email addresses are considered valid/invalid, but there are many changes in error messages and internal improvements to the library including the addition of type annotations, and Python 3.7+ is now required.
7
7
8
8
* Python 2.x and 3.x versions through 3.6, and dnspython 1.x, are no longer supported. Python 3.7+ with dnspython 2.x are now required.
9
9
* The dnspython package is no longer required if DNS checks are not used, although it will install automatically.
@@ -12,6 +12,7 @@ There are no significant changes to which email addresses are considered valid/i
12
12
* Some other error messages have changed to not repeat the email address in the error message.
13
13
* The library has been reorganized internally into smaller modules.
14
14
* The tests have been reorganized and expanded. Deliverability tests now mostly use captured DNS responses so they can be run off-line.
15
+
* Type annotations have been added to the exported methods and the ValidatedEmail class and some internal methods.
0 commit comments