forked from pool/python-pyhibp
81932cd76c8e08048d1bcb09ad31bd93fe16a02ecb52c82aabc87c21f61b4659
- Update to version 3.1.0
* New function: pwnedpasswords.suffix_search(hash_prefix=prefix)
was created in order to have a dedicated function return the
suffix list.
* Function modification notice: pwnedpasswords.is_password_breached
will be modified in an upcoming release to remove the ability
to search for suffixes; use suffix_search(hash_prefix=prefix)
instead. The parameter first_5_hash_chars will be removed as a
consequence.
* Upcoming return type change for empty sets: For the functions
get_account_breaches, get_all_breaches, get_single_breach, and
get_pastes--all contained in the pyhibp module--when no items
would be returned from the HIBP backend, the returned item will
be an empty object matching the standard return type for the
function, and not a Boolean False.
This will occur when v4.0.0 is released. Return types will be:
- get_account_breaches -> [] / list
- get_all_breaches -> [] / list
- get_single_breach -> {} / dict
- get_pastes -> [] / list
OBS-URL: https://build.opensuse.org/request/show/712848
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyhibp?expand=0&rev=3
Description
No description provided
Languages
RPM Spec
100%