From dc600c18938ad1ced3c1d56eda0d89daca396b56 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 20 Mar 2024 12:41:11 +0000 Subject: [PATCH] chore(release): 5.0.0 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [5.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v4.0.0...v5.0.0) (2024-03-20) ### ⚠ BREAKING CHANGES * make identification field `confidence` optional * deprecated `ipLocation` field uses `DeprecatedIpLocation` model * change models for the most smart signals ### Features * add `linked_id` field to the `BotdResult` type ([3aba5d0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/3aba5d0c4782696d1974f650ae22ff30deeedd20)) * add `origin_country` field to the `vpn` signal ([27f7c58](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/27f7c580e36b2c6b803c2617462b19d51c886e17)) * add `SuspectScore` smart signal support ([331f2a8](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/331f2a82b31e7a281dfaa7921b015128b147cbe8)) * fix `ipLocation` deprecation ([cb3b7b1](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/cb3b7b1ade37fc3d221e2fa46c5d691a85a37248)) * make identification field `tag` required ([678a3a1](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/678a3a187fe5a10c5811b56dc43daab57e7cdff4)) * use shared structures for webhooks and event ([c15ae21](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c15ae2107256d29fff02af3cc70b065d93092af3)) ### Bug Fixes * make fields required according to real API response ([8beb757](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8beb757db67af38b7a112f93f1a7c21ef35e62a8)) --- CHANGELOG.md | 23 +++++++++++++++++++ README.md | 2 +- .../api/fingerprint_api.py | 4 ++-- fingerprint_pro_server_api_sdk/api_client.py | 2 +- .../configuration.py | 2 +- generate.sh | 2 +- test/test_fingerprint_api.py | 2 +- 7 files changed, 30 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f69c32b..a7d224b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +## [5.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v4.0.0...v5.0.0) (2024-03-20) + + +### ⚠ BREAKING CHANGES + +* make identification field `confidence` optional +* deprecated `ipLocation` field uses `DeprecatedIpLocation` model +* change models for the most smart signals + +### Features + +* add `linked_id` field to the `BotdResult` type ([3aba5d0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/3aba5d0c4782696d1974f650ae22ff30deeedd20)) +* add `origin_country` field to the `vpn` signal ([27f7c58](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/27f7c580e36b2c6b803c2617462b19d51c886e17)) +* add `SuspectScore` smart signal support ([331f2a8](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/331f2a82b31e7a281dfaa7921b015128b147cbe8)) +* fix `ipLocation` deprecation ([cb3b7b1](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/cb3b7b1ade37fc3d221e2fa46c5d691a85a37248)) +* make identification field `tag` required ([678a3a1](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/678a3a187fe5a10c5811b56dc43daab57e7cdff4)) +* use shared structures for webhooks and event ([c15ae21](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c15ae2107256d29fff02af3cc70b065d93092af3)) + + +### Bug Fixes + +* make fields required according to real API response ([8beb757](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8beb757db67af38b7a112f93f1a7c21ef35e62a8)) + ## [4.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v3.0.0...v4.0.0) (2024-02-14) diff --git a/README.md b/README.md index ee60fc5c..1aa5e8cc 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ The Fingerprint Server Python SDK is an easy way to interact with the Fingerprin This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: 3 -- Package version: 4.0.0 +- Package version: 5.0.0 - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen ## Requirements diff --git a/fingerprint_pro_server_api_sdk/api/fingerprint_api.py b/fingerprint_pro_server_api_sdk/api/fingerprint_api.py index b26343cc..49d2f615 100644 --- a/fingerprint_pro_server_api_sdk/api/fingerprint_api.py +++ b/fingerprint_pro_server_api_sdk/api/fingerprint_api.py @@ -99,7 +99,7 @@ def get_event_with_http_info(self, request_id, **kwargs): # noqa: E501 path_params['request_id'] = params['request_id'] # noqa: E501 query_params = [] - query_params.append(('ii', 'fingerprint-pro-server-python-sdk/4.0.0')) + query_params.append(('ii', 'fingerprint-pro-server-python-sdk/5.0.0')) header_params = {} @@ -214,7 +214,7 @@ def get_visits_with_http_info(self, visitor_id, **kwargs): # noqa: E501 path_params['visitor_id'] = params['visitor_id'] # noqa: E501 query_params = [] - query_params.append(('ii', 'fingerprint-pro-server-python-sdk/4.0.0')) + query_params.append(('ii', 'fingerprint-pro-server-python-sdk/5.0.0')) if 'request_id' in params: query_params.append(('request_id', params['request_id'])) # noqa: E501 if 'linked_id' in params: diff --git a/fingerprint_pro_server_api_sdk/api_client.py b/fingerprint_pro_server_api_sdk/api_client.py index ed169782..654c83d2 100644 --- a/fingerprint_pro_server_api_sdk/api_client.py +++ b/fingerprint_pro_server_api_sdk/api_client.py @@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/4.0.0/python' + self.user_agent = 'Swagger-Codegen/5.0.0/python' def __del__(self): self.pool.close() diff --git a/fingerprint_pro_server_api_sdk/configuration.py b/fingerprint_pro_server_api_sdk/configuration.py index d82a81dc..6f6c98f9 100644 --- a/fingerprint_pro_server_api_sdk/configuration.py +++ b/fingerprint_pro_server_api_sdk/configuration.py @@ -263,5 +263,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 3\n"\ - "SDK Package Version: 4.0.0".\ + "SDK Package Version: 5.0.0".\ format(env=sys.platform, pyversion=sys.version) \ No newline at end of file diff --git a/generate.sh b/generate.sh index 30a88edd..32f10a91 100755 --- a/generate.sh +++ b/generate.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION='4.0.0' +VERSION='5.0.0' while getopts "v:" arg; do case $arg in diff --git a/test/test_fingerprint_api.py b/test/test_fingerprint_api.py index 4ee46f5c..80a4696c 100644 --- a/test/test_fingerprint_api.py +++ b/test/test_fingerprint_api.py @@ -24,7 +24,7 @@ API_KEY = 'private_key' -VERSION = '4.0.0' +VERSION = '5.0.0' class MockPoolManager(object):