·
3 commits
to main
since this release
Major Changes
-
Changed library name to
fingerprint_server_sdkBREAKING CHANGE:
- You need to change package name to
fingerprint_server_sdk.
MIGRATION_GUIDE:
Replace imports to new name:
- import fingerprint_pro_server_api_sdk + import fingerprint_server_sdk
If you are using docker compose file, please re-build the SDK. (1f8ea14)
- You need to change package name to
-
Migrate to Server API v4.
Breaking Changes
- Flatten event structure. Access fields directly intead of through
productswrapper. - Remove
get_visitorsandget_releated_visitorsendpoints (usesearch_eventsinstead). - Remove deprecated v3 models (webhook models, product wrapper models, etc.)
Migration Guide
Event structure:
- event.products.identification.data.visitor_id + event.identification.visitor_id
Region parameter:
- Configuration(api_key="key", region="us") + from fingerprint_server_sdk.configuration import Region + Configuration(api_key="key", region=Region.US)
New Features:
- New exception classes:
TooManyRequestsException,ConflictException,UnprocessableEntityException, ... - New v4 models:
BotInfo,Canvas,Emoji,EventRuleAction,FontPreferences, ... (f61ab2c)
- Flatten event structure. Access fields directly intead of through