Skip to content

Commit

Permalink
Merge pull request #94 from fingerprintjs/changeset-release/main
Browse files Browse the repository at this point in the history
Release [changeset]
  • Loading branch information
ilfa authored Nov 26, 2024
2 parents e997531 + 8b454ba commit 0b51f51
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 21 deletions.
5 changes: 0 additions & 5 deletions .changeset/forty-seas-prove.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/orange-poets-drive.md

This file was deleted.

8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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** .
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions fingerprint_pro_server_api_sdk/api/fingerprint_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}

Expand Down Expand Up @@ -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 = {}

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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 = {}

Expand Down
2 changes: 1 addition & 1 deletion fingerprint_pro_server_api_sdk/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion fingerprint_pro_server_api_sdk/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[metadata]
version = 8.0.0
version = 8.1.0
2 changes: 1 addition & 1 deletion test/test_fingerprint_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 0b51f51

Please sign in to comment.