Bump version 0.1.0 → 0.2.0
Breaking change
The order of the arguments for the verify
and verify_and_update
methods has been reversed. The hash is now the second argument and the password is the first argument. This change was made to make the API more consistent with passlib
.
Before
valid = password_hash.verify(hash, "herminetincture")
valid, updated_hash = password_hash.verify_and_update(hash, "herminetincture")
After
valid = password_hash.verify("herminetincture", hash)
valid, updated_hash = password_hash.verify_and_update("herminetincture", hash)