Skip to content

v9.0.0

Latest

Choose a tag to compare

@fingerprint-dx-team fingerprint-dx-team released this 17 Mar 15:28
· 3 commits to main since this release
12c8e41

Major Changes

  • Changed library name to fingerprint_server_sdk

    BREAKING 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)

  • Migrate to Server API v4.

    Breaking Changes

    • Flatten event structure. Access fields directly intead of through products wrapper.
    • Remove get_visitors and get_releated_visitors endpoints (use search_events instead).
    • 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)