diff --git a/.changeset/forty-seas-prove.md b/.changeset/forty-seas-prove.md deleted file mode 100644 index b2e8f0e8..00000000 --- a/.changeset/forty-seas-prove.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'fingerprint-pro-server-api-python-sdk': minor ---- - -Add `relay` detection method to the VPN Detection Smart Signal diff --git a/.changeset/orange-poets-drive.md b/.changeset/orange-poets-drive.md deleted file mode 100644 index 0c1a1fd8..00000000 --- a/.changeset/orange-poets-drive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'fingerprint-pro-server-api-python-sdk': minor ---- - -**events**: Add a `suspect` field to the `identification` product schema \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 68ba2eb0..a621c0ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,18 @@ # Fingerprint Pro Server Python SDK +## 8.1.0 + +### Minor Changes + +- Add `relay` detection method to the VPN Detection Smart Signal ([cff0ef7](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/cff0ef77d21758844f7b9ff466df78aa7ecba51e)) +- **events**: Add a `suspect` field to the `identification` product schema ([cff0ef7](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/cff0ef77d21758844f7b9ff466df78aa7ecba51e)) + ## 8.0.0 ### Major Changes The underlying Server API hasn’t changed, but we made SDK type and class generation more precise, resulting in small breaking changes for the SDK itself. This change should make the SDK API a lot more stable going forward - - - Remove the `BrowserDetails` field `botProbability`. - Update the `IdentificationConfidence` field `score` type format: `float` -> `double`. - Make the `RawDeviceAttributeError` field `name` **optional** . diff --git a/README.md b/README.md index ee154677..448a5487 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,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: 8.0.0 +- Package version: 8.1.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 64a6e5e4..fab8168a 100644 --- a/fingerprint_pro_server_api_sdk/api/fingerprint_api.py +++ b/fingerprint_pro_server_api_sdk/api/fingerprint_api.py @@ -102,7 +102,7 @@ def delete_visitor_data_with_http_info(self, visitor_id: str, **kwargs): # noqa if 'visitor_id' in params: path_params['visitor_id'] = params['visitor_id'] # noqa: E501 - query_params = [('ii', 'fingerprint-pro-server-python-sdk/8.0.0')] + query_params = [('ii', 'fingerprint-pro-server-python-sdk/8.1.0')] header_params = {} @@ -212,7 +212,7 @@ def get_event_with_http_info(self, request_id: str, **kwargs): # noqa: E501 if 'request_id' in params: path_params['request_id'] = params['request_id'] # noqa: E501 - query_params = [('ii', 'fingerprint-pro-server-python-sdk/8.0.0')] + query_params = [('ii', 'fingerprint-pro-server-python-sdk/8.1.0')] header_params = {} @@ -331,7 +331,7 @@ def get_visits_with_http_info(self, visitor_id: str, **kwargs): # noqa: E501 if 'visitor_id' in params: path_params['visitor_id'] = params['visitor_id'] # noqa: E501 - query_params = [('ii', 'fingerprint-pro-server-python-sdk/8.0.0')] + query_params = [('ii', 'fingerprint-pro-server-python-sdk/8.1.0')] if 'request_id' in params: query_params.append(('request_id', params['request_id'])) # noqa: E501 if 'linked_id' in params: @@ -454,7 +454,7 @@ def update_event_with_http_info(self, body: EventsUpdateRequest, request_id: str if 'request_id' in params: path_params['request_id'] = params['request_id'] # noqa: E501 - query_params = [('ii', 'fingerprint-pro-server-python-sdk/8.0.0')] + query_params = [('ii', 'fingerprint-pro-server-python-sdk/8.1.0')] header_params = {} diff --git a/fingerprint_pro_server_api_sdk/api_client.py b/fingerprint_pro_server_api_sdk/api_client.py index 3ff1ff6e..0fa6496d 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: Optional[Configuration] = None, header_name: O self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/8.0.0/python' + self.user_agent = 'Swagger-Codegen/8.1.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 249b8990..2d55631d 100644 --- a/fingerprint_pro_server_api_sdk/configuration.py +++ b/fingerprint_pro_server_api_sdk/configuration.py @@ -210,5 +210,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 3\n"\ - "SDK Package Version: 8.0.0".\ + "SDK Package Version: 8.1.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/package.json b/package.json index d4cab728..5a193ce8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fingerprint-pro-server-api-python-sdk", - "version": "8.0.0", + "version": "8.1.0", "private": true, "devDependencies": { "@changesets/cli": "^2.27.8", diff --git a/setup.cfg b/setup.cfg index ba5f7610..ba879990 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [metadata] -version = 8.0.0 +version = 8.1.0 diff --git a/test/test_fingerprint_api.py b/test/test_fingerprint_api.py index 2f0d65c2..02e03a7d 100644 --- a/test/test_fingerprint_api.py +++ b/test/test_fingerprint_api.py @@ -24,7 +24,7 @@ API_KEY = 'private_key' -VERSION = '8.0.0' +VERSION = '8.1.0' MOCK_GET_VISITORS_200_LIMIT_1 = 'get_visitors_200_limit_1.json' MOCK_GET_VISITORS_200_LIMIT_500 = 'get_visitors_200_limit_500.json'