Skip to content

Commit

Permalink
chore(release): 3.0.0 [skip ci]
Browse files Browse the repository at this point in the history
## [3.0.0](v2.6.0...v3.0.0) (2024-01-12)

### ⚠ BREAKING CHANGES

* `IpInfo` field `data_center` renamed to `datacenter`

### Features

* deprecate `IPLocation` ([b39189b](b39189b))
* use `datacenter` field instead of the wrong `dataCenter` ([53bcda2](53bcda2))
  • Loading branch information
semantic-release-bot committed Jan 12, 2024
1 parent f153d44 commit d433558
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 8 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## [3.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v2.6.0...v3.0.0) (2024-01-12)


### ⚠ BREAKING CHANGES

* `IpInfo` field `data_center` renamed to `datacenter`

### Features

* deprecate `IPLocation` ([b39189b](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/b39189b8a2cee94ab277729033f82460c72c8b38))
* use `datacenter` field instead of the wrong `dataCenter` ([53bcda2](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/commit/53bcda26729b7e7a793c61f7292fa474536ef652))

## [2.6.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk/compare/v2.5.1...v2.6.0) (2023-11-27)


Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,13 @@
# Fingerprint Pro Server Python SDK

[Fingerprint](https://fingerprint.com) is a device intelligence platform offering 99.5% accurate visitor identification.

The Fingerprint Server Python SDK is an easy way to interact with the Fingerprint [Server API](https://dev.fingerprint.com/reference/pro-server-api) from your Python application. You can retrieve visitor history or individual identification events.


This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 3
- Package version: 2.6.0
- Package version: 3.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/2.6.0'))
query_params.append(('ii', 'fingerprint-pro-server-python-sdk/3.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/2.6.0'))
query_params.append(('ii', 'fingerprint-pro-server-python-sdk/3.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/2.6.0/python'
self.user_agent = 'Swagger-Codegen/3.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: 2.6.0".\
"SDK Package Version: 3.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='2.6.0'
VERSION='3.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 = '2.6.0'
VERSION = '3.0.0'


class MockPoolManager(object):
Expand Down

0 comments on commit d433558

Please sign in to comment.