summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES8
1 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index c329398..866d845 100644
--- a/CHANGES
+++ b/CHANGES
@@ -84,6 +84,14 @@ Release History
legacy config files may need to escape raw ``%`` characters
in order to load successfully.
+ * The main CryptContext methods (e.g. :meth:`~CryptContext.encrypt`,
+ and :meth:`~CryptContext.verify`) will now consistently raise
+ a :exc:`TypeError` when called with ``hash=None`` or another
+ non-string type, to match the :doc:`password-hash-api`.
+ Under previous releases, they might return ``False``,
+ raise :exc:`ValueError`, or raise :exc:`TypeError`,
+ depending on the specific method and context settings.
+
Utils
.. currentmodule:: passlib.utils.handlers