diff options
author | Eli Collins <elic@assurancetechnologies.com> | 2020-10-07 14:46:57 -0400 |
---|---|---|
committer | Eli Collins <elic@assurancetechnologies.com> | 2020-10-07 14:46:57 -0400 |
commit | 7086228eec5138cd40d39e18c7a132b703d07cdc (patch) | |
tree | f94719c8916600054ac764a3100fa4d63404553b /docs/history | |
parent | d221b9006a1370a79bc19b8b645250d2bf35397c (diff) | |
download | passlib-7086228eec5138cd40d39e18c7a132b703d07cdc.tar.gz |
passlib.context: now raises UnknownHashError() if hash can't be identified.
this inherits from ValueError, and has same text, so backwards compatible.
Diffstat (limited to 'docs/history')
-rw-r--r-- | docs/history/1.7.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/history/1.7.rst b/docs/history/1.7.rst index 6d6293b..42ffeec 100644 --- a/docs/history/1.7.rst +++ b/docs/history/1.7.rst @@ -12,6 +12,18 @@ Passlib 1.7 and will require Python >= 3.5. The 1.7 series will be the last to support Python 2.7. (See :issue:`119` for rationale). +**1.7.4** (NOT YET RELEASED) +============================ + +Other Changes +------------- +* .. py:currentmodule:: passlib.context + + :class:`CryptContext` will now throw :exc:`~passlib.exc.UnknownHashError` when it can't identify + a hash provided to methods such as :meth:`!CryptContext.verify`. + Previously it would throw a generic :exc:`ValueError`. + + **1.7.3** (2020-10-06) ====================== |