Skip to content

Commit

Permalink
chore(release): 7.0.0 [skip ci]
Browse files Browse the repository at this point in the history
## [7.0.0](v6.0.0...v7.0.0) (2024-08-14)

### ⚠ BREAKING CHANGES

* rename `unseal_events_response` to `unseal_event_response` to keep proper naming
* minimum supported Python version is 3.9 now
* rename `error_event403_response`, `error_event403_response_error`, `many_requests_response` to `common403_error_response`, `error_common403_response` `too_many_requests_response`

### Features

* add `delete_visitor_data` method ([961a165](961a165))
* add `developer_tools` signal ([ca25ef7](ca25ef7))
* add `osMismatch` field to the `vpn` signal ([0b95bda](0b95bda))
* add `remoteControl` signal ([5c7b149](5c7b149))
* add `revision` field to the `confidence` signal ([9b42d6b](9b42d6b))
* add `update_event` method ([752b1c9](752b1c9))
* add `velocity` signal ([9b31367](9b31367))
* add better error reporting in case of wrong data shape ([40e9e6a](40e9e6a))
* add webhook validation method ([d92b1fe](d92b1fe))
* create base class for models and move here utility functions ([bfa2285](bfa2285))
* drop Python 3.8 support ([d857954](d857954))
* simplify `Configuration` class, use inline types ([8cad048](8cad048))
* simplify `rest.py` and `api_client.py` and add inline types ([a8b1ae6](a8b1ae6))
* update schema ([c2e99cd](c2e99cd))
* use inline types for `fingerprint_api.py` ([c466bd5](c466bd5))
* use inline types instead of annotations for models ([1121a5c](1121a5c))

### Bug Fixes

* `unseal_event_response` returns correct `EventResponse` structure ([a7a0e2d](a7a0e2d))
* don't serialise empty fields in models ([9643e1d](9643e1d))
* make `tag` field optional for webhook ([e8a28f6](e8a28f6))
* mark optional fields in models ([2c62e20](2c62e20))
* remove Python2 compatibility code ([2621ccd](2621ccd))
* update schema with required `body` field for the `updateEvent` method ([c6eaf5e](c6eaf5e))
  • Loading branch information
semantic-release-bot committed Aug 14, 2024
1 parent 826a5ef commit 4f5bca5
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 9 deletions.
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
## [7.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v6.0.0...v7.0.0) (2024-08-14)


### ⚠ BREAKING CHANGES

* rename `unseal_events_response` to `unseal_event_response` to keep proper naming
* minimum supported Python version is 3.9 now
* rename `error_event403_response`, `error_event403_response_error`, `many_requests_response` to `common403_error_response`, `error_common403_response` `too_many_requests_response`

### Features

* add `delete_visitor_data` method ([961a165](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/961a165bd1acf43797dd3767fc3c1d72cc541917))
* add `developer_tools` signal ([ca25ef7](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/ca25ef7f07acbf47a7e5a55092bd336050cd0967))
* add `osMismatch` field to the `vpn` signal ([0b95bda](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/0b95bdadaad62285558c442cf36b3990668537c1))
* add `remoteControl` signal ([5c7b149](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/5c7b1493dfa84ddab2df753c4c856da808bf844d))
* add `revision` field to the `confidence` signal ([9b42d6b](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9b42d6b984a0c8c65a98faeea21bd86460a51df1))
* add `update_event` method ([752b1c9](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/752b1c97054a131afcb3582a58a77f6a4d8b1816))
* add `velocity` signal ([9b31367](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9b313677da304c8090518f484406694c7b1123b8))
* add better error reporting in case of wrong data shape ([40e9e6a](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/40e9e6a4a7d743d853c6defcb2f0ae6aa78f5e7e))
* add webhook validation method ([d92b1fe](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/d92b1fe9a69e943926c729affa6ef7b91a0857d8))
* create base class for models and move here utility functions ([bfa2285](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/bfa2285cd45136c970cc3d07b1ada56874011c98))
* drop Python 3.8 support ([d857954](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/d857954e826b05f2061d195b2a2a8c3cae5b0232))
* simplify `Configuration` class, use inline types ([8cad048](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/8cad04860ec59b6a57d50827fb288871c2dbf384))
* simplify `rest.py` and `api_client.py` and add inline types ([a8b1ae6](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/a8b1ae61d74ff5eaca09012741be4a894ff8526e))
* update schema ([c2e99cd](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c2e99cd104e6ab9c7e9f670636d984e829eb2747))
* use inline types for `fingerprint_api.py` ([c466bd5](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c466bd58f1838baf0b6bbf5aac2de6b0a047630b))
* use inline types instead of annotations for models ([1121a5c](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/1121a5c5e81d3458595d2bd7920463cce0b661ac))


### Bug Fixes

* `unseal_event_response` returns correct `EventResponse` structure ([a7a0e2d](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/a7a0e2d3c0c42fb225545673954ee816917d3124))
* don't serialise empty fields in models ([9643e1d](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/9643e1d7781e0d1eb414f8f5177cdace16ef3063))
* make `tag` field optional for webhook ([e8a28f6](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/e8a28f69d08a7969af3b1b66ef399aacd4bc14d1))
* mark optional fields in models ([2c62e20](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/2c62e209de1d09ebd58f3174a0be81e39c6d8bf6))
* remove Python2 compatibility code ([2621ccd](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/2621ccddb01c495a8a385766d15ea875171260e8))
* update schema with required `body` field for the `updateEvent` method ([c6eaf5e](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/c6eaf5e64d387ce55a898ba800b8989e77c5cae0))

## [6.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v5.0.0...v6.0.0) (2024-03-27)


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: 6.0.0
- Package version: 7.0.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 @@ -109,7 +109,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/6.0.0')]
query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.0.0')]

header_params = {}

Expand Down Expand Up @@ -219,7 +219,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/6.0.0')]
query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.0.0')]

header_params = {}

Expand Down Expand Up @@ -338,7 +338,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/6.0.0')]
query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.0.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 @@ -458,7 +458,7 @@ def update_event_with_http_info(self, body: EventUpdateRequest, 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/6.0.0')]
query_params = [('ii', 'fingerprint-pro-server-python-sdk/7.0.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/6.0.0/python'
self.user_agent = 'Swagger-Codegen/7.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 @@ -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: 6.0.0".\
"SDK Package Version: 7.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='6.0.0'
VERSION='7.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 @@ -25,7 +25,7 @@

API_KEY = 'private_key'

VERSION = '6.0.0'
VERSION = '7.0.0'


class MockPoolManager(object):
Expand Down

0 comments on commit 4f5bca5

Please sign in to comment.