Skip to content

Commit

Permalink
chore(release): 5.0.0 [skip ci]
Browse files Browse the repository at this point in the history
## [5.0.0](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](3aba5d0))
* add `origin_country` field to the `vpn` signal ([27f7c58](27f7c58))
* add `SuspectScore` smart signal support ([331f2a8](331f2a8))
* fix `ipLocation` deprecation ([cb3b7b1](cb3b7b1))
* make identification field `tag` required ([678a3a1](678a3a1))
* use shared structures for webhooks and event ([c15ae21](c15ae21))

### Bug Fixes

* make fields required according to real API response ([8beb757](8beb757))
  • Loading branch information
semantic-release-bot committed Mar 20, 2024
1 parent 964aa84 commit dc600c1
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 7 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


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

Expand Down Expand Up @@ -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:
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=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()
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 @@ -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)
2 changes: 1 addition & 1 deletion generate.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

VERSION='4.0.0'
VERSION='5.0.0'

while getopts "v:" arg; do
case $arg in
Expand Down
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 = '4.0.0'
VERSION = '5.0.0'


class MockPoolManager(object):
Expand Down

0 comments on commit dc600c1

Please sign in to comment.