Releases: SiftScience/sift-python
Release 6.0.0
- Added support for Python 3.13
- Dropped support for Python < 3.8
- Added typing annotations overall the library
- Updated doc strings with actual information
- Fixed an issue when the client could send requests with invalid version in the "User-Agent" header
- Changed the type of the
abuse_typesparameter in theclient.get_decisions()method
INCOMPATIBLE CHANGES INTRODUCED IN 6.0.0:
- Dropped support for Python < 3.8
- Passing
abuse_typesas a comma-separated string to theclient.get_decisions()is deprecated.
Previously, client.get_decisions() method allowed to pass abuse_types parameter as a comma-separated string e.g. abuse_types="legacy,payment_abuse". This is deprecated now. Starting from 6.0.0 callers must pass abuse_types parameter to the client.get_decisions() method as a sequence of string literals e.g. abuse_types=("legacy", "payment_abuse"). The same way as it passed to the other client's methods which receive abuse_types parameter.
Release 5.6.1
Updated implementation to use Basic Authentication instead of passing API_KEY as a request parameter for the following calls:
client.score()client.get_user_score()client.rescore_user()client.unlabel()
Release 5.6.0
Added support for a warnings value in the fields query parameter
Release 5.5.1
Python 3.12 support
Release 5.5.0
Score percentiles in Score API
Release 5.4.0
Verification API
Release 5.3.0
Added support for score_percentiles
Version 5.2.0
Updated PSP Merchant Management API
Version 5.1.0
- Added return_route_info query param for synchronous workflows
sift-python v5.0.2
v5.0.2 2022-01-24
- Fix usage of urllib for Python 2.7